Home
last modified time | relevance | path

Searched refs:fromUChar32 (Results 1 – 25 of 27) sorted by relevance

12

/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetEncoderICU.java44 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 …]
DCharsetISO2022.java1751 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 …]
DCharsetUTF8.java352 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()
DCharsetUTF32.java197 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()
DCharsetUTF16.java272 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()
DCharsetHZ.java256 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()
DCharsetCompoundText.java362 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()
DCharsetASCII.java205 if (fromUChar32 != 0) { in encodeLoop()
211 cr = encodeTrail(source, (char) fromUChar32, flush); in encodeLoop()
DCharsetMBCS.java2914 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()
DCharsetBOCU1.java399 c = fromUChar32; in encodeLoop()
674 fromUChar32 = c<0 ? -c :0; in regularLoop()
DCharsetSCSU.java653 c = fromUChar32; in encodeLoop()
1154 fromUChar32 = c; in endLoop()
DCharsetLMBCS.java866 bytesConverted = extraInfo.encoder.fromUChar32(pUniChar, value, false); in LMBCSConversionWorker()
/external/icu/icu4c/source/common/
Ducnv_u32.cpp243 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 …]
Ducnv_u8.cpp314 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()
Ducnvhz.cpp85 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()
Ducnv2022.cpp473 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 …]
Ducnv_ct.cpp356 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()
Ducnv_u16.cpp95 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()
Ducnvlat1.cpp165 cp=cnv->fromUChar32; in _Latin1FromUnicodeWithOffsets()
289 cnv->fromUChar32=cp; in _Latin1FromUnicodeWithOffsets()
298 cnv->fromUChar32=cp; in _Latin1FromUnicodeWithOffsets()
Ducnvbocu.cpp413 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()
Ducnv_bld.h204 UChar32 fromUChar32; member
Ducnvscsu.cpp190 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()
Ducnv.cpp615 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()
Ducnvmbcs.cpp1983 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 …]
Ducnvisci.cpp266 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()

12