Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Ddictbe.cpp58 int32_t start = (int32_t)utext_getNativeIndex(text); in findBreaks()
63 while((current = (int32_t)utext_getNativeIndex(text)) < endPos && fSet.contains(c)) { in findBreaks()
134 int32_t start = (int32_t)utext_getNativeIndex(text); in candidates()
233 if (utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
248 while (U_SUCCESS(status) && (current = (int32_t)utext_getNativeIndex(text)) < rangeEnd) { in divideUpDictionaryRange()
264 if ((int32_t)utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
277 if ((int32_t)utext_getNativeIndex(text) >= rangeEnd) { in divideUpDictionaryRange()
307 …if ((int32_t)utext_getNativeIndex(text) < rangeEnd && cpWordLength < THAI_ROOT_COMBINE_THRESHOLD)… in divideUpDictionaryRange()
319 int32_t pcIndex = (int32_t)utext_getNativeIndex(text); in divideUpDictionaryRange()
321 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.cpp535 int64_t pos = utext_getNativeIndex(&fText); in refreshInputText()
542 if (utext_getNativeIndex(&fText) != pos) { in refreshInputText()
644 startPos = (int32_t)utext_getNativeIndex(&fText); in following()
666 int32_t adjustedOffset = static_cast<int32_t>(utext_getNativeIndex(&fText)); in preceding()
693 int32_t adjustedOffset = static_cast<int32_t>(utext_getNativeIndex(&fText)); in isBoundary()
875 RBBIDebugPrintf(" %4" PRId64 " ", utext_getNativeIndex(&fText)); in handleNext()
956 result = (int32_t)utext_getNativeIndex(&fText); in handleNext()
1020 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.cpp101 utext_getNativeIndex(const UText *ut) { in utext_getNativeIndex() function
453 if (utext_getNativeIndex(a) != utext_getNativeIndex(b)) { in utext_equals()
2767 int64_t ix = utext_getNativeIndex((UText *)src); in charIterTextClone()
/external/icu/icu4c/source/test/intltest/
Dutxttest.cpp461 uti = utext_getNativeIndex(targetUT); in TestCopyMove()
470 uti = utext_getNativeIndex(targetUT); in TestCopyMove()
538 uti = utext_getNativeIndex(targetUT); in TestReplace()
544 uti = utext_getNativeIndex(targetUT); in TestReplace()
614 foundIndex = utext_getNativeIndex(ut); in TestAccessNoClone()
649 foundIndex = utext_getNativeIndex(ut); in TestAccessNoClone()
655 len = utext_getNativeIndex(ut); in TestAccessNoClone()
662 foundIndex = utext_getNativeIndex(ut); in TestAccessNoClone()
675 foundIndex = utext_getNativeIndex(ut); in TestAccessNoClone()
683 foundIndex = utext_getNativeIndex(ut); in TestAccessNoClone()
[all …]
Dregextst.cpp128 int64_t oldIndex = utext_getNativeIndex(text); in utextToPrintable()
2053 REGEX_ASSERT(utext_getNativeIndex(result) == 0); in API_Match_UTF8()
2060 REGEX_ASSERT(utext_getNativeIndex(result) == 2); in API_Match_UTF8()
2068 REGEX_ASSERT(utext_getNativeIndex(result) == 2); in API_Match_UTF8()
2076 REGEX_ASSERT(utext_getNativeIndex(result) == 4); in API_Match_UTF8()
2084 REGEX_ASSERT(utext_getNativeIndex(result) == 4); in API_Match_UTF8()
2092 REGEX_ASSERT(utext_getNativeIndex(result) == 8); in API_Match_UTF8()
2100 REGEX_ASSERT(utext_getNativeIndex(result) == 8); in API_Match_UTF8()
5096 REGEX_ASSERT(utext_getNativeIndex(actual) == 6); in PreAllocatedUTextCAPI()
5105 REGEX_ASSERT(utext_getNativeIndex(actual) == 9); // position of " interior " in PreAllocatedUTextCAPI()
[all …]
Drbbitst.cpp175 …; j < static_cast<int>(utext_nativeLength(tstr)); j=static_cast<int>(utext_getNativeIndex(tstr))) { in printStringBreaks()
484 while (textMap->size() < utext_getNativeIndex(textToBreak)) { in setUTF8()
702 int32_t j = static_cast<int32_t>(utext_getNativeIndex(t->textToBreak) - 1); in executeTest()
/external/icu/icu4c/source/test/cintltst/
Dutexttst.c156 i = utext_getNativeIndex(uta); in TestAPI()
162 i = utext_getNativeIndex(uta); in TestAPI()
167 i = utext_getNativeIndex(uta); in TestAPI()
172 i = utext_getNativeIndex(uta); in TestAPI()
Dreapits.c1792 … TEST_ASSERT(utext_getNativeIndex(actual) == 6); /* index of "abc " within "noise abc ..." */ in TestUTextAPI()
1804 …TEST_ASSERT(9 == utext_getNativeIndex(actual)); /* index of " interior " within "noise abc inte… in TestUTextAPI()
/external/icu/libicu/ndk_headers/unicode/
Dutext.h505 utext_getNativeIndex(const UText *ut) __INTRODUCED_IN(31);
Durename.h1778 #define utext_getNativeIndex U_ICU_ENTRY_POINT_RENAME(utext_getNativeIndex) macro
/external/icu/libicu/
Dlibicu.map.txt279 utext_getNativeIndex;
/external/icu/tools/icu4c_srcgen/
Dlibicu_export.txt292 utext_getNativeIndex
/external/icu/libandroidicu/include/unicode/
Dutext.h547 utext_getNativeIndex(const UText *ut);
Durename.h1778 #define utext_getNativeIndex U_ICU_ENTRY_POINT_RENAME(utext_getNativeIndex) macro
/external/icu/libicu/cts_headers/unicode/
Dutext.h547 utext_getNativeIndex(const UText *ut);
/external/icu/icu4c/source/common/unicode/
Dutext.h547 utext_getNativeIndex(const UText *ut);
Durename.h1778 #define utext_getNativeIndex U_ICU_ENTRY_POINT_RENAME(utext_getNativeIndex) macro
/external/icu/libicu/src/
Dshim.cpp281 #undef utext_getNativeIndex
1073 int64_t utext_getNativeIndex(const UText * ut) { in utext_getNativeIndex() function
1074 return U_ICU_ENTRY_POINT_RENAME(utext_getNativeIndex)(ut); in utext_getNativeIndex()
/external/icu/icu4c/source/i18n/
Drematch.cpp1936 int64_t pos = utext_getNativeIndex(fInputText); in refreshInputText()
1945 pos = utext_getNativeIndex(fAltInputText); in refreshInputText()
3653 if (utext_getNativeIndex(fAltInputText) >= groupEndIdx) { in MatchAt()
3657 if (utext_getNativeIndex(fInputText) >= fActiveLimit) { in MatchAt()
3702 … if (!captureGroupItr.inExpansion() && utext_getNativeIndex(fAltInputText) >= groupEndIdx) { in MatchAt()
3706 … if (!inputItr.inExpansion() && utext_getNativeIndex(fInputText) >= fActiveLimit) { in MatchAt()
/external/icu/tools/icu4c_srcgen/doc_patches/patches/unicode/
Dutext.h.patch68 - * inline version of utext_getNativeIndex(), for performance-critical situations.