Home
last modified time | relevance | path

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

12

/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_u8.cpp85 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()
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()
676 c=(UChar32)utf8->toUnicodeStatus; in ucnv_UTF8FromUTF8()
716 utf8->toUnicodeStatus=0; in ucnv_UTF8FromUTF8()
779 utf8->toUnicodeStatus=c; in ucnv_UTF8FromUTF8()
832 utf8->toUnicodeStatus=c; in ucnv_UTF8FromUTF8()
Ducnv_u32.cpp62 …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()
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()
526 ch = args->converter->toUnicodeStatus - 1; in T_UConverter_toUnicode_UTF32_LE()
527 args->converter->toUnicodeStatus = 0; in T_UConverter_toUnicode_UTF32_LE()
547 args->converter->toUnicodeStatus = ch + 1; in T_UConverter_toUnicode_UTF32_LE()
613 ch = args->converter->toUnicodeStatus - 1; in T_UConverter_toUnicode_UTF32_LE_OFFSET_LOGIC()
[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()
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()
Ducnvlat1.cpp344 c=(UChar32)utf8->toUnicodeStatus; in ucnv_Latin1FromUTF8()
357 utf8->toUnicodeStatus=0; in ucnv_Latin1FromUTF8()
415 utf8->toUnicodeStatus=utf8->toUBytes[0]=b=*source++; in ucnv_Latin1FromUTF8()
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()
5070 c=(UChar32)utf8->toUnicodeStatus; in ucnv_SBCSFromUTF8()
5102 utf8->toUnicodeStatus=0; in ucnv_SBCSFromUTF8()
5211 utf8->toUnicodeStatus=c; in ucnv_SBCSFromUTF8()
5311 utf8->toUnicodeStatus=c; in ucnv_SBCSFromUTF8()
[all …]
Ducnv_bld.cpp1007 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()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DUTS46Test.java792 String toUnicodeStatus = fields[2].trim(); in IdnaTest() local
807 toAsciiNStatus = toUnicodeStatus; in IdnaTest()
830 … checkIdnaTestResult(line, "toUnicodeNontrans", toUnicode, uN, toUnicodeStatus, uNInfo); in IdnaTest()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DUTS46Test.java789 String toUnicodeStatus = fields[2].trim(); in IdnaTest() local
804 toAsciiNStatus = toUnicodeStatus; in IdnaTest()
827 … checkIdnaTestResult(line, "toUnicodeNontrans", toUnicode, uN, toUnicodeStatus, uNInfo); in IdnaTest()
/external/icu/icu4c/source/test/intltest/
Duts46test.cpp970 std::string toUnicodeStatus = statusFromField(fields[2]); in idnaTestOneLine() local
985 toAsciiNStatus = toUnicodeStatus; in idnaTestOneLine()
1009 toUnicodeStatus.c_str(), uNInfo); in idnaTestOneLine()

12