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.cpp107 uCharsToChars(char *target, int32_t targetLen, const UChar *source, int32_t sourceLen, UErrorCode *… in uCharsToChars() argument
112 if (j + 2 < targetLen) { in uCharsToChars()
117 if(j+2<targetLen){ in uCharsToChars()
123 if(j+2<targetLen){ in uCharsToChars()
130 if(j+2<targetLen){ in uCharsToChars()
150 if(j+2<targetLen){ in uCharsToChars()
157 if(j+3<targetLen){ in uCharsToChars()
163 if(j<targetLen){ in uCharsToChars()
170 if(j<targetLen){ in uCharsToChars()
176 if(j<targetLen){ in uCharsToChars()
[all …]
/external/vulkan-headers/registry/
Dcgenerator.py285 targetLen = 0;
287 targetLen = max(targetLen, self.getCParamTypeLength(member))
289 body += self.makeCParamDecl(member, targetLen + 4)
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestConversion.java401 … int targetLen = cc.bytes.capacity() + 20; // for BOM, and to let failures produce excess output in stepFromUnicode() local
403 ByteBuffer target = ByteBuffer.allocate(targetLen); in stepFromUnicode()
411 currentTargetLimit = Math.min(step, targetLen); in stepFromUnicode()
414 currentTargetLimit = targetLen; in stepFromUnicode()
434 target.limit(targetLen); in stepFromUnicode()
448 if (currentTargetLimit == targetLen) { in stepFromUnicode()
452 currentTargetLimit = Math.min(currentTargetLimit + step, targetLen); in stepFromUnicode()
/external/icu/icu4c/source/test/cintltst/
Dnfsprep.c153 …ngIndex(const char* const *sortedArr, int32_t sortedArrLen, const char* target, int32_t targetLen){ in findStringIndex() argument
162 rc=strncmp(sortedArr[middle],target, targetLen); in findStringIndex()
/external/skia/tests/
DMathTest.cpp170 const SkPoint& p, SkScalar targetLen) { in check_length() argument
175 len /= SkScalarToFloat(targetLen); in check_length()
/external/skqp/tests/
DMathTest.cpp170 const SkPoint& p, SkScalar targetLen) { in check_length() argument
175 len /= SkScalarToFloat(targetLen); in check_length()