Searched refs:preFromULength (Results 1 – 6 of 6) sorted by relevance
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetEncoderICU.java | 58 int preFromULength; /* negative: replay */ field in CharsetEncoderICU 240 preFromULength = 0; in fromUnicodeReset() 344 if (!flush && source.remaining() == 0 && preFromULength >= 0) { in encode() 400 if (preFromULength >= 0) { in fromUnicodeWithCallback() 414 replayArray.put(preFromUArray, 0, -preFromULength); in fromUnicodeWithCallback() 417 … source.limit(replayArrayIndex - preFromULength); //preFromULength is negative, see declaration in fromUnicodeWithCallback() 420 preFromULength = 0; in fromUnicodeWithCallback() 484 if (preFromULength < 0) { in fromUnicodeWithCallback() 494 replayArray.put(preFromUArray, 0, -preFromULength); in fromUnicodeWithCallback() 498 source.limit(replayArrayIndex - preFromULength); in fromUnicodeWithCallback() [all …]
|
D | CharsetMBCS.java | 2882 if (cr[0].isError() || preFromULength < 0) { in encodeLoop() 3533 …match = matchFromU(preFromUFirstCP, preFromUArray, preFromUBegin, preFromULength, source, value, u… in continueMatchFromU() 3537 if (match >= preFromULength) { in continueMatchFromU() 3539 source.position(source.position() + match - preFromULength); in continueMatchFromU() 3540 preFromULength = 0; in continueMatchFromU() 3543 int length = preFromULength - match; in continueMatchFromU() 3545 preFromULength = (byte) -length; in continueMatchFromU() 3561 for (j = preFromULength; j < match; ++j) { in continueMatchFromU() 3565 preFromULength = (byte) match; in continueMatchFromU() 3591 preFromULength = (byte) -preFromULength; in continueMatchFromU() [all …]
|
/external/icu/icu4c/source/common/ |
D | ucnv_ext.cpp | 791 cnv->preFromULength=(int8_t)match; in ucnv_extInitialMatchFromU() 869 cnv->preFromU, cnv->preFromULength, in ucnv_extContinueMatchFromU() 876 if(match>=cnv->preFromULength) { in ucnv_extContinueMatchFromU() 878 pArgs->source+=match-cnv->preFromULength; in ucnv_extContinueMatchFromU() 879 cnv->preFromULength=0; in ucnv_extContinueMatchFromU() 882 int32_t length=cnv->preFromULength-match; in ucnv_extContinueMatchFromU() 884 cnv->preFromULength=(int8_t)-length; in ucnv_extContinueMatchFromU() 904 for(j=cnv->preFromULength; j<match; ++j) { in ucnv_extContinueMatchFromU() 909 cnv->preFromULength=(int8_t)match; in ucnv_extContinueMatchFromU() 939 cnv->preFromULength=-cnv->preFromULength; in ucnv_extContinueMatchFromU()
|
D | ucnv.c | 616 converter->preFromULength = 0; in _reset() 859 if(cnv->preFromULength>=0) { in _fromUnicodeWithCallback() 878 uprv_memcpy(replay, cnv->preFromU, -cnv->preFromULength*U_SIZEOF_UCHAR); in _fromUnicodeWithCallback() 880 pArgs->sourceLimit=replay-cnv->preFromULength; in _fromUnicodeWithCallback() 884 cnv->preFromULength=0; in _fromUnicodeWithCallback() 956 if(cnv->preFromULength<0) { in _fromUnicodeWithCallback() 967 uprv_memcpy(replay, cnv->preFromU, -cnv->preFromULength*U_SIZEOF_UCHAR); in _fromUnicodeWithCallback() 969 pArgs->sourceLimit=replay-cnv->preFromULength; in _fromUnicodeWithCallback() 971 if((sourceIndex+=cnv->preFromULength)<0) { in _fromUnicodeWithCallback() 975 cnv->preFromULength=0; in _fromUnicodeWithCallback() [all …]
|
D | ucnv_bld.h | 234 int8_t preFromULength, preToULength; /* negative: replay */ member
|
D | ucnvmbcs.cpp | 4096 if(U_FAILURE(*pErrorCode) || cnv->preFromULength<0) { in ucnv_MBCSFromUnicodeWithOffsets()
|