Searched refs:nativeIndex (Results 1 - 4 of 4) sorted by relevance

/external/icu/icu4c/source/common/unicode/
H A Dutext.h445 * @param nativeIndex the native index of the character to be accessed. If the index points
452 utext_char32At(UText *ut, int64_t nativeIndex);
525 * @param nativeIndex Iteration index, in the native units of the text provider.
531 utext_next32From(UText *ut, int64_t nativeIndex);
544 * @param nativeIndex Iteration index in the native units of the text provider.
551 utext_previous32From(UText *ut, int64_t nativeIndex);
588 * @param nativeIndex the native unit index of the new iteration position.
592 utext_setNativeIndex(UText *ut, int64_t nativeIndex);
1027 * @param nativeIndex Requested index of the text to be accessed.
1041 UTextAccess(UText *ut, int64_t nativeIndex, UBoo
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dutxttest.cpp1447 int64_t nativeIndex = UTEXT_GETNATIVEINDEX(ut); local
1448 TEST_ASSERT(nativeIndex == 0);
1456 nativeIndex = UTEXT_GETNATIVEINDEX(ut);
1457 TEST_ASSERT(nativeIndex == count);
1460 nativeIndex = UTEXT_GETNATIVEINDEX(ut);
1461 TEST_ASSERT(nativeIndex == STRLEN);
H A Dregextst.cpp3350 static UBool utextOffsetToNative(UText *utext, int32_t unistrOffset, int32_t& nativeIndex) argument
3364 nativeIndex = (int32_t)UTEXT_GETNATIVEINDEX(utext);
/external/icu/icu4c/source/common/
H A Dutext.cpp240 utext_char32At(UText *ut, int64_t nativeIndex) { argument
244 if (nativeIndex>=ut->chunkNativeStart && nativeIndex < ut->chunkNativeStart + ut->nativeIndexingLimit) {
245 ut->chunkOffset = (int32_t)(nativeIndex - ut->chunkNativeStart);
253 utext_setNativeIndex(ut, nativeIndex);
254 if (nativeIndex>=ut->chunkNativeStart && ut->chunkOffset<ut->chunkLength) {

Completed in 65 milliseconds