Home
last modified time | relevance | path

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

/external/icu/icu4c/source/tools/makeconv/
Dgenmbcs.cpp41 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/icu/icu4c/source/common/
Ducnvmbcs.cpp638 const uint16_t *unicodeCodeUnits; in enumToU() local
643 unicodeCodeUnits=mbcsTable->unicodeCodeUnits; in enumToU()
685 c=unicodeCodeUnits[finalOffset]; in enumToU()
693 c=unicodeCodeUnits[finalOffset++]; in enumToU()
698 c=((c&0x3ff)<<10)+unicodeCodeUnits[finalOffset]+(0x10000-0xdc00); in enumToU()
701 c=unicodeCodeUnits[finalOffset]; in enumToU()
1766 mbcsTable->unicodeCodeUnits=(const uint16_t *)(raw+header->offsetToUCodeUnits); in ucnv_MBCSLoad()
2463 const uint16_t *unicodeCodeUnits; in ucnv_MBCSToUnicodeWithOffsets() local
2512 unicodeCodeUnits=cnv->sharedData->mbcs.unicodeCodeUnits; in ucnv_MBCSToUnicodeWithOffsets()
2561 (c=unicodeCodeUnits[offset+MBCS_ENTRY_FINAL_VALUE_16(entry)])<0xfffe in ucnv_MBCSToUnicodeWithOffsets()
[all …]
Ducnvmbcs.h375 const uint16_t *unicodeCodeUnits/*[countUnicodeResults]*/; member
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetMBCS.java77 char unicodeCodeUnits[/* countUnicodeResults */]; field in CharsetMBCS.UConverterMBCSTable
709 char[] unicodeCodeUnits; in enumToU() local
714 unicodeCodeUnits = mbcsTable.unicodeCodeUnits; in enumToU()
751 c = unicodeCodeUnits[finalOffset]; in enumToU()
759 c = unicodeCodeUnits[finalOffset++]; in enumToU()
764 c = ((c&0x3ff)<<10)+unicodeCodeUnits[finalOffset]+(0x10000-0xdc00); in enumToU()
767 c = unicodeCodeUnits[finalOffset]; in enumToU()
2012 char[] unicodeCodeUnits; in cnvMBCSToUnicodeWithOffsets() local
2054 unicodeCodeUnits = sharedData.mbcs.unicodeCodeUnits; in cnvMBCSToUnicodeWithOffsets()
2100 … && (c = unicodeCodeUnits[offset + MBCS_ENTRY_FINAL_VALUE_16(entry)]) < 0xfffe) { in cnvMBCSToUnicodeWithOffsets()
[all …]
DUConverterDataReader.java514 mbcsTable.unicodeCodeUnits = new char[length / 2]; in readMBCSTable()
515 charBuffer.get(mbcsTable.unicodeCodeUnits); in readMBCSTable()
/external/icu/icu4c/source/tools/toolutil/
Ducmstate.c841 uint16_t *unicodeCodeUnits, in findUnassigned() argument
853 unicodeCodeUnits, in findUnassigned()
869 …if(unicodeCodeUnits[entry]==0xfffe && ucm_findFallback(toUFallbacks, countToUFallbacks, entry)<0) { in findUnassigned()
877 if(unicodeCodeUnits[entry]==0xfffe) { in findUnassigned()
898 uint16_t *unicodeCodeUnits, in compactToUnicodeHelper() argument
906 unicodeCodeUnits, in compactToUnicodeHelper()