Lines Matching refs:newStart
1184 uint16_t i, start, prevEnd, newStart; in singleCompactStage2() local
1190 start=newStart=MBCS_STAGE_2_FIRST_ASSIGNED; in singleCompactStage2()
1192 prevEnd=(uint16_t)(newStart-1); in singleCompactStage2()
1198 map[start>>MBCS_STAGE_2_BLOCK_SIZE_SHIFT]=(uint16_t)(newStart-i); in singleCompactStage2()
1203 mbcsData->stage2Single[newStart++]=mbcsData->stage2Single[start++]; in singleCompactStage2()
1205 } else if(newStart<start) { in singleCompactStage2()
1207 map[start>>MBCS_STAGE_2_BLOCK_SIZE_SHIFT]=newStart; in singleCompactStage2()
1209 mbcsData->stage2Single[newStart++]=mbcsData->stage2Single[start++]; in singleCompactStage2()
1213 start=newStart+=MBCS_STAGE_2_BLOCK_SIZE; in singleCompactStage2()
1218 if(VERBOSE && newStart<mbcsData->stage2Top) { in singleCompactStage2()
1220 (unsigned long)mbcsData->stage2Top, (unsigned long)newStart, in singleCompactStage2()
1221 (long)(mbcsData->stage2Top-newStart)*2); in singleCompactStage2()
1223 mbcsData->stage2Top=newStart; in singleCompactStage2()
1238 uint16_t i, start, prevEnd, newStart; in singleCompactStage3() local
1244 start=newStart=16; in singleCompactStage3()
1246 prevEnd=(uint16_t)(newStart-1); in singleCompactStage3()
1252 map[start>>4]=(uint16_t)(newStart-i); in singleCompactStage3()
1257 stage3[newStart++]=stage3[start++]; in singleCompactStage3()
1259 } else if(newStart<start) { in singleCompactStage3()
1261 map[start>>4]=newStart; in singleCompactStage3()
1263 stage3[newStart++]=stage3[start++]; in singleCompactStage3()
1267 start=newStart+=16; in singleCompactStage3()
1272 if(VERBOSE && newStart<mbcsData->stage3Top) { in singleCompactStage3()
1274 (unsigned long)mbcsData->stage3Top, (unsigned long)newStart, in singleCompactStage3()
1275 (long)(mbcsData->stage3Top-newStart)*2); in singleCompactStage3()
1277 mbcsData->stage3Top=newStart; in singleCompactStage3()
1296 uint16_t i, start, prevEnd, newStart; in compactStage2() local
1302 start=newStart=MBCS_STAGE_2_FIRST_ASSIGNED; in compactStage2()
1304 prevEnd=(uint16_t)(newStart-1); in compactStage2()
1310 map[start>>MBCS_STAGE_2_BLOCK_SIZE_SHIFT]=(uint16_t)(newStart-i); in compactStage2()
1315 mbcsData->stage2[newStart++]=mbcsData->stage2[start++]; in compactStage2()
1317 } else if(newStart<start) { in compactStage2()
1319 map[start>>MBCS_STAGE_2_BLOCK_SIZE_SHIFT]=newStart; in compactStage2()
1321 mbcsData->stage2[newStart++]=mbcsData->stage2[start++]; in compactStage2()
1325 start=newStart+=MBCS_STAGE_2_BLOCK_SIZE; in compactStage2()
1330 if(VERBOSE && newStart<mbcsData->stage2Top) { in compactStage2()
1332 (unsigned long)mbcsData->stage2Top, (unsigned long)newStart, in compactStage2()
1333 (long)(mbcsData->stage2Top-newStart)*4); in compactStage2()
1335 mbcsData->stage2Top=newStart; in compactStage2()