Home
last modified time | relevance | path

Searched refs:fromUnicodeStatus (Results 1 – 20 of 20) sorted by relevance

/external/icu/icu4c/source/common/
Ducnv_u7.cpp192 …cnv->fromUnicodeStatus=(cnv->fromUnicodeStatus&0xf0000000)|0x1000000; /* keep version, inDirectMod… in _UTF7Reset()
203 cnv->fromUnicodeStatus=UCNV_GET_VERSION(cnv)<<28; in _UTF7Open()
490 uint32_t status=cnv->fromUnicodeStatus; in _UTF7FromUnicodeWithOffsets()
722 …cnv->fromUnicodeStatus=(cnv->fromUnicodeStatus&0xf0000000)|0x1000000; /* keep version, inDirectMod… in _UTF7FromUnicodeWithOffsets()
725 cnv->fromUnicodeStatus= in _UTF7FromUnicodeWithOffsets()
726 (cnv->fromUnicodeStatus&0xf0000000)| /* keep version*/ in _UTF7FromUnicodeWithOffsets()
739 switch(cnv->fromUnicodeStatus>>28) { in _UTF7GetName()
1191 uint32_t status=cnv->fromUnicodeStatus; in _IMAPFromUnicodeWithOffsets()
1434 …cnv->fromUnicodeStatus=(cnv->fromUnicodeStatus&0xf0000000)|0x1000000; /* keep version, inDirectMod… in _IMAPFromUnicodeWithOffsets()
1437 cnv->fromUnicodeStatus= in _IMAPFromUnicodeWithOffsets()
[all …]
Ducnv_u32.cpp230 if(args->converter->fromUnicodeStatus==UCNV_NEED_TO_WRITE_BOM) { in T_UConverter_fromUnicode_UTF32_BE()
237 args->converter->fromUnicodeStatus=0; in T_UConverter_fromUnicode_UTF32_BE()
333 if(args->converter->fromUnicodeStatus==UCNV_NEED_TO_WRITE_BOM) { in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
340 args->converter->fromUnicodeStatus=0; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
708 if(args->converter->fromUnicodeStatus==UCNV_NEED_TO_WRITE_BOM) { in T_UConverter_fromUnicode_UTF32_LE()
715 args->converter->fromUnicodeStatus=0; in T_UConverter_fromUnicode_UTF32_LE()
819 if(args->converter->fromUnicodeStatus==UCNV_NEED_TO_WRITE_BOM) { in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC()
826 args->converter->fromUnicodeStatus=0; in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC()
1033 cnv->fromUnicodeStatus=UCNV_NEED_TO_WRITE_BOM; in _UTF32Reset()
Ducnv_u16.cpp73 if(cnv->fromUnicodeStatus==UCNV_NEED_TO_WRITE_BOM) { in _UTF16BEFromUnicodeWithOffsets()
80 cnv->fromUnicodeStatus=0; in _UTF16BEFromUnicodeWithOffsets()
584 cnv->fromUnicodeStatus=UCNV_NEED_TO_WRITE_BOM; in _UTF16BEReset()
674 if(cnv->fromUnicodeStatus==UCNV_NEED_TO_WRITE_BOM) { in _UTF16LEFromUnicodeWithOffsets()
681 cnv->fromUnicodeStatus=0; in _UTF16LEFromUnicodeWithOffsets()
1185 cnv->fromUnicodeStatus=UCNV_NEED_TO_WRITE_BOM; in _UTF16LEReset()
1286 cnv->fromUnicodeStatus=UCNV_NEED_TO_WRITE_BOM; in _UTF16Reset()
Ducnvbocu.cpp414 prev=(int32_t)cnv->fromUnicodeStatus; in _Bocu1FromUnicodeWithOffsets()
637 cnv->fromUnicodeStatus=(uint32_t)prev; in _Bocu1FromUnicodeWithOffsets()
671 prev=(int32_t)cnv->fromUnicodeStatus; in _Bocu1FromUnicode()
866 cnv->fromUnicodeStatus=(uint32_t)prev; in _Bocu1FromUnicode()
Ducnv_bld.h193 uint32_t fromUnicodeStatus; member
Ducnv2022.cpp474 cnv->fromUnicodeStatus=1; /* prevLength */ in setInitialStateFromUnicodeKR()
494 cnv->fromUnicodeStatus =FALSE; in _ISO2022Open()
2392 isTargetByteDBCS=(UBool)args->converter->fromUnicodeStatus; in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2395 isTargetByteDBCS = (UBool) args->converter->fromUnicodeStatus; in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
2576 args->converter->fromUnicodeStatus = (uint32_t)isTargetByteDBCS; in UConverter_fromUnicode_ISO_2022_KR_OFFSETS_LOGIC()
3521 if(args->converter->fromUnicodeStatus) { in _ISO_2022_WriteSub()
3523 args->converter->fromUnicodeStatus = 0; in _ISO_2022_WriteSub()
3528 if(!args->converter->fromUnicodeStatus) { in _ISO_2022_WriteSub()
3530 args->converter->fromUnicodeStatus = 1; in _ISO_2022_WriteSub()
Ducnvhz.cpp83 cnv->fromUnicodeStatus= 0; in _HZOpen()
119 cnv->fromUnicodeStatus= 0; in _HZReset()
Ducnv_ext.cpp713 if((prevLength=cnv->fromUnicodeStatus)!=0) { in ucnv_extWriteFromU()
720 cnv->fromUnicodeStatus=1; in ucnv_extWriteFromU()
724 cnv->fromUnicodeStatus=2; in ucnv_extWriteFromU()
Ducnvmbcs.cpp1984 cnv->fromUnicodeStatus=1; /* prevLength */ in ucnv_MBCSOpen()
4151 prevLength=cnv->fromUnicodeStatus; in ucnv_MBCSFromUnicodeWithOffsets()
4250 cnv->fromUnicodeStatus=prevLength; /* save the old state */ in ucnv_MBCSFromUnicodeWithOffsets()
4400 cnv->fromUnicodeStatus=prevLength; /* save the old state */ in ucnv_MBCSFromUnicodeWithOffsets()
4481 cnv->fromUnicodeStatus=prevLength; /* save the old state */ in ucnv_MBCSFromUnicodeWithOffsets()
4619 prevLength=cnv->fromUnicodeStatus; /* restore SISO state */ in ucnv_MBCSFromUnicodeWithOffsets()
4808 cnv->fromUnicodeStatus=prevLength; in ucnv_MBCSFromUnicodeWithOffsets()
5683 if(cnv->fromUnicodeStatus==2) { in ucnv_MBCSWriteSub()
5685 cnv->fromUnicodeStatus=1; in ucnv_MBCSWriteSub()
5691 if(cnv->fromUnicodeStatus<=1) { in ucnv_MBCSWriteSub()
[all …]
Ducnvisci.cpp927 if (args->converter->fromUnicodeStatus == LF) { in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
930 args->converter->fromUnicodeStatus = 0x0000; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
945 args->converter->fromUnicodeStatus = sourceChar; in UConverter_fromUnicode_ISCII_OFFSETS_LOGIC()
Ducnv.cpp614 converter->fromUnicodeStatus = 0; in _reset()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetUTF32.java173 fromUnicodeStatus = isEndianSpecified ? 0 : NEED_TO_WRITE_BOM; in CharsetEncoderUTF32()
179 fromUnicodeStatus = isEndianSpecified ? 0 : NEED_TO_WRITE_BOM; in implReset()
187 if (fromUnicodeStatus == NEED_TO_WRITE_BOM) { in encodeLoop()
191 fromUnicodeStatus = 0; in encodeLoop()
DCharsetUTF16.java248 fromUnicodeStatus = (isEndianSpecified && version != 1) ? 0 : NEED_TO_WRITE_BOM; in CharsetEncoderUTF16()
254 fromUnicodeStatus = (isEndianSpecified && version != 1) ? 0 : NEED_TO_WRITE_BOM; in implReset()
262 if (fromUnicodeStatus == NEED_TO_WRITE_BOM) { in encodeLoop()
266 fromUnicodeStatus = 0; in encodeLoop()
DCharsetUTF7.java491 fromUnicodeStatus=(fromUnicodeStatus & 0xf0000000) | 0x1000000; in implReset()
509 status=fromUnicodeStatus; in encodeLoop()
760fromUnicodeStatus=((status&0xf0000000) | 0x1000000); /* keep version, inDirectMode=TRUE */ in encodeLoop()
763fromUnicodeStatus=((status&0xf0000000) | (inDirectMode<<24) | ((base64Counter & UConverterConstant… in encodeLoop()
DCharsetEncoderICU.java42 int fromUnicodeStatus; field in CharsetEncoderICU
239 fromUnicodeStatus = 0; in implReset()
DCharsetMBCS.java2917 prevLength = fromUnicodeStatus; in encodeLoop()
3072 fromUnicodeStatus = prevLength; /* save the old state */ in encodeLoop()
3359 fromUnicodeStatus = prevLength; in encodeLoop()
3847 if ((prevLength = fromUnicodeStatus) != 0) { in writeFromU()
3854 fromUnicodeStatus = 1; in writeFromU()
3858 fromUnicodeStatus = 2; in writeFromU()
4554 fromUnicodeStatus = x.prevLength; /* save the old state */ in getTrail()
4583 x.prevLength = fromUnicodeStatus; in unassigned()
4712 if (encoder.fromUnicodeStatus == 2) { in cbFromUWriteSub()
4714 encoder.fromUnicodeStatus = 1; in cbFromUWriteSub()
[all …]
DCharsetISO2022.java2600 if (encoder.fromUnicodeStatus != 0) { in cbFromUWriteSub()
2602 encoder.fromUnicodeStatus = 0; in cbFromUWriteSub()
2607 if (encoder.fromUnicodeStatus == 0) { in cbFromUWriteSub()
2609 encoder.fromUnicodeStatus = 1; in cbFromUWriteSub()
2682 isTargetByteDBCS = fromUnicodeStatus == 0 ? false : true; in encodeLoop()
2844 fromUnicodeStatus = isTargetByteDBCS ? 1 : 0; in encodeLoop()
2910 myConverterData.currentEncoder.fromUnicodeStatus = 1; /* prevLength */ in setInitialStateFromUnicodeKR()
DCharsetBOCU1.java400 prev = fromUnicodeStatus; in encodeLoop()
675 fromUnicodeStatus = prev; in regularLoop()
DCharsetASCII.java186 fromUnicodeStatus = NEED_TO_WRITE_BOM; in implReset()
DCharsetISCII.java1235 if (fromUnicodeStatus == LF) { in encodeLoop()
1238 fromUnicodeStatus = 0x0000; in encodeLoop()
1253 fromUnicodeStatus = sourceChar; in encodeLoop()