Lines Matching refs:fInputText
178 if (fInputText) {
179 utext_close(fInputText);
234 fInputText = NULL;
326 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) {
327 destLen += utext_replace(dest, destLen, destLen, fInputText->chunkContents+fAppendPosition,
331 if (UTEXT_USES_U16(fInputText)) {
335 len16 = utext_extract(fInputText, fAppendPosition, fMatchStart, NULL, 0, &lengthStatus);
342 utext_extract(fInputText, fAppendPosition, fMatchStart, inputChars, len16+1, &status);
516 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) {
518 utext_replace(dest, destLen, destLen, fInputText->chunkContents+fAppendPosition,
522 if (UTEXT_USES_U16(fInputText)) {
525 len16 = utext_extract(fInputText, fAppendPosition, fInputLength, NULL, 0, &status);
533 utext_extract(fInputText, fAppendPosition, fInputLength, inputChars, len16, &status); // unterminated
603 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) {
624 UTEXT_SETNATIVEINDEX(fInputText, startPos);
625 (void)UTEXT_NEXT32(fInputText);
626 startPos = UTEXT_GETNATIVEINDEX(fInputText);
644 if (UTEXT_USES_U16(fInputText)) {
676 UTEXT_SETNATIVEINDEX(fInputText, startPos);
677 (void)UTEXT_NEXT32(fInputText);
678 startPos = UTEXT_GETNATIVEINDEX(fInputText);
706 UTEXT_SETNATIVEINDEX(fInputText, startPos);
708 c = UTEXT_NEXT32(fInputText);
709 pos = UTEXT_GETNATIVEINDEX(fInputText);
722 UTEXT_SETNATIVEINDEX(fInputText, pos);
743 UTEXT_SETNATIVEINDEX(fInputText, startPos);
745 c = UTEXT_NEXT32(fInputText);
746 pos = UTEXT_GETNATIVEINDEX(fInputText);
755 UTEXT_SETNATIVEINDEX(fInputText, pos);
780 UTEXT_SETNATIVEINDEX(fInputText, startPos);
781 c = UTEXT_NEXT32(fInputText);
782 startPos = UTEXT_GETNATIVEINDEX(fInputText);
784 UTEXT_SETNATIVEINDEX(fInputText, startPos);
785 c = UTEXT_PREVIOUS32(fInputText);
786 UTEXT_SETNATIVEINDEX(fInputText, startPos);
799 UTEXT_SETNATIVEINDEX(fInputText, startPos);
806 c = UTEXT_NEXT32(fInputText);
807 startPos = UTEXT_GETNATIVEINDEX(fInputText);
818 if (c == 0x0d && startPos < fActiveLimit && UTEXT_CURRENT32(fInputText) == 0x0a) {
819 (void)UTEXT_NEXT32(fInputText);
820 startPos = UTEXT_GETNATIVEINDEX(fInputText);
829 UTEXT_SETNATIVEINDEX(fInputText, startPos);
836 c = UTEXT_NEXT32(fInputText);
837 startPos = UTEXT_GETNATIVEINDEX(fInputText);
898 const UChar *inputBuf = fInputText->chunkContents;
1166 return utext_clone(dest, fInputText, FALSE, TRUE, &status);
1171 dest = utext_clone(dest, fInputText, FALSE, TRUE, &status);
1244 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) {
1247 utext_replace(dest, 0, utext_nativeLength(dest), fInputText->chunkContents+s, (int32_t)(e-s), &status);
1250 utext_openUChars(&groupText, fInputText->chunkContents+s, e-s, &status);
1256 if (UTEXT_USES_U16(fInputText)) {
1260 len16 = utext_extract(fInputText, s, e, NULL, 0, &lengthStatus);
1267 utext_extract(fInputText, s, e, groupChars, len16+1, &status);
1328 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) {
1330 deltaLen = utext_replace(dest, destLen, destLen, fInputText->chunkContents+s, (int32_t)(e-s), &status);
1333 if (UTEXT_USES_U16(fInputText)) {
1337 len16 = utext_extract(fInputText, s, e, NULL, 0, &lengthStatus);
1344 utext_extract(fInputText, s, e, groupChars, len16+1, &status);
1405 if (UTEXT_USES_U16(fInputText)) {
1408 len16 = utext_extract(fInputText, 0, fInputLength, NULL, 0, &status);
1414 utext_extract(fInputText, 0, fInputLength, inputChars, len16, &status); // unterminated warning
1429 return fInputText;
1453 return utext_clone(NULL, fInputText, FALSE, TRUE, &status);
1458 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) {
1459 utext_replace(dest, 0, utext_nativeLength(dest), fInputText->chunkContents, (int32_t)fInputLength, &status);
1462 if (UTEXT_USES_U16(fInputText)) {
1466 input16Len = utext_extract(fInputText, 0, fInputLength, NULL, 0, &lengthStatus); // buffer overflow error
1474 utext_extract(fInputText, 0, fInputLength, inputChars, input16Len, &status); // not terminated warning
1482 return utext_clone(NULL, fInputText, FALSE, TRUE, &status);
1528 if (compat_SyncMutableUTextContents(fInputText)) {
1529 fInputLength = utext_nativeLength(fInputText);
1536 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) {
1561 if (compat_SyncMutableUTextContents(fInputText)) {
1562 fInputLength = utext_nativeLength(fInputText);
1574 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) {
1599 if (compat_SyncMutableUTextContents(fInputText)) {
1600 fInputLength = utext_nativeLength(fInputText);
1608 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) {
1633 if (compat_SyncMutableUTextContents(fInputText)) {
1634 fInputLength = utext_nativeLength(fInputText);
1646 if (UTEXT_FULL_TEXT_IN_CHUNK(fInputText, fInputLength)) {
1906 fInputText = utext_openConstUnicodeString(fInputText, &input, &fDeferredStatus);
1908 fAltInputText = utext_clone(fAltInputText, fInputText, FALSE, TRUE, &fDeferredStatus);
1910 fInputLength = utext_nativeLength(fInputText);
1923 fWordBreakItr->setText(fInputText, status);
1931 if (fInputText != input) {
1932 fInputText = utext_clone(fInputText, input, FALSE, TRUE, &fDeferredStatus);
1933 if (fPattern->fNeedsAltInput) fAltInputText = utext_clone(fAltInputText, fInputText, FALSE, TRUE, &fDeferredStatus);
1934 fInputLength = utext_nativeLength(fInputText);
1985 if (utext_nativeLength(fInputText) != utext_nativeLength(input)) {
1989 int64_t pos = utext_getNativeIndex(fInputText);
1991 fInputText = utext_clone(fInputText, input, FALSE, TRUE, &status);
1995 utext_setNativeIndex(fInputText, pos);
2533 UTEXT_SETNATIVEINDEX(fInputText, pos);
2534 UChar32 c = UTEXT_CURRENT32(fInputText);
2546 if (UTEXT_GETNATIVEINDEX(fInputText) <= fLookStart) {
2549 UChar32 prevChar = UTEXT_PREVIOUS32(fInputText);
2564 const UChar *inputBuf = fInputText->chunkContents;
2619 fWordBreakItr->setText(fInputText, fDeferredStatus);
2628 if (!UTEXT_USES_U16(fInputText)) {
2631 pos = utext_extract(fInputText, 0, pos, NULL, 0, &status);
2776 c = utext_next32From(fInputText, 0);
2783 c = UTEXT_NEXT32(fInputText);
2829 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx);
2831 UTEXT_CURRENT32(fInputText), (int64_t *)fp-fStack->getBuffer(), fActiveLimit);
2854 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx);
2855 UChar32 c = UTEXT_NEXT32(fInputText);
2857 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
2883 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx);
2888 if (UTEXT_GETNATIVEINDEX(fInputText) >= fActiveLimit) {
2893 inputChar = UTEXT_NEXT32(fInputText);
2902 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
2956 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx);
2960 UChar32 c = UTEXT_NEXT32(fInputText);
2961 if (UTEXT_GETNATIVEINDEX(fInputText) >= fAnchorLimit) {
2964 if ( !(c==0x0a && fp->fInputIdx>fAnchorStart && ((void)UTEXT_PREVIOUS32(fInputText), UTEXT_PREVIOUS32(fInputText))==0x0d)) {
2973 UChar32 nextC = UTEXT_NEXT32(fInputText);
2974 if (c == 0x0d && nextC == 0x0a && UTEXT_GETNATIVEINDEX(fInputText) >= fAnchorLimit) {
2993 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx);
2994 UChar32 c = UTEXT_NEXT32(fInputText);
2996 if (c == 0x0a && UTEXT_GETNATIVEINDEX(fInputText) == fAnchorLimit) {
3018 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx);
3019 UChar32 c = UTEXT_CURRENT32(fInputText);
3024 if ( !(c==0x0a && fp->fInputIdx>fAnchorStart && UTEXT_PREVIOUS32(fInputText)==0x0d)) {
3044 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx);
3045 if (UTEXT_CURRENT32(fInputText) != 0x0a) {
3067 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx);
3068 UChar32 c = UTEXT_PREVIOUS32(fInputText);
3090 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx);
3091 UChar32 c = UTEXT_PREVIOUS32(fInputText);
3129 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx);
3131 UChar32 c = UTEXT_NEXT32(fInputText);
3136 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
3164 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx);
3169 c = UTEXT_NEXT32(fInputText);
3170 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
3185 c = UTEXT_NEXT32(fInputText);
3186 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
3191 (void)UTEXT_PREVIOUS32(fInputText);
3192 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
3197 c = UTEXT_NEXT32(fInputText);
3198 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
3201 (void)UTEXT_PREVIOUS32(fInputText);
3202 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
3207 c = UTEXT_NEXT32(fInputText);
3208 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
3210 (void)UTEXT_PREVIOUS32(fInputText);
3211 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
3220 c = UTEXT_CURRENT32(fInputText);
3224 (void)UTEXT_NEXT32(fInputText);
3225 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
3232 if (c == 0x0d && fp->fInputIdx < fActiveLimit && UTEXT_CURRENT32(fInputText) == 0x0a) {
3233 c = UTEXT_NEXT32(fInputText);
3234 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
3275 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx);
3276 UChar32 c = UTEXT_NEXT32(fInputText);
3289 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
3310 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx);
3312 UChar32 c = UTEXT_NEXT32(fInputText);
3316 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
3322 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
3338 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx);
3341 UChar32 c = UTEXT_NEXT32(fInputText);
3346 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
3353 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
3374 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx);
3377 UChar32 c = UTEXT_NEXT32(fInputText);
3384 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
3399 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx);
3404 c = UTEXT_NEXT32(fInputText);
3405 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
3408 UChar32 nextc = UTEXT_CURRENT32(fInputText);
3410 (void)UTEXT_NEXT32(fInputText);
3411 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
3429 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx);
3432 UChar32 c = UTEXT_NEXT32(fInputText);
3437 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
3632 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx);
3644 if (utext_getNativeIndex(fInputText) >= fActiveLimit) {
3650 UChar32 inputChar = utext_next32(fInputText);
3658 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
3679 utext_setNativeIndex(fInputText, fp->fInputIdx);
3681 CaseFoldingUTextIterator inputItr(*fInputText);
3693 if (!inputItr.inExpansion() && utext_getNativeIndex(fInputText) >= fActiveLimit) {
3714 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
3791 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx);
3793 UChar32 c = UTEXT_NEXT32(fInputText);
3795 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
3827 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx);
3828 CaseFoldingUTextIterator inputIterator(*fInputText);
3830 if (!inputIterator.inExpansion() && UTEXT_GETNATIVEINDEX(fInputText) >= fActiveLimit) {
3847 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
3897 UTEXT_SETNATIVEINDEX(fInputText, *lbStartIdx);
3898 (void)UTEXT_PREVIOUS32(fInputText);
3899 *lbStartIdx = UTEXT_GETNATIVEINDEX(fInputText);
3973 UTEXT_SETNATIVEINDEX(fInputText, *lbStartIdx);
3974 (void)UTEXT_PREVIOUS32(fInputText);
3975 *lbStartIdx = UTEXT_GETNATIVEINDEX(fInputText);
4050 UTEXT_SETNATIVEINDEX(fInputText, ix);
4056 UChar32 c = UTEXT_NEXT32(fInputText);
4066 ix = UTEXT_GETNATIVEINDEX(fInputText);
4111 UTEXT_SETNATIVEINDEX(fInputText, ix);
4117 UChar32 c = UTEXT_NEXT32(fInputText);
4126 ix = UTEXT_GETNATIVEINDEX(fInputText);
4173 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx);
4174 UChar32 prevC = UTEXT_PREVIOUS32(fInputText);
4175 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
4177 UChar32 twoPrevC = UTEXT_PREVIOUS32(fInputText);
4184 fp->fInputIdx = UTEXT_GETNATIVEINDEX(fInputText);
4268 c = utext_next32From(fInputText, 0);
4275 c = UTEXT_NEXT32(fInputText);
4293 const UChar *inputBuf = fInputText->chunkContents;
4323 UTEXT_SETNATIVEINDEX(fInputText, fp->fInputIdx);
4325 UTEXT_CURRENT32(fInputText), (int64_t *)fp-fStack->getBuffer(), fActiveLimit);