Lines Matching refs:newStart
1183 uint16_t i, start, prevEnd, newStart; in singleCompactStage2() local
1189 start=newStart=MBCS_STAGE_2_FIRST_ASSIGNED; in singleCompactStage2()
1191 prevEnd=(uint16_t)(newStart-1); in singleCompactStage2()
1197 map[start>>MBCS_STAGE_2_BLOCK_SIZE_SHIFT]=(uint16_t)(newStart-i); in singleCompactStage2()
1202 mbcsData->stage2Single[newStart++]=mbcsData->stage2Single[start++]; in singleCompactStage2()
1204 } else if(newStart<start) { in singleCompactStage2()
1206 map[start>>MBCS_STAGE_2_BLOCK_SIZE_SHIFT]=newStart; in singleCompactStage2()
1208 mbcsData->stage2Single[newStart++]=mbcsData->stage2Single[start++]; in singleCompactStage2()
1212 start=newStart+=MBCS_STAGE_2_BLOCK_SIZE; in singleCompactStage2()
1217 if(VERBOSE && newStart<mbcsData->stage2Top) { in singleCompactStage2()
1219 (unsigned long)mbcsData->stage2Top, (unsigned long)newStart, in singleCompactStage2()
1220 (long)(mbcsData->stage2Top-newStart)*2); in singleCompactStage2()
1222 mbcsData->stage2Top=newStart; in singleCompactStage2()
1237 uint16_t i, start, prevEnd, newStart; in singleCompactStage3() local
1243 start=newStart=16; in singleCompactStage3()
1245 prevEnd=(uint16_t)(newStart-1); in singleCompactStage3()
1251 map[start>>4]=(uint16_t)(newStart-i); in singleCompactStage3()
1256 stage3[newStart++]=stage3[start++]; in singleCompactStage3()
1258 } else if(newStart<start) { in singleCompactStage3()
1260 map[start>>4]=newStart; in singleCompactStage3()
1262 stage3[newStart++]=stage3[start++]; in singleCompactStage3()
1266 start=newStart+=16; in singleCompactStage3()
1271 if(VERBOSE && newStart<mbcsData->stage3Top) { in singleCompactStage3()
1273 (unsigned long)mbcsData->stage3Top, (unsigned long)newStart, in singleCompactStage3()
1274 (long)(mbcsData->stage3Top-newStart)*2); in singleCompactStage3()
1276 mbcsData->stage3Top=newStart; in singleCompactStage3()
1295 uint16_t i, start, prevEnd, newStart; in compactStage2() local
1301 start=newStart=MBCS_STAGE_2_FIRST_ASSIGNED; in compactStage2()
1303 prevEnd=(uint16_t)(newStart-1); in compactStage2()
1309 map[start>>MBCS_STAGE_2_BLOCK_SIZE_SHIFT]=(uint16_t)(newStart-i); in compactStage2()
1314 mbcsData->stage2[newStart++]=mbcsData->stage2[start++]; in compactStage2()
1316 } else if(newStart<start) { in compactStage2()
1318 map[start>>MBCS_STAGE_2_BLOCK_SIZE_SHIFT]=newStart; in compactStage2()
1320 mbcsData->stage2[newStart++]=mbcsData->stage2[start++]; in compactStage2()
1324 start=newStart+=MBCS_STAGE_2_BLOCK_SIZE; in compactStage2()
1329 if(VERBOSE && newStart<mbcsData->stage2Top) { in compactStage2()
1331 (unsigned long)mbcsData->stage2Top, (unsigned long)newStart, in compactStage2()
1332 (long)(mbcsData->stage2Top-newStart)*4); in compactStage2()
1334 mbcsData->stage2Top=newStart; in compactStage2()