Home
last modified time | relevance | path

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

/external/icu4c/common/
Ducnv_ext.c321 cnv->preToULength=(int8_t)match; in ucnv_extInitialMatchToU()
374 cnv->preToU, cnv->preToULength, in ucnv_extContinueMatchToU()
379 if(match>=cnv->preToULength) { in ucnv_extContinueMatchToU()
381 pArgs->source+=match-cnv->preToULength; in ucnv_extContinueMatchToU()
382 cnv->preToULength=0; in ucnv_extContinueMatchToU()
385 length=cnv->preToULength-match; in ucnv_extContinueMatchToU()
387 cnv->preToULength=(int8_t)-length; in ucnv_extContinueMatchToU()
404 for(j=cnv->preToULength; j<match; ++j) { in ucnv_extContinueMatchToU()
408 cnv->preToULength=(int8_t)match; in ucnv_extContinueMatchToU()
433 length=cnv->preToULength-cnv->preToUFirstLength; in ucnv_extContinueMatchToU()
[all …]
Ducnv.c609 converter->preToULength = 0; in _reset()
1304 if(cnv->preToULength>=0) { in _toUnicodeWithCallback()
1323 uprv_memcpy(replay, cnv->preToU, -cnv->preToULength); in _toUnicodeWithCallback()
1325 pArgs->sourceLimit=replay-cnv->preToULength; in _toUnicodeWithCallback()
1329 cnv->preToULength=0; in _toUnicodeWithCallback()
1401 if(cnv->preToULength<0) { in _toUnicodeWithCallback()
1412 uprv_memcpy(replay, cnv->preToU, -cnv->preToULength); in _toUnicodeWithCallback()
1414 pArgs->sourceLimit=replay-cnv->preToULength; in _toUnicodeWithCallback()
1416 if((sourceIndex+=cnv->preToULength)<0) { in _toUnicodeWithCallback()
1420 cnv->preToULength=0; in _toUnicodeWithCallback()
[all …]
Ducnv_bld.h228 int8_t preFromULength, preToULength; /* negative: replay */ member
Ducnvmbcs.c2341 if(cnv->preToULength>0) { in ucnv_MBCSToUnicodeWithOffsets()
2348 if(U_FAILURE(*pErrorCode) || cnv->preToULength<0) { in ucnv_MBCSToUnicodeWithOffsets()
2691 cnv->preToULength=(int8_t)(bytesFromThisBuffer-backOutDistance); in ucnv_MBCSToUnicodeWithOffsets()
2693 uprv_memcpy(cnv->preToU, bytes+i, -cnv->preToULength); in ucnv_MBCSToUnicodeWithOffsets()
2836 if(cnv->preToULength>0) { in ucnv_MBCSGetNextUChar()
Ducnv2022.c1009 _this->preToULength=(int8_t)(bytesFromThisBuffer-backOutDistance); in changeState_2022()
1012 uprv_memcpy(_this->preToU, _this->toUBytes+1, -_this->preToULength); in changeState_2022()