Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Ducnvisci.c200 cnv->toUnicodeStatus = missingCharMarker; in _ISCIIOpen()
252 cnv->toUnicodeStatus = missingCharMarker; in _ISCIIReset()
1181 UChar32* toUnicodeStatus=NULL; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC() local
1195toUnicodeStatus = (UChar32*)&args->converter->toUnicodeStatus;/* contains the mapping to Unicode o… in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1291 if (*toUnicodeStatus != missingCharMarker) { in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1297 …RGET_TO_U(args,source,target,args->offsets,(source-args->source -2),*toUnicodeStatus,data->current… in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1298 *toUnicodeStatus = missingCharMarker; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1307 *toUnicodeStatus = missingCharMarker; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1349 *toUnicodeStatus = missingCharMarker; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1388 *toUnicodeStatus = missingCharMarker; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
[all …]
Ducnv_u32.c56 if (args->converter->toUnicodeStatus && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE()
60 …ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous ca… in T_UConverter_toUnicode_UTF32_BE()
61 args->converter->toUnicodeStatus = 0; in T_UConverter_toUnicode_UTF32_BE()
77 args->converter->toUnicodeStatus = ch + 1; in T_UConverter_toUnicode_UTF32_BE()
137 if (args->converter->toUnicodeStatus && myTarget < targetLimit) { in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
141 …ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous ca… in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
142 args->converter->toUnicodeStatus = 0; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
158 args->converter->toUnicodeStatus = ch + 1; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
515 if (args->converter->toUnicodeStatus && myTarget < targetLimit) in T_UConverter_toUnicode_UTF32_LE()
521 ch = args->converter->toUnicodeStatus - 1; in T_UConverter_toUnicode_UTF32_LE()
[all …]
Ducnv_u8.c113 if (cnv->toUnicodeStatus && myTarget < targetLimit) in ucnv_toUnicode_UTF8()
119 ch = cnv->toUnicodeStatus;/*Stores the previously calculated ch from a previous call*/ in ucnv_toUnicode_UTF8()
120 cnv->toUnicodeStatus = 0; in ucnv_toUnicode_UTF8()
156 cnv->toUnicodeStatus = ch; in ucnv_toUnicode_UTF8()
243 if (cnv->toUnicodeStatus && myTarget < targetLimit) in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
249 ch = cnv->toUnicodeStatus;/*Stores the previously calculated ch from a previous call*/ in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
250 cnv->toUnicodeStatus = 0; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
284 cnv->toUnicodeStatus = ch; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
783 c=(UChar32)utf8->toUnicodeStatus; in ucnv_UTF8FromUTF8()
843 utf8->toUnicodeStatus=0; in ucnv_UTF8FromUTF8()
[all …]
Ducnvhz.c80 cnv->toUnicodeStatus = 0; in _HZOpen()
109 cnv->toUnicodeStatus = 0; in _HZReset()
238 if(args->converter->toUnicodeStatus == 0x00){ in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
244 args->converter->toUnicodeStatus = (uint32_t) (mySourceChar | 0x100); in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
252 uint32_t leadByte = args->converter->toUnicodeStatus & 0xff; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
281 args->converter->toUnicodeStatus =0x00; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
Ducnv_u16.c270 if(length<=0 && cnv->toUnicodeStatus==0) { in _UTF16BEToUnicodeWithOffsets()
287 if(cnv->toUnicodeStatus!=0) { in _UTF16BEToUnicodeWithOffsets()
294 cnv->toUBytes[0]=(uint8_t)cnv->toUnicodeStatus; in _UTF16BEToUnicodeWithOffsets()
296 cnv->toUnicodeStatus=0; in _UTF16BEToUnicodeWithOffsets()
358 cnv->toUnicodeStatus=0x100|p[2]; in _UTF16BEToUnicodeWithOffsets()
866 if(length<=0 && cnv->toUnicodeStatus==0) { in _UTF16LEToUnicodeWithOffsets()
883 if(cnv->toUnicodeStatus!=0) { in _UTF16LEToUnicodeWithOffsets()
890 cnv->toUBytes[0]=(uint8_t)cnv->toUnicodeStatus; in _UTF16LEToUnicodeWithOffsets()
892 cnv->toUnicodeStatus=0; in _UTF16LEToUnicodeWithOffsets()
954 cnv->toUnicodeStatus=0x100|p[2]; in _UTF16LEToUnicodeWithOffsets()
Ducnv_bld.h109 uint32_t toUnicodeStatus; member
189 uint32_t toUnicodeStatus; /* Used to internalize stream status information */ member
Ducnvbocu.cpp961 prev=(int32_t)cnv->toUnicodeStatus; in _Bocu1ToUnicodeWithOffsets()
1136 cnv->toUnicodeStatus=BOCU1_ASCII_PREV; in _Bocu1ToUnicodeWithOffsets()
1140 cnv->toUnicodeStatus=(uint32_t)prev; in _Bocu1ToUnicodeWithOffsets()
1180 prev=(int32_t)cnv->toUnicodeStatus; in _Bocu1ToUnicode()
1335 cnv->toUnicodeStatus=BOCU1_ASCII_PREV; in _Bocu1ToUnicode()
1339 cnv->toUnicodeStatus=(uint32_t)prev; in _Bocu1ToUnicode()
Ducnvlat1.c339 c=(UChar32)utf8->toUnicodeStatus; in ucnv_Latin1FromUTF8()
349 utf8->toUnicodeStatus=0; in ucnv_Latin1FromUTF8()
407 utf8->toUnicodeStatus=utf8->toUBytes[0]=b=*source++; in ucnv_Latin1FromUTF8()
613 if(pToUArgs->converter->toUnicodeStatus!=0) { in ucnv_ASCIIFromUTF8()
Ducnv_u7.c183 cnv->toUnicodeStatus=0x1000000; /* inDirectMode=TRUE */ in _UTF7Reset()
239 uint32_t status=cnv->toUnicodeStatus; in _UTF7ToUnicodeWithOffsets()
446 …cnv->toUnicodeStatus=((uint32_t)inDirectMode<<24)|((uint32_t)((uint8_t)base64Counter)<<16)|(uint32… in _UTF7ToUnicodeWithOffsets()
920 uint32_t status=cnv->toUnicodeStatus; in _IMAPToUnicodeWithOffsets()
1142 …cnv->toUnicodeStatus=((uint32_t)inDirectMode<<24)|((uint32_t)((uint8_t)base64Counter)<<16)|(uint32… in _IMAPToUnicodeWithOffsets()
Ducnvmbcs.cpp1971 cnv->toUnicodeStatus=0; /* offset */ in ucnv_MBCSOpen()
2515 offset=cnv->toUnicodeStatus; in ucnv_MBCSToUnicodeWithOffsets()
2856 cnv->toUnicodeStatus=offset; in ucnv_MBCSToUnicodeWithOffsets()
3002 offset=cnv->toUnicodeStatus; in ucnv_MBCSGetNextUChar()
3127 cnv->toUnicodeStatus=0; in ucnv_MBCSGetNextUChar()
3176 cnv->toUnicodeStatus=0; in ucnv_MBCSGetNextUChar()
5046 c=(UChar32)utf8->toUnicodeStatus; in ucnv_SBCSFromUTF8()
5081 utf8->toUnicodeStatus=0; in ucnv_SBCSFromUTF8()
5190 utf8->toUnicodeStatus=c; in ucnv_SBCSFromUTF8()
5294 utf8->toUnicodeStatus=c; in ucnv_SBCSFromUTF8()
[all …]
Ducnv_bld.cpp1000 myUConverter->toUnicodeStatus = mySharedConverterData->toUnicodeStatus; in ucnv_createConverterFromSharedData()
Ducnv.c605 converter->toUnicodeStatus = converter->sharedData->toUnicodeStatus; in _reset()
Ducnv2022.cpp444 cnv->toUnicodeStatus=0; /* offset */ in setInitialStateToUnicodeKR()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetUTF16.java154 if (toUnicodeStatus != 0) { in decodeLoop()
155 CoderResult cr = decodeTrail(source, target, offsets, (char) toUnicodeStatus); in decodeLoop()
197 toUnicodeStatus = 0; in decodeTrail()
204 toUnicodeStatus = lead; in decodeTrail()
218 toUnicodeStatus = 0; in decodeTrail()
222 toUnicodeStatus = 0; in decodeTrail()
DCharsetISCII.java826 this.toUnicodeStatus = 0xFFFF; in implReset()
935 if (this.toUnicodeStatus != UConverterConstants.missingCharMarker) { in decodeLoop()
941 …teToTargetToU(offsets, (source.position() - 2), source, target, this.toUnicodeStatus, data.current… in decodeLoop()
942 this.toUnicodeStatus = UConverterConstants.missingCharMarker; in decodeLoop()
951 this.toUnicodeStatus = UConverterConstants.missingCharMarker; in decodeLoop()
990 this.toUnicodeStatus = UConverterConstants.missingCharMarker; in decodeLoop()
1022 this.toUnicodeStatus = UConverterConstants.missingCharMarker; in decodeLoop()
1043 … this.toUnicodeStatus = UConverterConstants.missingCharMarker; in decodeLoop()
1067 … if (!gotoCallBack && this.toUnicodeStatus != UConverterConstants.missingCharMarker) { in decodeLoop()
1070 …(this.toUnicodeStatus + PNJ_DELTA) == PNJ_SIGN_VIRAMA && (targetUniChar + PNJ_DELTA) == data.prevT… in decodeLoop()
[all …]
DUConverterSharedData.java52 long toUnicodeStatus; field in UConverterSharedData
79 toUnicodeStatus = toUnicodeStatus_; in UConverterSharedData()
DCharsetHZ.java133 if (toUnicodeStatus == 0) { in decodeLoop()
141 toUnicodeStatus = mySourceChar | 0x100; in decodeLoop()
148 int leadByte = toUnicodeStatus & 0xff; in decodeLoop()
176 toUnicodeStatus = 0x00; in decodeLoop()
DCharsetUTF8.java98 char32 = toUnicodeStatus; in decodeLoop()
102 toUnicodeStatus = 0; in decodeLoop()
112 toUnicodeStatus = char32; in decodeLoop()
218 char32 = toUnicodeStatus; in decodeLoop()
222 toUnicodeStatus = 0; in decodeLoop()
232 toUnicodeStatus = char32; in decodeLoop()
DCharsetUTF7.java181 toUnicodeStatus=(toUnicodeStatus & 0xf0000000) | 0x1000000; in implReset()
202 int status=toUnicodeStatus; in decodeLoop()
471toUnicodeStatus=(inDirectMode<<24 | (((short)base64Counter & UConverterConstants.UNSIGNED_BYTE_MAS… in decodeLoop()
DCharsetDecoderICU.java29 int toUnicodeStatus; field in CharsetDecoderICU
204 toUnicodeStatus = 0 ; in implReset()
DCharsetBOCU1.java800 prev = toUnicodeStatus; in decodeLoop()
1037 toUnicodeStatus = BOCU1_ASCII_PREV; in endLoop()
1041 toUnicodeStatus=prev; in endLoop()
DCharsetMBCS.java2057 offset = toUnicodeStatus; in cnvMBCSToUnicodeWithOffsets()
2351 toUnicodeStatus = offset; in cnvMBCSToUnicodeWithOffsets()
DCharsetISO2022.java2875 myConverterData.currentDecoder.toUnicodeStatus = 0; /* offset */ in setInitialStateToUnicodeKR()