Lines Matching refs:pattern
67 UBool isIdentical(UnicodeString &pattern, int32_t start, int32_t end);
345 UBool Target::isIdentical(UnicodeString &pattern, int32_t start, int32_t end)
352 const UChar *pBuffer = pattern.getBuffer();
353 int32_t pLength = pattern.length();
546 // ((patlen - 1) - end) is how far the end of that match is from end of pattern
548 // (i + (patlen - 1) - end) is index of same character at end of pattern
576 // initialize entries to minLengthInChars of the pattern
585 // this matching suffix is a prefix of the pattern
589 // so that the front of the pattern (i.e. the prefix)
650 pattern(patternString), target(NULL)
714 // Searching for a zero length pattern always fails.
727 // **** CE after the end of the pattern. ****
758 // Iterate backward until we hit the beginning of the pattern
766 // over to shift the pattern, then try again.
793 // We made it back to the beginning of the pattern,
840 if (! target->isIdentical(pattern, mStart, mLimit)) {