Home
last modified time | relevance | path

Searched refs:unicodeCodeUnits (Results 1 – 8 of 8) 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/chromium_org/third_party/icu/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/chromium_org/third_party/icu/source/common/
Ducnvmbcs.c501 const uint16_t *unicodeCodeUnits; in enumToU() local
506 unicodeCodeUnits=mbcsTable->unicodeCodeUnits; in enumToU()
548 c=unicodeCodeUnits[finalOffset]; in enumToU()
556 c=unicodeCodeUnits[finalOffset++]; in enumToU()
561 c=((c&0x3ff)<<10)+unicodeCodeUnits[finalOffset]+(0x10000-0xdc00); in enumToU()
564 c=unicodeCodeUnits[finalOffset]; in enumToU()
1629 mbcsTable->unicodeCodeUnits=(const uint16_t *)(raw+header->offsetToUCodeUnits); in ucnv_MBCSLoad()
2326 const uint16_t *unicodeCodeUnits; in ucnv_MBCSToUnicodeWithOffsets() local
2375 unicodeCodeUnits=cnv->sharedData->mbcs.unicodeCodeUnits; in ucnv_MBCSToUnicodeWithOffsets()
2424 (c=unicodeCodeUnits[offset+MBCS_ENTRY_FINAL_VALUE_16(entry)])<0xfffe in ucnv_MBCSToUnicodeWithOffsets()
[all …]
Ducnvmbcs.h375 const uint16_t *unicodeCodeUnits/*[countUnicodeResults]*/; member
/external/icu/icu4c/source/common/
Ducnvmbcs.c501 const uint16_t *unicodeCodeUnits; in enumToU() local
506 unicodeCodeUnits=mbcsTable->unicodeCodeUnits; in enumToU()
548 c=unicodeCodeUnits[finalOffset]; in enumToU()
556 c=unicodeCodeUnits[finalOffset++]; in enumToU()
561 c=((c&0x3ff)<<10)+unicodeCodeUnits[finalOffset]+(0x10000-0xdc00); in enumToU()
564 c=unicodeCodeUnits[finalOffset]; in enumToU()
1629 mbcsTable->unicodeCodeUnits=(const uint16_t *)(raw+header->offsetToUCodeUnits); in ucnv_MBCSLoad()
2326 const uint16_t *unicodeCodeUnits; in ucnv_MBCSToUnicodeWithOffsets() local
2375 unicodeCodeUnits=cnv->sharedData->mbcs.unicodeCodeUnits; in ucnv_MBCSToUnicodeWithOffsets()
2424 (c=unicodeCodeUnits[offset+MBCS_ENTRY_FINAL_VALUE_16(entry)])<0xfffe in ucnv_MBCSToUnicodeWithOffsets()
[all …]
Ducnvmbcs.h375 const uint16_t *unicodeCodeUnits/*[countUnicodeResults]*/; member
/external/chromium_org/third_party/icu/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()
/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()