Home
last modified time | relevance | path

Searched refs:toUnicodeStatus (Results 1 – 22 of 22) sorted by relevance

/external/icu/icu4c/source/common/
Ducnvisci.cpp203 cnv->toUnicodeStatus = missingCharMarker; in _ISCIIOpen()
258 cnv->toUnicodeStatus = missingCharMarker; in _ISCIIReset()
1188 UChar32* toUnicodeStatus=NULL; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC() local
1202toUnicodeStatus = (UChar32*)&args->converter->toUnicodeStatus;/* contains the mapping to Unicode o… in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1298 if (*toUnicodeStatus != missingCharMarker) { in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1304 …RGET_TO_U(args,source,target,args->offsets,(source-args->source -2),*toUnicodeStatus,data->current… in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1305 *toUnicodeStatus = missingCharMarker; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1314 *toUnicodeStatus = missingCharMarker; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1355 *toUnicodeStatus = missingCharMarker; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1394 *toUnicodeStatus = missingCharMarker; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
[all …]
Ducnv_u32.cpp58 if (args->converter->toUnicodeStatus && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
62 …ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous ca… in T_UConverter_toUnicode_UTF32_BE()
63 args->converter->toUnicodeStatus = 0; in T_UConverter_toUnicode_UTF32_BE()
79 args->converter->toUnicodeStatus = ch + 1; in T_UConverter_toUnicode_UTF32_BE()
139 if (args->converter->toUnicodeStatus && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
143 …ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous ca… in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
144 args->converter->toUnicodeStatus = 0; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
160 args->converter->toUnicodeStatus = ch + 1; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
520 if (args->converter->toUnicodeStatus && myTarget < targetLimit) in T_UConverter_toUnicode_UTF32_LE()
526 ch = args->converter->toUnicodeStatus - 1; in T_UConverter_toUnicode_UTF32_LE()
[all …]
Ducnv_u8.cpp79 if (cnv->toUnicodeStatus && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
85 ch = cnv->toUnicodeStatus;/*Stores the previously calculated ch from a previous call*/ in ucnv_toUnicode_UTF8()
86 cnv->toUnicodeStatus = 0; in ucnv_toUnicode_UTF8()
123 cnv->toUnicodeStatus = ch; in ucnv_toUnicode_UTF8()
197 if (cnv->toUnicodeStatus && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
203 ch = cnv->toUnicodeStatus;/*Stores the previously calculated ch from a previous call*/ in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
204 cnv->toUnicodeStatus = 0; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
239 cnv->toUnicodeStatus = ch; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
673 c=(UChar32)utf8->toUnicodeStatus; in ucnv_UTF8FromUTF8()
731 utf8->toUnicodeStatus=0; in ucnv_UTF8FromUTF8()
[all …]
Ducnvhz.cpp82 cnv->toUnicodeStatus = 0; in _HZOpen()
111 cnv->toUnicodeStatus = 0; in _HZReset()
240 if(args->converter->toUnicodeStatus == 0x00){ in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
246 args->converter->toUnicodeStatus = (uint32_t) (mySourceChar | 0x100); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
254 uint32_t leadByte = args->converter->toUnicodeStatus & 0xff; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
283 args->converter->toUnicodeStatus =0x00; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
Ducnv_u16.cpp274 if(length<=0 && cnv->toUnicodeStatus==0) { in _UTF16BEToUnicodeWithOffsets()
291 if(cnv->toUnicodeStatus!=0) { in _UTF16BEToUnicodeWithOffsets()
298 cnv->toUBytes[0]=(uint8_t)cnv->toUnicodeStatus; in _UTF16BEToUnicodeWithOffsets()
300 cnv->toUnicodeStatus=0; in _UTF16BEToUnicodeWithOffsets()
362 cnv->toUnicodeStatus=0x100|p[2]; in _UTF16BEToUnicodeWithOffsets()
875 if(length<=0 && cnv->toUnicodeStatus==0) { in _UTF16LEToUnicodeWithOffsets()
892 if(cnv->toUnicodeStatus!=0) { in _UTF16LEToUnicodeWithOffsets()
899 cnv->toUBytes[0]=(uint8_t)cnv->toUnicodeStatus; in _UTF16LEToUnicodeWithOffsets()
901 cnv->toUnicodeStatus=0; in _UTF16LEToUnicodeWithOffsets()
963 cnv->toUnicodeStatus=0x100|p[2]; in _UTF16LEToUnicodeWithOffsets()
Ducnv_bld.h111 uint32_t toUnicodeStatus; member
191 uint32_t toUnicodeStatus; /* Used to internalize stream status information */ member
Ducnvbocu.cpp980 prev=(int32_t)cnv->toUnicodeStatus; in _Bocu1ToUnicodeWithOffsets()
1155 cnv->toUnicodeStatus=BOCU1_ASCII_PREV; in _Bocu1ToUnicodeWithOffsets()
1159 cnv->toUnicodeStatus=(uint32_t)prev; in _Bocu1ToUnicodeWithOffsets()
1199 prev=(int32_t)cnv->toUnicodeStatus; in _Bocu1ToUnicode()
1354 cnv->toUnicodeStatus=BOCU1_ASCII_PREV; in _Bocu1ToUnicode()
1358 cnv->toUnicodeStatus=(uint32_t)prev; in _Bocu1ToUnicode()
Ducnvlat1.cpp343 c=(UChar32)utf8->toUnicodeStatus; in ucnv_Latin1FromUTF8()
353 utf8->toUnicodeStatus=0; in ucnv_Latin1FromUTF8()
411 utf8->toUnicodeStatus=utf8->toUBytes[0]=b=*source++; in ucnv_Latin1FromUTF8()
623 if(pToUArgs->converter->toUnicodeStatus!=0) { in ucnv_ASCIIFromUTF8()
Ducnv_u7.cpp187 cnv->toUnicodeStatus=0x1000000; /* inDirectMode=TRUE */ in _UTF7Reset()
244 uint32_t status=cnv->toUnicodeStatus; in _UTF7ToUnicodeWithOffsets()
451 …cnv->toUnicodeStatus=((uint32_t)inDirectMode<<24)|((uint32_t)((uint8_t)base64Counter)<<16)|(uint32… in _UTF7ToUnicodeWithOffsets()
930 uint32_t status=cnv->toUnicodeStatus; in _IMAPToUnicodeWithOffsets()
1152 …cnv->toUnicodeStatus=((uint32_t)inDirectMode<<24)|((uint32_t)((uint8_t)base64Counter)<<16)|(uint32… in _IMAPToUnicodeWithOffsets()
Ducnvmbcs.cpp1978 cnv->toUnicodeStatus=0; /* offset */ in ucnv_MBCSOpen()
2526 offset=cnv->toUnicodeStatus; in ucnv_MBCSToUnicodeWithOffsets()
2867 cnv->toUnicodeStatus=offset; in ucnv_MBCSToUnicodeWithOffsets()
3013 offset=cnv->toUnicodeStatus; in ucnv_MBCSGetNextUChar()
3138 cnv->toUnicodeStatus=0; in ucnv_MBCSGetNextUChar()
3187 cnv->toUnicodeStatus=0; in ucnv_MBCSGetNextUChar()
5067 c=(UChar32)utf8->toUnicodeStatus; in ucnv_SBCSFromUTF8()
5101 utf8->toUnicodeStatus=0; in ucnv_SBCSFromUTF8()
5210 utf8->toUnicodeStatus=c; in ucnv_SBCSFromUTF8()
5310 utf8->toUnicodeStatus=c; in ucnv_SBCSFromUTF8()
[all …]
Ducnv_bld.cpp1002 myUConverter->toUnicodeStatus = mySharedConverterData->toUnicodeStatus; in ucnv_createConverterFromSharedData()
Ducnv.cpp607 converter->toUnicodeStatus = converter->sharedData->toUnicodeStatus; in _reset()
Ducnv2022.cpp451 cnv->toUnicodeStatus=0; /* offset */ in setInitialStateToUnicodeKR()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetUTF16.java158 if (toUnicodeStatus != 0) { in decodeLoop()
159 CoderResult cr = decodeTrail(source, target, offsets, (char) toUnicodeStatus); in decodeLoop()
201 toUnicodeStatus = 0; in decodeTrail()
208 toUnicodeStatus = lead; in decodeTrail()
222 toUnicodeStatus = 0; in decodeTrail()
226 toUnicodeStatus = 0; in decodeTrail()
DCharsetISCII.java823 this.toUnicodeStatus = 0xFFFF; in implReset()
933 if (this.toUnicodeStatus != UConverterConstants.missingCharMarker) { in decodeLoop()
939 …teToTargetToU(offsets, (source.position() - 2), source, target, this.toUnicodeStatus, data.current… in decodeLoop()
940 this.toUnicodeStatus = UConverterConstants.missingCharMarker; in decodeLoop()
949 this.toUnicodeStatus = UConverterConstants.missingCharMarker; in decodeLoop()
988 this.toUnicodeStatus = UConverterConstants.missingCharMarker; in decodeLoop()
1020 this.toUnicodeStatus = UConverterConstants.missingCharMarker; in decodeLoop()
1041 … this.toUnicodeStatus = UConverterConstants.missingCharMarker; in decodeLoop()
1065 … if (!gotoCallBack && this.toUnicodeStatus != UConverterConstants.missingCharMarker) { in decodeLoop()
1068 …(this.toUnicodeStatus + PNJ_DELTA) == PNJ_SIGN_VIRAMA && (targetUniChar + PNJ_DELTA) == data.prevT… in decodeLoop()
[all …]
DCharsetHZ.java137 if (toUnicodeStatus == 0) { in decodeLoop()
145 toUnicodeStatus = mySourceChar | 0x100; in decodeLoop()
152 int leadByte = toUnicodeStatus & 0xff; in decodeLoop()
180 toUnicodeStatus = 0x00; in decodeLoop()
DCharsetUTF8.java82 char32 = toUnicodeStatus; in decodeLoop()
86 toUnicodeStatus = 0; in decodeLoop()
96 toUnicodeStatus = char32; in decodeLoop()
204 char32 = toUnicodeStatus; in decodeLoop()
208 toUnicodeStatus = 0; in decodeLoop()
218 toUnicodeStatus = char32; in decodeLoop()
DCharsetUTF7.java184 toUnicodeStatus=(toUnicodeStatus & 0xf0000000) | 0x1000000; in implReset()
206 int status=toUnicodeStatus; in decodeLoop()
475toUnicodeStatus=(inDirectMode<<24 | ((base64Counter & UConverterConstants.UNSIGNED_BYTE_MASK)<<16)… in decodeLoop()
DCharsetDecoderICU.java31 int toUnicodeStatus; field in CharsetDecoderICU
211 toUnicodeStatus = 0 ; in implReset()
DCharsetBOCU1.java803 prev = toUnicodeStatus; in decodeLoop()
1040 toUnicodeStatus = BOCU1_ASCII_PREV; in endLoop()
1044 toUnicodeStatus=prev; in endLoop()
DCharsetMBCS.java2052 offset = toUnicodeStatus; in cnvMBCSToUnicodeWithOffsets()
2346 toUnicodeStatus = offset; in cnvMBCSToUnicodeWithOffsets()
DCharsetISO2022.java2891 myConverterData.currentDecoder.toUnicodeStatus = 0; /* offset */ in setInitialStateToUnicodeKR()