Lines Matching refs:unicodeCodeUnits
41 uint16_t *unicodeCodeUnits; member
175 uprv_free(mbcsData->unicodeCodeUnits); in MBCSDestruct()
203 mbcsData->unicodeCodeUnits=(uint16_t *)uprv_malloc(sum*sizeof(uint16_t)); in MBCSStartMappings()
204 if(mbcsData->unicodeCodeUnits==NULL) { in MBCSStartMappings()
210 mbcsData->unicodeCodeUnits[i]=0xfffe; in MBCSStartMappings()
459 …if((old=mbcsData->unicodeCodeUnits[offset])!=0xfffe || (old=removeFallback(mbcsData, offset))!=-1)… in MBCSAddToUnicode()
476 if(mbcsData->unicodeCodeUnits[offset]==0xfffe) { in MBCSAddToUnicode()
480 mbcsData->unicodeCodeUnits[offset]=(uint16_t)c; in MBCSAddToUnicode()
488 old=mbcsData->unicodeCodeUnits[offset]; in MBCSAddToUnicode()
494 … real=0x10000+((old&0x3ff)<<10)+((mbcsData->unicodeCodeUnits[offset+1])&0x3ff); in MBCSAddToUnicode()
496 real=mbcsData->unicodeCodeUnits[offset+1]; in MBCSAddToUnicode()
513 mbcsData->unicodeCodeUnits[offset++]=0xe001; in MBCSAddToUnicode()
514 mbcsData->unicodeCodeUnits[offset]=(uint16_t)c; in MBCSAddToUnicode()
517 mbcsData->unicodeCodeUnits[offset++]=(uint16_t)(0xdbc0+(c>>10)); in MBCSAddToUnicode()
518 mbcsData->unicodeCodeUnits[offset]=(uint16_t)(0xdc00+(c&0x3ff)); in MBCSAddToUnicode()
523 mbcsData->unicodeCodeUnits[offset]=(uint16_t)c; in MBCSAddToUnicode()
526 mbcsData->unicodeCodeUnits[offset++]=0xe000; in MBCSAddToUnicode()
527 mbcsData->unicodeCodeUnits[offset]=(uint16_t)c; in MBCSAddToUnicode()
530 mbcsData->unicodeCodeUnits[offset++]=(uint16_t)(0xd7c0+(c>>10)); in MBCSAddToUnicode()
531 mbcsData->unicodeCodeUnits[offset]=(uint16_t)(0xdc00+(c&0x3ff)); in MBCSAddToUnicode()
1338 &mbcsData->unicodeCodeUnits, in MBCSPostprocess()
1543 udata_writeBlock(pData, mbcsData->unicodeCodeUnits, mbcsData->ucm->states.countToUCodeUnits*2); in MBCSWrite()