• Home
  • Raw
  • Download

Lines Matching refs:fInputText

171     if (fInputText) {  in ~RegexMatcher()
172 utext_close(fInputText); in ~RegexMatcher()
227 fInputText = NULL; in init()
318 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) { in appendReplacement()
319 … destLen += utext_replace(dest, destLen, destLen, fInputText->chunkContents+fAppendPosition, in appendReplacement()
323 if (UTEXT_USES_U16(fInputText)) { in appendReplacement()
327 … len16 = utext_extract(fInputText, fAppendPosition, fMatchStart, NULL, 0, &lengthStatus); in appendReplacement()
334 utext_extract(fInputText, fAppendPosition, fMatchStart, inputChars, len16+1, &status); in appendReplacement()
516 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) { in appendTail()
518 utext_replace(dest, destLen, destLen, fInputText->chunkContents+fAppendPosition, in appendTail()
522 if (UTEXT_USES_U16(fInputText)) { in appendTail()
525 len16 = utext_extract(fInputText, fAppendPosition, fInputLength, NULL, 0, &status); in appendTail()
533 …utext_extract(fInputText, fAppendPosition, fInputLength, inputChars, len16, &status); // untermina… in appendTail()
638 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) { in find()
659 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
660 (void)UTEXT_NEXT32(fInputText); in find()
661 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
679 if (UTEXT_USES_U16(fInputText)) { in find()
711 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
712 (void)UTEXT_NEXT32(fInputText); in find()
713 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
740 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
743 c = UTEXT_NEXT32(fInputText); in find()
744 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
757 UTEXT_SETNATIVEINDEX(fInputText, pos); in find()
776 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
779 c = UTEXT_NEXT32(fInputText); in find()
780 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
789 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
813 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
814 ch = UTEXT_NEXT32(fInputText); in find()
815 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
817 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
818 ch = UTEXT_PREVIOUS32(fInputText); in find()
819 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
832 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
839 ch = UTEXT_NEXT32(fInputText); in find()
840 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
850 … if (ch == 0x0d && startPos < fActiveLimit && UTEXT_CURRENT32(fInputText) == 0x0a) { in find()
851 (void)UTEXT_NEXT32(fInputText); in find()
852 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
861 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
868 ch = UTEXT_NEXT32(fInputText); in find()
869 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
930 const UChar *inputBuf = fInputText->chunkContents; in findUsingChunk()
1192 return utext_clone(dest, fInputText, FALSE, TRUE, &status); in group()
1197 dest = utext_clone(dest, fInputText, FALSE, TRUE, &status); in group()
1213 int32_t length = utext_extract(fInputText, groupStart, groupEnd, NULL, 0, &status); in group()
1223 … int32_t extractLength = utext_extract(fInputText, groupStart, groupEnd, buf, length, &status); in group()
1276 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) { in appendGroup()
1278 …deltaLen = utext_replace(dest, destLen, destLen, fInputText->chunkContents+s, (int32_t)(e-s), &sta… in appendGroup()
1281 if (UTEXT_USES_U16(fInputText)) { in appendGroup()
1285 len16 = utext_extract(fInputText, s, e, NULL, 0, &lengthStatus); in appendGroup()
1292 utext_extract(fInputText, s, e, groupChars, len16+1, &status); in appendGroup()
1351 if (UTEXT_USES_U16(fInputText)) { in input()
1354 len16 = utext_extract(fInputText, 0, fInputLength, NULL, 0, &status); in input()
1360 … utext_extract(fInputText, 0, fInputLength, inputChars, len16, &status); // unterminated warning in input()
1375 return fInputText; in inputText()
1394 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) { in getInput()
1395 …utext_replace(dest, 0, utext_nativeLength(dest), fInputText->chunkContents, (int32_t)fInputLength,… in getInput()
1398 if (UTEXT_USES_U16(fInputText)) { in getInput()
1402 …input16Len = utext_extract(fInputText, 0, fInputLength, NULL, 0, &lengthStatus); // buffer overflo… in getInput()
1410 …utext_extract(fInputText, 0, fInputLength, inputChars, input16Len, &status); // not terminated war… in getInput()
1418 return utext_clone(NULL, fInputText, FALSE, TRUE, &status); in getInput()
1464 if (compat_SyncMutableUTextContents(fInputText)) { in lookingAt()
1465 fInputLength = utext_nativeLength(fInputText); in lookingAt()
1472 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) { in lookingAt()
1497 if (compat_SyncMutableUTextContents(fInputText)) { in lookingAt()
1498 fInputLength = utext_nativeLength(fInputText); in lookingAt()
1510 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) { in lookingAt()
1535 if (compat_SyncMutableUTextContents(fInputText)) { in matches()
1536 fInputLength = utext_nativeLength(fInputText); in matches()
1544 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) { in matches()
1569 if (compat_SyncMutableUTextContents(fInputText)) { in matches()
1570 fInputLength = utext_nativeLength(fInputText); in matches()
1582 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) { in matches()
1842 fInputText = utext_openConstUnicodeString(fInputText, &input, &fDeferredStatus); in reset()
1844 fAltInputText = utext_clone(fAltInputText, fInputText, FALSE, TRUE, &fDeferredStatus); in reset()
1849 fInputLength = utext_nativeLength(fInputText); in reset()
1862 fWordBreakItr->setText(fInputText, status); in reset()
1870 if (fInputText != input) { in reset()
1871 fInputText = utext_clone(fInputText, input, FALSE, TRUE, &fDeferredStatus); in reset()
1872 …if (fPattern->fNeedsAltInput) fAltInputText = utext_clone(fAltInputText, fInputText, FALSE, TRUE, … in reset()
1876 fInputLength = utext_nativeLength(fInputText); in reset()
1927 if (utext_nativeLength(fInputText) != utext_nativeLength(input)) { in refreshInputText()
1931 int64_t pos = utext_getNativeIndex(fInputText); in refreshInputText()
1933 fInputText = utext_clone(fInputText, input, FALSE, TRUE, &status); in refreshInputText()
1937 utext_setNativeIndex(fInputText, pos); in refreshInputText()
2190 dest[i] = utext_extract_replace(fInputText, dest[i], in split()
2541 UTEXT_SETNATIVEINDEX(fInputText, pos); in isWordBoundary()
2542 UChar32 c = UTEXT_CURRENT32(fInputText); in isWordBoundary()
2554 if (UTEXT_GETNATIVEINDEX(fInputText) <= fLookStart) { in isWordBoundary()
2557 UChar32 prevChar = UTEXT_PREVIOUS32(fInputText); in isWordBoundary()
2572 const UChar *inputBuf = fInputText->chunkContents; in isChunkWordBoundary()
2627 fWordBreakItr->setText(fInputText, fDeferredStatus); in isUWordBoundary()
2636 if (!UTEXT_USES_U16(fInputText)) { in isUWordBoundary()
2639 pos = utext_extract(fInputText, 0, pos, NULL, 0, &status); in isUWordBoundary()
2764 printf("Input String: \"%s\"\n\n", CStr(StringFromUText(fInputText))()); in MatchAt()
2805 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
2807 UTEXT_CURRENT32(fInputText), (int64_t *)fp-fStack->getBuffer(), fActiveLimit); in MatchAt()
2830 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
2831 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
2833 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
2859 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
2864 if (UTEXT_GETNATIVEINDEX(fInputText) >= fActiveLimit) { in MatchAt()
2869 inputChar = UTEXT_NEXT32(fInputText); in MatchAt()
2878 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
2932 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
2936 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
2937 if (UTEXT_GETNATIVEINDEX(fInputText) >= fAnchorLimit) { in MatchAt()
2940 …& fp->fInputIdx>fAnchorStart && ((void)UTEXT_PREVIOUS32(fInputText), UTEXT_PREVIOUS32(fInputText))… in MatchAt()
2949 UChar32 nextC = UTEXT_NEXT32(fInputText); in MatchAt()
2950 … if (c == 0x0d && nextC == 0x0a && UTEXT_GETNATIVEINDEX(fInputText) >= fAnchorLimit) { in MatchAt()
2969 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
2970 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
2972 if (c == 0x0a && UTEXT_GETNATIVEINDEX(fInputText) == fAnchorLimit) { in MatchAt()
2994 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
2995 UChar32 c = UTEXT_CURRENT32(fInputText); in MatchAt()
3000 … if ( !(c==0x0a && fp->fInputIdx>fAnchorStart && UTEXT_PREVIOUS32(fInputText)==0x0d)) { in MatchAt()
3020 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3021 if (UTEXT_CURRENT32(fInputText) != 0x0a) { in MatchAt()
3043 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3044 UChar32 c = UTEXT_PREVIOUS32(fInputText); in MatchAt()
3065 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3066 UChar32 c = UTEXT_PREVIOUS32(fInputText); in MatchAt()
3104 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3106 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
3111 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3133 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3134 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
3139 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3154 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3155 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
3157 if (c == 0x0d && utext_current32(fInputText) == 0x0a) { in MatchAt()
3158 utext_next32(fInputText); in MatchAt()
3160 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3175 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3176 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
3180 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3201 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3206 c = UTEXT_NEXT32(fInputText); in MatchAt()
3207 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3222 c = UTEXT_NEXT32(fInputText); in MatchAt()
3223 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3228 (void)UTEXT_PREVIOUS32(fInputText); in MatchAt()
3229 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3234 c = UTEXT_NEXT32(fInputText); in MatchAt()
3235 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3238 (void)UTEXT_PREVIOUS32(fInputText); in MatchAt()
3239 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3244 c = UTEXT_NEXT32(fInputText); in MatchAt()
3245 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3247 (void)UTEXT_PREVIOUS32(fInputText); in MatchAt()
3248 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3257 c = UTEXT_CURRENT32(fInputText); in MatchAt()
3261 (void)UTEXT_NEXT32(fInputText); in MatchAt()
3262 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3269 … if (c == 0x0d && fp->fInputIdx < fActiveLimit && UTEXT_CURRENT32(fInputText) == 0x0a) { in MatchAt()
3270 c = UTEXT_NEXT32(fInputText); in MatchAt()
3271 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3312 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3313 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
3326 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3347 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3349 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
3353 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3359 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3375 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3378 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
3383 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3390 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3411 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3414 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
3420 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3435 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3440 c = UTEXT_NEXT32(fInputText); in MatchAt()
3441 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3444 UChar32 nextc = UTEXT_CURRENT32(fInputText); in MatchAt()
3446 (void)UTEXT_NEXT32(fInputText); in MatchAt()
3447 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3465 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3468 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
3473 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3695 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3707 if (utext_getNativeIndex(fInputText) >= fActiveLimit) { in MatchAt()
3713 UChar32 inputChar = utext_next32(fInputText); in MatchAt()
3721 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3742 utext_setNativeIndex(fInputText, fp->fInputIdx); in MatchAt()
3744 CaseFoldingUTextIterator inputItr(*fInputText); in MatchAt()
3756 … if (!inputItr.inExpansion() && utext_getNativeIndex(fInputText) >= fActiveLimit) { in MatchAt()
3777 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3854 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3856 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
3858 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3890 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
3891 CaseFoldingUTextIterator inputIterator(*fInputText); in MatchAt()
3893 … if (!inputIterator.inExpansion() && UTEXT_GETNATIVEINDEX(fInputText) >= fActiveLimit) { in MatchAt()
3910 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3945 if (!UTEXT_USES_U16(fInputText)) { in MatchAt()
3961 UTEXT_SETNATIVEINDEX(fInputText, lbStartIdx); in MatchAt()
3962 lbStartIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
3970 UTEXT_SETNATIVEINDEX(fInputText, lbStartIdx); in MatchAt()
3971 (void)UTEXT_PREVIOUS32(fInputText); in MatchAt()
3972 lbStartIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
4028 if (!UTEXT_USES_U16(fInputText)) { in MatchAt()
4047 UTEXT_SETNATIVEINDEX(fInputText, lbStartIdx); in MatchAt()
4048 lbStartIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
4056 UTEXT_SETNATIVEINDEX(fInputText, lbStartIdx); in MatchAt()
4057 (void)UTEXT_PREVIOUS32(fInputText); in MatchAt()
4058 lbStartIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
4133 UTEXT_SETNATIVEINDEX(fInputText, ix); in MatchAt()
4139 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
4149 ix = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
4194 UTEXT_SETNATIVEINDEX(fInputText, ix); in MatchAt()
4200 UChar32 c = UTEXT_NEXT32(fInputText); in MatchAt()
4209 ix = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
4256 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchAt()
4257 UChar32 prevC = UTEXT_PREVIOUS32(fInputText); in MatchAt()
4258 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
4260 UChar32 twoPrevC = UTEXT_PREVIOUS32(fInputText); in MatchAt()
4267 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText); in MatchAt()
4340 printf("Input String: \"%s\"\n\n", CStr(StringFromUText(fInputText))()); in MatchChunkAt()
4355 const UChar *inputBuf = fInputText->chunkContents; in MatchChunkAt()
4383 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx); in MatchChunkAt()
4385 UTEXT_CURRENT32(fInputText), (int64_t *)fp-fStack->getBuffer(), fActiveLimit); in MatchChunkAt()