/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetDecoderICU.java | 52 int preToULength; /* negative: replay */ field in CharsetDecoderICU 218 preToULength = 0; /* negative: replay */ in implReset() 338 if (!flush && !source.hasRemaining() && toULength == 0 && preToULength >= 0) { in decode() 417 if(preToULength>=0) { in toUnicodeWithCallback() 429 replayArray.put(preToUArray,0, -preToULength); in toUnicodeWithCallback() 432 source.limit(replayArrayIndex-preToULength); in toUnicodeWithCallback() 435 preToULength=0; in toUnicodeWithCallback() 504 if(preToULength<0) { in toUnicodeWithCallback() 516 replayArray.put(preToUArray,0, -preToULength); in toUnicodeWithCallback() 521 source.limit(replayArrayIndex-preToULength); in toUnicodeWithCallback() [all …]
|
D | CharsetMBCS.java | 1646 …tch = matchToU((byte) SISO_STATE(sharedData, mode), preToUArray, preToUBegin, preToULength, source, in continueMatchToU() 1650 if (match >= preToULength) { in continueMatchToU() 1652 source.position(source.position() + match - preToULength); in continueMatchToU() 1653 preToULength = 0; in continueMatchToU() 1656 length = preToULength - match; in continueMatchToU() 1658 preToULength = (byte) -length; in continueMatchToU() 1670 for (j = preToULength; j < match; ++j) { in continueMatchToU() 1674 preToULength = (byte) match; in continueMatchToU() 1695 length = preToULength - preToUFirstLength; in continueMatchToU() 1701 preToULength = (byte) -length; in continueMatchToU() [all …]
|
D | CharsetISO2022.java | 707 decoder.preToULength = (byte)(bytesFromThisBuffer - backOutDistance); in changeState_2022() 710 for (int i = 0; i < -(decoder.preToULength); i++) { in changeState_2022()
|
/third_party/node/deps/icu-small/source/common/ |
D | ucnv_ext.cpp | 325 cnv->preToULength=(int8_t)match; in ucnv_extInitialMatchToU() 378 cnv->preToU, cnv->preToULength, in ucnv_extContinueMatchToU() 383 if(match>=cnv->preToULength) { in ucnv_extContinueMatchToU() 385 pArgs->source+=match-cnv->preToULength; in ucnv_extContinueMatchToU() 386 cnv->preToULength=0; in ucnv_extContinueMatchToU() 389 length=cnv->preToULength-match; in ucnv_extContinueMatchToU() 391 cnv->preToULength=(int8_t)-length; in ucnv_extContinueMatchToU() 408 for(j=cnv->preToULength; j<match; ++j) { in ucnv_extContinueMatchToU() 412 cnv->preToULength=(int8_t)match; in ucnv_extContinueMatchToU() 437 length=cnv->preToULength-cnv->preToUFirstLength; in ucnv_extContinueMatchToU() [all …]
|
D | ucnv.cpp | 611 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 …]
|
D | ucnv_bld.h | 236 int8_t preFromULength, preToULength; /* negative: replay */ member
|
D | ucnvmbcs.cpp | 2490 if(cnv->preToULength>0) { in ucnv_MBCSToUnicodeWithOffsets() 2497 if(U_FAILURE(*pErrorCode) || cnv->preToULength<0) { in ucnv_MBCSToUnicodeWithOffsets() 2840 cnv->preToULength=(int8_t)(bytesFromThisBuffer-backOutDistance); in ucnv_MBCSToUnicodeWithOffsets() 2842 uprv_memcpy(cnv->preToU, bytes+i, -cnv->preToULength); in ucnv_MBCSToUnicodeWithOffsets() 2985 if(cnv->preToULength>0) { in ucnv_MBCSGetNextUChar()
|
D | ucnv2022.cpp | 1042 _this->preToULength=(int8_t)(bytesFromThisBuffer-backOutDistance); in changeState_2022() 1045 uprv_memcpy(_this->preToU, _this->toUBytes+1, -_this->preToULength); in changeState_2022()
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | ucnv_ext.cpp | 325 cnv->preToULength=(int8_t)match; in ucnv_extInitialMatchToU() 378 cnv->preToU, cnv->preToULength, in ucnv_extContinueMatchToU() 383 if(match>=cnv->preToULength) { in ucnv_extContinueMatchToU() 385 pArgs->source+=match-cnv->preToULength; in ucnv_extContinueMatchToU() 386 cnv->preToULength=0; in ucnv_extContinueMatchToU() 389 length=cnv->preToULength-match; in ucnv_extContinueMatchToU() 391 cnv->preToULength=(int8_t)-length; in ucnv_extContinueMatchToU() 408 for(j=cnv->preToULength; j<match; ++j) { in ucnv_extContinueMatchToU() 412 cnv->preToULength=(int8_t)match; in ucnv_extContinueMatchToU() 437 length=cnv->preToULength-cnv->preToUFirstLength; in ucnv_extContinueMatchToU() [all …]
|
D | ucnv.cpp | 611 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 …]
|
D | ucnv_bld.h | 236 int8_t preFromULength, preToULength; /* negative: replay */ member
|
D | ucnvmbcs.cpp | 2490 if(cnv->preToULength>0) { in ucnv_MBCSToUnicodeWithOffsets() 2497 if(U_FAILURE(*pErrorCode) || cnv->preToULength<0) { in ucnv_MBCSToUnicodeWithOffsets() 2840 cnv->preToULength=(int8_t)(bytesFromThisBuffer-backOutDistance); in ucnv_MBCSToUnicodeWithOffsets() 2842 uprv_memcpy(cnv->preToU, bytes+i, -cnv->preToULength); in ucnv_MBCSToUnicodeWithOffsets() 2985 if(cnv->preToULength>0) { in ucnv_MBCSGetNextUChar()
|
D | ucnv2022.cpp | 1042 _this->preToULength=(int8_t)(bytesFromThisBuffer-backOutDistance); in changeState_2022() 1045 uprv_memcpy(_this->preToU, _this->toUBytes+1, -_this->preToULength); in changeState_2022()
|
/third_party/icu/icu4c/source/common/ |
D | ucnv_ext.cpp | 325 cnv->preToULength=(int8_t)match; in ucnv_extInitialMatchToU() 378 cnv->preToU, cnv->preToULength, in ucnv_extContinueMatchToU() 383 if(match>=cnv->preToULength) { in ucnv_extContinueMatchToU() 385 pArgs->source+=match-cnv->preToULength; in ucnv_extContinueMatchToU() 386 cnv->preToULength=0; in ucnv_extContinueMatchToU() 389 length=cnv->preToULength-match; in ucnv_extContinueMatchToU() 391 cnv->preToULength=(int8_t)-length; in ucnv_extContinueMatchToU() 408 for(j=cnv->preToULength; j<match; ++j) { in ucnv_extContinueMatchToU() 412 cnv->preToULength=(int8_t)match; in ucnv_extContinueMatchToU() 437 length=cnv->preToULength-cnv->preToUFirstLength; in ucnv_extContinueMatchToU() [all …]
|
D | ucnv.cpp | 611 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 …]
|
D | ucnv_bld.h | 236 int8_t preFromULength, preToULength; /* negative: replay */ member
|
D | ucnvmbcs.cpp | 2490 if(cnv->preToULength>0) { in ucnv_MBCSToUnicodeWithOffsets() 2497 if(U_FAILURE(*pErrorCode) || cnv->preToULength<0) { in ucnv_MBCSToUnicodeWithOffsets() 2840 cnv->preToULength=(int8_t)(bytesFromThisBuffer-backOutDistance); in ucnv_MBCSToUnicodeWithOffsets() 2842 uprv_memcpy(cnv->preToU, bytes+i, -cnv->preToULength); in ucnv_MBCSToUnicodeWithOffsets() 2985 if(cnv->preToULength>0) { in ucnv_MBCSGetNextUChar()
|
D | ucnv2022.cpp | 1042 _this->preToULength=(int8_t)(bytesFromThisBuffer-backOutDistance); in changeState_2022() 1045 uprv_memcpy(_this->preToU, _this->toUBytes+1, -_this->preToULength); in changeState_2022()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | ucnv_ext.cpp | 325 cnv->preToULength=(int8_t)match; in ucnv_extInitialMatchToU() 378 cnv->preToU, cnv->preToULength, in ucnv_extContinueMatchToU() 383 if(match>=cnv->preToULength) { in ucnv_extContinueMatchToU() 385 pArgs->source+=match-cnv->preToULength; in ucnv_extContinueMatchToU() 386 cnv->preToULength=0; in ucnv_extContinueMatchToU() 389 length=cnv->preToULength-match; in ucnv_extContinueMatchToU() 391 cnv->preToULength=(int8_t)-length; in ucnv_extContinueMatchToU() 408 for(j=cnv->preToULength; j<match; ++j) { in ucnv_extContinueMatchToU() 412 cnv->preToULength=(int8_t)match; in ucnv_extContinueMatchToU() 437 length=cnv->preToULength-cnv->preToUFirstLength; in ucnv_extContinueMatchToU() [all …]
|
D | ucnv.cpp | 611 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 …]
|
D | ucnv_bld.h | 236 int8_t preFromULength, preToULength; /* negative: replay */ member
|
D | ucnvmbcs.cpp | 2490 if(cnv->preToULength>0) { in ucnv_MBCSToUnicodeWithOffsets() 2497 if(U_FAILURE(*pErrorCode) || cnv->preToULength<0) { in ucnv_MBCSToUnicodeWithOffsets() 2840 cnv->preToULength=(int8_t)(bytesFromThisBuffer-backOutDistance); in ucnv_MBCSToUnicodeWithOffsets() 2842 uprv_memcpy(cnv->preToU, bytes+i, -cnv->preToULength); in ucnv_MBCSToUnicodeWithOffsets() 2985 if(cnv->preToULength>0) { in ucnv_MBCSGetNextUChar()
|
D | ucnv2022.cpp | 1042 _this->preToULength=(int8_t)(bytesFromThisBuffer-backOutDistance); in changeState_2022() 1045 uprv_memcpy(_this->preToU, _this->toUBytes+1, -_this->preToULength); in changeState_2022()
|