Home
last modified time | relevance | path

Searched refs:targetUniChar (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetHZ.java63 int targetUniChar = 0; in decodeLoop() local
145 targetUniChar = 0xffff; in decodeLoop()
161targetUniChar = gbDecoder.simpleGetNextUChar(ByteBuffer.wrap(tempBuf), super.isFallbackUsed()); in decodeLoop()
179 targetUniChar = mySourceChar; /* ASCII */ in decodeLoop()
182 targetUniChar = 0xffff; in decodeLoop()
187 if (targetUniChar < 0xfffe) { in decodeLoop()
192 target.put((char) targetUniChar); in decodeLoop()
202 if (targetUniChar == 0xfffe) { in decodeLoop()
237 int[] targetUniChar = new int[] { 0 }; in encodeLoop() local
252 targetUniChar[0] = MISSING_CHAR_MARKER; in encodeLoop()
[all …]
DCharsetISCII.java833 int targetUniChar = 0x0000; in decodeLoop() local
844 targetUniChar = UConverterConstants.missingCharMarker; in decodeLoop()
882 targetUniChar = (sourceChar == 0xBF) ? DEV_ABBR_SIGN : DEV_ANUDATTA; in decodeLoop()
885 …if ((validityTable[((short)targetUniChar) & UConverterConstants.UNSIGNED_BYTE_MASK] & data.current… in decodeLoop()
894 … = WriteToTargetToU(offsets, (source.position() - 2), source, target, targetUniChar, data.currentD… in decodeLoop()
900 targetUniChar = UConverterConstants.missingCharMarker; in decodeLoop()
910 targetUniChar = 0x0020; /* replace with space according to Indic FAQ */ in decodeLoop()
912 targetUniChar = ZWJ; in decodeLoop()
922 … = WriteToTargetToU(offsets, (source.position() - 2), source, target, targetUniChar, data.currentD… in decodeLoop()
948 targetUniChar = DOUBLE_DANDA; in decodeLoop()
[all …]
DCharsetISO2022.java763 …te static CoderResult toUnicodeCallback(CharsetDecoderICU cnv, int sourceChar, int targetUniChar) { in toUnicodeCallback() argument
774 if (targetUniChar == (UConverterConstants.missingCharMarker-1/* 0xfffe */)) { in toUnicodeCallback()
850 int targetUniChar = 0x0000; in decodeLoop() local
876 targetUniChar = UConverterConstants.missingCharMarker; in decodeLoop()
959 targetUniChar = mySourceChar + (HWKANA_START - 0xa1); in decodeLoop()
969 targetUniChar = mySourceChar; in decodeLoop()
974 targetUniChar = mySourceChar + 0x80; in decodeLoop()
982targetUniChar = CharsetMBCS.MBCS_SINGLE_SIMPLE_GET_NEXT_BMP(myConverterData.myConverterArray[cs].m… in decodeLoop()
990 targetUniChar = jisx201ToU(mySourceChar); in decodeLoop()
996 targetUniChar = mySourceChar + (HWKANA_START - 0x21); in decodeLoop()
[all …]
/external/icu/icu4c/source/common/
Ducnvhz.c160 UChar32 targetUniChar = 0x0000; in UConverter_toUnicode_HZ_OFFSETS_LOGIC() local
253 targetUniChar = 0xffff; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
269 targetUniChar = ucnv_MBCSSimpleGetNextUChar(myData->gbConverter->sharedData, in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
289 targetUniChar = (UChar)mySourceChar; /* ASCII */ in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
292 targetUniChar = 0xffff; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
296 if(targetUniChar < 0xfffe){ in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
301 *(myTarget++)=(UChar)targetUniChar; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
304 if(targetUniChar == 0xfffe){ in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
343 uint32_t targetUniChar = 0x0000; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() local
361 targetUniChar = missingCharMarker; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
[all …]
Ducnvisci.c1116 #define WRITE_TO_TARGET_TO_U(args,source,target,offsets,offset,targetUniChar,delta, err){\ argument
1118 if(targetUniChar>ASCII_END && \
1119 targetUniChar != ZWJ && \
1120 targetUniChar != ZWNJ && \
1121 targetUniChar != DANDA && \
1122 targetUniChar != DOUBLE_DANDA){ \
1124 targetUniChar+=(uint16_t)(delta); \
1128 *(target)++ = (UChar)targetUniChar; \
1134 (UChar)targetUniChar; \
1139 #define GET_MAPPING(sourceChar,targetUniChar,data){ \ argument
[all …]
Ducnv2022.cpp1385 const uint32_t sourceChar, const uint32_t targetUniChar, in toUnicodeCallback() argument
1397 if(targetUniChar == (missingCharMarker-1/*0xfffe*/)){ in toUnicodeCallback()
2104 uint32_t targetUniChar = 0x0000; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC() local
2122 targetUniChar = missingCharMarker; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2128 targetUniChar =missingCharMarker; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2208 targetUniChar = mySourceChar + (HWKANA_START - 0xa1); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2217 targetUniChar = mySourceChar; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2222 targetUniChar = mySourceChar + 0x80; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2230 targetUniChar = in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
2240 targetUniChar = jisx201ToU(mySourceChar); in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
[all …]