Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Ducnvisci.c828 #define WRITE_TO_TARGET_FROM_U(args,offsets,source,target,targetLimit,targetByteUnit,err){ \ argument
832 if(targetByteUnit <= 0xFF){ \
833 *(target)++ = (uint8_t)(targetByteUnit); \
838 if (targetByteUnit > 0xFFFF) { \
839 *(target)++ = (uint8_t)(targetByteUnit>>16); \
847 (uint8_t)(targetByteUnit >> 8); \
849 (uint8_t)targetByteUnit; \
852 *(target)++ = (uint8_t)(targetByteUnit>>8); \
857 *(target)++ = (uint8_t) targetByteUnit; \
863 (uint8_t) (targetByteUnit); \
[all …]
Ducnv2022.cpp2382 uint32_t targetByteUnit = 0x0000; in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC() local
2413 targetByteUnit = missingCharMarker; in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2426 …length = MBCS_FROM_UCHAR32_ISO2022(sharedData,sourceChar,&targetByteUnit,useFallback,MBCS_OUTPUT_2… in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2433 (length == 1 && targetByteUnit > 0x7f) || in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2435 ((uint16_t)(targetByteUnit - 0xa1a1) > (0xfefe - 0xa1a1) || in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2436 (uint8_t)(targetByteUnit - 0xa1) > (0xfe - 0xa1))) in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2438 targetByteUnit=missingCharMarker; in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2440 if (targetByteUnit != missingCharMarker){ in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2443 isTargetByteDBCS = (UBool)(targetByteUnit>0x00FF); in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2455 if(targetByteUnit <= 0x00FF){ in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
[all …]
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetISCII.java1209 int targetByteUnit = 0x0000; in encodeLoop() local
1236 targetByteUnit = ATR << 8; in encodeLoop()
1237 targetByteUnit += 0xff & (byte)lookupInitialData[range].isciiLang; in encodeLoop()
1240 cr = WriteToTargetFromU(offsets, source, target, targetByteUnit); in encodeLoop()
1249 targetByteUnit = UConverterConstants.missingCharMarker; in encodeLoop()
1266 targetByteUnit = ISCII_HALANT; in encodeLoop()
1276 targetByteUnit = ISCII_NUKTA; in encodeLoop()
1278 targetByteUnit = ISCII_INV; in encodeLoop()
1315targetByteUnit = fromUnicodeTable[(short)sourceChar & UConverterConstants.UNSIGNED_BYTE_MASK]; in encodeLoop()
1321 targetByteUnit = UConverterConstants.missingCharMarker; in encodeLoop()
[all …]
DCharsetISO2022.java2650 int[] targetByteUnit = { 0x0000 }; in encodeLoop() local
2674 targetByteUnit[0] = UConverterConstants.missingCharMarker; in encodeLoop()
2688 … length = myConverterData.currentEncoder.fromUChar32(sourceChar, targetByteUnit, usingFallback); in encodeLoop()
2696 (length == 1 && targetByteUnit[0] > 0x7f) || in encodeLoop()
2698 ((char)(targetByteUnit[0] - 0xa1a1) > (0xfefe - 0xa1a1) || in encodeLoop()
2699 … ((targetByteUnit[0] - 0xa1) & UConverterConstants.UNSIGNED_BYTE_MASK) > (0xfe - 0xa1)))) { in encodeLoop()
2700 targetByteUnit[0] = UConverterConstants.missingCharMarker; in encodeLoop()
2703 … if (!gotoGetTrail && targetByteUnit[0] != UConverterConstants.missingCharMarker) { in encodeLoop()
2705 isTargetByteDBCS = (targetByteUnit[0] > 0x00FF); in encodeLoop()
2718 if (targetByteUnit[0] <= 0x00FF) { in encodeLoop()
[all …]