Lines Matching refs:chunkNativeStart

64             if(ut->chunkOffset<=0 && !utext_access(ut, ut->chunkNativeStart, FALSE)) {  in utext_moveIndex32()
99 return ut->chunkNativeStart+ut->chunkOffset; in utext_getNativeIndex()
108 if(index<ut->chunkNativeStart || index>=ut->chunkNativeLimit) { in utext_setNativeIndex()
114 } else if((int32_t)(index - ut->chunkNativeStart) <= ut->nativeIndexingLimit) { in utext_setNativeIndex()
116 ut->chunkOffset=(int32_t)(index-ut->chunkNativeStart); in utext_setNativeIndex()
126 ut->pFuncs->access(ut, ut->chunkNativeStart, FALSE); in utext_setNativeIndex()
153 result = ut->chunkNativeStart + i; in utext_getPreviousNativeIndex()
164 if (ut->chunkOffset==0 && ut->chunkNativeStart==0) { in utext_getPreviousNativeIndex()
242 …if (nativeIndex>=ut->chunkNativeStart && nativeIndex < ut->chunkNativeStart + ut->nativeIndexingLi… in utext_char32At()
243 ut->chunkOffset = (int32_t)(nativeIndex - ut->chunkNativeStart); in utext_char32At()
252 if (nativeIndex>=ut->chunkNativeStart && ut->chunkOffset<ut->chunkLength) { in utext_char32At()
309 if (ut->pFuncs->access(ut, ut->chunkNativeStart, FALSE) == FALSE) { in utext_previous32()
323 if (ut->pFuncs->access(ut, ut->chunkNativeStart, FALSE) == FALSE) { in utext_previous32()
348 if(index<ut->chunkNativeStart || index>=ut->chunkNativeLimit) { in utext_next32From()
354 } else if (index - ut->chunkNativeStart <= (int64_t)ut->nativeIndexingLimit) { in utext_next32From()
356 ut->chunkOffset = (int32_t)(index - ut->chunkNativeStart); in utext_next32From()
388 if(index<=ut->chunkNativeStart || index>ut->chunkNativeLimit) { in utext_previous32From()
394 } else if(index - ut->chunkNativeStart <= (int64_t)ut->nativeIndexingLimit) { in utext_previous32From()
396 ut->chunkOffset = (int32_t)(index - ut->chunkNativeStart); in utext_previous32From()
644 ut->chunkNativeStart = 0; in utext_setup()
717 ut->chunkNativeStart = 0; in invalidateChunk()
1025 if (ix<ut->chunkNativeStart || ix>=ut->chunkNativeLimit) { in utf8TextAccess()
1044 if (ix==ut->chunkNativeStart) { in utf8TextAccess()
1088 if (ix<=ut->chunkNativeStart || ix>ut->chunkNativeLimit) { in utf8TextAccess()
1121 ut->chunkNativeStart = u8b->bufNativeStart; in utf8TextAccess()
1153 ut->chunkNativeStart = u8b->bufNativeStart; in utf8TextAccess()
1274 ut->chunkNativeStart = u8b->bufNativeStart; in utf8TextAccess()
1386 ut->chunkNativeStart = u8b->bufNativeStart; in utf8TextAccess()
1527 U_ASSERT(nativeOffset >= ut->chunkNativeStart && nativeOffset <= ut->chunkNativeLimit); in utf8TextMapOffsetToNative()
1539 U_ASSERT(index>=ut->chunkNativeStart+ut->nativeIndexingLimit); in utf8TextMapIndexToUTF16()
1743 if (index32>=ut->chunkNativeStart && index32<ut->chunkNativeLimit) { in repTextAccess()
1745 ut->chunkOffset = (int32_t)(index - ut->chunkNativeStart); in repTextAccess()
1751 ut->chunkOffset = length - (int32_t)ut->chunkNativeStart; in repTextAccess()
1764 ut->chunkNativeStart = ut->chunkNativeLimit - REP_TEXT_CHUNK_SIZE; in repTextAccess()
1765 if(ut->chunkNativeStart < 0) { in repTextAccess()
1766 ut->chunkNativeStart = 0; in repTextAccess()
1770 if (index32>ut->chunkNativeStart && index32<=ut->chunkNativeLimit) { in repTextAccess()
1772 ut->chunkOffset = index32 - (int32_t)ut->chunkNativeStart; in repTextAccess()
1775 if (index32==0 && ut->chunkNativeStart==0) { in repTextAccess()
1788 ut->chunkNativeStart = index32 + 1 - REP_TEXT_CHUNK_SIZE; in repTextAccess()
1789 if (ut->chunkNativeStart < 0) { in repTextAccess()
1790 ut->chunkNativeStart = 0; in repTextAccess()
1803 rep->extractBetween((int32_t)ut->chunkNativeStart, (int32_t)ut->chunkNativeLimit, buffer); in repTextAccess()
1806 ut->chunkLength = (int32_t)(ut->chunkNativeLimit - ut->chunkNativeStart); in repTextAccess()
1807 ut->chunkOffset = (int32_t)(index32 - ut->chunkNativeStart); in repTextAccess()
1822 if(ut->chunkNativeStart>0 && U16_IS_TRAIL(ex->s[0])) { in repTextAccess()
1824 ++(ut->chunkNativeStart); in repTextAccess()
2308 ut->chunkNativeStart = 0; in utext_openConstUnicodeString()
2612 ut->chunkNativeStart = 0; in utext_openUChars()
2680 if (ut->chunkNativeStart == neededIndex) { in charIterTextAccess()
2711 ut->chunkNativeStart = neededIndex; in charIterTextAccess()
2715 ut->chunkLength = (int32_t)(ut->chunkNativeLimit)-(int32_t)(ut->chunkNativeStart); in charIterTextAccess()
2720 ut->chunkOffset = clippedIndex - (int32_t)ut->chunkNativeStart; in charIterTextAccess()
2847 ut->chunkNativeStart = -1; in utext_openCharacterIterator()