Lines Matching refs:newStart
984 int32_t start, newStart, movedStart; in compactData() local
989 newStart=UTRIE2_DATA_START_OFFSET; in compactData()
990 for(start=0, i=0; start<newStart; start+=UTRIE2_DATA_BLOCK_LENGTH, ++i) { in compactData()
1000 for(start=newStart; start<trie->dataLength;) { in compactData()
1021 if( (movedStart=findSameDataBlock(trie->data, newStart, start, blockLength)) in compactData()
1040 overlap>0 && !equal_uint32(trie->data+(newStart-overlap), trie->data+start, overlap); in compactData()
1043 if(overlap>0 || newStart<start) { in compactData()
1045 movedStart=newStart-overlap; in compactData()
1054 trie->data[newStart++]=trie->data[start++]; in compactData()
1061 newStart=start; in compactData()
1076 while((newStart&(UTRIE2_DATA_GRANULARITY-1))!=0) { in compactData()
1077 trie->data[newStart++]=trie->initialValue; in compactData()
1083 (long)trie->dataLength, (long)newStart); in compactData()
1086 trie->dataLength=newStart; in compactData()
1091 int32_t i, start, newStart, movedStart, overlap; in compactIndex2() local
1094 newStart=UTRIE2_INDEX_2_BMP_LENGTH; in compactIndex2()
1095 for(start=0, i=0; start<newStart; start+=UTRIE2_INDEX_2_BLOCK_LENGTH, ++i) { in compactIndex2()
1100 newStart+=UTRIE2_UTF8_2B_INDEX_2_LENGTH+((trie->highStart-0x10000)>>UTRIE2_SHIFT_1); in compactIndex2()
1110 if( (movedStart=findSameIndex2Block(trie->index2, newStart, start)) in compactIndex2()
1126 overlap>0 && !equal_int32(trie->index2+(newStart-overlap), trie->index2+start, overlap); in compactIndex2()
1129 if(overlap>0 || newStart<start) { in compactIndex2()
1131 trie->map[start>>UTRIE2_SHIFT_1_2]=newStart-overlap; in compactIndex2()
1136 trie->index2[newStart++]=trie->index2[start++]; in compactIndex2()
1141 newStart=start; in compactIndex2()
1157 while((newStart&((UTRIE2_DATA_GRANULARITY-1)|1))!=0) { in compactIndex2()
1159 trie->index2[newStart++]=(int32_t)0xffff<<UTRIE2_INDEX_SHIFT; in compactIndex2()
1165 (long)trie->index2Length, (long)newStart); in compactIndex2()
1168 trie->index2Length=newStart; in compactIndex2()