Home
last modified time | relevance | path

Searched refs:toULength (Results 1 – 15 of 15) sorted by relevance

/external/icu4c/common/
Ducnv_u8.c104 i = cnv->toULength; /* restore # of bytes consumed */ in ucnv_toUnicode_UTF8()
105 cnv->toULength = 0; in ucnv_toUnicode_UTF8()
146 cnv->toULength = (int8_t) i; in ucnv_toUnicode_UTF8()
197 cnv->toULength = (int8_t)i; in ucnv_toUnicode_UTF8()
234 i = cnv->toULength; /* restore # of bytes consumed */ in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
235 cnv->toULength = 0; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
274 cnv->toULength = (int8_t)i; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
327 cnv->toULength = (int8_t)i; in ucnv_toUnicode_UTF8_OFFSETS_LOGIC()
629 cnv->toULength = 1; in ucnv_getNextUChar_UTF8()
652 cnv->toULength = i; in ucnv_getNextUChar_UTF8()
[all …]
Ducnv_u16.c282 cnv->toULength=1; in _UTF16BEToUnicodeWithOffsets()
285 if((count=cnv->toULength)!=0) { in _UTF16BEToUnicodeWithOffsets()
348 cnv->toULength=2; in _UTF16BEToUnicodeWithOffsets()
358 cnv->toULength=(int8_t)count; in _UTF16BEToUnicodeWithOffsets()
429 cnv->toULength=2; in _UTF16BEToUnicodeWithOffsets()
443 cnv->toULength=0; in _UTF16BEToUnicodeWithOffsets()
465 cnv->toUBytes[cnv->toULength++]=*source++; in _UTF16BEToUnicodeWithOffsets()
493 pArgs->converter->toULength=1; in _UTF16BEGetNextUChar()
522 pArgs->converter->toULength=(int8_t)(sourceLimit-s); in _UTF16BEGetNextUChar()
538 pArgs->converter->toULength=2; in _UTF16BEGetNextUChar()
[all …]
Ducnv_u32.c56 i = args->converter->toULength; /* restore # of bytes consumed */ in T_UConverter_toUnicode_UTF32_BE()
57 args->converter->toULength = 0; in T_UConverter_toUnicode_UTF32_BE()
77 args->converter->toULength = (int8_t) i; in T_UConverter_toUnicode_UTF32_BE()
106 args->converter->toULength = (int8_t)i; in T_UConverter_toUnicode_UTF32_BE()
137 i = args->converter->toULength; /* restore # of bytes consumed */ in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
138 args->converter->toULength = 0; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
158 args->converter->toULength = (int8_t) i; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
190 args->converter->toULength = (int8_t)i; in T_UConverter_toUnicode_UTF32_BE_OFFSET_LOGIC()
438 args->converter->toULength = (int8_t)length; in T_UConverter_getNextUChar_UTF32_BE()
456 args->converter->toULength = 4; in T_UConverter_getNextUChar_UTF32_BE()
[all …]
Ducnvscsu.c168 cnv->toULength=0; in _SCSUReset()
375 cnv->toULength=1; in _SCSUToUnicodeWithOffsets()
381 cnv->toULength=1; in _SCSUToUnicodeWithOffsets()
386 cnv->toULength=2; in _SCSUToUnicodeWithOffsets()
440 cnv->toULength=2; in _SCSUToUnicodeWithOffsets()
452 cnv->toULength=2; in _SCSUToUnicodeWithOffsets()
463 cnv->toULength=2; in _SCSUToUnicodeWithOffsets()
501 cnv->toULength=1; in _SCSUToUnicodeWithOffsets()
512 cnv->toULength=1; in _SCSUToUnicodeWithOffsets()
518 cnv->toULength=1; in _SCSUToUnicodeWithOffsets()
[all …]
Ducnvmbcs.c1733 cnv->toULength=0; /* byteIndex */ in ucnv_MBCSOpen()
1906 cnv->toULength=_extToU(cnv, cnv->sharedData, in ucnv_MBCSSingleToUnicodeWithOffsets()
2107 cnv->toULength=_extToU(cnv, cnv->sharedData, in ucnv_MBCSSingleToBMPWithOffsets()
2217 byteIndex=cnv->toULength; in ucnv_MBCSToUnicodeWithOffsets()
2531 cnv->toULength=byteIndex; in ucnv_MBCSToUnicodeWithOffsets()
2815 cnv->toULength=(int8_t)(source-lastSource); in ucnv_MBCSGetNextUChar()
4617 int8_t oldToULength, toULength, toULimit; in ucnv_SBCSFromUTF8() local
4655 toULength=oldToULength=utf8->toULength; in ucnv_SBCSFromUTF8()
4658 toULength=oldToULength=toULimit=0; in ucnv_SBCSFromUTF8()
4689 utf8->toULength=0; in ucnv_SBCSFromUTF8()
[all …]
Ducnv2022.c424 cnv->toULength=0; /* byteIndex */ in setInitialStateToUnicodeKR()
774 _this->toUBytes[_this->toULength++]=(uint8_t)c; in changeState_2022()
795 _this->toULength = 0; in changeState_2022()
951 _this->toULength = 0; in changeState_2022()
1207 (mySourceLimit < realSourceLimit && myData->currentConverter->toULength > 0)) in T_UConverter_toUnicode_ISO_2022_OFFSETS_LOGIC()
1216 length = saveThis->toULength = myData->currentConverter->toULength; in T_UConverter_toUnicode_ISO_2022_OFFSETS_LOGIC()
1254 cnv->toULength = 2; in toUnicodeCallback()
1258 cnv->toULength = 1; in toUnicodeCallback()
1980 …} else if(args->converter->toULength == 1 && mySource < mySourceLimit && myTarget < args->targetLi… in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
1983 args->converter->toULength = 0; in UConverter_toUnicode_ISO_2022_JP_OFFSETS_LOGIC()
[all …]
Ducnv_lmb.c1172 if (args->converter->toULength) /* reassemble char from previous call */ in _LMBCSToUnicodeWithOffsets()
1175 size_t size_old = args->converter->toULength; in _LMBCSToUnicodeWithOffsets()
1196 args->converter->toULength = savebytes; in _LMBCSToUnicodeWithOffsets()
1205 args->converter->toULength = 0; in _LMBCSToUnicodeWithOffsets()
1242 args->converter->toULength = savebytes; in _LMBCSToUnicodeWithOffsets()
Ducnvlat1.c349 utf8->toULength=0; in ucnv_Latin1FromUTF8()
407 utf8->toULength=1; in ucnv_Latin1FromUTF8()
555 cnv->toULength=1; in _ASCIIToUnicodeWithOffsets()
593 cnv->toULength=1; in _ASCIIGetNextUChar()
Ducnv.c604 converter->toULength = 0; in _reset()
1356 cnv->toULength==0); in _toUnicodeWithCallback()
1445 } else if(pArgs->flush && cnv->toULength>0) { in _toUnicodeWithCallback()
1522 errorInputLength=cnv->invalidCharLength=cnv->toULength; in _toUnicodeWithCallback()
1528 cnv->toULength=0; in _toUnicodeWithCallback()
1928 if(cnv->toULength==0 && cnv->sharedData->impl->getNextUChar!=NULL) { in ucnv_getNextUChar()
2261 sourceCnv->preToULength>=0 && sourceCnv->toULength==0 && in ucnv_convertEx()
2282 if(sourceCnv->toULength>0) { in ucnv_convertEx()
2315 } else if(flush && sourceCnv->toULength>0) { /* flush==toUArgs.flush */ in ucnv_convertEx()
2874 }else if(cnv->toULength > 0){ in ucnv_toUCountPending()
[all …]
Ducnv_u7.c183 cnv->toULength=0; in _UTF7Reset()
245 byteIndex=cnv->toULength; in _UTF7ToUnicodeWithOffsets()
435 cnv->toULength=byteIndex; in _UTF7ToUnicodeWithOffsets()
904 byteIndex=cnv->toULength; in _IMAPToUnicodeWithOffsets()
1121 cnv->toULength=byteIndex; in _IMAPToUnicodeWithOffsets()
Ducnvbocu.c966 byteIndex=cnv->toULength; in _Bocu1ToUnicodeWithOffsets()
1140 cnv->toULength=byteIndex; in _Bocu1ToUnicodeWithOffsets()
1187 byteIndex=cnv->toULength; in _Bocu1ToUnicode()
1341 cnv->toULength=byteIndex; in _Bocu1ToUnicode()
Ducnv_bld.h180 int8_t toULength; /* number of bytes in toUBytes */ member
Ducnvhz.c242 args->converter->toULength=2; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
246 args->converter->toULength=1; in UConverter_toUnicode_HZ_OFFSETS_LOGIC()
Ducnvisci.c1316 args->converter->toULength = 1; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1334 cnv->toULength = 1; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
1339 cnv->toULength = 0; in UConverter_toUnicode_ISCII_OFFSETS_LOGIC()
Ducnv_ext.c430 cnv->toULength=cnv->preToUFirstLength; in ucnv_extContinueMatchToU()