Home
last modified time | relevance | path

Searched refs:mbcsTable (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DUConverterDataReader.java488 … protected void readMBCSTable(MBCSHeader header, UConverterMBCSTable mbcsTable) throws IOException in readMBCSTable() argument
491 mbcsTable.countStates = (byte) header.countStates; in readMBCSTable()
492 mbcsTable.stateTable = new int[header.countStates][256]; in readMBCSTable()
495 intBuffer.get(mbcsTable.stateTable[i]); in readMBCSTable()
498 mbcsTable.countToUFallbacks = header.countToUFallbacks; in readMBCSTable()
499 mbcsTable.toUFallbacks = new MBCSToUFallback[header.countToUFallbacks]; in readMBCSTable()
503 mbcsTable.toUFallbacks[i] = new MBCSToUFallback(offset, codePoint); in readMBCSTable()
517 mbcsTable.unicodeCodeUnits = new char[length / 2]; in readMBCSTable()
518 charBuffer.get(mbcsTable.unicodeCodeUnits); in readMBCSTable()
525 if (mbcsTable.outputType == CharsetMBCS.MBCS_OUTPUT_1) { in readMBCSTable()
[all …]
DCharsetMBCS.java241 UConverterMBCSTable mbcsTable = data.mbcs; in loadConverter() local
259 mbcsTable.outputType = (byte) header.flags; in loadConverter()
264 if (mbcsTable.outputType == MBCS_OUTPUT_EXT_ONLY) { in loadConverter()
270mbcsTable.extIndexes = reader.readExtIndexes(offset - reader.bytesReadAfterStaticData()); in loadConverter()
292 if (mbcsTable.outputType == MBCS_OUTPUT_EXT_ONLY) { in loadConverter()
298 extIndexes = mbcsTable.extIndexes; in loadConverter()
328 mbcsTable = data.mbcs = baseSharedData.mbcs; in loadConverter()
331 mbcsTable.baseSharedData = baseSharedData; in loadConverter()
332 mbcsTable.extIndexes = extIndexes; in loadConverter()
339 mbcsTable.swapLFNLStateTable = null; in loadConverter()
[all …]
/external/icu/icu4c/source/common/
Ducnvmbcs.cpp634 enumToU(UConverterMBCSTable *mbcsTable, int8_t stateProps[], in enumToU() argument
645 row=mbcsTable->stateTable[state]; in enumToU()
646 unicodeCodeUnits=mbcsTable->unicodeCodeUnits; in enumToU()
665 mbcsTable, stateProps, nextState, in enumToU()
808 ucnv_MBCSEnumToUnicode(UConverterMBCSTable *mbcsTable, in ucnv_MBCSEnumToUnicode() argument
835 getStateProp(mbcsTable->stateTable, stateProps, 0); in ucnv_MBCSEnumToUnicode()
837 for(state=0; state<mbcsTable->countStates; ++state) { in ucnv_MBCSEnumToUnicode()
844 mbcsTable, stateProps, state, 0, 0, in ucnv_MBCSEnumToUnicode()
857 const UConverterMBCSTable *mbcsTable; in ucnv_MBCSGetFilteredUnicodeSetForUnicode() local
866 mbcsTable=&sharedData->mbcs; in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
[all …]