Searched refs:preToULength (Results 1 – 8 of 8) sorted by relevance
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetDecoderICU.java | 50 int preToULength; /* negative: replay */ field in CharsetDecoderICU 211 preToULength = 0; /* negative: replay */ in implReset() 330 if (!flush && !source.hasRemaining() && toULength == 0 && preToULength >= 0) { in decode() 409 if(preToULength>=0) { in toUnicodeWithCallback() 421 replayArray.put(preToUArray,0, -preToULength); in toUnicodeWithCallback() 424 source.limit(replayArrayIndex-preToULength); in toUnicodeWithCallback() 427 preToULength=0; in toUnicodeWithCallback() 496 if(preToULength<0) { in toUnicodeWithCallback() 508 replayArray.put(preToUArray,0, -preToULength); in toUnicodeWithCallback() 513 source.limit(replayArrayIndex-preToULength); in toUnicodeWithCallback() [all …]
|
D | CharsetMBCS.java | 1651 …tch = matchToU((byte) SISO_STATE(sharedData, mode), preToUArray, preToUBegin, preToULength, source, in continueMatchToU() 1655 if (match >= preToULength) { in continueMatchToU() 1657 source.position(source.position() + match - preToULength); in continueMatchToU() 1658 preToULength = 0; in continueMatchToU() 1661 length = preToULength - match; in continueMatchToU() 1663 preToULength = (byte) -length; in continueMatchToU() 1675 for (j = preToULength; j < match; ++j) { in continueMatchToU() 1679 preToULength = (byte) match; in continueMatchToU() 1700 length = preToULength - preToUFirstLength; in continueMatchToU() 1706 preToULength = (byte) -length; in continueMatchToU() [all …]
|
D | CharsetISO2022.java | 708 decoder.preToULength = (byte)(bytesFromThisBuffer - backOutDistance); in changeState_2022() 711 for (int i = 0; i < -(decoder.preToULength); i++) { in changeState_2022()
|
/external/icu/icu4c/source/common/ |
D | ucnv_ext.cpp | 322 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 …]
|
D | ucnv.c | 619 converter->preToULength = 0; in _reset() 1314 if(cnv->preToULength>=0) { in _toUnicodeWithCallback() 1333 uprv_memcpy(replay, cnv->preToU, -cnv->preToULength); in _toUnicodeWithCallback() 1335 pArgs->sourceLimit=replay-cnv->preToULength; in _toUnicodeWithCallback() 1339 cnv->preToULength=0; in _toUnicodeWithCallback() 1411 if(cnv->preToULength<0) { in _toUnicodeWithCallback() 1422 uprv_memcpy(replay, cnv->preToU, -cnv->preToULength); in _toUnicodeWithCallback() 1424 pArgs->sourceLimit=replay-cnv->preToULength; in _toUnicodeWithCallback() 1426 if((sourceIndex+=cnv->preToULength)<0) { in _toUnicodeWithCallback() 1430 cnv->preToULength=0; in _toUnicodeWithCallback() [all …]
|
D | ucnv_bld.h | 229 int8_t preFromULength, preToULength; /* negative: replay */ member
|
D | ucnvmbcs.cpp | 2479 if(cnv->preToULength>0) { in ucnv_MBCSToUnicodeWithOffsets() 2486 if(U_FAILURE(*pErrorCode) || cnv->preToULength<0) { in ucnv_MBCSToUnicodeWithOffsets() 2829 cnv->preToULength=(int8_t)(bytesFromThisBuffer-backOutDistance); in ucnv_MBCSToUnicodeWithOffsets() 2831 uprv_memcpy(cnv->preToU, bytes+i, -cnv->preToULength); in ucnv_MBCSToUnicodeWithOffsets() 2974 if(cnv->preToULength>0) { in ucnv_MBCSGetNextUChar()
|
D | ucnv2022.cpp | 1059 _this->preToULength=(int8_t)(bytesFromThisBuffer-backOutDistance); in changeState_2022() 1062 uprv_memcpy(_this->preToU, _this->toUBytes+1, -_this->preToULength); in changeState_2022()
|