/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 | 352 if (fromUChar32 != 0) { in encodeLoop() 358 fromUChar32); in encodeLoop() 444 if (fromUChar32 != 0) { in encodeLoop() 447 cr = encodeFourBytes(source, target, fromUChar32); in encodeLoop() 528 char32 = fromUChar32; in encodeFourBytes() 529 fromUChar32 = 0; in encodeFourBytes() 567 char32 = fromUChar32; in encodeFourBytes() 568 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.cpp | 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.cpp | 314 if (cnv->fromUChar32 && myTarget < targetLimit) in ucnv_fromUnicode_UTF8() 316 ch = cnv->fromUChar32; in ucnv_fromUnicode_UTF8() 317 cnv->fromUChar32 = 0; in ucnv_fromUnicode_UTF8() 358 cnv->fromUChar32 = ch; in ucnv_fromUnicode_UTF8() 365 cnv->fromUChar32 = ch; in ucnv_fromUnicode_UTF8() 430 if (cnv->fromUChar32 && myTarget < targetLimit) in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() 432 ch = cnv->fromUChar32; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() 433 cnv->fromUChar32 = 0; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() 485 cnv->fromUChar32 = ch; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC() 492 cnv->fromUChar32 = ch; in ucnv_fromUnicode_UTF8_OFFSETS_LOGIC()
|
D | ucnvhz.cpp | 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.cpp | 356 if((sourceChar = cnv->fromUChar32)!=0 && target< targetLimit) { in UConverter_fromUnicode_CompoundText_OFFSETS() 375 cnv->fromUChar32=0x00; in UConverter_fromUnicode_CompoundText_OFFSETS() 382 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_CompoundText_OFFSETS() 387 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_CompoundText_OFFSETS() 394 cnv->fromUChar32=sourceChar; in UConverter_fromUnicode_CompoundText_OFFSETS()
|
D | ucnv_u16.cpp | 95 if((c=(UChar)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) { in _UTF16BEFromUnicodeWithOffsets() 112 cnv->fromUChar32=c=0; in _UTF16BEFromUnicodeWithOffsets() 232 cnv->fromUChar32=c; in _UTF16BEFromUnicodeWithOffsets() 696 if((c=(UChar)cnv->fromUChar32)!=0 && U16_IS_TRAIL(trail=*source) && targetCapacity>=4) { in _UTF16LEFromUnicodeWithOffsets() 713 cnv->fromUChar32=c=0; in _UTF16LEFromUnicodeWithOffsets() 833 cnv->fromUChar32=c; in _UTF16LEFromUnicodeWithOffsets()
|
D | ucnvlat1.cpp | 165 cp=cnv->fromUChar32; in _Latin1FromUnicodeWithOffsets() 289 cnv->fromUChar32=cp; in _Latin1FromUnicodeWithOffsets() 298 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.cpp | 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.cpp | 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() 2850 }else if(cnv->fromUChar32 > 0){ in ucnv_fromUCountPending()
|
D | ucnvmbcs.cpp | 1983 cnv->fromUChar32=0; in ucnv_MBCSOpen() 3448 c=cnv->fromUChar32; in ucnv_MBCSDoubleFromUnicodeWithOffsets() 3628 cnv->fromUChar32=c; in ucnv_MBCSDoubleFromUnicodeWithOffsets() 3681 c=cnv->fromUChar32; in ucnv_MBCSSingleFromUnicodeWithOffsets() 3794 cnv->fromUChar32=c; in ucnv_MBCSSingleFromUnicodeWithOffsets() 3857 c=cnv->fromUChar32; in ucnv_MBCSSingleFromBMPWithOffsets() 4062 cnv->fromUChar32=c; in ucnv_MBCSSingleFromBMPWithOffsets() 4148 c=cnv->fromUChar32; in ucnv_MBCSFromUnicodeWithOffsets() 4807 cnv->fromUChar32=c; in ucnv_MBCSFromUnicodeWithOffsets() 5271 cnv->fromUChar32=c; in ucnv_SBCSFromUTF8() [all …]
|
D | ucnvisci.cpp | 266 cnv->fromUChar32=0x0000; in _ISCIIReset() 920 if ((sourceChar = args->converter->fromUChar32)!=0) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC() 1097 args->converter->fromUChar32=sourceChar; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
|