Home
last modified time | relevance | path

Searched refs:targetLength (Results 1 – 25 of 53) sorted by relevance

123

/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetASCII.java70 int targetLength = target.limit() - oldTarget; in decodeLoop() local
72 int limit = ((sourceLength < targetLength) ? sourceLength : targetLength) in decodeLoop()
82 if (sourceLength <= targetLength) { in decodeLoop()
87 source.position(oldSource + targetLength); in decodeLoop()
88 target.position(oldTarget + targetLength); in decodeLoop()
228 int targetLength = target.limit() - oldTarget; in encodeLoop() local
230 int limit = ((sourceLength < targetLength) ? sourceLength : targetLength) in encodeLoop()
240 if (sourceLength <= targetLength) { in encodeLoop()
245 source.position(oldSource + targetLength); in encodeLoop()
246 target.position(oldTarget + targetLength); in encodeLoop()
DCharsetCompoundText.java350 int targetLength = 0; in encodeLoop() local
373 targetLength = 0; in encodeLoop()
451 targetLength = i; in encodeLoop()
455 targetBytes[i+targetLength] = tmpTargetBuffer.get(i); in encodeLoop()
457 targetLength += i; in encodeLoop()
459 for (i = 0; i < targetLength; i++) { in encodeLoop()
475 for (int n = i; n < targetLength; n++) { in encodeLoop()
/third_party/skia/third_party/externals/icu/source/common/
Ducnvhz.cpp41 #define CONCAT_ESCAPE_MACRO(args, targetIndex,targetLength,strToAppend, err, len,sourceIndex) UPRV_… argument
43 …if(targetIndex < targetLength){ …
343 int32_t targetLength = (int32_t)(args->targetLimit - myTarget); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() local
358 if(args->converter->fromUChar32!=0 && myTargetIndex < targetLength) { in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
364 if (myTargetIndex < targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
374 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
398 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
404 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
411 if( myTargetIndex <targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
416 if(myTargetIndex < targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
[all …]
Dunistr.cpp1696 UnicodeString::padLeading(int32_t targetLength, in padLeading() argument
1700 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padLeading()
1705 int32_t start = targetLength - oldLength; in padLeading()
1712 setLength(targetLength); in padLeading()
1718 UnicodeString::padTrailing(int32_t targetLength, in padTrailing() argument
1722 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padTrailing()
1727 int32_t length = targetLength; in padTrailing()
1731 setLength(targetLength); in padTrailing()
/third_party/node/deps/icu-small/source/common/
Ducnvhz.cpp41 #define CONCAT_ESCAPE_MACRO(args, targetIndex,targetLength,strToAppend, err, len,sourceIndex) UPRV_… argument
43 …if(targetIndex < targetLength){ …
343 int32_t targetLength = (int32_t)(args->targetLimit - myTarget); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() local
358 if(args->converter->fromUChar32!=0 && myTargetIndex < targetLength) { in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
364 if (myTargetIndex < targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
374 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
398 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
404 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
411 if( myTargetIndex <targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
416 if(myTargetIndex < targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
[all …]
Dunistr.cpp1696 UnicodeString::padLeading(int32_t targetLength, in padLeading() argument
1700 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padLeading()
1705 int32_t start = targetLength - oldLength; in padLeading()
1712 setLength(targetLength); in padLeading()
1718 UnicodeString::padTrailing(int32_t targetLength, in padTrailing() argument
1722 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padTrailing()
1727 int32_t length = targetLength; in padTrailing()
1731 setLength(targetLength); in padTrailing()
/third_party/icu/icu4c/source/common/
Ducnvhz.cpp41 #define CONCAT_ESCAPE_MACRO(args, targetIndex,targetLength,strToAppend, err, len,sourceIndex) UPRV_… argument
43 …if(targetIndex < targetLength){ …
343 int32_t targetLength = (int32_t)(args->targetLimit - myTarget); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() local
358 if(args->converter->fromUChar32!=0 && myTargetIndex < targetLength) { in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
364 if (myTargetIndex < targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
374 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
398 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
404 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
411 if( myTargetIndex <targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
416 if(myTargetIndex < targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
[all …]
Dunistr.cpp1696 UnicodeString::padLeading(int32_t targetLength, in padLeading() argument
1700 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padLeading()
1705 int32_t start = targetLength - oldLength; in padLeading()
1712 setLength(targetLength); in padLeading()
1718 UnicodeString::padTrailing(int32_t targetLength, in padTrailing() argument
1722 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padTrailing()
1727 int32_t length = targetLength; in padTrailing()
1731 setLength(targetLength); in padTrailing()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Ducnvhz.cpp41 #define CONCAT_ESCAPE_MACRO( args, targetIndex,targetLength,strToAppend, err, len,sourceIndex){ … argument
43 …if(targetIndex < targetLength){ …
343 int32_t targetLength = (int32_t)(args->targetLimit - myTarget); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() local
358 if(args->converter->fromUChar32!=0 && myTargetIndex < targetLength) { in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
364 if (myTargetIndex < targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
374 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
398 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
404 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
411 if( myTargetIndex <targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
416 if(myTargetIndex < targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC()
[all …]
Dunistr.cpp1696 UnicodeString::padLeading(int32_t targetLength, in padLeading() argument
1700 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padLeading()
1705 int32_t start = targetLength - oldLength; in padLeading()
1712 setLength(targetLength); in padLeading()
1718 UnicodeString::padTrailing(int32_t targetLength, in padTrailing() argument
1722 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padTrailing()
1727 int32_t length = targetLength; in padTrailing()
1731 setLength(targetLength); in padTrailing()
/third_party/icu/icu4c/source/i18n/
Ducol.cpp445 int32_t targetLength) in ucol_strcoll() argument
451 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vh ", target, targetLength); in ucol_strcoll()
456 compare(source, sourceLength, target, targetLength, status); in ucol_strcoll()
467 int32_t targetLength, in ucol_strcollUTF8() argument
474 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vb ", target, targetLength); in ucol_strcollUTF8()
484 source, sourceLength, target, targetLength, *status); in ucol_strcollUTF8()
496 int32_t targetLength) in ucol_greater() argument
498 return (ucol_strcoll(coll, source, sourceLength, target, targetLength) in ucol_greater()
508 int32_t targetLength) in ucol_greaterOrEqual() argument
510 return (ucol_strcoll(coll, source, sourceLength, target, targetLength) in ucol_greaterOrEqual()
[all …]
Dsortkey.cpp196 int32_t targetLength = target.getLength(); in compareTo() local
197 if (minLength < targetLength) { in compareTo()
199 } else if (minLength == targetLength) { in compareTo()
202 minLength = targetLength; in compareTo()
/third_party/skia/third_party/externals/icu/source/i18n/
Ducol.cpp445 int32_t targetLength) in ucol_strcoll() argument
451 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vh ", target, targetLength); in ucol_strcoll()
456 compare(source, sourceLength, target, targetLength, status); in ucol_strcoll()
467 int32_t targetLength, in ucol_strcollUTF8() argument
474 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vb ", target, targetLength); in ucol_strcollUTF8()
484 source, sourceLength, target, targetLength, *status); in ucol_strcollUTF8()
496 int32_t targetLength) in ucol_greater() argument
498 return (ucol_strcoll(coll, source, sourceLength, target, targetLength) in ucol_greater()
508 int32_t targetLength) in ucol_greaterOrEqual() argument
510 return (ucol_strcoll(coll, source, sourceLength, target, targetLength) in ucol_greaterOrEqual()
[all …]
Dsortkey.cpp196 int32_t targetLength = target.getLength(); in compareTo() local
197 if (minLength < targetLength) { in compareTo()
199 } else if (minLength == targetLength) { in compareTo()
202 minLength = targetLength; in compareTo()
/third_party/node/deps/icu-small/source/i18n/
Ducol.cpp445 int32_t targetLength) in ucol_strcoll() argument
451 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vh ", target, targetLength); in ucol_strcoll()
456 compare(source, sourceLength, target, targetLength, status); in ucol_strcoll()
467 int32_t targetLength, in ucol_strcollUTF8() argument
474 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vb ", target, targetLength); in ucol_strcollUTF8()
484 source, sourceLength, target, targetLength, *status); in ucol_strcollUTF8()
496 int32_t targetLength) in ucol_greater() argument
498 return (ucol_strcoll(coll, source, sourceLength, target, targetLength) in ucol_greater()
508 int32_t targetLength) in ucol_greaterOrEqual() argument
510 return (ucol_strcoll(coll, source, sourceLength, target, targetLength) in ucol_greaterOrEqual()
[all …]
Dsortkey.cpp196 int32_t targetLength = target.getLength(); in compareTo() local
197 if (minLength < targetLength) { in compareTo()
199 } else if (minLength == targetLength) { in compareTo()
202 minLength = targetLength; in compareTo()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Ducol.cpp445 int32_t targetLength) in ucol_strcoll() argument
451 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vh ", target, targetLength); in ucol_strcoll()
456 compare(source, sourceLength, target, targetLength, status); in ucol_strcoll()
467 int32_t targetLength, in ucol_strcollUTF8() argument
474 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vb ", target, targetLength); in ucol_strcollUTF8()
484 source, sourceLength, target, targetLength, *status); in ucol_strcollUTF8()
496 int32_t targetLength) in ucol_greater() argument
498 return (ucol_strcoll(coll, source, sourceLength, target, targetLength) in ucol_greater()
508 int32_t targetLength) in ucol_greaterOrEqual() argument
510 return (ucol_strcoll(coll, source, sourceLength, target, targetLength) in ucol_greaterOrEqual()
[all …]
Dsortkey.cpp196 int32_t targetLength = target.getLength(); in compareTo() local
197 if (minLength < targetLength) { in compareTo()
199 } else if (minLength == targetLength) { in compareTo()
202 minLength = targetLength; in compareTo()
/third_party/icu/icu4c/source/i18n/unicode/
Ducol.h569 int32_t targetLength);
595 int32_t targetLength,
615 const UChar *target, int32_t targetLength);
634 const UChar *target, int32_t targetLength);
653 const UChar *target, int32_t targetLength);
/third_party/node/deps/icu-small/source/i18n/unicode/
Ducol.h569 int32_t targetLength);
595 int32_t targetLength,
615 const UChar *target, int32_t targetLength);
634 const UChar *target, int32_t targetLength);
653 const UChar *target, int32_t targetLength);
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Ducol.h569 int32_t targetLength);
595 int32_t targetLength,
615 const UChar *target, int32_t targetLength);
634 const UChar *target, int32_t targetLength);
653 const UChar *target, int32_t targetLength);
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Ducol.h564 int32_t targetLength);
590 int32_t targetLength,
610 const UChar *target, int32_t targetLength);
629 const UChar *target, int32_t targetLength);
648 const UChar *target, int32_t targetLength);
/third_party/node/deps/icu-small/source/tools/toolutil/
Dpkgitems.cpp134 int32_t treeLength, suffixLength, targetLength; in makeTargetName() local
150 targetLength=treeLength+idLength+suffixLength; in makeTargetName()
151 if(targetLength>=capacity) { in makeTargetName()
153 itemName, (long)targetLength); in makeTargetName()
/third_party/icu/icu4c/source/tools/toolutil/
Dpkgitems.cpp134 int32_t treeLength, suffixLength, targetLength; in makeTargetName() local
150 targetLength=treeLength+idLength+suffixLength; in makeTargetName()
151 if(targetLength>=capacity) { in makeTargetName()
153 itemName, (long)targetLength); in makeTargetName()
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
Dpkgitems.cpp134 int32_t treeLength, suffixLength, targetLength; in makeTargetName() local
150 targetLength=treeLength+idLength+suffixLength; in makeTargetName()
151 if(targetLength>=capacity) { in makeTargetName()
153 itemName, (long)targetLength); in makeTargetName()

123