/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetEncoderICU.java | 44 int fromUChar32; field in CharsetEncoderICU 240 fromUChar32 = 0; in implReset() 264 fromUChar32 = 0; in encodeLoop() 454 && source.remaining() == 0 && fromUChar32 == 0); in fromUnicodeWithCallback() 536 } else if (flush && fromUChar32 != 0) { in fromUnicodeWithCallback() 607 codePoint = fromUChar32; in fromUnicodeWithCallback() 609 fromUChar32); in fromUnicodeWithCallback() 613 fromUChar32 = 0; in fromUnicodeWithCallback() 747 } else if (fromUChar32 > 0) { in fromUCountPending() 869 fromUChar32 = lead; in handleSurrogates() [all …]
|
D | CharsetISO2022.java | 1751 if ((sourceChar = fromUChar32) != 0 && target.hasRemaining()) { in encodeLoop() 1777 fromUChar32 = 0x00; in encodeLoop() 1784 fromUChar32 = sourceChar; in encodeLoop() 1789 fromUChar32 = sourceChar; in encodeLoop() 1796 fromUChar32 = sourceChar; in encodeLoop() 1805 fromUChar32 = sourceChar; in encodeLoop() 1924 … len2 = myConverterData.currentEncoder.fromUChar32(sourceChar, value, usingFallback); in encodeLoop() 1958 … len2 = myConverterData.currentEncoder.fromUChar32(sourceChar, value, usingFallback); in encodeLoop() 2034 fromUChar32 = sourceChar; in encodeLoop() 2079 flush && !source.hasRemaining() && fromUChar32 == 0) { in encodeLoop() [all …]
|
D | CharsetUTF8.java | 380 if (fromUChar32 != 0) { in encodeLoop() 386 fromUChar32); in encodeLoop() 472 if (fromUChar32 != 0) { in encodeLoop() 475 cr = encodeFourBytes(source, target, fromUChar32); in encodeLoop() 556 char32 = fromUChar32; in encodeFourBytes() 557 fromUChar32 = 0; in encodeFourBytes() 595 char32 = fromUChar32; in encodeFourBytes() 596 fromUChar32 = 0; in encodeFourBytes()
|
D | CharsetUTF32.java | 197 if (fromUChar32 != 0) { in encodeLoop() 202 cr = encodeChar(source, target, offsets, (char) fromUChar32); in encodeLoop() 229 char32 = fromUChar32; in encodeChar() 230 fromUChar32 = 0; in encodeChar()
|
D | CharsetUTF16.java | 272 if (fromUChar32 != 0) { in encodeLoop() 277 cr = encodeChar(source, target, offsets, (char) fromUChar32); in encodeLoop() 303 char trail = UTF16.getTrailSurrogate(fromUChar32); in encodeChar() 304 fromUChar32 = 0; in encodeChar()
|
D | CharsetHZ.java | 256 if (fromUChar32 != 0 && target.hasRemaining()) { in encodeLoop() 257 CoderResult cr = handleSurrogates(source, (char) fromUChar32); in encodeLoop() 278 … length = gbEncoder.fromUChar32(mySourceChar, targetUniChar, super.isFallbackUsed()); in encodeLoop() 352 fromUChar32 = mySourceChar; in encodeLoop()
|
D | CharsetCompoundText.java | 362 if ((sourceChar = fromUChar32) != 0 && target.hasRemaining()) { in encodeLoop() 392 fromUChar32 = 0x00; in encodeLoop() 399 fromUChar32 = sourceChar; in encodeLoop() 404 fromUChar32 = sourceChar; in encodeLoop() 411 fromUChar32 = sourceChar; in encodeLoop()
|
D | CharsetASCII.java | 205 if (fromUChar32 != 0) { in encodeLoop() 211 cr = encodeTrail(source, (char) fromUChar32, flush); in encodeLoop()
|
D | CharsetMBCS.java | 2914 c = fromUChar32; in encodeLoop() 3358 fromUChar32 = c; in encodeLoop() 3381 int fromUChar32(int c, int[] pValue, boolean isUseFallback) { in fromUChar32() method in CharsetMBCS.CharsetEncoderMBCS 3584 fromUChar32 = preFromUFirstCP; in continueMatchFromU() 4019 c = fromUChar32; in cnvMBCSSingleFromBMPWithOffsets() 4142 fromUChar32 = c; in cnvMBCSSingleFromBMPWithOffsets() 4189 c = fromUChar32; in cnvMBCSSingleFromUnicodeWithOffsets() 4292 fromUChar32 = c; in cnvMBCSSingleFromUnicodeWithOffsets() 4333 c = fromUChar32; in cnvMBCSDoubleFromUnicodeWithOffsets() 4482 fromUChar32 = c; in cnvMBCSDoubleFromUnicodeWithOffsets()
|
D | CharsetBOCU1.java | 399 c = fromUChar32; in encodeLoop() 674 fromUChar32 = c<0 ? -c :0; in regularLoop()
|
D | CharsetSCSU.java | 653 c = fromUChar32; in encodeLoop() 1154 fromUChar32 = c; in endLoop()
|
D | CharsetLMBCS.java | 866 bytesConverted = extraInfo.encoder.fromUChar32(pUniChar, value, false); in LMBCSConversionWorker()
|
/external/icu/icu4c/source/common/ |
D | ucnv_u32.c | 243 if (args->converter->fromUChar32) { in T_UConverter_fromUnicode_UTF32_BE() 244 ch = args->converter->fromUChar32; in T_UConverter_fromUnicode_UTF32_BE() 245 args->converter->fromUChar32 = 0; in T_UConverter_fromUnicode_UTF32_BE() 264 args->converter->fromUChar32 = ch; in T_UConverter_fromUnicode_UTF32_BE() 271 args->converter->fromUChar32 = ch; in T_UConverter_fromUnicode_UTF32_BE() 283 args->converter->fromUChar32 = ch; in T_UConverter_fromUnicode_UTF32_BE() 347 if (args->converter->fromUChar32) { in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC() 348 ch = args->converter->fromUChar32; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC() 349 args->converter->fromUChar32 = 0; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC() 368 args->converter->fromUChar32 = ch; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC() [all …]
|
D | ucnv_u8.c | 373 if (cnv->fromUChar32 && myTarget < targetLimit) in ucnv_fromUnicode_UTF8() 375 ch = cnv->fromUChar32; in ucnv_fromUnicode_UTF8() 376 cnv->fromUChar32 = 0; in ucnv_fromUnicode_UTF8() 417 cnv->fromUChar32 = ch; in ucnv_fromUnicode_UTF8() 424 cnv->fromUChar32 = ch; in ucnv_fromUnicode_UTF8() 489 if (cnv->fromUChar32 && myTarget < targetLimit) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() 491 ch = cnv->fromUChar32; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() 492 cnv->fromUChar32 = 0; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() 544 cnv->fromUChar32 = ch; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() 551 cnv->fromUChar32 = ch; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
|
D | ucnvhz.c | 85 cnv->fromUChar32=0x0000; in _HZOpen() 120 cnv->fromUChar32=0x0000; in _HZReset() 358 if(args->converter->fromUChar32!=0 && myTargetIndex < targetLength) { in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() 451 args->converter->fromUChar32=mySourceChar; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() 459 … mySourceChar=U16_GET_SUPPLEMENTARY(args->converter->fromUChar32, trail); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() 460 args->converter->fromUChar32=0x00; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() 483 args->converter->fromUChar32=mySourceChar; in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
|
D | ucnv2022.cpp | 473 cnv->fromUChar32=0; in setInitialStateFromUnicodeKR() 1697 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) { in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1716 cnv->fromUChar32=0x00; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1723 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1728 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1735 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1744 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 1978 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2033 args->flush && source>=sourceLimit && cnv->fromUChar32==0 in UConverter_fromUnicode_ISO_2022_JP_OFFSETS_LOGIC() 2345 myConverterData->currentConverter->fromUChar32 = saveConv->fromUChar32; in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC_IBM() [all …]
|
D | ucnv_ct.c | 351 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) { in UConverter_fromUnicode_CompoundText_OFFSETS() 370 cnv->fromUChar32=0x00; in UConverter_fromUnicode_CompoundText_OFFSETS() 377 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_CompoundText_OFFSETS() 382 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_CompoundText_OFFSETS() 389 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_CompoundText_OFFSETS()
|
D | ucnv_u16.c | 93 if((c=(UChar)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) { in _UTF16BEFromUnicodeWithOffsets() 110 cnv->fromUChar32=c=0; in _UTF16BEFromUnicodeWithOffsets() 230 cnv->fromUChar32=c; in _UTF16BEFromUnicodeWithOffsets() 692 if((c=(UChar)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) { in _UTF16LEFromUnicodeWithOffsets() 709 cnv->fromUChar32=c=0; in _UTF16LEFromUnicodeWithOffsets() 829 cnv->fromUChar32=c; in _UTF16LEFromUnicodeWithOffsets()
|
D | ucnvlat1.c | 163 cp=cnv->fromUChar32; in _Latin1FromUnicodeWithOffsets() 287 cnv->fromUChar32=cp; in _Latin1FromUnicodeWithOffsets() 296 cnv->fromUChar32=cp; in _Latin1FromUnicodeWithOffsets()
|
D | ucnvbocu.cpp | 413 c=cnv->fromUChar32; in _Bocu1FromUnicodeWithOffsets() 636 cnv->fromUChar32= c<0 ? -c : 0; in _Bocu1FromUnicodeWithOffsets() 670 c=cnv->fromUChar32; in _Bocu1FromUnicode() 865 cnv->fromUChar32= c<0 ? -c : 0; in _Bocu1FromUnicode()
|
D | ucnv_bld.h | 204 UChar32 fromUChar32; member
|
D | ucnvscsu.c | 190 cnv->fromUChar32=0; in _SCSUReset() 1052 c=cnv->fromUChar32; in _SCSUFromUnicodeWithOffsets() 1383 cnv->fromUChar32=c; in _SCSUFromUnicodeWithOffsets() 1556 c=cnv->fromUChar32; in _SCSUFromUnicode() 1858 cnv->fromUChar32=c; in _SCSUFromUnicode()
|
D | ucnv.c | 615 converter->fromUChar32 = 0; in _reset() 916 cnv->fromUChar32==0); in _fromUnicodeWithCallback() 1005 } else if(pArgs->flush && cnv->fromUChar32!=0) { in _fromUnicodeWithCallback() 1084 codePoint=cnv->fromUChar32; in _fromUnicodeWithCallback() 1090 cnv->fromUChar32=0; in _fromUnicodeWithCallback() 2858 }else if(cnv->fromUChar32 > 0){ in ucnv_fromUCountPending()
|
D | ucnvmbcs.cpp | 1982 cnv->fromUChar32=0; in ucnv_MBCSOpen() 3447 c=cnv->fromUChar32; in ucnv_MBCSDoubleFromUnicodeWithOffsets() 3627 cnv->fromUChar32=c; in ucnv_MBCSDoubleFromUnicodeWithOffsets() 3680 c=cnv->fromUChar32; in ucnv_MBCSSingleFromUnicodeWithOffsets() 3793 cnv->fromUChar32=c; in ucnv_MBCSSingleFromUnicodeWithOffsets() 3856 c=cnv->fromUChar32; in ucnv_MBCSSingleFromBMPWithOffsets() 4061 cnv->fromUChar32=c; in ucnv_MBCSSingleFromBMPWithOffsets() 4147 c=cnv->fromUChar32; in ucnv_MBCSFromUnicodeWithOffsets() 4806 cnv->fromUChar32=c; in ucnv_MBCSFromUnicodeWithOffsets() 5278 cnv->fromUChar32=c; in ucnv_SBCSFromUTF8() [all …]
|
D | ucnvisci.c | 262 cnv->fromUChar32=0x0000; in _ISCIIReset() 916 if ((sourceChar = args->converter->fromUChar32)!=0) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() 1093 args->converter->fromUChar32=sourceChar; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
|