Home
last modified time | relevance | path

Searched refs:nativeIndex (Results 1 – 5 of 5) sorted by relevance

/external/icu4c/common/unicode/
Dutext.h450 utext_char32At(UText *ut, int64_t nativeIndex);
529 utext_next32From(UText *ut, int64_t nativeIndex);
549 utext_previous32From(UText *ut, int64_t nativeIndex);
590 utext_setNativeIndex(UText *ut, int64_t nativeIndex);
1039 UTextAccess(UText *ut, int64_t nativeIndex, UBool forward);
1176 UTextMapNativeIndexToUTF16(const UText *ut, int64_t nativeIndex);
/external/icu4c/test/intltest/
Dutxttest.cpp1437 int64_t nativeIndex = UTEXT_GETNATIVEINDEX(ut); in Ticket6847() local
1438 TEST_ASSERT(nativeIndex == 0); in Ticket6847()
1446 nativeIndex = UTEXT_GETNATIVEINDEX(ut); in Ticket6847()
1447 TEST_ASSERT(nativeIndex == count); in Ticket6847()
1450 nativeIndex = UTEXT_GETNATIVEINDEX(ut); in Ticket6847()
1451 TEST_ASSERT(nativeIndex == STRLEN); in Ticket6847()
Dregextst.cpp3258 static UBool utextOffsetToNative(UText *utext, int32_t unistrOffset, int32_t& nativeIndex) in utextOffsetToNative() argument
3272 nativeIndex = (int32_t)UTEXT_GETNATIVEINDEX(utext); in utextOffsetToNative()
/external/icu4c/common/
Dutext.cpp238 utext_char32At(UText *ut, int64_t nativeIndex) { in utext_char32At() argument
242 …if (nativeIndex>=ut->chunkNativeStart && nativeIndex < ut->chunkNativeStart + ut->nativeIndexingLi… in utext_char32At()
243 ut->chunkOffset = (int32_t)(nativeIndex - ut->chunkNativeStart); in utext_char32At()
251 utext_setNativeIndex(ut, nativeIndex); in utext_char32At()
252 if (nativeIndex>=ut->chunkNativeStart && ut->chunkOffset<ut->chunkLength) { in utext_char32At()
/external/icu4c/test/cintltst/
Dreapits.c1787 int64_t nativeIndex; in TestUTextAPI() local
1794 nativeIndex = utext_getNativeIndex(actual); in TestUTextAPI()
1800 … utext_extract(actual, nativeIndex, nativeIndex + group_len, groupChars, len16+1, &shallowStatus); in TestUTextAPI()