Lines Matching refs:newBlock
821 int32_t i1, i2, i3, i3b, nextOffset, min, newBlock; in addFromUTrieEntry() local
841 newBlock=extData->stage2Top; in addFromUTrieEntry()
842 min=newBlock-nextOffset; /* minimum block start with overlap */ in addFromUTrieEntry()
843 while(min<newBlock && extData->stage2[newBlock-1]==0) { in addFromUTrieEntry()
844 --newBlock; in addFromUTrieEntry()
847 extData->stage1[i1]=(uint16_t)newBlock; in addFromUTrieEntry()
848 extData->stage2Top=newBlock+MBCS_STAGE_2_BLOCK_SIZE; in addFromUTrieEntry()
860 newBlock=extData->stage3Top; in addFromUTrieEntry()
861 min=newBlock-nextOffset; /* minimum block start with overlap */ in addFromUTrieEntry()
862 while(min<newBlock && extData->stage3[newBlock-1]==0) { in addFromUTrieEntry()
863 --newBlock; in addFromUTrieEntry()
867 newBlock=(newBlock+(UCNV_EXT_STAGE_3_GRANULARITY-1))&~(UCNV_EXT_STAGE_3_GRANULARITY-1); in addFromUTrieEntry()
868 extData->stage2[i2]=(uint16_t)(newBlock>>UCNV_EXT_STAGE_2_LEFT_SHIFT); in addFromUTrieEntry()
870 extData->stage3Top=newBlock+MBCS_STAGE_3_BLOCK_SIZE; in addFromUTrieEntry()