Home
last modified time | relevance | path

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

/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DXLocaleDistanceTest.java35 private XLocaleDistance localeMatcher = XLocaleDistance.getDefault(); field in XLocaleDistanceTest
96 … int dist1 = localeMatcher.distanceRaw(desiredLSR, supportedLSR, 1000, DistanceOption.NORMAL); in testTiming()
97 … int dist2 = localeMatcher.distanceRaw(supportedLSR, desiredLSR, 1000, DistanceOption.NORMAL); in testTiming()
116 checkTables(localeMatcher.internalGetDistanceTable(), "", 1); in testInternalTable()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateDerivedAnnotations.java97 Matcher localeMatcher = Pattern.compile(MyOptions.fileFilter.option.getValue()).matcher(""); in main() local
121 if (!localeMatcher.reset(locale).matches()) { in main()
207 if (!localeMatcher.reset(locale).matches()) { in main()
DGeneratedPluralSamples.java619 …Matcher localeMatcher = !MyOptions.filter.option.doesOccur() ? null : PatternCache.get(MyOptions.f…
641 if (localeMatcher != null && !localeMatcher.reset(locale).find()) {
DCLDRModify.java1973 …for (Entry<ConfigMatch, LinkedHashSet<Map<ConfigKeys, ConfigMatch>>> localeMatcher : locale2keyVal…
1975 if (localeMatcher.getKey().matches(localeId)) {
1976 keyValues.addAll(localeMatcher.getValue());
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckAttributeValues.java57 static LocaleMatcher localeMatcher; field in CheckAttributeValues
263 localeMatcher = LocaleMatcher.make(); in setCldrFileToCheck()
266 if (!localeMatcher.test(cldrFileToCheck.getLocaleID())) { in setCldrFileToCheck()
/external/icu/icu4c/source/test/intltest/
Drbbitst.cpp727 … RegexMatcher localeMatcher(UnicodeString(u"<locale *([\\p{L}\\p{Nd}_@&=-]*) *>"), 0, status); in TestExtended() local
851 localeMatcher.reset(testString); in TestExtended()
852 if (localeMatcher.lookingAt(charIdx-1, status)) { in TestExtended()
853 UnicodeString localeName = localeMatcher.group(1, status); in TestExtended()
857 charIdx += localeMatcher.group(0, status).length() - 1; in TestExtended()