• Home
  • Raw
  • Download

Lines Matching refs:fText

201     utext_close(fText);  in ~RuleBasedBreakIterator()
238 fText = utext_clone(fText, that.fText, FALSE, TRUE, &status); in operator =()
274 fText = utext_openUChars(NULL, NULL, 0, &status); in init()
331 if (!utext_equals(fText, that2.fText)) { in operator ==()
366 fText = utext_clone(fText, ut, FALSE, TRUE, &status); in setText()
394 UText *result = utext_clone(fillIn, fText, FALSE, TRUE, &status); in getUText()
451 fText = utext_openUChars(fText, NULL, 0, &status); in adoptText()
453 fText = utext_openCharacterIterator(fText, newText, &status); in adoptText()
467 fText = utext_openConstUnicodeString(fText, &newText, &status); in setText()
503 int64_t pos = utext_getNativeIndex(fText); in refreshInputText()
505 fText = utext_clone(fText, input, FALSE, TRUE, &status); in refreshInputText()
509 utext_setNativeIndex(fText, pos); in refreshInputText()
510 if (utext_getNativeIndex(fText) != pos) { in refreshInputText()
532 utext_setNativeIndex(fText, 0); in first()
542 if (fText == NULL) { in last()
549 int32_t pos = (int32_t)utext_nativeLength(fText); in last()
550 utext_setNativeIndex(fText, pos); in last()
587 utext_setNativeIndex(fText, pos); in next()
622 utext_setNativeIndex(fText, pos); in previous()
631 if (fText == NULL || (startPos = current()) == 0) { in previous()
655 (void)UTEXT_PREVIOUS32(fText); in previous()
659 utext_setNativeIndex(fText, 0); in previous()
688 utext_setNativeIndex(fText, lastResult); in previous()
718 utext_setNativeIndex(fText, pos); in following()
731 if (fText == NULL || offset >= utext_nativeLength(fText)) { in following()
747 utext_setNativeIndex(fText, offset); in following()
751 (void)UTEXT_NEXT32(fText); in following()
762 utext_setNativeIndex(fText, offset); in following()
763 (void)UTEXT_PREVIOUS32(fText); in following()
792 utext_setNativeIndex(fText, offset); in following()
794 (offset==1 && utext_getNativeIndex(fText)==0)) { in following()
830 utext_setNativeIndex(fText, fCachedBreakPositions[fPositionInCache]); in preceding()
841 if (fText == NULL || offset > utext_nativeLength(fText)) { in preceding()
855 utext_setNativeIndex(fText, offset); in preceding()
856 int32_t newOffset = (int32_t)UTEXT_GETNATIVEINDEX(fText); in preceding()
863 (void)UTEXT_NEXT32(fText); in preceding()
864 offset = (int32_t)UTEXT_GETNATIVEINDEX(fText); in preceding()
872 (void)UTEXT_PREVIOUS32(fText); in preceding()
874 int32_t result = (int32_t)UTEXT_GETNATIVEINDEX(fText); in preceding()
886 utext_setNativeIndex(fText, offset); in preceding()
887 (void)UTEXT_NEXT32(fText); in preceding()
911 utext_setNativeIndex(fText, offset); in preceding()
929 if (offset == (int32_t)utext_nativeLength(fText)) { in isBoundary()
940 if (offset > utext_nativeLength(fText)) { in isBoundary()
948 utext_previous32From(fText, offset); in isBoundary()
949 int32_t backOne = (int32_t)UTEXT_GETNATIVEINDEX(fText); in isBoundary()
959 int32_t pos = (int32_t)UTEXT_GETNATIVEINDEX(fText); in current()
1016 initialPosition = (int32_t)UTEXT_GETNATIVEINDEX(fText); in handleNext()
1018 c = UTEXT_NEXT32(fText); in handleNext()
1088 RBBIDebugPrintf(" %4ld ", utext_getNativeIndex(fText)); in handleNext()
1114 result = (int32_t)UTEXT_GETNATIVEINDEX(fText); in handleNext()
1128 UTEXT_SETNATIVEINDEX(fText, result); in handleNext()
1136 int32_t r = (int32_t)UTEXT_GETNATIVEINDEX(fText); in handleNext()
1163 c = UTEXT_NEXT32(fText); in handleNext()
1179 UTEXT_SETNATIVEINDEX(fText, initialPosition); in handleNext()
1180 UTEXT_NEXT32(fText); in handleNext()
1181 result = (int32_t)UTEXT_GETNATIVEINDEX(fText); in handleNext()
1185 UTEXT_SETNATIVEINDEX(fText, result); in handleNext()
1232 if (fText == NULL || fData == NULL || UTEXT_GETNATIVEINDEX(fText)==0) { in handlePrevious()
1237 initialPosition = (int32_t)UTEXT_GETNATIVEINDEX(fText); in handlePrevious()
1239 c = UTEXT_PREVIOUS32(fText); in handlePrevious()
1271 UTEXT_SETNATIVEINDEX(fText, initialPosition); in handlePrevious()
1272 …(void)UTEXT_PREVIOUS32(fText); // TODO: shouldn't be necessary. We're already at beginning. C… in handlePrevious()
1308 RBBIDebugPrintf(" %4d ", (int32_t)utext_getNativeIndex(fText)); in handlePrevious()
1331 result = (int32_t)UTEXT_GETNATIVEINDEX(fText); in handlePrevious()
1342 UTEXT_SETNATIVEINDEX(fText, result); in handlePrevious()
1350 int32_t r = (int32_t)UTEXT_GETNATIVEINDEX(fText); in handlePrevious()
1376 c = UTEXT_PREVIOUS32(fText); in handlePrevious()
1390 UTEXT_SETNATIVEINDEX(fText, initialPosition); in handlePrevious()
1391 UTEXT_PREVIOUS32(fText); in handlePrevious()
1392 result = (int32_t)UTEXT_GETNATIVEINDEX(fText); in handlePrevious()
1396 UTEXT_SETNATIVEINDEX(fText, result); in handlePrevious()
1436 if (fText == NULL || current() == 0) { in makeRuleStatusValid()
1647 if (fText->pFuncs == utext_utf8Funcs) { in checkDictionary()
1654 utext_setNativeIndex(fText, reverse ? endPos : startPos); in checkDictionary()
1656 UTEXT_PREVIOUS32(fText); in checkDictionary()
1667 UChar32 c = utext_current32(fText); in checkDictionary()
1679 utext_next32(fText); // TODO: recast to work directly with postincrement. in checkDictionary()
1680 c = utext_current32(fText); in checkDictionary()
1684 rangeEnd = (int32_t)UTEXT_GETNATIVEINDEX(fText); in checkDictionary()
1688 c = UTEXT_PREVIOUS32(fText); in checkDictionary()
1691 c = UTEXT_PREVIOUS32(fText); in checkDictionary()
1696 c = UTEXT_PREVIOUS32(fText); in checkDictionary()
1703 c = utext_current32(fText); in checkDictionary()
1706 utext_next32(fText); in checkDictionary()
1707 c = utext_current32(fText); in checkDictionary()
1709 rangeStart = (int32_t)UTEXT_GETNATIVEINDEX(fText);; in checkDictionary()
1720 utext_setNativeIndex(fText, rangeStart); in checkDictionary()
1721 c = utext_current32(fText); in checkDictionary()
1725 … while((current = (int32_t)UTEXT_GETNATIVEINDEX(fText)) < rangeEnd && (category & 0x4000) == 0) { in checkDictionary()
1726 utext_next32(fText); // TODO: tweak for post-increment operation in checkDictionary()
1727 c = utext_current32(fText); in checkDictionary()
1741 … foundBreakCount += lbe->findBreaks(fText, rangeStart, rangeEnd, FALSE, fBreakType, breaks); in checkDictionary()
1745 c = utext_current32(fText); in checkDictionary()
1787 utext_setNativeIndex(fText, reverse ? startPos : endPos); in checkDictionary()