Home | History | Annotate | Download | only in common

Lines Matching refs:fText

201     utext_close(fText);
238 fText = utext_clone(fText, that.fText, FALSE, TRUE, &status);
273 fText = utext_openUChars(NULL, NULL, 0, &status);
330 if (!utext_equals(fText, that2.fText)) {
365 fText = utext_clone(fText, ut, FALSE, TRUE, &status);
393 UText *result = utext_clone(fillIn, fText, FALSE, TRUE, &status);
450 fText = utext_openUChars(fText, NULL, 0, &status);
452 fText = utext_openCharacterIterator(fText, newText, &status);
466 fText = utext_openConstUnicodeString(fText, &newText, &status);
502 int64_t pos = utext_getNativeIndex(fText);
504 fText = utext_clone(fText, input, FALSE, TRUE, &status);
508 utext_setNativeIndex(fText, pos);
509 if (utext_getNativeIndex(fText) != pos) {
528 //if (fText == NULL)
531 utext_setNativeIndex(fText, 0);
541 if (fText == NULL) {
548 int32_t pos = (int32_t)utext_nativeLength(fText);
549 utext_setNativeIndex(fText, pos);
586 utext_setNativeIndex(fText, pos);
621 utext_setNativeIndex(fText, pos);
630 if (fText == NULL || (startPos = current()) == 0) {
654 (void)UTEXT_PREVIOUS32(fText);
658 utext_setNativeIndex(fText, 0);
687 utext_setNativeIndex(fText, lastResult);
717 utext_setNativeIndex(fText, pos);
730 if (fText == NULL || offset >= utext_nativeLength(fText)) {
746 utext_setNativeIndex(fText, offset);
750 (void)UTEXT_NEXT32(fText);
761 utext_setNativeIndex(fText, offset);
762 (void)UTEXT_PREVIOUS32(fText);
791 utext_setNativeIndex(fText, offset);
793 (offset==1 && utext_getNativeIndex(fText)==0)) {
829 utext_setNativeIndex(fText, fCachedBreakPositions[fPositionInCache]);
840 if (fText == NULL || offset > utext_nativeLength(fText)) {
854 utext_setNativeIndex(fText, offset);
855 int32_t newOffset = (int32_t)UTEXT_GETNATIVEINDEX(fText);
862 (void)UTEXT_NEXT32(fText);
863 offset = (int32_t)UTEXT_GETNATIVEINDEX(fText);
871 (void)UTEXT_PREVIOUS32(fText);
873 int32_t result = (int32_t)UTEXT_GETNATIVEINDEX(fText);
885 utext_setNativeIndex(fText, offset);
886 (void)UTEXT_NEXT32(fText);
910 utext_setNativeIndex(fText, offset);
928 if (offset == (int32_t)utext_nativeLength(fText)) {
939 if (offset > utext_nativeLength(fText)) {
947 utext_previous32From(fText, offset);
948 int32_t backOne = (int32_t)UTEXT_GETNATIVEINDEX(fText);
958 int32_t pos = (int32_t)UTEXT_GETNATIVEINDEX(fText);
1015 initialPosition = (int32_t)UTEXT_GETNATIVEINDEX(fText);
1017 c = UTEXT_NEXT32(fText);
1087 RBBIDebugPrintf(" %4ld ", utext_getNativeIndex(fText));
1113 result = (int32_t)UTEXT_GETNATIVEINDEX(fText);
1127 UTEXT_SETNATIVEINDEX(fText, result);
1135 int32_t r = (int32_t)UTEXT_GETNATIVEINDEX(fText);
1162 c = UTEXT_NEXT32(fText);
1178 UTEXT_SETNATIVEINDEX(fText, initialPosition);
1179 UTEXT_NEXT32(fText);
1180 result = (int32_t)UTEXT_GETNATIVEINDEX(fText);
1184 UTEXT_SETNATIVEINDEX(fText, result);
1231 if (fText == NULL || fData == NULL || UTEXT_GETNATIVEINDEX(fText)==0) {
1236 initialPosition = (int32_t)UTEXT_GETNATIVEINDEX(fText);
1238 c = UTEXT_PREVIOUS32(fText);
1270 UTEXT_SETNATIVEINDEX(fText, initialPosition);
1271 (void)UTEXT_PREVIOUS32(fText); // TODO: shouldn't be necessary. We're already at beginning. Check.
1307 RBBIDebugPrintf(" %4d ", (int32_t)utext_getNativeIndex(fText));
1330 result = (int32_t)UTEXT_GETNATIVEINDEX(fText);
1341 UTEXT_SETNATIVEINDEX(fText, result);
1349 int32_t r = (int32_t)UTEXT_GETNATIVEINDEX(fText);
1375 c = UTEXT_PREVIOUS32(fText);
1389 UTEXT_SETNATIVEINDEX(fText, initialPosition);
1390 UTEXT_PREVIOUS32(fText);
1391 result = (int32_t)UTEXT_GETNATIVEINDEX(fText);
1395 UTEXT_SETNATIVEINDEX(fText, result);
1435 if (fText == NULL || current() == 0) {
1601 if (fText->pFuncs == utext_utf8Funcs) {
1608 utext_setNativeIndex(fText, reverse ? endPos : startPos);
1610 UTEXT_PREVIOUS32(fText);
1621 UChar32 c = utext_current32(fText);
1633 utext_next32(fText); // TODO: recast to work directly with postincrement.
1634 c = utext_current32(fText);
1638 rangeEnd = (int32_t)UTEXT_GETNATIVEINDEX(fText);
1640 // c = fText->last32();
1642 c = UTEXT_PREVIOUS32(fText);
1645 c = UTEXT_PREVIOUS32(fText);
1650 c = UTEXT_PREVIOUS32(fText);
1656 // c = fText->first32();
1657 c = utext_current32(fText);
1660 utext_next32(fText);
1661 c = utext_current32(fText);
1663 rangeStart = (int32_t)UTEXT_GETNATIVEINDEX(fText);;
1674 utext_setNativeIndex(fText, rangeStart);
1675 c = utext_current32(fText);
1679 while((current = (int32_t)UTEXT_GETNATIVEINDEX(fText)) < rangeEnd && (category & 0x4000) == 0) {
1680 utext_next32(fText); // TODO: tweak for post-increment operation
1681 c = utext_current32(fText);
1695 foundBreakCount += lbe->findBreaks(fText, rangeStart, rangeEnd, FALSE, fBreakType, breaks);
1699 c = utext_current32(fText);
1741 utext_setNativeIndex(fText, reverse ? startPos : endPos);