Home
last modified time | relevance | path

Searched refs:CharsetMBCS (Results 1 – 10 of 10) sorted by relevance

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DUConverterDataReader.java17 import com.ibm.icu.charset.CharsetMBCS.MBCSHeader;
18 import com.ibm.icu.charset.CharsetMBCS.MBCSToUFallback;
19 import com.ibm.icu.charset.CharsetMBCS.UConverterMBCSTable;
469 protected void readMBCSHeader(CharsetMBCS.MBCSHeader h) throws IOException in readMBCSHeader()
481 if ((h.options & CharsetMBCS.MBCS_OPT_NO_FROM_U) != 0) { in readMBCSHeader()
524 if (mbcsTable.outputType == CharsetMBCS.MBCS_OUTPUT_1) { in readMBCSTable()
536 if (mbcsTable.outputType != CharsetMBCS.MBCS_OUTPUT_1) { in readMBCSTable()
548 boolean noFromU = ((header.options & CharsetMBCS.MBCS_OPT_NO_FROM_U) != 0); in readMBCSTable()
551 case CharsetMBCS.MBCS_OUTPUT_1: in readMBCSTable()
552 case CharsetMBCS.MBCS_OUTPUT_2: in readMBCSTable()
[all …]
DCharsetCompoundText.java18 import com.ibm.icu.charset.CharsetMBCS.CharsetDecoderMBCS;
19 import com.ibm.icu.charset.CharsetMBCS.CharsetEncoderMBCS;
26 private CharsetMBCS myConverterArray[];
289 myConverterArray = new CharsetMBCS[NUM_OF_CONVERTERS]; in LoadConverters()
303 myConverterArray[i] = (CharsetMBCS)CharsetICU.forNameICU(name); in LoadConverters()
306 myConverterArray[IBM_915] = (CharsetMBCS)CharsetICU.forNameICU("ibm-915_P100-1995"); in LoadConverters()
307 myConverterArray[IBM_916] = (CharsetMBCS)CharsetICU.forNameICU("ibm-916_P100-1995"); in LoadConverters()
308 myConverterArray[IBM_914] = (CharsetMBCS)CharsetICU.forNameICU("ibm-914_P100-1995"); in LoadConverters()
309 myConverterArray[IBM_874] = (CharsetMBCS)CharsetICU.forNameICU("ibm-874_P100-1995"); in LoadConverters()
310 myConverterArray[IBM_912] = (CharsetMBCS)CharsetICU.forNameICU("ibm-912_P100-1995"); in LoadConverters()
[all …]
DCharsetHZ.java32 private CharsetMBCS gbCharset;
37 gbCharset = (CharsetMBCS) new CharsetProviderICU().charsetForName("GBK"); in CharsetHZ()
50 CharsetMBCS.CharsetDecoderMBCS gbDecoder;
55 gbDecoder = (CharsetMBCS.CharsetDecoderMBCS) gbCharset.newDecoder(); in CharsetDecoderHZ()
226 CharsetMBCS.CharsetEncoderMBCS gbEncoder;
232 gbEncoder = (CharsetMBCS.CharsetEncoderMBCS) gbCharset.newEncoder(); in CharsetEncoderHZ()
396 …etFilteredUnicodeSetForUnicode(gbCharset.sharedData, setFillIn, which, CharsetMBCS.UCNV_SET_FILTER… in getUnicodeSetImpl()
DCharsetISO2022.java19 import com.ibm.icu.charset.CharsetMBCS.CharsetDecoderMBCS;
20 import com.ibm.icu.charset.CharsetMBCS.CharsetEncoderMBCS;
126 …myConverterData.myConverterArray[ISO8859_7] = ((CharsetMBCS)CharsetICU.forNameICU("ISO8859_7")).sh… in ISO2022InitJP()
129 …myConverterData.myConverterArray[JISX208] = ((CharsetMBCS)CharsetICU.forNameICU("Shift-JIS")).shar… in ISO2022InitJP()
131 …myConverterData.myConverterArray[JISX212] = ((CharsetMBCS)CharsetICU.forNameICU("jisx-212")).share… in ISO2022InitJP()
134 …myConverterData.myConverterArray[GB2312] = ((CharsetMBCS)CharsetICU.forNameICU("ibm-5478")).shared… in ISO2022InitJP()
137 …myConverterData.myConverterArray[KSC5601] = ((CharsetMBCS)CharsetICU.forNameICU("ksc_5601")).share… in ISO2022InitJP()
141 myConverterData.currentConverter = (CharsetMBCS)CharsetICU.forNameICU("icu-internal-25546"); in ISO2022InitJP()
151 …myConverterData.myConverterArray[GB2312_1] = ((CharsetMBCS)CharsetICU.forNameICU("ibm-5478")).shar… in ISO2022InitCN()
153 …myConverterData.myConverterArray[ISO_IR_165] = ((CharsetMBCS)CharsetICU.forNameICU("iso-ir-165")).… in ISO2022InitCN()
[all …]
DUConverterSharedData.java42 CharsetMBCS.UConverterMBCSTable mbcs;
46 mbcs = new CharsetMBCS.UConverterMBCSTable(); in UConverterSharedData()
DCharsetLMBCS.java18 import com.ibm.icu.charset.CharsetMBCS.CharsetDecoderMBCS;
19 import com.ibm.icu.charset.CharsetMBCS.CharsetEncoderMBCS;
535 CharsetMBCS charset;
538 charset = (CharsetMBCS)CharsetICU.forNameICU("ibm-850"); in UConverterDataLMBCS()
556 …extraInfo.OptGrpConverter[i] = ((CharsetMBCS)CharsetICU.forNameICU(OptGroupByteToCPName[i])).share… in CharsetLMBCS()
702 … uniChar = CharsetMBCS.MBCS_SINGLE_SIMPLE_GET_NEXT_BMP(cnv.mbcs, CurByte); in LMBCSGetNextUCharWorker()
723 … if (CharsetMBCS.MBCS_ENTRY_IS_TRANSITION(cnv.mbcs.stateTable[0][CurByte]) /* isLeadByte */) { in LMBCSGetNextUCharWorker()
746 uniChar = CharsetMBCS.MBCS_SINGLE_SIMPLE_GET_NEXT_BMP(cnv.mbcs, CurByte); in LMBCSGetNextUCharWorker()
DCharsetICU.java427 if (this instanceof CharsetMBCS) { in isFixedWidth()
428 …if (((CharsetMBCS)this).sharedData.staticData.maxBytesPerChar == ((CharsetMBCS)this).sharedData.st… in isFixedWidth()
DCharsetProviderICU.java103 CharsetMBCS cs = null; in charsetForName()
105 cs = new CharsetMBCS(charsetName, charsetName, new String[0], classPath, loader); in charsetForName()
DCharsetMBCS.java32 class CharsetMBCS extends CharsetICU { class
169 …public CharsetMBCS(String icuCanonicalName, String javaCanonicalName, String[] aliases, String cla… in CharsetMBCS() method in CharsetMBCS
196 public CharsetMBCS(String icuCanonicalName, String javaCanonicalName, String[] aliases) in CharsetMBCS() method in CharsetMBCS
636 case CharsetMBCS.MBCS_OUTPUT_2: in reconstituteData()
637 case CharsetMBCS.MBCS_OUTPUT_2_SISO: in reconstituteData()
638 case CharsetMBCS.MBCS_OUTPUT_3_EUC: in reconstituteData()
641 case CharsetMBCS.MBCS_OUTPUT_3: in reconstituteData()
642 case CharsetMBCS.MBCS_OUTPUT_4_EUC: in reconstituteData()
645 case CharsetMBCS.MBCS_OUTPUT_4: in reconstituteData()
3434 p = CharsetMBCS.MBCS_POINTER_3_FROM_STAGE_2(bytes, stage2Entry, c); in fromUChar32()
[all …]
/external/icu/icu4j/
Dcoverage-exclusion.txt23 com/ibm/icu/charset/CharsetMBCS#MBCS_ENTRY_SET_STATE:(II)I
24 com/ibm/icu/charset/CharsetMBCS#MBCS_IS_ASCII_ROUNDTRIP:(IJ)Z
25 com/ibm/icu/charset/CharsetMBCS$SISO_Option#valueOf:(Ljava/lang/String;)Lcom/ibm/icu/charset/Charse…