Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Ducnvisci.cpp834 #define WRITE_TO_TARGET_FROM_U(args,offsets,source,target,targetLimit,targetByteUnit,err){ \ argument
838 if(targetByteUnit <= 0xFF){ \
839 *(target)++ = (uint8_t)(targetByteUnit); \
844 if (targetByteUnit > 0xFFFF) { \
845 *(target)++ = (uint8_t)(targetByteUnit>>16); \
853 (uint8_t)(targetByteUnit >> 8); \
855 (uint8_t)targetByteUnit; \
858 *(target)++ = (uint8_t)(targetByteUnit>>8); \
863 *(target)++ = (uint8_t) targetByteUnit; \
869 (uint8_t) (targetByteUnit); \
[all …]
Ducnv2022.cpp2370 uint32_t targetByteUnit = 0x0000; in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC() local
2401 targetByteUnit = missingCharMarker; in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2414 …length = MBCS_FROM_UCHAR32_ISO2022(sharedData,sourceChar,&targetByteUnit,useFallback,MBCS_OUTPUT_2… in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2421 (length == 1 && targetByteUnit > 0x7f) || in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2423 ((uint16_t)(targetByteUnit - 0xa1a1) > (0xfefe - 0xa1a1) || in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2424 (uint8_t)(targetByteUnit - 0xa1) > (0xfe - 0xa1))) in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2426 targetByteUnit=missingCharMarker; in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2428 if (targetByteUnit != missingCharMarker){ in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2431 isTargetByteDBCS = (UBool)(targetByteUnit>0x00FF); in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2443 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.java2664 int[] targetByteUnit = { 0x0000 }; in encodeLoop() local
2688 targetByteUnit[0] = UConverterConstants.missingCharMarker; in encodeLoop()
2702 … length = myConverterData.currentEncoder.fromUChar32(sourceChar, targetByteUnit, usingFallback); in encodeLoop()
2710 (length == 1 && targetByteUnit[0] > 0x7f) || in encodeLoop()
2712 ((char)(targetByteUnit[0] - 0xa1a1) > (0xfefe - 0xa1a1) || in encodeLoop()
2713 … ((targetByteUnit[0] - 0xa1) & UConverterConstants.UNSIGNED_BYTE_MASK) > (0xfe - 0xa1)))) { in encodeLoop()
2714 targetByteUnit[0] = UConverterConstants.missingCharMarker; in encodeLoop()
2717 … if (!gotoGetTrail && targetByteUnit[0] != UConverterConstants.missingCharMarker) { in encodeLoop()
2719 isTargetByteDBCS = (targetByteUnit[0] > 0x00FF); in encodeLoop()
2732 if (targetByteUnit[0] <= 0x00FF) { in encodeLoop()
[all …]