Lines Matching refs:fInputText
178 if (fInputText) { in ~RegexMatcher()
179 utext_close(fInputText); in ~RegexMatcher()
234 fInputText = NULL; in init()
320 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) { in appendReplacement()
321 … destLen += utext_replace(dest, destLen, destLen, fInputText->chunkContents+fAppendPosition, in appendReplacement()
325 if (UTEXT_USES_U16(fInputText)) { in appendReplacement()
329 … len16 = utext_extract(fInputText, fAppendPosition, fMatchStart, NULL, 0, &lengthStatus); in appendReplacement()
336 utext_extract(fInputText, fAppendPosition, fMatchStart, inputChars, len16+1, &status); in appendReplacement()
510 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) { in appendTail()
512 utext_replace(dest, destLen, destLen, fInputText->chunkContents+fAppendPosition, in appendTail()
516 if (UTEXT_USES_U16(fInputText)) { in appendTail()
519 len16 = utext_extract(fInputText, fAppendPosition, fInputLength, NULL, 0, &status); in appendTail()
527 …utext_extract(fInputText, fAppendPosition, fInputLength, inputChars, len16, &status); // untermina… in appendTail()
597 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) { in find()
618 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
619 UTEXT_NEXT32(fInputText); in find()
620 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
638 if (UTEXT_USES_U16(fInputText)) { in find()
670 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
671 UTEXT_NEXT32(fInputText); in find()
672 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
700 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
702 c = UTEXT_NEXT32(fInputText); in find()
703 pos = UTEXT_GETNATIVEINDEX(fInputText); in find()
716 UTEXT_SETNATIVEINDEX(fInputText, pos); in find()
737 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
739 c = UTEXT_NEXT32(fInputText); in find()
740 pos = UTEXT_GETNATIVEINDEX(fInputText); in find()
749 UTEXT_SETNATIVEINDEX(fInputText, pos); in find()
774 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
775 c = UTEXT_NEXT32(fInputText); in find()
776 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
778 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
779 c = UTEXT_PREVIOUS32(fInputText); in find()
780 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
793 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
800 c = UTEXT_NEXT32(fInputText); in find()
801 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
812 … if (c == 0x0d && startPos < fActiveLimit && UTEXT_CURRENT32(fInputText) == 0x0a) { in find()
813 UTEXT_NEXT32(fInputText); in find()
814 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
823 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
830 c = UTEXT_NEXT32(fInputText); in find()
831 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
892 const UChar *inputBuf = fInputText->chunkContents; in findUsingChunk()
1160 return utext_clone(dest, fInputText, FALSE, TRUE, &status); in group()
1165 dest = utext_clone(dest, fInputText, FALSE, TRUE, &status); in group()
1238 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) { in group()
1241 …utext_replace(dest, 0, utext_nativeLength(dest), fInputText->chunkContents+s, (int32_t)(e-s), &sta… in group()
1244 utext_openUChars(&groupText, fInputText->chunkContents+s, e-s, &status); in group()
1250 if (UTEXT_USES_U16(fInputText)) { in group()
1254 len16 = utext_extract(fInputText, s, e, NULL, 0, &lengthStatus); in group()
1261 utext_extract(fInputText, s, e, groupChars, len16+1, &status); in group()
1322 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) { in appendGroup()
1324 …deltaLen = utext_replace(dest, destLen, destLen, fInputText->chunkContents+s, (int32_t)(e-s), &sta… in appendGroup()
1327 if (UTEXT_USES_U16(fInputText)) { in appendGroup()
1331 len16 = utext_extract(fInputText, s, e, NULL, 0, &lengthStatus); in appendGroup()
1338 utext_extract(fInputText, s, e, groupChars, len16+1, &status); in appendGroup()
1399 if (UTEXT_USES_U16(fInputText)) { in input()
1402 len16 = utext_extract(fInputText, 0, fInputLength, NULL, 0, &status); in input()
1408 … utext_extract(fInputText, 0, fInputLength, inputChars, len16, &status); // unterminated warning in input()
1423 return fInputText; in inputText()
1447 return utext_clone(NULL, fInputText, FALSE, TRUE, &status); in getInput()
1452 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) { in getInput()
1453 …utext_replace(dest, 0, utext_nativeLength(dest), fInputText->chunkContents, (int32_t)fInputLength,… in getInput()
1456 if (UTEXT_USES_U16(fInputText)) { in getInput()
1460 …input16Len = utext_extract(fInputText, 0, fInputLength, NULL, 0, &lengthStatus); // buffer overflo… in getInput()
1468 …utext_extract(fInputText, 0, fInputLength, inputChars, input16Len, &status); // not terminated war… in getInput()
1476 return utext_clone(NULL, fInputText, FALSE, TRUE, &status); in getInput()
1522 if (compat_SyncMutableUTextContents(fInputText)) { in lookingAt()
1523 fInputLength = utext_nativeLength(fInputText); in lookingAt()
1530 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) { in lookingAt()
1555 if (compat_SyncMutableUTextContents(fInputText)) { in lookingAt()
1556 fInputLength = utext_nativeLength(fInputText); in lookingAt()
1568 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) { in lookingAt()
1593 if (compat_SyncMutableUTextContents(fInputText)) { in matches()
1594 fInputLength = utext_nativeLength(fInputText); in matches()
1602 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) { in matches()
1627 if (compat_SyncMutableUTextContents(fInputText)) { in matches()
1628 fInputLength = utext_nativeLength(fInputText); in matches()
1640 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) { in matches()
1900 fInputText = utext_openConstUnicodeString(fInputText, &input, &fDeferredStatus); in reset()
1902 fAltInputText = utext_clone(fAltInputText, fInputText, FALSE, TRUE, &fDeferredStatus); in reset()
1904 fInputLength = utext_nativeLength(fInputText); in reset()
1917 fWordBreakItr->setText(fInputText, status); in reset()
1925 if (fInputText != input) { in reset()
1926 fInputText = utext_clone(fInputText, input, FALSE, TRUE, &fDeferredStatus); in reset()
1927 …if (fPattern->fNeedsAltInput) fAltInputText = utext_clone(fAltInputText, fInputText, FALSE, TRUE, … in reset()
1928 fInputLength = utext_nativeLength(fInputText); in reset()
1981 if (utext_nativeLength(fInputText) != utext_nativeLength(input)) { in refreshInputText()
1985 int64_t pos = utext_getNativeIndex(fInputText); in refreshInputText()
1987 fInputText = utext_clone(fInputText, input, FALSE, TRUE, &status); in refreshInputText()
1991 utext_setNativeIndex(fInputText, pos); in refreshInputText()
2523 UTEXT_SETNATIVEINDEX(fInputText, pos); in isWordBoundary()
2524 UChar32 c = UTEXT_CURRENT32(fInputText); in isWordBoundary()
2536 if (UTEXT_GETNATIVEINDEX(fInputText) <= fLookStart) { in isWordBoundary()
2539 UChar32 prevChar = UTEXT_PREVIOUS32(fInputText); in isWordBoundary()
2554 const UChar *inputBuf = fInputText->chunkContents; in isChunkWordBoundary()
2609 fWordBreakItr->setText(fInputText, fDeferredStatus); in isUWordBoundary()
2618 if (!UTEXT_USES_U16(fInputText)) { in isUWordBoundary()
2621 pos = utext_extract(fInputText, 0, pos, NULL, 0, &status); in isUWordBoundary()
2766 c = utext_next32From(fInputText, 0); in MatchAt()
2773 c = UTEXT_NEXT32(fInputText); in MatchAt()
2819 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
2821 UTEXT_CURRENT32(fInputText), (int64_t *)fp-fStack->getBuffer(), fActiveLimit); in MatchAt()
2844 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
2845 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
2847 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
2859 UChar32 c = UTEXT_PREVIOUS32(fInputText); in MatchAt()
2860 while (UTEXT_GETNATIVEINDEX(fInputText) >= backSearchIndex) { in MatchAt()
2867 c = UTEXT_PREVIOUS32(fInputText); in MatchAt()
2872 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
2905 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
2910 c = UTEXT_NEXT32(fInputText); in MatchAt()
2912 if (c != U_SENTINEL && UTEXT_GETNATIVEINDEX(fInputText) <= fActiveLimit) { in MatchAt()
2927 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
2934 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
2939 c = UTEXT_PREVIOUS32(fInputText); in MatchAt()
2947 } while (UTEXT_GETNATIVEINDEX(fInputText) >= backSearchIndex); in MatchAt()
2952 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3014 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3018 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
3019 if (UTEXT_GETNATIVEINDEX(fInputText) >= fAnchorLimit) { in MatchAt()
3022 …0x0a && fp->fInputIdx>fAnchorStart && (UTEXT_PREVIOUS32(fInputText), UTEXT_PREVIOUS32(fInputText))… in MatchAt()
3031 UChar32 nextC = UTEXT_NEXT32(fInputText); in MatchAt()
3032 … if (c == 0x0d && nextC == 0x0a && UTEXT_GETNATIVEINDEX(fInputText) >= fAnchorLimit) { in MatchAt()
3051 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3052 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
3054 if (c == 0x0a && UTEXT_GETNATIVEINDEX(fInputText) == fAnchorLimit) { in MatchAt()
3076 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3077 UChar32 c = UTEXT_CURRENT32(fInputText); in MatchAt()
3082 … if ( !(c==0x0a && fp->fInputIdx>fAnchorStart && UTEXT_PREVIOUS32(fInputText)==0x0d)) { in MatchAt()
3102 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3103 if (UTEXT_CURRENT32(fInputText) != 0x0a) { in MatchAt()
3125 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3126 UChar32 c = UTEXT_PREVIOUS32(fInputText); in MatchAt()
3148 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3149 UChar32 c = UTEXT_PREVIOUS32(fInputText); in MatchAt()
3187 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3189 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
3194 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3222 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3227 c = UTEXT_NEXT32(fInputText); in MatchAt()
3228 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3243 c = UTEXT_NEXT32(fInputText); in MatchAt()
3244 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3249 UTEXT_PREVIOUS32(fInputText); in MatchAt()
3250 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3255 c = UTEXT_NEXT32(fInputText); in MatchAt()
3256 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3259 UTEXT_PREVIOUS32(fInputText); in MatchAt()
3260 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3265 c = UTEXT_NEXT32(fInputText); in MatchAt()
3266 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3268 UTEXT_PREVIOUS32(fInputText); in MatchAt()
3269 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3278 c = UTEXT_CURRENT32(fInputText); in MatchAt()
3282 UTEXT_NEXT32(fInputText); in MatchAt()
3283 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3290 … if (c == 0x0d && fp->fInputIdx < fActiveLimit && UTEXT_CURRENT32(fInputText) == 0x0a) { in MatchAt()
3291 c = UTEXT_NEXT32(fInputText); in MatchAt()
3292 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3333 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3334 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
3347 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3355 UTEXT_PREVIOUS32(fInputText); // skip the first character we tried in MatchAt()
3358 c = UTEXT_PREVIOUS32(fInputText); in MatchAt()
3372 … } while (UTEXT_GETNATIVEINDEX(fInputText) >= backSearchIndex && !success); in MatchAt()
3376 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3404 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3406 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
3410 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3416 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3426 UTEXT_PREVIOUS32(fInputText); // skip the first character we tried in MatchAt()
3429 c = UTEXT_PREVIOUS32(fInputText); in MatchAt()
3445 } while (UTEXT_GETNATIVEINDEX(fInputText) >= backSearchIndex); in MatchAt()
3449 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3470 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3473 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
3478 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3485 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3496 UTEXT_PREVIOUS32(fInputText); // skip the first character we tried in MatchAt()
3499 c = UTEXT_PREVIOUS32(fInputText); in MatchAt()
3515 } while (UTEXT_GETNATIVEINDEX(fInputText) >= backSearchIndex); in MatchAt()
3519 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3544 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3547 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
3554 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3569 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3574 c = UTEXT_NEXT32(fInputText); in MatchAt()
3575 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3578 UChar32 nextc = UTEXT_CURRENT32(fInputText); in MatchAt()
3580 UTEXT_NEXT32(fInputText); in MatchAt()
3581 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3599 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3602 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
3607 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3810 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3813 (0 == utext_compareNativeLimit(fAltInputText, groupEndIdx, fInputText, -1)) : in MatchAt()
3814 …(0 == utext_caseCompareNativeLimit(fAltInputText, groupEndIdx, fInputText, -1, U_FOLD_CASE_DEFAULT… in MatchAt()
3815 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3895 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3897 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
3899 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3911 UChar32 c = UTEXT_PREVIOUS32(fInputText); in MatchAt()
3912 while (UTEXT_GETNATIVEINDEX(fInputText) >= backSearchIndex) { in MatchAt()
3919 c = UTEXT_PREVIOUS32(fInputText); in MatchAt()
3924 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3965 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3970 c = UTEXT_NEXT32(fInputText); in MatchAt()
3984 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
4007 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
4012 c = UTEXT_PREVIOUS32(fInputText); in MatchAt()
4033 } while (UTEXT_GETNATIVEINDEX(fInputText) >= backSearchIndex); in MatchAt()
4038 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
4096 UTEXT_SETNATIVEINDEX(fInputText, *lbStartIdx); in MatchAt()
4097 UTEXT_PREVIOUS32(fInputText); in MatchAt()
4098 *lbStartIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
4172 UTEXT_SETNATIVEINDEX(fInputText, *lbStartIdx); in MatchAt()
4173 UTEXT_PREVIOUS32(fInputText); in MatchAt()
4174 *lbStartIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
4249 UTEXT_SETNATIVEINDEX(fInputText, ix); in MatchAt()
4255 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
4265 ix = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
4313 UTEXT_SETNATIVEINDEX(fInputText, ix); in MatchAt()
4319 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
4328 ix = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
4378 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
4379 UChar32 prevC = UTEXT_PREVIOUS32(fInputText); in MatchAt()
4380 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
4382 UChar32 twoPrevC = UTEXT_PREVIOUS32(fInputText); in MatchAt()
4389 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
4473 c = utext_next32From(fInputText, 0); in MatchChunkAt()
4480 c = UTEXT_NEXT32(fInputText); in MatchChunkAt()
4498 const UChar *inputBuf = fInputText->chunkContents; in MatchChunkAt()
4528 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchChunkAt()
4530 UTEXT_CURRENT32(fInputText), (int64_t *)fp-fStack->getBuffer(), fActiveLimit); in MatchChunkAt()