Home
last modified time | relevance | path

Searched refs:toUFallbacks (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4c/source/tools/toolutil/
Ducmstate.cpp592 ucm_findFallback(_MBCSToUFallback *toUFallbacks, int32_t countToUFallbacks, in ucm_findFallback() argument
603 if(offset==toUFallbacks[i].offset) { in ucm_findFallback()
618 _MBCSToUFallback *toUFallbacks, int32_t countToUFallbacks, in compactToUnicode2() argument
665 …if((*pUnicodeCodeUnits)[entry]==0xfffe && ucm_findFallback(toUFallbacks, countToUFallbacks, entry)… in compactToUnicode2()
802 … if(unit==0xfffe && (fallback=ucm_findFallback(toUFallbacks, countToUFallbacks, oldOffset))>=0) { in compactToUnicode2()
803 toUFallbacks[fallback].offset=0x80000000|offset; in compactToUnicode2()
825 toUFallbacks[i].offset&=0x7fffffff; in compactToUnicode2()
844 _MBCSToUFallback *toUFallbacks, int32_t countToUFallbacks, in findUnassigned() argument
856 toUFallbacks, countToUFallbacks, in findUnassigned()
871 …if(unicodeCodeUnits[entry]==0xfffe && ucm_findFallback(toUFallbacks, countToUFallbacks, entry)<0) { in findUnassigned()
[all …]
Ducm.h271 _MBCSToUFallback *toUFallbacks, int32_t countToUFallbacks,
276 ucm_findFallback(_MBCSToUFallback *toUFallbacks, int32_t countToUFallbacks,
/external/icu/icu4c/source/tools/makeconv/
Dgenmbcs.cpp41 _MBCSToUFallback toUFallbacks[MBCS_MAX_FALLBACK_COUNT]; member
324 int32_t i=ucm_findFallback(mbcsData->toUFallbacks, mbcsData->countToUFallbacks, offset); in setFallback()
327 mbcsData->toUFallbacks[i].codePoint=c; in setFallback()
336 mbcsData->toUFallbacks[i].offset=offset; in setFallback()
337 mbcsData->toUFallbacks[i].codePoint=c; in setFallback()
347 int32_t i=ucm_findFallback(mbcsData->toUFallbacks, mbcsData->countToUFallbacks, offset); in removeFallback()
349 _MBCSToUFallback *toUFallbacks; in removeFallback() local
352 toUFallbacks=mbcsData->toUFallbacks; in removeFallback()
354 old=(int32_t)toUFallbacks[i].codePoint; in removeFallback()
357 toUFallbacks[i].offset=toUFallbacks[limit-1].offset; in removeFallback()
[all …]
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DUConverterDataReader.java498 mbcsTable.toUFallbacks = new MBCSToUFallback[header.countToUFallbacks]; in readMBCSTable()
502 mbcsTable.toUFallbacks[i] = new MBCSToUFallback(offset, codePoint); in readMBCSTable()
DCharsetMBCS.java77 MBCSToUFallback toUFallbacks[/* countToUFallbacks */]; field in CharsetMBCS.UConverterMBCSTable
2622 MBCSToUFallback[] toUFallbacks; in getFallback() local
2628 toUFallbacks = mbcsTable.toUFallbacks; in getFallback()
2632 if (offset < toUFallbacks[i].offset) { in getFallback()
2640 if (offset == toUFallbacks[start].offset) { in getFallback()
2641 return toUFallbacks[start].codePoint; in getFallback()
/external/icu/icu4c/source/common/
Ducnvmbcs.h378 const _MBCSToUFallback *toUFallbacks; member
Ducnvmbcs.cpp1772 … mbcsTable->toUFallbacks=(const _MBCSToUFallback *)(mbcsTable->stateTable+header->countStates); in ucnv_MBCSLoad()
2005 const _MBCSToUFallback *toUFallbacks; in ucnv_MBCSGetFallback() local
2011 toUFallbacks=mbcsTable->toUFallbacks; in ucnv_MBCSGetFallback()
2015 if(offset<toUFallbacks[i].offset) { in ucnv_MBCSGetFallback()
2023 if(offset==toUFallbacks[start].offset) { in ucnv_MBCSGetFallback()
2024 return toUFallbacks[start].codePoint; in ucnv_MBCSGetFallback()