Lines Matching refs:newStart
1033 int32_t start, newStart, movedStart; in compactData() local
1038 newStart=UTRIE2_DATA_START_OFFSET; in compactData()
1039 for(start=0, i=0; start<newStart; start+=UTRIE2_DATA_BLOCK_LENGTH, ++i) { in compactData()
1049 for(start=newStart; start<trie->dataLength;) { in compactData()
1070 if( (movedStart=findSameDataBlock(trie->data, newStart, start, blockLength)) in compactData()
1092 overlap>0 && !equal_uint32(trie->data+(newStart-overlap), trie->data+start, overlap); in compactData()
1098 if(overlap>0 || newStart<start) { in compactData()
1100 movedStart=newStart-overlap; in compactData()
1109 trie->data[newStart++]=trie->data[start++]; in compactData()
1116 newStart=start; in compactData()
1131 while((newStart&(UTRIE2_DATA_GRANULARITY-1))!=0) { in compactData()
1132 trie->data[newStart++]=trie->initialValue; in compactData()
1138 (long)trie->dataLength, (long)newStart, (long)countSame, (long)sumOverlaps); in compactData()
1141 trie->dataLength=newStart; in compactData()
1146 int32_t i, start, newStart, movedStart, overlap; in compactIndex2() local
1149 newStart=UTRIE2_INDEX_2_BMP_LENGTH; in compactIndex2()
1150 for(start=0, i=0; start<newStart; start+=UTRIE2_INDEX_2_BLOCK_LENGTH, ++i) { in compactIndex2()
1155 newStart+=UTRIE2_UTF8_2B_INDEX_2_LENGTH+((trie->highStart-0x10000)>>UTRIE2_SHIFT_1); in compactIndex2()
1165 if( (movedStart=findSameIndex2Block(trie->index2, newStart, start)) in compactIndex2()
1181 overlap>0 && !equal_int32(trie->index2+(newStart-overlap), trie->index2+start, overlap); in compactIndex2()
1184 if(overlap>0 || newStart<start) { in compactIndex2()
1186 trie->map[start>>UTRIE2_SHIFT_1_2]=newStart-overlap; in compactIndex2()
1191 trie->index2[newStart++]=trie->index2[start++]; in compactIndex2()
1196 newStart=start; in compactIndex2()
1212 while((newStart&((UTRIE2_DATA_GRANULARITY-1)|1))!=0) { in compactIndex2()
1214 trie->index2[newStart++]=(int32_t)0xffff<<UTRIE2_INDEX_SHIFT; in compactIndex2()
1220 (long)trie->index2Length, (long)newStart); in compactIndex2()
1223 trie->index2Length=newStart; in compactIndex2()