Home
last modified time | relevance | path

Searched refs:unicodeCodeUnits (Results 1 – 4 of 4) sorted by relevance

/external/icu4c/tools/makeconv/
Dgenmbcs.c41 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()
[all …]
/external/icu4c/common/
Ducnvmbcs.c428 const uint16_t *unicodeCodeUnits; in enumToU() local
433 unicodeCodeUnits=mbcsTable->unicodeCodeUnits; in enumToU()
475 c=unicodeCodeUnits[finalOffset]; in enumToU()
483 c=unicodeCodeUnits[finalOffset++]; in enumToU()
488 c=((c&0x3ff)<<10)+unicodeCodeUnits[finalOffset]+(0x10000-0xdc00); in enumToU()
491 c=unicodeCodeUnits[finalOffset]; in enumToU()
1537 mbcsTable->unicodeCodeUnits=(const uint16_t *)(raw+header->offsetToUCodeUnits); in ucnv_MBCSLoad()
2164 const uint16_t *unicodeCodeUnits; in ucnv_MBCSToUnicodeWithOffsets() local
2213 unicodeCodeUnits=cnv->sharedData->mbcs.unicodeCodeUnits; in ucnv_MBCSToUnicodeWithOffsets()
2262 (c=unicodeCodeUnits[offset+MBCS_ENTRY_FINAL_VALUE_16(entry)])<0xfffe in ucnv_MBCSToUnicodeWithOffsets()
[all …]
Ducnvmbcs.h372 const uint16_t *unicodeCodeUnits/*[countUnicodeResults]*/; member
/external/icu4c/tools/toolutil/
Ducmstate.c840 uint16_t *unicodeCodeUnits, in findUnassigned() argument
852 unicodeCodeUnits, in findUnassigned()
868 …if(unicodeCodeUnits[entry]==0xfffe && ucm_findFallback(toUFallbacks, countToUFallbacks, entry)<0) { in findUnassigned()
876 if(unicodeCodeUnits[entry]==0xfffe) { in findUnassigned()
897 uint16_t *unicodeCodeUnits, in compactToUnicodeHelper() argument
905 unicodeCodeUnits, in compactToUnicodeHelper()