Home
last modified time | relevance | path

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

12

/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/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.cpp1739 UnicodeString::padLeading(int32_t targetLength, in padLeading() argument
1743 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padLeading()
1748 int32_t start = targetLength - oldLength; in padLeading()
1755 setLength(targetLength); in padLeading()
1761 UnicodeString::padTrailing(int32_t targetLength, in padTrailing() argument
1765 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padTrailing()
1770 int32_t length = targetLength; in padTrailing()
1774 setLength(targetLength); in padTrailing()
Ducnv.cpp2414 int32_t targetLength=0; in ucnv_internalConvert() local
2430 targetLength=0; in ucnv_internalConvert()
2442 targetLength=(int32_t)(myTarget-target); in ucnv_internalConvert()
2465 targetLength+=(int32_t)(myTarget-targetBuffer); in ucnv_internalConvert()
2469 return u_terminateChars(target, targetCapacity, targetLength, pErrorCode); in ucnv_internalConvert()
2473 return targetLength; in ucnv_internalConvert()
2483 int32_t targetLength; in ucnv_convert() local
2513 targetLength=ucnv_internalConvert(outConverter, inConverter, in ucnv_convert()
2521 return targetLength; in ucnv_convert()
2534 int32_t targetLength; in ucnv_convertAlgorithmic() local
[all …]
/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.cpp1697 UnicodeString::padLeading(int32_t targetLength, in padLeading() argument
1701 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padLeading()
1706 int32_t start = targetLength - oldLength; in padLeading()
1713 setLength(targetLength); in padLeading()
1719 UnicodeString::padTrailing(int32_t targetLength, in padTrailing() argument
1723 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padTrailing()
1728 int32_t length = targetLength; in padTrailing()
1732 setLength(targetLength); in padTrailing()
Ducnv.cpp2414 int32_t targetLength=0; in ucnv_internalConvert() local
2430 targetLength=0; in ucnv_internalConvert()
2442 targetLength=(int32_t)(myTarget-target); in ucnv_internalConvert()
2465 targetLength+=(int32_t)(myTarget-targetBuffer); in ucnv_internalConvert()
2469 return u_terminateChars(target, targetCapacity, targetLength, pErrorCode); in ucnv_internalConvert()
2473 return targetLength; in ucnv_internalConvert()
2483 int32_t targetLength; in ucnv_convert() local
2513 targetLength=ucnv_internalConvert(outConverter, inConverter, in ucnv_convert()
2521 return targetLength; in ucnv_convert()
2534 int32_t targetLength; in ucnv_convertAlgorithmic() local
[all …]
/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()
Ducnv.cpp2407 int32_t targetLength=0; in ucnv_internalConvert() local
2423 targetLength=0; in ucnv_internalConvert()
2435 targetLength=(int32_t)(myTarget-target); in ucnv_internalConvert()
2458 targetLength+=(int32_t)(myTarget-targetBuffer); in ucnv_internalConvert()
2462 return u_terminateChars(target, targetCapacity, targetLength, pErrorCode); in ucnv_internalConvert()
2466 return targetLength; in ucnv_internalConvert()
2476 int32_t targetLength; in ucnv_convert() local
2506 targetLength=ucnv_internalConvert(outConverter, inConverter, in ucnv_convert()
2514 return targetLength; in ucnv_convert()
2527 int32_t targetLength; in ucnv_convertAlgorithmic() local
[all …]
/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.cpp451 int32_t targetLength) in ucol_strcoll() argument
457 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vh ", target, targetLength); in ucol_strcoll()
462 compare(source, sourceLength, target, targetLength, status); in ucol_strcoll()
473 int32_t targetLength, in ucol_strcollUTF8() argument
480 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vb ", target, targetLength); in ucol_strcollUTF8()
490 source, sourceLength, target, targetLength, *status); in ucol_strcollUTF8()
502 int32_t targetLength) in ucol_greater() argument
504 return (ucol_strcoll(coll, source, sourceLength, target, targetLength) in ucol_greater()
514 int32_t targetLength) in ucol_greaterOrEqual() argument
516 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/
Ducol.cpp451 int32_t targetLength) in ucol_strcoll() argument
457 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vh ", target, targetLength); in ucol_strcoll()
462 compare(source, sourceLength, target, targetLength, status); in ucol_strcoll()
473 int32_t targetLength, in ucol_strcollUTF8() argument
480 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vb ", target, targetLength); in ucol_strcollUTF8()
490 source, sourceLength, target, targetLength, *status); in ucol_strcollUTF8()
502 int32_t targetLength) in ucol_greater() argument
504 return (ucol_strcoll(coll, source, sourceLength, target, targetLength) in ucol_greater()
514 int32_t targetLength) in ucol_greaterOrEqual() argument
516 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.h579 int32_t targetLength);
605 int32_t targetLength,
625 const UChar *target, int32_t targetLength);
644 const UChar *target, int32_t targetLength);
663 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/node/deps/v8/src/builtins/
Dtyped-array-set.tq114 target: JSTypedArray, targetLength: uintptr, arrayArg: JSAny,
126 // 7. If srcLength + targetOffset > targetLength, throw a RangeError
130 CheckIntegerIndexAdditionOverflow(srcLength, targetOffset, targetLength)
183 // 3. Let targetLength be IntegerIndexedObjectLength(target).
185 const targetLength = attachedTargetAndLength.length;
191 // 16. If srcLength + targetOffset > targetLength, throw a RangeError
193 CheckIntegerIndexAdditionOverflow(srcLength, targetOffset, targetLength)
/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()
/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/node/deps/icu-small/source/common/unicode/
Dunistr.h1582 uint32_t targetLength) const;
1650 uint32_t targetLength,
2597 UBool padLeading(int32_t targetLength,
2611 UBool padTrailing(int32_t targetLength,
2620 inline UBool truncate(int32_t targetLength);
4757 UnicodeString::truncate(int32_t targetLength) in truncate() argument
4759 if(isBogus() && targetLength == 0) { in truncate()
4763 } else if((uint32_t)targetLength < (uint32_t)length()) { in truncate()
4764 setLength(targetLength); in truncate()

12