Lines Matching refs:patternChars
2782 const UChar *patternChars = litText+stringStartIdx;
2783 const UChar *patternEnd = patternChars+stringLen;
2789 while (patternChars < patternEnd && success) {
2794 success = (*patternChars == c);
2795 patternChars += 1;
2796 } else if (patternChars+1 < patternEnd) {
2797 success = (*patternChars == U16_LEAD(c) && *(patternChars+1) == U16_TRAIL(c));
2798 patternChars += 2;
2815 patternChars = litText+stringStartIdx;
2822 } else if ((U_IS_BMP(c) && *patternChars == c) ||
2823 (*patternChars == U16_LEAD(c) && *(patternChars+1) == U16_TRAIL(c))) {
3835 const UChar *patternChars = litText+stringStartIdx;
3836 const UChar *patternEnd = patternChars+stringLen;
3846 while (patternChars < patternEnd && success) {
3870 success = (*patternChars == c);
3871 patternChars += 1;
3872 } else if (patternChars+1 < patternEnd) {
3873 success = (*patternChars == U16_LEAD(c) && *(patternChars+1) == U16_TRAIL(c));
3874 patternChars += 2;
3888 patternChars = litText+stringStartIdx;
3907 if ((U_IS_BMP(c) && *patternChars == c) ||
3908 (*patternChars == U16_LEAD(c) && *(patternChars+1) == U16_TRAIL(c))) {
5512 const UChar *patternChars = litText+stringStartIdx;
5513 const UChar *patternEnd = patternChars+stringLen;
5526 while (patternChars < patternEnd && success) {
5545 success = (*patternChars == c);
5546 patternChars += 1;
5547 } else if (patternChars+1 < patternEnd) {
5548 success = (*patternChars == U16_LEAD(c) && *(patternChars+1) == U16_TRAIL(c));
5549 patternChars += 2;
5564 patternChars = litText+stringStartIdx;
5580 if ((U_IS_BMP(c) && *patternChars == c) ||
5581 (*patternChars == U16_LEAD(c) && *(patternChars+1) == U16_TRAIL(c))) {