Home
last modified time | relevance | path

Searched refs:targetLen (Results 1 – 7 of 7) sorted by relevance

/external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/helper/
DAbbreviatorTest.java111 int targetLen = (maxLen / 2) + rh.nextInt(maxLen / 2) + 1; in testTheories() local
113 if (targetLen > maxLen) { in testTheories()
114 targetLen = maxLen; in testTheories()
118 Abbreviator abb = new Abbreviator(fixedLen, targetLen, FS); in testTheories()
120 assertTheory0(averageLen, filename, result, fixedLen, targetLen); in testTheories()
121 assertUsefulness(averageLen, filename, result, fixedLen, targetLen); in testTheories()
122 assertTheory1(filename, result, fixedLen, targetLen); in testTheories()
123 assertTheory2(filename, result, fixedLen, targetLen); in testTheories()
/external/icu/icu4c/source/tools/genrb/
Dwrtjava.c103 uCharsToChars( char* target,int32_t targetLen, UChar* source, int32_t sourceLen,UErrorCode* status){ in uCharsToChars() argument
108 if (j + 2 < targetLen) { in uCharsToChars()
113 if(j+2<targetLen){ in uCharsToChars()
119 if(j+2<targetLen){ in uCharsToChars()
126 if(j+2<targetLen){ in uCharsToChars()
146 if(j+2<targetLen){ in uCharsToChars()
153 if(j+3<targetLen){ in uCharsToChars()
159 if(j<targetLen){ in uCharsToChars()
166 if(j<targetLen){ in uCharsToChars()
172 if(j<targetLen){ in uCharsToChars()
[all …]
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestConversion.java391 … int targetLen = cc.bytes.capacity() + 20; // for BOM, and to let failures produce excess output in stepFromUnicode() local
393 ByteBuffer target = ByteBuffer.allocate(targetLen); in stepFromUnicode()
401 currentTargetLimit = Math.min(step, targetLen); in stepFromUnicode()
404 currentTargetLimit = targetLen; in stepFromUnicode()
424 target.limit(targetLen); in stepFromUnicode()
438 if (currentTargetLimit == targetLen) { in stepFromUnicode()
442 currentTargetLimit = Math.min(currentTargetLimit + step, targetLen); in stepFromUnicode()
/external/icu/icu4c/source/test/cintltst/
Dnfsprep.c151 …ngIndex(const char* const *sortedArr, int32_t sortedArrLen, const char* target, int32_t targetLen){ in findStringIndex() argument
160 rc=strncmp(sortedArr[middle],target, targetLen); in findStringIndex()
/external/skia/tests/
DMathTest.cpp192 const SkPoint& p, SkScalar targetLen) { in check_length() argument
197 len /= SkScalarToFloat(targetLen); in check_length()
/external/slf4j/log4j-over-slf4j/compatibility/lib/
Dlogback-classic-0.9.8-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF ch/ ch/qos/ ch/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
Dfindbugs.jarMETA-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd ...