Home
last modified time | relevance | path

Searched refs:myConverterData (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetISO2022.java24 private UConverterDataISO2022 myConverterData; field in CharsetISO2022
97 myConverterData = new UConverterDataISO2022(); in CharsetISO2022()
102 myConverterData.version = version; in CharsetISO2022()
112myConverterData.currentEncoder = (CharsetEncoderMBCS)myConverterData.currentConverter.newEncoder(); in CharsetISO2022()
113myConverterData.currentDecoder = (CharsetDecoderMBCS)myConverterData.currentConverter.newDecoder(); in CharsetISO2022()
124myConverterData.myConverterArray[ISO8859_7] = ((CharsetMBCS)CharsetICU.forNameICU("ISO8859_7")).sh… in ISO2022InitJP()
127myConverterData.myConverterArray[JISX208] = ((CharsetMBCS)CharsetICU.forNameICU("Shift-JIS")).shar… in ISO2022InitJP()
129myConverterData.myConverterArray[JISX212] = ((CharsetMBCS)CharsetICU.forNameICU("jisx-212")).share… in ISO2022InitJP()
132myConverterData.myConverterArray[GB2312] = ((CharsetMBCS)CharsetICU.forNameICU("ibm-5478")).shared… in ISO2022InitJP()
135myConverterData.myConverterArray[KSC5601] = ((CharsetMBCS)CharsetICU.forNameICU("ksc_5601")).share… in ISO2022InitJP()
[all …]
/external/icu/icu4c/source/common/
Ducnv_ct.c262 UConverterDataCompoundText *myConverterData = (UConverterDataCompoundText *) cnv->extraInfo; in _CompoundTextOpen() local
267 myConverterData->myConverterArray[COMPOUND_TEXT_SINGLE_0] = NULL; in _CompoundTextOpen()
268myConverterData->myConverterArray[COMPOUND_TEXT_SINGLE_1] = ucnv_loadSharedData("icu-internal-comp… in _CompoundTextOpen()
269myConverterData->myConverterArray[COMPOUND_TEXT_SINGLE_2] = ucnv_loadSharedData("icu-internal-comp… in _CompoundTextOpen()
270myConverterData->myConverterArray[COMPOUND_TEXT_SINGLE_3] = ucnv_loadSharedData("icu-internal-comp… in _CompoundTextOpen()
271myConverterData->myConverterArray[COMPOUND_TEXT_DOUBLE_1] = ucnv_loadSharedData("icu-internal-comp… in _CompoundTextOpen()
272myConverterData->myConverterArray[COMPOUND_TEXT_DOUBLE_2] = ucnv_loadSharedData("icu-internal-comp… in _CompoundTextOpen()
273myConverterData->myConverterArray[COMPOUND_TEXT_DOUBLE_3] = ucnv_loadSharedData("icu-internal-comp… in _CompoundTextOpen()
274myConverterData->myConverterArray[COMPOUND_TEXT_DOUBLE_4] = ucnv_loadSharedData("icu-internal-comp… in _CompoundTextOpen()
275myConverterData->myConverterArray[COMPOUND_TEXT_DOUBLE_5] = ucnv_loadSharedData("icu-internal-comp… in _CompoundTextOpen()
[all …]
Ducnv2022.cpp440 setInitialStateToUnicodeKR(UConverter* /*converter*/, UConverterDataISO2022 *myConverterData){ in setInitialStateToUnicodeKR() argument
441 if(myConverterData->version == 1) { in setInitialStateToUnicodeKR()
442 UConverter *cnv = myConverterData->currentConverter; in setInitialStateToUnicodeKR()
451 setInitialStateFromUnicodeKR(UConverter* converter,UConverterDataISO2022 *myConverterData){ in setInitialStateFromUnicodeKR() argument
463 if(myConverterData->version == 1) { in setInitialStateFromUnicodeKR()
464 UConverter *cnv = myConverterData->currentConverter; in setInitialStateFromUnicodeKR()
480 UConverterDataISO2022 *myConverterData=(UConverterDataISO2022 *) cnv->extraInfo; in _ISO2022Open() local
485 uprv_memset(myConverterData, 0, sizeof(UConverterDataISO2022)); in _ISO2022Open()
486 myConverterData->currentType = ASCII1; in _ISO2022Open()
492 myConverterData->version = version; in _ISO2022Open()
[all …]
Ducnvhz.c345 UConverterDataHZ *myConverterData=(UConverterDataHZ*)args->converter->extraInfo; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() local
346 UBool isTargetUCharDBCS = (UBool) myConverterData->isTargetUCharDBCS; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
377 int32_t length= ucnv_MBCSFromUChar32(myConverterData->gbConverter->sharedData, in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
390myConverterData->isTargetUCharDBCS = isTargetUCharDBCS = (UBool)(targetUniChar>0x00FF); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
391 … if(oldIsTargetUCharDBCS != isTargetUCharDBCS || !myConverterData->isEscapeAppended ){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
397 myConverterData->isEscapeAppended = TRUE; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
403 myConverterData->isEscapeAppended = TRUE; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
494 myConverterData->isTargetUCharDBCS = isTargetUCharDBCS; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()