Lines Matching refs:fText
197 utext_close(&fText); in ~RuleBasedBreakIterator()
233 utext_clone(&fText, &that.fText, FALSE, TRUE, &status); in operator =()
296 uprv_memcpy(&fText, &initializedUText, sizeof(UText)); in init()
302 utext_openUChars(&fText, NULL, 0, &status); in init()
354 if (!utext_equals(&fText, &that2.fText)) { in operator ==()
395 utext_clone(&fText, ut, FALSE, TRUE, &status); in setText()
416 UText *result = utext_clone(fillIn, &fText, FALSE, TRUE, &status); in getUText()
453 utext_openUChars(&fText, NULL, 0, &status); in adoptText()
455 utext_openCharacterIterator(&fText, newText, &status); in adoptText()
470 utext_openConstUnicodeString(&fText, &newText, &status); in setText()
502 int64_t pos = utext_getNativeIndex(&fText); in refreshInputText()
504 utext_clone(&fText, input, FALSE, TRUE, &status); in refreshInputText()
508 utext_setNativeIndex(&fText, pos); in refreshInputText()
509 if (utext_getNativeIndex(&fText) != pos) { in refreshInputText()
539 int32_t endPos = (int32_t)utext_nativeLength(&fText); in last()
610 utext_setNativeIndex(&fText, startPos); in following()
611 startPos = (int32_t)utext_getNativeIndex(&fText); in following()
625 if (offset > utext_nativeLength(&fText)) { in preceding()
632 utext_setNativeIndex(&fText, offset); in preceding()
633 int32_t adjustedOffset = static_cast<int32_t>(utext_getNativeIndex(&fText)); in preceding()
659 utext_setNativeIndex(&fText, offset); in isBoundary()
660 int32_t adjustedOffset = static_cast<int32_t>(utext_getNativeIndex(&fText)); in isBoundary()
668 if (result && adjustedOffset < offset && utext_char32At(&fText, offset) == U_SENTINEL) { in isBoundary()
788 UTEXT_SETNATIVEINDEX(&fText, initialPosition); in handleNext()
790 c = UTEXT_NEXT32(&fText); in handleNext()
853 RBBIDebugPrintf(" %4" PRId64 " ", utext_getNativeIndex(&fText)); in handleNext()
877 result = (int32_t)UTEXT_GETNATIVEINDEX(&fText); in handleNext()
895 int32_t pos = (int32_t)UTEXT_GETNATIVEINDEX(&fText); in handleNext()
911 c = UTEXT_NEXT32(&fText); in handleNext()
925 utext_setNativeIndex(&fText, initialPosition); in handleNext()
926 utext_next32(&fText); in handleNext()
927 result = (int32_t)utext_getNativeIndex(&fText); in handleNext()
959 UTEXT_SETNATIVEINDEX(&fText, fromPosition); in handleSafePrevious()
967 if (fData == NULL || UTEXT_GETNATIVEINDEX(&fText)==0) { in handleSafePrevious()
972 c = UTEXT_PREVIOUS32(&fText); in handleSafePrevious()
979 for (; c != U_SENTINEL; c = UTEXT_PREVIOUS32(&fText)) { in handleSafePrevious()
992 RBBIDebugPrintf(" %4d ", (int32_t)utext_getNativeIndex(&fText)); in handleSafePrevious()
1018 result = (int32_t)UTEXT_GETNATIVEINDEX(&fText); in handleSafePrevious()