Lines Matching refs:nextOffset
574 uint32_t blockSize, newTop, i, nextOffset, newBlock, min; in MBCSSingleAddFromUnicode() local
593 nextOffset=(c>>MBCS_STAGE_2_SHIFT)&MBCS_STAGE_2_BLOCK_MASK&~(MBCS_UTF8_STAGE_3_BLOCKS-1); in MBCSSingleAddFromUnicode()
595 nextOffset=(c>>MBCS_STAGE_2_SHIFT)&MBCS_STAGE_2_BLOCK_MASK; in MBCSSingleAddFromUnicode()
601 min=newBlock-nextOffset; /* minimum block start with overlap */ in MBCSSingleAddFromUnicode()
622 idx=mbcsData->stage1[idx]+nextOffset; in MBCSSingleAddFromUnicode()
626 nextOffset=c&MBCS_UTF8_STAGE_3_BLOCK_MASK; in MBCSSingleAddFromUnicode()
629 nextOffset=c&MBCS_STAGE_3_BLOCK_MASK; in MBCSSingleAddFromUnicode()
635 min=newBlock-nextOffset; /* minimum block start with overlap */ in MBCSSingleAddFromUnicode()
656 p=stage3+mbcsData->stage2Single[idx]+nextOffset; in MBCSSingleAddFromUnicode()
693 uint32_t blockSize, newTop, i, nextOffset, newBlock, min, overlap, maxOverlap; in MBCSAddFromUnicode() local
723 nextOffset=(c>>MBCS_STAGE_2_SHIFT)&MBCS_STAGE_2_BLOCK_MASK&~(MBCS_UTF8_STAGE_3_BLOCKS-1); in MBCSAddFromUnicode()
725 nextOffset=(c>>MBCS_STAGE_2_SHIFT)&MBCS_STAGE_2_BLOCK_MASK; in MBCSAddFromUnicode()
731 min=newBlock-nextOffset; /* minimum block start with overlap */ in MBCSAddFromUnicode()
757 idx=mbcsData->stage1[idx]+nextOffset; in MBCSAddFromUnicode()
761 nextOffset=c&MBCS_UTF8_STAGE_3_BLOCK_MASK; in MBCSAddFromUnicode()
764 nextOffset=c&MBCS_STAGE_3_BLOCK_MASK; in MBCSAddFromUnicode()
769 if(mbcsData->utf8Friendly && nextOffset>=MBCS_STAGE_3_GRANULARITY) { in MBCSAddFromUnicode()
774 maxOverlap=(nextOffset&~(MBCS_STAGE_3_GRANULARITY-1))*maxCharLength; in MBCSAddFromUnicode()
856 p=stage3+(stage3Index+nextOffset)*maxCharLength; in MBCSAddFromUnicode()
880 if((mbcsData->stage2[idx+(nextOffset>>MBCS_STAGE_2_SHIFT)]&(1UL<<(16+(c&0xf))))!=0 || old!=0) { in MBCSAddFromUnicode()
894 mbcsData->stage2[idx+(nextOffset>>4)]|=(1UL<<(16+(c&0xf))); in MBCSAddFromUnicode()