Lines Matching defs:newBlock
824 int32_t i1, i2, i3, i3b, nextOffset, min, newBlock;
844 newBlock=extData->stage2Top;
845 min=newBlock-nextOffset; /* minimum block start with overlap */
846 while(min<newBlock && extData->stage2[newBlock-1]==0) {
847 --newBlock;
850 extData->stage1[i1]=(uint16_t)newBlock;
851 extData->stage2Top=newBlock+MBCS_STAGE_2_BLOCK_SIZE;
863 newBlock=extData->stage3Top;
864 min=newBlock-nextOffset; /* minimum block start with overlap */
865 while(min<newBlock && extData->stage3[newBlock-1]==0) {
866 --newBlock;
870 newBlock=(newBlock+(UCNV_EXT_STAGE_3_GRANULARITY-1))&~(UCNV_EXT_STAGE_3_GRANULARITY-1);
871 extData->stage2[i2]=(uint16_t)(newBlock>>UCNV_EXT_STAGE_2_LEFT_SHIFT);
873 extData->stage3Top=newBlock+MBCS_STAGE_3_BLOCK_SIZE;