Searched refs:fixedLen (Results 1 – 2 of 2) sorted by relevance
/external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/helper/ |
D | AbbreviatorTest.java | 101 int fixedLen = rh.nextInt(MAX_RANDOM_FIXED_LEN); in testTheories() local 106 int maxLen = rh.nextInt(MAX_RANDOM_MAX_LEN) + fixedLen; 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() 128 …void assertTheory0(int averageLen, String filename, String result, int fixedLen, int targetLength)… in assertTheory0() argument 133 …void assertUsefulness(int averageLen, String filename, String result, int fixedLen, int targetLeng… in assertUsefulness() argument 137 if (targetLength > fixedLen + margin) { in assertUsefulness() [all …]
|
/external/skia/src/ports/ |
D | SkFontMgr_android_parser.cpp | 685 static const size_t fixedLen = sizeof(LOCALE_FALLBACK_FONTS_PREFIX) - 1 in append_fallback_font_families_for_locale() local 689 static const size_t minSize = fixedLen + 2; in append_fallback_font_families_for_locale() 700 fileName.size() - fixedLen); in append_fallback_font_families_for_locale()
|