Home
last modified time | relevance | path

Searched refs:utext_getNativeIndex (Results 1 – 14 of 14) sorted by relevance

/external/icu/icu4c/source/common/
Ddictbe.cpp56 int32_t start = (int32_t)utext_getNativeIndex(text); in findBreaks()
63 while((current = (int32_t)utext_getNativeIndex(text)) > startPos && isDict) { in findBreaks()
73 rangeStart = utext_getNativeIndex(text); in findBreaks()
79 rangeEnd = utext_getNativeIndex(text); in findBreaks()
82 while((current = (int32_t)utext_getNativeIndex(text)) < endPos && fSet.contains(c)) { in findBreaks()
156 int32_t start = (int32_t)utext_getNativeIndex(text); in candidates()
252 if (utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
267 while (U_SUCCESS(status) && (current = (int32_t)utext_getNativeIndex(text)) < rangeEnd) { in divideUpDictionaryRange()
283 if ((int32_t)utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
296 if ((int32_t)utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
[all …]
Ddictionarydata.cpp48 int32_t startingTextIndex = utext_getNativeIndex(text); in matches()
54 int32_t lengthMatched = utext_getNativeIndex(text) - startingTextIndex; in matches()
115 int32_t startingTextIndex = utext_getNativeIndex(text); in matches()
121 int32_t lengthMatched = utext_getNativeIndex(text) - startingTextIndex; in matches()
Drbbi.cpp502 int64_t pos = utext_getNativeIndex(fText); in refreshInputText()
509 if (utext_getNativeIndex(fText) != pos) { in refreshInputText()
718 offset = utext_getNativeIndex(fText); in following()
797 (offset==1 && utext_getNativeIndex(fText)==0)) { in following()
829 offset = utext_getNativeIndex(fText); in preceding()
1095 RBBIDebugPrintf(" %4ld ", utext_getNativeIndex(fText)); in handleNext()
1315 RBBIDebugPrintf(" %4d ", (int32_t)utext_getNativeIndex(fText)); in handlePrevious()
Dbrkeng.cpp88 … while((int32_t)utext_getNativeIndex(text) > startPos && fHandled[breakType]->contains(c)) { in findBreaks()
93 … while((int32_t)utext_getNativeIndex(text) < endPos && fHandled[breakType]->contains(c)) { in findBreaks()
Dfilteredbrk.cpp281 bestPosn = utext_getNativeIndex(fText.getAlias()); in breakExceptionAt()
290 bestPosn = utext_getNativeIndex(fText.getAlias()); in breakExceptionAt()
Dutext.cpp97 utext_getNativeIndex(const UText *ut) { in utext_getNativeIndex() function
449 if (utext_getNativeIndex(a) != utext_getNativeIndex(b)) { in utext_equals()
2744 int64_t ix = utext_getNativeIndex((UText *)src); in charIterTextClone()
/external/icu/icu4c/source/test/intltest/
Dutxttest.cpp458 uti = utext_getNativeIndex(targetUT); in TestCopyMove()
467 uti = utext_getNativeIndex(targetUT); in TestCopyMove()
535 uti = utext_getNativeIndex(targetUT); in TestReplace()
541 uti = utext_getNativeIndex(targetUT); in TestReplace()
611 foundIndex = utext_getNativeIndex(ut); in TestAccessNoClone()
646 foundIndex = utext_getNativeIndex(ut); in TestAccessNoClone()
652 len = utext_getNativeIndex(ut); in TestAccessNoClone()
659 foundIndex = utext_getNativeIndex(ut); in TestAccessNoClone()
672 foundIndex = utext_getNativeIndex(ut); in TestAccessNoClone()
680 foundIndex = utext_getNativeIndex(ut); in TestAccessNoClone()
[all …]
Dregextst.cpp184 int64_t oldIndex = utext_getNativeIndex(text); in utextToPrintable()
2079 REGEX_ASSERT(utext_getNativeIndex(result) == 0); in API_Match_UTF8()
2086 REGEX_ASSERT(utext_getNativeIndex(result) == 2); in API_Match_UTF8()
2094 REGEX_ASSERT(utext_getNativeIndex(result) == 2); in API_Match_UTF8()
2102 REGEX_ASSERT(utext_getNativeIndex(result) == 4); in API_Match_UTF8()
2110 REGEX_ASSERT(utext_getNativeIndex(result) == 4); in API_Match_UTF8()
2118 REGEX_ASSERT(utext_getNativeIndex(result) == 8); in API_Match_UTF8()
2126 REGEX_ASSERT(utext_getNativeIndex(result) == 8); in API_Match_UTF8()
5102 REGEX_ASSERT(utext_getNativeIndex(actual) == 6); in PreAllocatedUTextCAPI()
5111 REGEX_ASSERT(utext_getNativeIndex(actual) == 9); // position of " interior " in PreAllocatedUTextCAPI()
[all …]
Drbbitst.cpp368 for (int j = 0; j < utext_nativeLength(tstr); j=utext_getNativeIndex(tstr)) { in printStringBreaks()
942 while (textMap->size() < utext_getNativeIndex(textToBreak)) { in setUTF8()
1158 int32_t j = utext_getNativeIndex(t->textToBreak) - 1; in executeTest()
/external/icu/icu4c/source/test/cintltst/
Dutexttst.c150 i = utext_getNativeIndex(uta); in TestAPI()
156 i = utext_getNativeIndex(uta); in TestAPI()
161 i = utext_getNativeIndex(uta); in TestAPI()
166 i = utext_getNativeIndex(uta); in TestAPI()
Dreapits.c1781 … TEST_ASSERT(utext_getNativeIndex(actual) == 6); /* index of "abc " within "noise abc ..." */ in TestUTextAPI()
1793 …TEST_ASSERT(9 == utext_getNativeIndex(actual)); /* index of " interior " within "noise abc inte… in TestUTextAPI()
/external/icu/icu4c/source/common/unicode/
Dutext.h564 utext_getNativeIndex(const UText *ut);
Durename.h1649 #define utext_getNativeIndex U_ICU_ENTRY_POINT_RENAME(utext_getNativeIndex) macro
/external/icu/icu4c/source/i18n/
Drematch.cpp1927 int64_t pos = utext_getNativeIndex(fInputText); in refreshInputText()
1936 pos = utext_getNativeIndex(fAltInputText); in refreshInputText()
3697 if (utext_getNativeIndex(fAltInputText) >= groupEndIdx) { in MatchAt()
3701 if (utext_getNativeIndex(fInputText) >= fActiveLimit) { in MatchAt()
3746 … if (!captureGroupItr.inExpansion() && utext_getNativeIndex(fAltInputText) >= groupEndIdx) { in MatchAt()
3750 … if (!inputItr.inExpansion() && utext_getNativeIndex(fInputText) >= fActiveLimit) { in MatchAt()