Home
last modified time | relevance | path

Searched refs:localeMatcher (Results 1 – 7 of 7) 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/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DXLocaleDistanceTest.java41 private XLocaleDistance localeMatcher = XLocaleDistance.getDefault(); field in XLocaleDistanceTest
105 …int dist1 = localeMatcher.distanceRaw(desiredLSR, supportedLSR, 1000, DistanceOption.REGION_FIRST); in testTiming()
106 …int dist2 = localeMatcher.distanceRaw(supportedLSR, desiredLSR, 1000, DistanceOption.REGION_FIRST); in testTiming()
126 checkTables(localeMatcher.internalGetDistanceTable(), "", 1); in testInternalTable()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DXLocaleDistanceTest.java38 private XLocaleDistance localeMatcher = XLocaleDistance.getDefault(); field in XLocaleDistanceTest
102 …int dist1 = localeMatcher.distanceRaw(desiredLSR, supportedLSR, 1000, DistanceOption.REGION_FIRST); in testTiming()
103 …int dist2 = localeMatcher.distanceRaw(supportedLSR, desiredLSR, 1000, DistanceOption.REGION_FIRST); in testTiming()
123 checkTables(localeMatcher.internalGetDistanceTable(), "", 1); in testInternalTable()
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckAttributeValues.java57 static LocaleMatcher localeMatcher; field in CheckAttributeValues
260 localeMatcher = LocaleMatcher.make(); in setCldrFileToCheck()
263 if (!localeMatcher.matches(cldrFileToCheck.getLocaleID())) { in setCldrFileToCheck()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGeneratedPluralSamples.java557 …Matcher localeMatcher = !MyOptions.filter.option.doesOccur() ? null : PatternCache.get(MyOptions.f…
583 if (localeMatcher != null && !localeMatcher.reset(locale).find()) {
DCLDRModify.java2209 …for (Entry<ConfigMatch, LinkedHashSet<Map<ConfigKeys, ConfigMatch>>> localeMatcher : locale2keyVal…
2211 if (localeMatcher.getKey().matches(localeId)) {
2212 keyValues.addAll(localeMatcher.getValue());
/external/icu/icu4c/source/test/intltest/
Drbbitst.cpp694 … RegexMatcher localeMatcher(UnicodeString(u"<locale *([\\p{L}\\p{Nd}_@&=-]*) *>"), 0, status); in TestExtended() local
818 localeMatcher.reset(testString); in TestExtended()
819 if (localeMatcher.lookingAt(charIdx-1, status)) { in TestExtended()
820 UnicodeString localeName = localeMatcher.group(1, status); in TestExtended()
824 charIdx += localeMatcher.group(0, status).length() - 1; in TestExtended()