Home
last modified time | relevance | path

Searched refs:preToULength (Results 1 – 5 of 5) sorted by relevance

/external/icu4c/common/
Ducnv_ext.cpp322 cnv->preToULength=(int8_t)match; in ucnv_extInitialMatchToU()
375 cnv->preToU, cnv->preToULength, in ucnv_extContinueMatchToU()
380 if(match>=cnv->preToULength) { in ucnv_extContinueMatchToU()
382 pArgs->source+=match-cnv->preToULength; in ucnv_extContinueMatchToU()
383 cnv->preToULength=0; in ucnv_extContinueMatchToU()
386 length=cnv->preToULength-match; in ucnv_extContinueMatchToU()
388 cnv->preToULength=(int8_t)-length; in ucnv_extContinueMatchToU()
405 for(j=cnv->preToULength; j<match; ++j) { in ucnv_extContinueMatchToU()
409 cnv->preToULength=(int8_t)match; in ucnv_extContinueMatchToU()
434 length=cnv->preToULength-cnv->preToUFirstLength; in ucnv_extContinueMatchToU()
[all …]
Ducnv.c611 converter->preToULength = 0; in _reset()
1306 if(cnv->preToULength>=0) { in _toUnicodeWithCallback()
1325 uprv_memcpy(replay, cnv->preToU, -cnv->preToULength); in _toUnicodeWithCallback()
1327 pArgs->sourceLimit=replay-cnv->preToULength; in _toUnicodeWithCallback()
1331 cnv->preToULength=0; in _toUnicodeWithCallback()
1403 if(cnv->preToULength<0) { in _toUnicodeWithCallback()
1414 uprv_memcpy(replay, cnv->preToU, -cnv->preToULength); in _toUnicodeWithCallback()
1416 pArgs->sourceLimit=replay-cnv->preToULength; in _toUnicodeWithCallback()
1418 if((sourceIndex+=cnv->preToULength)<0) { in _toUnicodeWithCallback()
1422 cnv->preToULength=0; in _toUnicodeWithCallback()
[all …]
Ducnv_bld.h229 int8_t preFromULength, preToULength; /* negative: replay */ member
Ducnvmbcs.c2342 if(cnv->preToULength>0) { in ucnv_MBCSToUnicodeWithOffsets()
2349 if(U_FAILURE(*pErrorCode) || cnv->preToULength<0) { in ucnv_MBCSToUnicodeWithOffsets()
2692 cnv->preToULength=(int8_t)(bytesFromThisBuffer-backOutDistance); in ucnv_MBCSToUnicodeWithOffsets()
2694 uprv_memcpy(cnv->preToU, bytes+i, -cnv->preToULength); in ucnv_MBCSToUnicodeWithOffsets()
2837 if(cnv->preToULength>0) { in ucnv_MBCSGetNextUChar()
Ducnv2022.cpp1015 _this->preToULength=(int8_t)(bytesFromThisBuffer-backOutDistance); in changeState_2022()
1018 uprv_memcpy(_this->preToU, _this->toUBytes+1, -_this->preToULength); in changeState_2022()