Home
last modified time | relevance | path

Searched refs:bestMatchLength (Results 1 – 6 of 6) sorted by relevance

/external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/bsdiff/
DBsDiffTest.java448 int bestMatchLength = 0; in findLongestMatchInOld() local
460 if (matchLength > bestMatchLength) { in findLongestMatchInOld()
462 bestMatchLength = matchLength; in findLongestMatchInOld()
466 return BsDiff.Match.of(bestMatchIndex, bestMatchLength); in findLongestMatchInOld()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSimpleDateFormat.java2921 int bestMatchLength = 0, bestMatch = -1; in matchString() local
2930 if (length > bestMatchLength && in matchString()
2934 bestMatchLength = matchLength; in matchString()
2941 if (length > bestMatchLength && in matchString()
2945 bestMatchLength = matchLength; in matchString()
2961 return start + bestMatchLength; in matchString()
3005 int bestMatchLength = 0, bestMatch = -1; in matchQuarterString() local
3011 if (length > bestMatchLength && in matchQuarterString()
3015 bestMatchLength = matchLength; in matchQuarterString()
3021 return start + bestMatchLength; in matchQuarterString()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSimpleDateFormat.java2907 int bestMatchLength = 0, bestMatch = -1; in matchString() local
2916 if (length > bestMatchLength && in matchString()
2920 bestMatchLength = matchLength; in matchString()
2927 if (length > bestMatchLength && in matchString()
2931 bestMatchLength = matchLength; in matchString()
2947 return start + bestMatchLength; in matchString()
2990 int bestMatchLength = 0, bestMatch = -1; in matchQuarterString() local
2996 if (length > bestMatchLength && in matchQuarterString()
3000 bestMatchLength = matchLength; in matchQuarterString()
3006 return start + bestMatchLength; in matchQuarterString()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCurrency.java834 private int bestMatchLength; field in Currency.CurrencyNameResultHandler
847 bestMatchLength = matchLength; in handlePrefixMatch()
857 return bestMatchLength; in getBestMatchLength()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCurrency.java806 private int bestMatchLength; field in Currency.CurrencyNameResultHandler
819 bestMatchLength = matchLength; in handlePrefixMatch()
829 return bestMatchLength; in getBestMatchLength()
/external/icu/icu4c/source/i18n/
Dsmpdtfmt.cpp2602 int32_t bestMatchLength = 0, bestMatch = -1; in matchQuarterString() local
2607 if ((matchLength = matchStringWithOptionalDot(text, start, data[i])) > bestMatchLength) { in matchQuarterString()
2608 bestMatchLength = matchLength; in matchQuarterString()
2615 return start + bestMatchLength; in matchQuarterString()
2626 int32_t bestMatchLength = 0, bestMatch = -1; in matchDayPeriodStrings() local
2630 if ((matchLength = matchStringWithOptionalDot(text, start, data[i])) > bestMatchLength) { in matchDayPeriodStrings()
2631 bestMatchLength = matchLength; in matchDayPeriodStrings()
2638 return start + bestMatchLength; in matchDayPeriodStrings()
2808 int32_t bestMatchLength = 0, bestMatch = -1; in matchString() local
2814 if ((matchLen = matchStringWithOptionalDot(text, start, data[i])) > bestMatchLength) { in matchString()
[all …]