Home
last modified time | relevance | path

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

/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetHZ.java72 int mySourceChar = 0; in decodeLoop() local
84 mySourceChar = source.get() & 0xff; in decodeLoop()
89 switch (mySourceChar) { in decodeLoop()
97 target.put((char) mySourceChar); in decodeLoop()
101 isStateDBCS = (mySourceChar == UCNV_OPEN_BRACE); in decodeLoop()
105 this.toUBytesArray[1] = (byte)mySourceChar; in decodeLoop()
125 … if (isStateDBCS ? (0x21 <= mySourceChar && mySourceChar <= 0x7e) : mySourceChar <= 0x7f) { in decodeLoop()
131 toUBytesArray[1] = (byte)mySourceChar; in decodeLoop()
139 if (mySourceChar == UCNV_TILDE) { in decodeLoop()
145 toUnicodeStatus = mySourceChar | 0x100; in decodeLoop()
[all …]
DCharsetISO2022.java852 int mySourceChar = 0x0000; in decodeLoop() local
863 mySourceChar = (toUBytesArray[0] & UConverterConstants.UNSIGNED_BYTE_MASK); in decodeLoop()
881 mySourceChar = source.get() & UConverterConstants.UNSIGNED_BYTE_MASK; in decodeLoop()
882 mySourceCharTemp = mySourceChar; in decodeLoop()
958 …if (!gotoGetTrail && ((mySourceChar >= 0xa1) && (mySourceChar <= 0xdf) && myConverterData.version … in decodeLoop()
960 targetUniChar = mySourceChar + (HWKANA_START - 0xa1); in decodeLoop()
969 if (mySourceChar <= 0x7f) { in decodeLoop()
970 targetUniChar = mySourceChar; in decodeLoop()
974 if (mySourceChar <= 0x7f) { in decodeLoop()
975 targetUniChar = mySourceChar + 0x80; in decodeLoop()
[all …]
/third_party/node/deps/icu-small/source/common/
Ducnvhz.cpp163 int32_t mySourceChar = 0x0000; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() local
178 mySourceChar= (unsigned char) *mySource++; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
183 switch(mySourceChar) { in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
191 *(myTarget++)=(char16_t)mySourceChar; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
196 myData->isStateDBCS = (mySourceChar == UCNV_OPEN_BRACE); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
202 args->converter->toUBytes[1] = static_cast<uint8_t>(mySourceChar); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
224 (0x21 <= mySourceChar && mySourceChar <= 0x7e) : in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
225 mySourceChar <= 0x7f in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
232 args->converter->toUBytes[1] = static_cast<uint8_t>(mySourceChar); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
242 if(mySourceChar == UCNV_TILDE) { in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
[all …]
Ducnv2022.cpp2088 uint32_t mySourceChar = 0x0000; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
2102 mySourceChar = args->converter->toUBytes[0]; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2115 mySourceChar= (unsigned char) *mySource++; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2117 switch(mySourceChar) { in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2186 if( (uint8_t)(mySourceChar - 0xa1) <= (0xdf - 0xa1) && myData->version==4 && in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2190 targetUniChar = mySourceChar + (HWKANA_START - 0xa1); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2198 if(mySourceChar <= 0x7f) { in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2199 targetUniChar = mySourceChar; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2203 if(mySourceChar <= 0x7f) { in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2204 targetUniChar = mySourceChar + 0x80; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
[all …]
Ducnv_ct.cpp473 uint32_t mySourceChar = 0x0000; in UConverter_toUnicode_CompoundText_OFFSETS() local
497 mySourceChar = args->converter->toUBytes[0]; in UConverter_toUnicode_CompoundText_OFFSETS()
499 mySourceChar = (uint8_t)*mySource; in UConverter_toUnicode_CompoundText_OFFSETS()
502 if (mySourceChar == ESC_START) { in UConverter_toUnicode_CompoundText_OFFSETS()
/third_party/icu/icu4c/source/common/
Ducnvhz.cpp163 int32_t mySourceChar = 0x0000; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() local
178 mySourceChar= (unsigned char) *mySource++; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
183 switch(mySourceChar) { in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
191 *(myTarget++)=(UChar)mySourceChar; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
196 myData->isStateDBCS = (mySourceChar == UCNV_OPEN_BRACE); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
202 args->converter->toUBytes[1] = static_cast<uint8_t>(mySourceChar); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
224 (0x21 <= mySourceChar && mySourceChar <= 0x7e) : in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
225 mySourceChar <= 0x7f in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
232 args->converter->toUBytes[1] = static_cast<uint8_t>(mySourceChar); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
242 if(mySourceChar == UCNV_TILDE) { in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
[all …]
Ducnv2022.cpp2088 uint32_t mySourceChar = 0x0000; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
2102 mySourceChar = args->converter->toUBytes[0]; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2115 mySourceChar= (unsigned char) *mySource++; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2117 switch(mySourceChar) { in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2186 if( (uint8_t)(mySourceChar - 0xa1) <= (0xdf - 0xa1) && myData->version==4 && in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2190 targetUniChar = mySourceChar + (HWKANA_START - 0xa1); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2198 if(mySourceChar <= 0x7f) { in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2199 targetUniChar = mySourceChar; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2203 if(mySourceChar <= 0x7f) { in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2204 targetUniChar = mySourceChar + 0x80; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
[all …]
Ducnv_ct.cpp473 uint32_t mySourceChar = 0x0000; in UConverter_toUnicode_CompoundText_OFFSETS() local
497 mySourceChar = args->converter->toUBytes[0]; in UConverter_toUnicode_CompoundText_OFFSETS()
499 mySourceChar = (uint8_t)*mySource; in UConverter_toUnicode_CompoundText_OFFSETS()
502 if (mySourceChar == ESC_START) { in UConverter_toUnicode_CompoundText_OFFSETS()
/third_party/skia/third_party/externals/icu/source/common/
Ducnvhz.cpp163 int32_t mySourceChar = 0x0000; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() local
178 mySourceChar= (unsigned char) *mySource++; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
183 switch(mySourceChar) { in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
191 *(myTarget++)=(UChar)mySourceChar; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
196 myData->isStateDBCS = (mySourceChar == UCNV_OPEN_BRACE); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
202 args->converter->toUBytes[1] = static_cast<uint8_t>(mySourceChar); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
224 (0x21 <= mySourceChar && mySourceChar <= 0x7e) : in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
225 mySourceChar <= 0x7f in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
232 args->converter->toUBytes[1] = static_cast<uint8_t>(mySourceChar); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
242 if(mySourceChar == UCNV_TILDE) { in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
[all …]
Ducnv2022.cpp2020 uint32_t mySourceChar = 0x0000; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
2034 mySourceChar = args->converter->toUBytes[0]; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2047 mySourceChar= (unsigned char) *mySource++; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2049 switch(mySourceChar) { in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2118 if( (uint8_t)(mySourceChar - 0xa1) <= (0xdf - 0xa1) && myData->version==4 && in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2122 targetUniChar = mySourceChar + (HWKANA_START - 0xa1); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2130 if(mySourceChar <= 0x7f) { in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2131 targetUniChar = mySourceChar; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2135 if(mySourceChar <= 0x7f) { in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2136 targetUniChar = mySourceChar + 0x80; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
[all …]
Ducnv_ct.cpp473 uint32_t mySourceChar = 0x0000; in UConverter_toUnicode_CompoundText_OFFSETS() local
497 mySourceChar = args->converter->toUBytes[0]; in UConverter_toUnicode_CompoundText_OFFSETS()
499 mySourceChar = (uint8_t)*mySource; in UConverter_toUnicode_CompoundText_OFFSETS()
502 if (mySourceChar == ESC_START) { in UConverter_toUnicode_CompoundText_OFFSETS()
/third_party/skia/third_party/externals/icu/patches/
Diso2022jp.patch113 tmpSourceChar = (mySourceChar << 8) | trailByte;
115 - _2022ToSJIS((uint8_t)mySourceChar, trailByte, tempBuf);
116 - mySourceChar = tmpSourceChar;
119 - mySourceChar = tmpSourceChar;
126 + mySourceChar = tmpSourceChar;