Home
last modified time | relevance | path

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

12

/external/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()
/external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/helper/
DAbbreviatorTest.java128 …oid assertTheory0(int averageLen, String filename, String result, int fixedLen, int targetLength) { in assertTheory0() argument
133 … assertUsefulness(int averageLen, String filename, String result, int fixedLen, int targetLength) { in assertUsefulness() argument
137 if (targetLength > fixedLen + margin) { in assertUsefulness()
139 … + targetLength + ", avgLen=" + averageLen, result.length() <= targetLength + averageLen); in assertUsefulness()
144 void assertTheory1(String filename, String result, int fixedLen, int targetLength) { in assertTheory1() argument
151 void assertTheory2(String filename, String result, int fixedLen, int targetLength) { in assertTheory2() argument
/external/skia/src/utils/
DSkCurveMeasure.cpp220 SkScalar SkCurveMeasure::getTime(SkScalar targetLength) { in getTime() argument
221 if (targetLength <= 0.0f) { in getTime()
227 if (targetLength > currentLength || (SkScalarNearlyEqual(targetLength, currentLength))) { in getTime()
231 return targetLength / currentLength; in getTime()
235 SkScalar currentT = targetLength / currentLength; in getTime()
245 SkScalar lengthDiff = currentLength - targetLength; in getTime()
306 void SkCurveMeasure::getPosTanTime(SkScalar targetLength, SkPoint* pos, in getPosTanTime() argument
308 SkScalar t = getTime(targetLength); in getPosTanTime()
DSkCurveMeasure.h58 SkScalar getTime(SkScalar targetLength);
/external/icu/icu4c/source/common/
Ducnvhz.c41 #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.cpp1657 UnicodeString::padLeading(int32_t targetLength, in padLeading() argument
1661 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padLeading()
1666 int32_t start = targetLength - oldLength; in padLeading()
1673 setLength(targetLength); in padLeading()
1679 UnicodeString::padTrailing(int32_t targetLength, in padTrailing() argument
1683 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padTrailing()
1688 int32_t length = targetLength; in padTrailing()
1692 setLength(targetLength); in padTrailing()
Ducnv.c2415 int32_t targetLength=0; in ucnv_internalConvert() local
2431 targetLength=0; in ucnv_internalConvert()
2443 targetLength=(int32_t)(myTarget-target); in ucnv_internalConvert()
2466 targetLength+=(int32_t)(myTarget-targetBuffer); in ucnv_internalConvert()
2470 return u_terminateChars(target, targetCapacity, targetLength, pErrorCode); in ucnv_internalConvert()
2474 return targetLength; in ucnv_internalConvert()
2484 int32_t targetLength; in ucnv_convert() local
2514 targetLength=ucnv_internalConvert(outConverter, inConverter, in ucnv_convert()
2522 return targetLength; in ucnv_convert()
2535 int32_t targetLength; in ucnv_convertAlgorithmic() local
[all …]
/external/icu/icu4c/source/i18n/
Ducol.cpp444 int32_t targetLength) in ucol_strcoll() argument
450 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vh ", target, targetLength); in ucol_strcoll()
455 compare(source, sourceLength, target, targetLength, status); in ucol_strcoll()
466 int32_t targetLength, in ucol_strcollUTF8() argument
473 UTRACE_DATA2(UTRACE_VERBOSE, "target string = %vb ", target, targetLength); in ucol_strcollUTF8()
483 source, sourceLength, target, targetLength, *status); in ucol_strcollUTF8()
495 int32_t targetLength) in ucol_greater() argument
497 return (ucol_strcoll(coll, source, sourceLength, target, targetLength) in ucol_greater()
507 int32_t targetLength) in ucol_greaterOrEqual() argument
509 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()
Dcoll.cpp502 const UChar* target, int32_t targetLength) in compare()
506 return (EComparisonResult)compare(source, sourceLength, target, targetLength, ec); in compare()
/external/icu/icu4c/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);
Dcoll.h424 const UChar* target, int32_t targetLength)
444 const UChar* target, int32_t targetLength,
Dtblcoll.h312 const UChar* target, int32_t targetLength,
/external/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()
/external/icu/icu4c/source/common/unicode/
Dunistr.h1584 uint32_t targetLength) const;
1652 uint32_t targetLength,
2622 UBool padLeading(int32_t targetLength,
2636 UBool padTrailing(int32_t targetLength,
2645 inline UBool truncate(int32_t targetLength);
4632 UnicodeString::truncate(int32_t targetLength) in truncate() argument
4634 if(isBogus() && targetLength == 0) { in truncate()
4638 } else if((uint32_t)targetLength < (uint32_t)length()) { in truncate()
4639 setLength(targetLength); in truncate()
/external/icu/icu4c/source/test/cintltst/
Dccapitst.c2150 int32_t targetLength; in convertExStreaming() local
2187 targetLength=(int32_t)(target-targetBuffer); in convertExStreaming()
2196 if(targetLength+chunkSize<=sizeof(targetBuffer)) { in convertExStreaming()
2216 } else if(targetLength!=expectTargetLength) { in convertExStreaming()
2218 testName, chunkSize, targetLength, expectTargetLength); in convertExStreaming()
2219 } else if(memcmp(targetBuffer, expectTarget, targetLength)!=0) { in convertExStreaming()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.equinox.launcher_1.1.0.v20100507.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.equinox.launcher.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.apache.jasper_5.5.17.v201004212143.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/icu/icu4c/source/test/intltest/
Dapicoll.cpp1988 int32_t targetLength,
2070 int32_t targetLength, in compare() argument
2074 UnicodeString t(target, targetLength); in compare()
/external/slf4j/log4j-over-slf4j/compatibility/lib/
Dlogback-classic-0.9.8-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF ch/ ch/qos/ ch/ ...
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.jdt.core_3.11.0.v20150602-1242.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/guice/extensions/struts2/lib/
Dcore-3.1.1.jarMETA-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse ...

12