Home
last modified time | relevance | path

Searched refs:mySourceChar (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetHZ.java68 int mySourceChar = 0; in decodeLoop() local
80 mySourceChar = source.get() & 0xff; in decodeLoop()
85 switch (mySourceChar) { in decodeLoop()
93 target.put((char) mySourceChar); in decodeLoop()
97 isStateDBCS = (mySourceChar == UCNV_OPEN_BRACE); in decodeLoop()
101 this.toUBytesArray[1] = (byte)mySourceChar; in decodeLoop()
121 … if (isStateDBCS ? (0x21 <= mySourceChar && mySourceChar <= 0x7e) : mySourceChar <= 0x7f) { in decodeLoop()
127 toUBytesArray[1] = (byte)mySourceChar; in decodeLoop()
135 if (mySourceChar == UCNV_TILDE) { in decodeLoop()
141 toUnicodeStatus = mySourceChar | 0x100; in decodeLoop()
[all …]
DCharsetISO2022.java851 int mySourceChar = 0x0000; in decodeLoop() local
862 mySourceChar = (toUBytesArray[0] & UConverterConstants.UNSIGNED_BYTE_MASK); in decodeLoop()
880 mySourceChar = source.get() & UConverterConstants.UNSIGNED_BYTE_MASK; in decodeLoop()
881 mySourceCharTemp = mySourceChar; in decodeLoop()
957 …if (!gotoGetTrail && ((mySourceChar >= 0xa1) && (mySourceChar <= 0xdf) && myConverterData.version … in decodeLoop()
959 targetUniChar = mySourceChar + (HWKANA_START - 0xa1); in decodeLoop()
968 if (mySourceChar <= 0x7f) { in decodeLoop()
969 targetUniChar = mySourceChar; in decodeLoop()
973 if (mySourceChar <= 0x7f) { in decodeLoop()
974 targetUniChar = mySourceChar + 0x80; in decodeLoop()
[all …]
/external/icu/icu4c/source/common/
Ducnvhz.c161 int32_t mySourceChar = 0x0000; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() local
176 mySourceChar= (unsigned char) *mySource++; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
181 switch(mySourceChar) { in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
189 *(myTarget++)=(UChar)mySourceChar; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
194 myData->isStateDBCS = (mySourceChar == UCNV_OPEN_BRACE); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
200 args->converter->toUBytes[1] = mySourceChar; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
222 (0x21 <= mySourceChar && mySourceChar <= 0x7e) : in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
223 mySourceChar <= 0x7f in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
230 args->converter->toUBytes[1] = mySourceChar; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
240 if(mySourceChar == UCNV_TILDE) { in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
[all …]
Ducnv2022.cpp2105 uint32_t mySourceChar = 0x0000; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
2119 mySourceChar = args->converter->toUBytes[0]; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2132 mySourceChar= (unsigned char) *mySource++; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2134 switch(mySourceChar) { in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2204 if( (uint8_t)(mySourceChar - 0xa1) <= (0xdf - 0xa1) && myData->version==4 && in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2208 targetUniChar = mySourceChar + (HWKANA_START - 0xa1); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2216 if(mySourceChar <= 0x7f) { in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2217 targetUniChar = mySourceChar; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2221 if(mySourceChar <= 0x7f) { in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2222 targetUniChar = mySourceChar + 0x80; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
[all …]
Ducnv_ct.c466 uint32_t mySourceChar = 0x0000; in UConverter_toUnicode_CompoundText_OFFSETS() local
490 mySourceChar = args->converter->toUBytes[0]; in UConverter_toUnicode_CompoundText_OFFSETS()
492 mySourceChar = (uint8_t)*mySource; in UConverter_toUnicode_CompoundText_OFFSETS()
495 if (mySourceChar == ESC_START) { in UConverter_toUnicode_CompoundText_OFFSETS()