Home
last modified time | relevance | path

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

/external/icu/icu4c/source/tools/makeconv/
Dgenmbcs.cpp43 uint16_t *unicodeCodeUnits; member
180 uprv_free(mbcsData->unicodeCodeUnits); in MBCSDestruct()
210 mbcsData->unicodeCodeUnits=(uint16_t *)uprv_malloc(sum*sizeof(uint16_t)); in MBCSStartMappings()
211 if(mbcsData->unicodeCodeUnits==NULL) { in MBCSStartMappings()
217 mbcsData->unicodeCodeUnits[i]=0xfffe; in MBCSStartMappings()
466 …if((old=mbcsData->unicodeCodeUnits[offset])!=0xfffe || (old=removeFallback(mbcsData, offset))!=-1)… in MBCSAddToUnicode()
483 if(mbcsData->unicodeCodeUnits[offset]==0xfffe) { in MBCSAddToUnicode()
487 mbcsData->unicodeCodeUnits[offset]=(uint16_t)c; in MBCSAddToUnicode()
495 old=mbcsData->unicodeCodeUnits[offset]; in MBCSAddToUnicode()
501 … real=0x10000+((old&0x3ff)<<10)+((mbcsData->unicodeCodeUnits[offset+1])&0x3ff); in MBCSAddToUnicode()
[all …]
/external/icu/icu4c/source/common/
Ducnvmbcs.cpp642 const uint16_t *unicodeCodeUnits; in enumToU() local
647 unicodeCodeUnits=mbcsTable->unicodeCodeUnits; in enumToU()
689 c=unicodeCodeUnits[finalOffset]; in enumToU()
697 c=unicodeCodeUnits[finalOffset++]; in enumToU()
702 c=((c&0x3ff)<<10)+unicodeCodeUnits[finalOffset]+(0x10000-0xdc00); in enumToU()
705 c=unicodeCodeUnits[finalOffset]; in enumToU()
1773 mbcsTable->unicodeCodeUnits=(const uint16_t *)(raw+header->offsetToUCodeUnits); in ucnv_MBCSLoad()
2474 const uint16_t *unicodeCodeUnits; in ucnv_MBCSToUnicodeWithOffsets() local
2523 unicodeCodeUnits=cnv->sharedData->mbcs.unicodeCodeUnits; in ucnv_MBCSToUnicodeWithOffsets()
2572 (c=unicodeCodeUnits[offset+MBCS_ENTRY_FINAL_VALUE_16(entry)])<0xfffe in ucnv_MBCSToUnicodeWithOffsets()
[all …]
Ducnvmbcs.h377 const uint16_t *unicodeCodeUnits/*[countUnicodeResults]*/; member
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetMBCS.java76 char unicodeCodeUnits[/* countUnicodeResults */]; field in CharsetMBCS.UConverterMBCSTable
703 char[] unicodeCodeUnits; in enumToU() local
708 unicodeCodeUnits = mbcsTable.unicodeCodeUnits; in enumToU()
745 c = unicodeCodeUnits[finalOffset]; in enumToU()
753 c = unicodeCodeUnits[finalOffset++]; in enumToU()
758 c = ((c&0x3ff)<<10)+unicodeCodeUnits[finalOffset]+(0x10000-0xdc00); in enumToU()
761 c = unicodeCodeUnits[finalOffset]; in enumToU()
2007 char[] unicodeCodeUnits; in cnvMBCSToUnicodeWithOffsets() local
2049 unicodeCodeUnits = sharedData.mbcs.unicodeCodeUnits; in cnvMBCSToUnicodeWithOffsets()
2095 … && (c = unicodeCodeUnits[offset + MBCS_ENTRY_FINAL_VALUE_16(entry)]) < 0xfffe) { in cnvMBCSToUnicodeWithOffsets()
[all …]
DUConverterDataReader.java516 mbcsTable.unicodeCodeUnits = new char[length / 2]; in readMBCSTable()
517 charBuffer.get(mbcsTable.unicodeCodeUnits); in readMBCSTable()
/external/icu/icu4c/source/tools/toolutil/
Ducmstate.cpp843 uint16_t *unicodeCodeUnits, in findUnassigned() argument
855 unicodeCodeUnits, in findUnassigned()
871 …if(unicodeCodeUnits[entry]==0xfffe && ucm_findFallback(toUFallbacks, countToUFallbacks, entry)<0) { in findUnassigned()
879 if(unicodeCodeUnits[entry]==0xfffe) { in findUnassigned()
900 uint16_t *unicodeCodeUnits, in compactToUnicodeHelper() argument
908 unicodeCodeUnits, in compactToUnicodeHelper()