Searched refs:targetLen (Results 1 – 9 of 9) sorted by relevance
/external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/helper/ |
D | AbbreviatorTest.java | 111 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/ |
D | wrtjava.cpp | 107 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/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
D | TestConversion.java | 401 … 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/ |
D | nfsprep.c | 153 …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/angle/third_party/vulkan-deps/vulkan-headers/src/registry/ |
D | cgenerator.py | 357 targetLen = self.getMaxCParamTypeLength(typeinfo) 359 body += self.makeCParamDecl(member, targetLen + 4)
|
/external/vulkan-headers/registry/ |
D | cgenerator.py | 346 targetLen = self.getMaxCParamTypeLength(typeinfo) 348 body += self.makeCParamDecl(member, targetLen + 4)
|
/external/icu/icu4c/source/test/intltest/ |
D | convtest.cpp | 884 int32_t targetLen = sizeof(result); in TestUTF8ToUTF8Streaming() local 886 const char* targetLimit = result + targetLen; in TestUTF8ToUTF8Streaming() 895 &target, result + targetLen, &source, sourceLimit, in TestUTF8ToUTF8Streaming() 900 targetLen -= length; in TestUTF8ToUTF8Streaming() 913 targetLen -= length; in TestUTF8ToUTF8Streaming() 916 assertEquals("Full text length match", sourceLen, sizeof(result) - targetLen); in TestUTF8ToUTF8Streaming()
|
/external/skqp/tests/ |
D | MathTest.cpp | 170 const SkPoint& p, SkScalar targetLen) { in check_length() argument 175 len /= SkScalarToFloat(targetLen); in check_length()
|
/external/skia/tests/ |
D | MathTest.cpp | 168 const SkPoint& p, SkScalar targetLen) { in check_length() argument 173 len /= SkScalarToFloat(targetLen); in check_length()
|