Lines Matching defs:suffix
325 AffixPatternMatcher* suffix = hasSuffix ? &fAffixPatternMatchers[numAffixPatternMatchers++]
330 posSuffix = suffix;
331 } else if (equals(prefix, posPrefix) && equals(suffix, posSuffix)) {
341 fAffixMatchers[numAffixMatchers++] = {prefix, suffix, flags};
342 if (includeUnpaired && prefix != nullptr && suffix != nullptr) {
347 if (type == PATTERN_SIGN_TYPE_POS || !equals(suffix, posSuffix)) {
348 fAffixMatchers[numAffixMatchers++] = {nullptr, suffix, flags};
376 AffixMatcher::AffixMatcher(AffixPatternMatcher* prefix, AffixPatternMatcher* suffix, result_flags_t flags)
377 : fPrefix(prefix), fSuffix(suffix), fFlags(flags) {}
400 // 1. We have already seen a suffix (result.suffix != null)
401 // 2. The suffix in this AffixMatcher is empty (suffix == null)
403 if (!result.suffix.isBogus() || fSuffix == nullptr || !matched(fPrefix, result.prefix)) {
407 // Attempt to match the suffix.
411 result.suffix = fSuffix->getPattern();
424 if (matched(fPrefix, result.prefix) && matched(fSuffix, result.suffix)) {
425 // Fill in the result prefix and suffix with non-null values (empty string).
430 if (result.suffix.isBogus()) {
431 result.suffix = UnicodeString();