Home
last modified time | relevance | path

Searched refs:longestFullMatch (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/i18n/
Dnumparse_currency.cpp156 int32_t longestFullMatch = 0; in matchCurrency() local
160 if (overlap == name.length() && name.length() > longestFullMatch) { in matchCurrency()
161 longestFullMatch = name.length(); in matchCurrency()
165 if (longestFullMatch > 0) { in matchCurrency()
167 segment.adjustOffset(longestFullMatch); in matchCurrency()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DCombinedCurrencyMatcher.java183 int longestFullMatch = 0; in matchCurrency() local
190 if (overlap == name.length() && name.length() > longestFullMatch) { in matchCurrency()
191 longestFullMatch = name.length(); in matchCurrency()
195 if (longestFullMatch > 0) { in matchCurrency()
197 segment.adjustOffset(longestFullMatch); in matchCurrency()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DCombinedCurrencyMatcher.java181 int longestFullMatch = 0; in matchCurrency() local
188 if (overlap == name.length() && name.length() > longestFullMatch) { in matchCurrency()
189 longestFullMatch = name.length(); in matchCurrency()
193 if (longestFullMatch > 0) { in matchCurrency()
195 segment.adjustOffset(longestFullMatch); in matchCurrency()