Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Ddictbe.cpp55 int32_t start = (int32_t)utext_getNativeIndex(text); in findBreaks()
60 while((current = (int32_t)utext_getNativeIndex(text)) < endPos && fSet.contains(c)) { in findBreaks()
131 int32_t start = (int32_t)utext_getNativeIndex(text); in candidates()
227 if (utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
242 while (U_SUCCESS(status) && (current = (int32_t)utext_getNativeIndex(text)) < rangeEnd) { in divideUpDictionaryRange()
258 if ((int32_t)utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
271 if ((int32_t)utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
301 …if ((int32_t)utext_getNativeIndex(text) < rangeEnd && cpWordLength < THAI_ROOT_COMBINE_THRESHOLD)… in divideUpDictionaryRange()
313 int32_t pcIndex = (int32_t)utext_getNativeIndex(text); in divideUpDictionaryRange()
315 int32_t pcSize = (int32_t)utext_getNativeIndex(text) - pcIndex; in divideUpDictionaryRange()
[all …]
Ddictionarydata.cpp50 int32_t startingTextIndex = (int32_t)utext_getNativeIndex(text); in matches()
56 int32_t lengthMatched = (int32_t)utext_getNativeIndex(text) - startingTextIndex; in matches()
117 int32_t startingTextIndex = (int32_t)utext_getNativeIndex(text); in matches()
123 int32_t lengthMatched = (int32_t)utext_getNativeIndex(text) - startingTextIndex; in matches()
Drbbi.cpp502 int64_t pos = utext_getNativeIndex(&fText); in refreshInputText()
509 if (utext_getNativeIndex(&fText) != pos) { in refreshInputText()
611 startPos = (int32_t)utext_getNativeIndex(&fText); in following()
633 int32_t adjustedOffset = static_cast<int32_t>(utext_getNativeIndex(&fText)); in preceding()
660 int32_t adjustedOffset = static_cast<int32_t>(utext_getNativeIndex(&fText)); in isBoundary()
853 RBBIDebugPrintf(" %4" PRId64 " ", utext_getNativeIndex(&fText)); in handleNext()
927 result = (int32_t)utext_getNativeIndex(&fText); in handleNext()
992 RBBIDebugPrintf(" %4d ", (int32_t)utext_getNativeIndex(&fText)); in handleSafePrevious()
Dbrkeng.cpp82 while((int32_t)utext_getNativeIndex(text) < endPos && fHandled->contains(c)) { in findBreaks()
Dfilteredbrk.cpp283 bestPosn = utext_getNativeIndex(fText.getAlias()); in breakExceptionAt()
292 bestPosn = utext_getNativeIndex(fText.getAlias()); in breakExceptionAt()
Dutext.cpp99 utext_getNativeIndex(const UText *ut) { in utext_getNativeIndex() function
451 if (utext_getNativeIndex(a) != utext_getNativeIndex(b)) { in utext_equals()
2765 int64_t ix = utext_getNativeIndex((UText *)src); in charIterTextClone()
/external/icu/icu4c/source/test/intltest/
Dutxttest.cpp457 uti = utext_getNativeIndex(targetUT); in TestCopyMove()
466 uti = utext_getNativeIndex(targetUT); in TestCopyMove()
534 uti = utext_getNativeIndex(targetUT); in TestReplace()
540 uti = utext_getNativeIndex(targetUT); in TestReplace()
610 foundIndex = utext_getNativeIndex(ut); in TestAccessNoClone()
645 foundIndex = utext_getNativeIndex(ut); in TestAccessNoClone()
651 len = utext_getNativeIndex(ut); in TestAccessNoClone()
658 foundIndex = utext_getNativeIndex(ut); in TestAccessNoClone()
671 foundIndex = utext_getNativeIndex(ut); in TestAccessNoClone()
679 foundIndex = utext_getNativeIndex(ut); in TestAccessNoClone()
[all …]
Dregextst.cpp125 int64_t oldIndex = utext_getNativeIndex(text); in utextToPrintable()
2020 REGEX_ASSERT(utext_getNativeIndex(result) == 0); in API_Match_UTF8()
2027 REGEX_ASSERT(utext_getNativeIndex(result) == 2); in API_Match_UTF8()
2035 REGEX_ASSERT(utext_getNativeIndex(result) == 2); in API_Match_UTF8()
2043 REGEX_ASSERT(utext_getNativeIndex(result) == 4); in API_Match_UTF8()
2051 REGEX_ASSERT(utext_getNativeIndex(result) == 4); in API_Match_UTF8()
2059 REGEX_ASSERT(utext_getNativeIndex(result) == 8); in API_Match_UTF8()
2067 REGEX_ASSERT(utext_getNativeIndex(result) == 8); in API_Match_UTF8()
5050 REGEX_ASSERT(utext_getNativeIndex(actual) == 6); in PreAllocatedUTextCAPI()
5059 REGEX_ASSERT(utext_getNativeIndex(actual) == 9); // position of " interior " in PreAllocatedUTextCAPI()
[all …]
Drbbitst.cpp142 for (int j = 0; j < utext_nativeLength(tstr); j=utext_getNativeIndex(tstr)) { in printStringBreaks()
451 while (textMap->size() < utext_getNativeIndex(textToBreak)) { in setUTF8()
669 int32_t j = utext_getNativeIndex(t->textToBreak) - 1; in executeTest()
/external/icu/icu4c/source/test/cintltst/
Dutexttst.c152 i = utext_getNativeIndex(uta); in TestAPI()
158 i = utext_getNativeIndex(uta); in TestAPI()
163 i = utext_getNativeIndex(uta); in TestAPI()
168 i = utext_getNativeIndex(uta); in TestAPI()
Dreapits.c1784 … TEST_ASSERT(utext_getNativeIndex(actual) == 6); /* index of "abc " within "noise abc ..." */ in TestUTextAPI()
1796 …TEST_ASSERT(9 == utext_getNativeIndex(actual)); /* index of " interior " within "noise abc inte… in TestUTextAPI()
/external/icu/libandroidicu/include/unicode/
Dutext.h566 utext_getNativeIndex(const UText *ut);
Durename.h1717 #define utext_getNativeIndex U_ICU_ENTRY_POINT_RENAME(utext_getNativeIndex) macro
/external/icu/icu4c/source/common/unicode/
Dutext.h566 utext_getNativeIndex(const UText *ut);
Durename.h1717 #define utext_getNativeIndex U_ICU_ENTRY_POINT_RENAME(utext_getNativeIndex) macro
/external/icu/icu4c/source/i18n/
Drematch.cpp1931 int64_t pos = utext_getNativeIndex(fInputText); in refreshInputText()
1940 pos = utext_getNativeIndex(fAltInputText); in refreshInputText()
3703 if (utext_getNativeIndex(fAltInputText) >= groupEndIdx) { in MatchAt()
3707 if (utext_getNativeIndex(fInputText) >= fActiveLimit) { in MatchAt()
3752 … if (!captureGroupItr.inExpansion() && utext_getNativeIndex(fAltInputText) >= groupEndIdx) { in MatchAt()
3756 … if (!inputItr.inExpansion() && utext_getNativeIndex(fInputText) >= fActiveLimit) { in MatchAt()
/external/icu/libandroidicu/static_shim/
Dshim.cpp2854 return utext_getNativeIndex(ut); in utext_getNativeIndex_android()