Lines Matching refs:fText
171 utext_close(fText); in ~RuleBasedBreakIterator()
208 fText = utext_clone(fText, that.fText, FALSE, TRUE, &status); in operator =()
244 fText = utext_openUChars(NULL, NULL, 0, &status); in init()
301 if (!utext_equals(fText, that2.fText)) { in operator ==()
336 fText = utext_clone(fText, ut, FALSE, TRUE, &status); in setText()
364 UText *result = utext_clone(fillIn, fText, FALSE, TRUE, &status); in getUText()
421 fText = utext_openUChars(fText, NULL, 0, &status); in adoptText()
423 fText = utext_openCharacterIterator(fText, newText, &status); in adoptText()
437 fText = utext_openConstUnicodeString(fText, &newText, &status); in setText()
471 utext_setNativeIndex(fText, 0); in first()
481 if (fText == NULL) { in last()
488 int32_t pos = (int32_t)utext_nativeLength(fText); in last()
489 utext_setNativeIndex(fText, pos); in last()
526 utext_setNativeIndex(fText, pos); in next()
561 utext_setNativeIndex(fText, pos); in previous()
570 if (fText == NULL || (startPos = current()) == 0) { in previous()
594 UTEXT_PREVIOUS32(fText); in previous()
598 utext_setNativeIndex(fText, 0); in previous()
627 utext_setNativeIndex(fText, lastResult); in previous()
657 utext_setNativeIndex(fText, pos); in following()
670 if (fText == NULL || offset >= utext_nativeLength(fText)) { in following()
686 utext_setNativeIndex(fText, offset); in following()
690 UTEXT_NEXT32(fText); in following()
701 utext_setNativeIndex(fText, offset); in following()
702 UTEXT_PREVIOUS32(fText); in following()
731 utext_setNativeIndex(fText, offset); in following()
733 (offset==1 && utext_getNativeIndex(fText)==0)) { in following()
769 utext_setNativeIndex(fText, fCachedBreakPositions[fPositionInCache]); in preceding()
780 if (fText == NULL || offset > utext_nativeLength(fText)) { in preceding()
794 utext_setNativeIndex(fText, offset); in preceding()
795 int32_t newOffset = (int32_t)UTEXT_GETNATIVEINDEX(fText); in preceding()
802 UTEXT_NEXT32(fText); in preceding()
803 offset = (int32_t)UTEXT_GETNATIVEINDEX(fText); in preceding()
811 UTEXT_PREVIOUS32(fText); in preceding()
813 int32_t result = (int32_t)UTEXT_GETNATIVEINDEX(fText); in preceding()
825 utext_setNativeIndex(fText, offset); in preceding()
826 UTEXT_NEXT32(fText); in preceding()
850 utext_setNativeIndex(fText, offset); in preceding()
868 if (offset == (int32_t)utext_nativeLength(fText)) { in isBoundary()
879 if (offset > utext_nativeLength(fText)) { in isBoundary()
887 utext_previous32From(fText, offset); in isBoundary()
888 int32_t backOne = (int32_t)UTEXT_GETNATIVEINDEX(fText); in isBoundary()
898 int32_t pos = (int32_t)UTEXT_GETNATIVEINDEX(fText); in current()
955 initialPosition = (int32_t)UTEXT_GETNATIVEINDEX(fText); in handleNext()
957 c = UTEXT_NEXT32(fText); in handleNext()
1027 RBBIDebugPrintf(" %4ld ", utext_getNativeIndex(fText)); in handleNext()
1048 result = (int32_t)UTEXT_GETNATIVEINDEX(fText); in handleNext()
1062 UTEXT_SETNATIVEINDEX(fText, result); in handleNext()
1070 int32_t r = (int32_t)UTEXT_GETNATIVEINDEX(fText); in handleNext()
1097 c = UTEXT_NEXT32(fText); in handleNext()
1113 UTEXT_SETNATIVEINDEX(fText, initialPosition); in handleNext()
1114 UTEXT_NEXT32(fText); in handleNext()
1115 result = (int32_t)UTEXT_GETNATIVEINDEX(fText); in handleNext()
1119 UTEXT_SETNATIVEINDEX(fText, result); in handleNext()
1166 if (fText == NULL || fData == NULL || UTEXT_GETNATIVEINDEX(fText)==0) { in handlePrevious()
1171 initialPosition = (int32_t)UTEXT_GETNATIVEINDEX(fText); in handlePrevious()
1173 c = UTEXT_PREVIOUS32(fText); in handlePrevious()
1205 UTEXT_SETNATIVEINDEX(fText, initialPosition); in handlePrevious()
1206 … UTEXT_PREVIOUS32(fText); // TODO: shouldn't be necessary. We're already at beginning. Check. in handlePrevious()
1242 RBBIDebugPrintf(" %4d ", (int32_t)utext_getNativeIndex(fText)); in handlePrevious()
1260 result = (int32_t)UTEXT_GETNATIVEINDEX(fText); in handlePrevious()
1271 UTEXT_SETNATIVEINDEX(fText, result); in handlePrevious()
1279 int32_t r = (int32_t)UTEXT_GETNATIVEINDEX(fText); in handlePrevious()
1305 c = UTEXT_PREVIOUS32(fText); in handlePrevious()
1319 UTEXT_SETNATIVEINDEX(fText, initialPosition); in handlePrevious()
1320 UTEXT_PREVIOUS32(fText); in handlePrevious()
1321 result = (int32_t)UTEXT_GETNATIVEINDEX(fText); in handlePrevious()
1325 UTEXT_SETNATIVEINDEX(fText, result); in handlePrevious()
1365 if (fText == NULL || current() == 0) { in makeRuleStatusValid()
1585 if (fText->pFuncs == utext_utf8Funcs) { in checkDictionary()
1592 utext_setNativeIndex(fText, reverse ? endPos : startPos); in checkDictionary()
1594 UTEXT_PREVIOUS32(fText); in checkDictionary()
1605 UChar32 c = utext_current32(fText); in checkDictionary()
1617 utext_next32(fText); // TODO: recast to work directly with postincrement. in checkDictionary()
1618 c = utext_current32(fText); in checkDictionary()
1622 rangeEnd = (int32_t)UTEXT_GETNATIVEINDEX(fText); in checkDictionary()
1626 c = UTEXT_PREVIOUS32(fText); in checkDictionary()
1629 c = UTEXT_PREVIOUS32(fText); in checkDictionary()
1634 c = UTEXT_PREVIOUS32(fText); in checkDictionary()
1641 c = utext_current32(fText); in checkDictionary()
1644 utext_next32(fText); in checkDictionary()
1645 c = utext_current32(fText); in checkDictionary()
1647 rangeStart = (int32_t)UTEXT_GETNATIVEINDEX(fText);; in checkDictionary()
1658 utext_setNativeIndex(fText, rangeStart); in checkDictionary()
1659 c = utext_current32(fText); in checkDictionary()
1663 … while((current = (int32_t)UTEXT_GETNATIVEINDEX(fText)) < rangeEnd && (category & 0x4000) == 0) { in checkDictionary()
1664 utext_next32(fText); // TODO: tweak for post-increment operation in checkDictionary()
1665 c = utext_current32(fText); in checkDictionary()
1679 … foundBreakCount += lbe->findBreaks(fText, rangeStart, rangeEnd, FALSE, fBreakType, breaks); in checkDictionary()
1683 c = utext_current32(fText); in checkDictionary()
1725 utext_setNativeIndex(fText, reverse ? startPos : endPos); in checkDictionary()