Lines Matching refs:newStart
986 int32_t start, newStart, movedStart; in compactData() local
991 newStart=UTRIE2_DATA_START_OFFSET; in compactData()
992 for(start=0, i=0; start<newStart; start+=UTRIE2_DATA_BLOCK_LENGTH, ++i) { in compactData()
1002 for(start=newStart; start<trie->dataLength;) { in compactData()
1023 if( (movedStart=findSameDataBlock(trie->data, newStart, start, blockLength)) in compactData()
1042 overlap>0 && !equal_uint32(trie->data+(newStart-overlap), trie->data+start, overlap); in compactData()
1045 if(overlap>0 || newStart<start) { in compactData()
1047 movedStart=newStart-overlap; in compactData()
1056 trie->data[newStart++]=trie->data[start++]; in compactData()
1063 newStart=start; in compactData()
1078 while((newStart&(UTRIE2_DATA_GRANULARITY-1))!=0) { in compactData()
1079 trie->data[newStart++]=trie->initialValue; in compactData()
1085 (long)trie->dataLength, (long)newStart); in compactData()
1088 trie->dataLength=newStart; in compactData()
1093 int32_t i, start, newStart, movedStart, overlap; in compactIndex2() local
1096 newStart=UTRIE2_INDEX_2_BMP_LENGTH; in compactIndex2()
1097 for(start=0, i=0; start<newStart; start+=UTRIE2_INDEX_2_BLOCK_LENGTH, ++i) { in compactIndex2()
1102 newStart+=UTRIE2_UTF8_2B_INDEX_2_LENGTH+((trie->highStart-0x10000)>>UTRIE2_SHIFT_1); in compactIndex2()
1112 if( (movedStart=findSameIndex2Block(trie->index2, newStart, start)) in compactIndex2()
1128 overlap>0 && !equal_int32(trie->index2+(newStart-overlap), trie->index2+start, overlap); in compactIndex2()
1131 if(overlap>0 || newStart<start) { in compactIndex2()
1133 trie->map[start>>UTRIE2_SHIFT_1_2]=newStart-overlap; in compactIndex2()
1138 trie->index2[newStart++]=trie->index2[start++]; in compactIndex2()
1143 newStart=start; in compactIndex2()
1159 while((newStart&((UTRIE2_DATA_GRANULARITY-1)|1))!=0) { in compactIndex2()
1161 trie->index2[newStart++]=(int32_t)0xffff<<UTRIE2_INDEX_SHIFT; in compactIndex2()
1167 (long)trie->index2Length, (long)newStart); in compactIndex2()
1170 trie->index2Length=newStart; in compactIndex2()