• Home
  • Raw
  • Download

Lines Matching refs:chunkNativeStart

66             if(ut->chunkOffset<=0 && !utext_access(ut, ut->chunkNativeStart, FALSE)) {  in utext_moveIndex32()
101 return ut->chunkNativeStart+ut->chunkOffset; in utext_getNativeIndex()
110 if(index<ut->chunkNativeStart || index>=ut->chunkNativeLimit) { in utext_setNativeIndex()
116 } else if((int32_t)(index - ut->chunkNativeStart) <= ut->nativeIndexingLimit) { in utext_setNativeIndex()
118 ut->chunkOffset=(int32_t)(index-ut->chunkNativeStart); in utext_setNativeIndex()
128 ut->pFuncs->access(ut, ut->chunkNativeStart, FALSE); in utext_setNativeIndex()
155 result = ut->chunkNativeStart + i; in utext_getPreviousNativeIndex()
166 if (ut->chunkOffset==0 && ut->chunkNativeStart==0) { in utext_getPreviousNativeIndex()
244 …if (nativeIndex>=ut->chunkNativeStart && nativeIndex < ut->chunkNativeStart + ut->nativeIndexingLi… in utext_char32At()
245 ut->chunkOffset = (int32_t)(nativeIndex - ut->chunkNativeStart); in utext_char32At()
254 if (nativeIndex>=ut->chunkNativeStart && ut->chunkOffset<ut->chunkLength) { in utext_char32At()
311 if (ut->pFuncs->access(ut, ut->chunkNativeStart, FALSE) == FALSE) { in utext_previous32()
325 if (ut->pFuncs->access(ut, ut->chunkNativeStart, FALSE) == FALSE) { in utext_previous32()
350 if(index<ut->chunkNativeStart || index>=ut->chunkNativeLimit) { in utext_next32From()
356 } else if (index - ut->chunkNativeStart <= (int64_t)ut->nativeIndexingLimit) { in utext_next32From()
358 ut->chunkOffset = (int32_t)(index - ut->chunkNativeStart); in utext_next32From()
390 if(index<=ut->chunkNativeStart || index>ut->chunkNativeLimit) { in utext_previous32From()
396 } else if(index - ut->chunkNativeStart <= (int64_t)ut->nativeIndexingLimit) { in utext_previous32From()
398 ut->chunkOffset = (int32_t)(index - ut->chunkNativeStart); in utext_previous32From()
646 ut->chunkNativeStart = 0; in utext_setup()
719 ut->chunkNativeStart = 0; in invalidateChunk()
1029 if (ix<ut->chunkNativeStart || ix>=ut->chunkNativeLimit) { in utf8TextAccess()
1049 if (ix==ut->chunkNativeStart) { in utf8TextAccess()
1093 if (ix<=ut->chunkNativeStart || ix>ut->chunkNativeLimit) { in utf8TextAccess()
1126 ut->chunkNativeStart = u8b->bufNativeStart; in utf8TextAccess()
1158 ut->chunkNativeStart = u8b->bufNativeStart; in utf8TextAccess()
1279 ut->chunkNativeStart = u8b_swap->bufNativeStart; in utf8TextAccess()
1400 ut->chunkNativeStart = u8b_swap->bufNativeStart; in utf8TextAccess()
1541 U_ASSERT(nativeOffset >= ut->chunkNativeStart && nativeOffset <= ut->chunkNativeLimit); in utf8TextMapOffsetToNative()
1553 U_ASSERT(index>=ut->chunkNativeStart+ut->nativeIndexingLimit); in utf8TextMapIndexToUTF16()
1758 if (index32>=ut->chunkNativeStart && index32<ut->chunkNativeLimit) { in repTextAccess()
1760 ut->chunkOffset = (int32_t)(index - ut->chunkNativeStart); in repTextAccess()
1766 ut->chunkOffset = length - (int32_t)ut->chunkNativeStart; in repTextAccess()
1779 ut->chunkNativeStart = ut->chunkNativeLimit - REP_TEXT_CHUNK_SIZE; in repTextAccess()
1780 if(ut->chunkNativeStart < 0) { in repTextAccess()
1781 ut->chunkNativeStart = 0; in repTextAccess()
1785 if (index32>ut->chunkNativeStart && index32<=ut->chunkNativeLimit) { in repTextAccess()
1787 ut->chunkOffset = index32 - (int32_t)ut->chunkNativeStart; in repTextAccess()
1790 if (index32==0 && ut->chunkNativeStart==0) { in repTextAccess()
1803 ut->chunkNativeStart = index32 + 1 - REP_TEXT_CHUNK_SIZE; in repTextAccess()
1804 if (ut->chunkNativeStart < 0) { in repTextAccess()
1805 ut->chunkNativeStart = 0; in repTextAccess()
1818 rep->extractBetween((int32_t)ut->chunkNativeStart, (int32_t)ut->chunkNativeLimit, buffer); in repTextAccess()
1821 ut->chunkLength = (int32_t)(ut->chunkNativeLimit - ut->chunkNativeStart); in repTextAccess()
1822 ut->chunkOffset = (int32_t)(index32 - ut->chunkNativeStart); in repTextAccess()
1837 if(ut->chunkNativeStart>0 && U16_IS_TRAIL(ex->s[0])) { in repTextAccess()
1839 ++(ut->chunkNativeStart); in repTextAccess()
2323 ut->chunkNativeStart = 0; in utext_openConstUnicodeString()
2633 ut->chunkNativeStart = 0; in utext_openUChars()
2701 if (ut->chunkNativeStart == neededIndex) { in charIterTextAccess()
2732 ut->chunkNativeStart = neededIndex; in charIterTextAccess()
2736 ut->chunkLength = (int32_t)(ut->chunkNativeLimit)-(int32_t)(ut->chunkNativeStart); in charIterTextAccess()
2741 ut->chunkOffset = clippedIndex - (int32_t)ut->chunkNativeStart; in charIterTextAccess()
2868 ut->chunkNativeStart = -1; in utext_openCharacterIterator()