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.java487 … protected void readMBCSTable(MBCSHeader header, UConverterMBCSTable mbcsTable) throws IOException in readMBCSTable() argument
490 mbcsTable.countStates = (byte) header.countStates; in readMBCSTable()
491 mbcsTable.stateTable = new int[header.countStates][256]; in readMBCSTable()
494 intBuffer.get(mbcsTable.stateTable[i]); in readMBCSTable()
497 mbcsTable.countToUFallbacks = header.countToUFallbacks; in readMBCSTable()
498 mbcsTable.toUFallbacks = new MBCSToUFallback[header.countToUFallbacks]; in readMBCSTable()
502 mbcsTable.toUFallbacks[i] = new MBCSToUFallback(offset, codePoint); in readMBCSTable()
516 mbcsTable.unicodeCodeUnits = new char[length / 2]; in readMBCSTable()
517 charBuffer.get(mbcsTable.unicodeCodeUnits); in readMBCSTable()
524 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.cpp635 enumToU(UConverterMBCSTable *mbcsTable, int8_t stateProps[], in enumToU() argument
646 row=mbcsTable->stateTable[state]; in enumToU()
647 unicodeCodeUnits=mbcsTable->unicodeCodeUnits; in enumToU()
666 mbcsTable, stateProps, nextState, in enumToU()
809 ucnv_MBCSEnumToUnicode(UConverterMBCSTable *mbcsTable, in ucnv_MBCSEnumToUnicode() argument
836 getStateProp(mbcsTable->stateTable, stateProps, 0); in ucnv_MBCSEnumToUnicode()
838 for(state=0; state<mbcsTable->countStates; ++state) { in ucnv_MBCSEnumToUnicode()
845 mbcsTable, stateProps, state, 0, 0, in ucnv_MBCSEnumToUnicode()
858 const UConverterMBCSTable *mbcsTable; in ucnv_MBCSGetFilteredUnicodeSetForUnicode() local
867 mbcsTable=&sharedData->mbcs; in ucnv_MBCSGetFilteredUnicodeSetForUnicode()
[all …]