Home
last modified time | relevance | path

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

/external/openthread/src/core/thread/
Dnetwork_data_leader.cpp271 uint8_t bestMatchLength = 0; in ExternalRouteLookup() local
289 if ((bestRouteEntry != nullptr) && (prefixLength <= bestMatchLength)) in ExternalRouteLookup()
307 bestMatchLength = prefixLength; in ExternalRouteLookup()
322 *aPrefixMatchLength = bestMatchLength; in ExternalRouteLookup()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSimpleDateFormat.java2933 int bestMatchLength = 0, bestMatch = -1; in matchAlphaMonthStrings() local
2941 if (length > bestMatchLength && in matchAlphaMonthStrings()
2945 bestMatchLength = matchLength; in matchAlphaMonthStrings()
2954 if (length > bestMatchLength && in matchAlphaMonthStrings()
2958 bestMatchLength = matchLength; in matchAlphaMonthStrings()
2964 return start + bestMatchLength; in matchAlphaMonthStrings()
3025 int bestMatchLength = 0, bestMatch = -1; in matchString() local
3034 if (length > bestMatchLength && in matchString()
3038 bestMatchLength = matchLength; in matchString()
3045 if (length > bestMatchLength && in matchString()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSimpleDateFormat.java2918 int bestMatchLength = 0, bestMatch = -1; in matchAlphaMonthStrings() local
2926 if (length > bestMatchLength && in matchAlphaMonthStrings()
2930 bestMatchLength = matchLength; in matchAlphaMonthStrings()
2939 if (length > bestMatchLength && in matchAlphaMonthStrings()
2943 bestMatchLength = matchLength; in matchAlphaMonthStrings()
2949 return start + bestMatchLength; in matchAlphaMonthStrings()
3009 int bestMatchLength = 0, bestMatch = -1; in matchString() local
3018 if (length > bestMatchLength && in matchString()
3022 bestMatchLength = matchLength; in matchString()
3029 if (length > bestMatchLength && in matchString()
[all …]
/external/icu/icu4c/source/i18n/
Dsmpdtfmt.cpp2734 int32_t bestMatchLength = 0, bestMatch = -1; in matchQuarterString() local
2739 if ((matchLength = matchStringWithOptionalDot(text, start, data[i])) > bestMatchLength) { in matchQuarterString()
2740 bestMatchLength = matchLength; in matchQuarterString()
2747 return start + bestMatchLength; in matchQuarterString()
2758 int32_t bestMatchLength = 0, bestMatch = -1; in matchDayPeriodStrings() local
2762 if ((matchLength = matchStringWithOptionalDot(text, start, data[i])) > bestMatchLength) { in matchDayPeriodStrings()
2763 bestMatchLength = matchLength; in matchDayPeriodStrings()
2770 return start + bestMatchLength; in matchDayPeriodStrings()
2934 int32_t bestMatchLength = 0, bestMatch = -1; in matchAlphaMonthStrings() local
2938 if ((matchLen = matchStringWithOptionalDot(text, start, wideData[i])) > bestMatchLength) { in matchAlphaMonthStrings()
[all …]
/external/cronet/third_party/icu/source/i18n/
Dsmpdtfmt.cpp2734 int32_t bestMatchLength = 0, bestMatch = -1; in matchQuarterString() local
2739 if ((matchLength = matchStringWithOptionalDot(text, start, data[i])) > bestMatchLength) { in matchQuarterString()
2740 bestMatchLength = matchLength; in matchQuarterString()
2747 return start + bestMatchLength; in matchQuarterString()
2758 int32_t bestMatchLength = 0, bestMatch = -1; in matchDayPeriodStrings() local
2762 if ((matchLength = matchStringWithOptionalDot(text, start, data[i])) > bestMatchLength) { in matchDayPeriodStrings()
2763 bestMatchLength = matchLength; in matchDayPeriodStrings()
2770 return start + bestMatchLength; in matchDayPeriodStrings()
2934 int32_t bestMatchLength = 0, bestMatch = -1; in matchAlphaMonthStrings() local
2938 if ((matchLen = matchStringWithOptionalDot(text, start, wideData[i])) > bestMatchLength) { in matchAlphaMonthStrings()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCurrency.java825 private int bestMatchLength; field in Currency.CurrencyNameResultHandler
838 bestMatchLength = matchLength; in handlePrefixMatch()
848 return bestMatchLength; in getBestMatchLength()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCurrency.java858 private int bestMatchLength; field in Currency.CurrencyNameResultHandler
871 bestMatchLength = matchLength; in handlePrefixMatch()
881 return bestMatchLength; in getBestMatchLength()
/external/zstd/lib/compress/
Dzstd_ldm.c382 bestMatchLength = 0, mLength; in ZSTD_ldm_generateSequences_internal() local
435 if (curTotalMatchLength > bestMatchLength) { in ZSTD_ldm_generateSequences_internal()
436 bestMatchLength = curTotalMatchLength; in ZSTD_ldm_generateSequences_internal()