Home
last modified time | relevance | path

Searched refs:CldrData (Results 1 – 25 of 49) sorted by relevance

12

/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/mapper/
DLocaleMapper.java7 import static org.unicode.cldr.api.CldrData.PathOrder.DTD;
14 import org.unicode.cldr.api.CldrData;
45 CldrData unresolved, in process()
46 CldrData resolved, in process()
47 Optional<CldrData> icuSpecialData, in process()
56 private final CldrData unresolved;
57 private final Optional<CldrData> icuSpecialData;
60 CldrData unresolved, in LocaleMapper()
61 CldrData resolved, in LocaleMapper()
62 Optional<CldrData> icuSpecialData, in LocaleMapper()
[all …]
DPluralsMapper.java7 import static org.unicode.cldr.api.CldrData.PathOrder.NESTED_GROUPING;
14 import org.unicode.cldr.api.CldrData;
66 static IcuData process(CldrData data) { in process()
143 private static CldrData filterByType(CldrData data, String pluralType) { in filterByType()
DRbnfMapper.java7 import static org.unicode.cldr.api.CldrData.PathOrder.DTD;
12 import org.unicode.cldr.api.CldrData;
57 IcuData icuData, CldrData cldrData, Optional<CldrData> icuSpecialData) { in process()
DCollationMapper.java8 import static org.unicode.cldr.api.CldrData.PathOrder.DTD;
13 import org.unicode.cldr.api.CldrData;
72 IcuData icuData, CldrData cldrData, Optional<CldrData> icuSpecialData, String cldrVersion) { in process()
DPluralRangesMapper.java6 import static org.unicode.cldr.api.CldrData.PathOrder.NESTED_GROUPING;
10 import org.unicode.cldr.api.CldrData;
60 static IcuData process(CldrData data) { in process()
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/
DFilteredDataTest.java6 import static org.unicode.cldr.api.CldrData.PathOrder.ARBITRARY;
17 import org.unicode.cldr.api.CldrData;
36 CldrData src = CldrDataSupplier.forValues(ImmutableList.of(keep, remove, replace)); in testSimple()
37 CldrData filtered = new FilteredData(src) { in testSimple()
65 CldrData src = CldrDataSupplier.forValues(ImmutableList.of(replace)); in testBadReplacementPath()
66 CldrData filtered = new FilteredData(src) { in testBadReplacementPath()
85 CldrData src = CldrDataSupplier.forValues(ImmutableList.of(replace)); in testBadReplacementAttributes()
86 CldrData filtered = new FilteredData(src) { in testBadReplacementAttributes()
DAlternateLocaleDataTest.java6 import static org.unicode.cldr.api.CldrData.PathOrder.ARBITRARY;
17 import org.unicode.cldr.api.CldrData;
53 CldrData unresolved = transformed.getDataForLocale("xx", UNRESOLVED); in testLocaleData()
54 CldrData resolved = transformed.getDataForLocale("xx", RESOLVED); in testLocaleData()
74 CldrData unresolved = transformed.getDataForLocale("xx", UNRESOLVED); in testMissingSource()
75 CldrData resolved = transformed.getDataForLocale("xx", RESOLVED); in testMissingSource()
97 CldrData unresolved = transformed.getDataForLocale("xx", UNRESOLVED); in testMissingTarget()
98 CldrData resolved = transformed.getDataForLocale("xx", RESOLVED); in testMissingTarget()
153 public static void assertValuesUnordered(CldrData data, CldrValue... values) { in assertValuesUnordered()
DPseudoLocalesTest.java6 import static org.unicode.cldr.api.CldrData.PathOrder.ARBITRARY;
15 import org.unicode.cldr.api.CldrData;
54 CldrData unresolved = pseudo.getDataForLocale("en_XA", UNRESOLVED); in testExpansion()
88 CldrData unresolved = pseudo.getDataForLocale("ar_XB", UNRESOLVED); in testBidi()
112 CldrData unresolved = pseudo.getDataForLocale("ar_XB", UNRESOLVED); in testLatinNumbering()
132 public static void assertValuesUnordered(CldrData data, CldrValue... values) { in assertValuesUnordered()
DCldrDataProcessorTest.java16 import org.unicode.cldr.api.CldrData;
116 CldrData data = CldrDataSupplier.forValues(Arrays.asList( in testTwoLevelProcessing()
121 State state = VISITOR.process(data, new State(), CldrData.PathOrder.DTD); in testTwoLevelProcessing()
133 CldrData data = CldrDataSupplier.forValues(Arrays.asList( in testThreeLevelProcessing()
141 State state = VISITOR.process(data, new State(), CldrData.PathOrder.DTD); in testThreeLevelProcessing()
/external/cldr/tools/java/org/unicode/cldr/api/
DCldrDataSupplier.java17 import org.unicode.cldr.api.CldrData.PrefixVisitor;
18 import org.unicode.cldr.api.CldrData.ValueVisitor;
114 public static CldrData forCldrFiles( in forCldrFiles()
139 public static CldrData forValues(Iterable<CldrValue> values) { in forValues()
167 public abstract CldrData getDataForLocale(String localeId, CldrResolution resolution); in getDataForLocale()
184 public abstract CldrData getDataForType(CldrDataType type); in getDataForType()
219 public CldrData getDataForLocale(String localeId, CldrResolution resolution) { in getDataForLocale()
235 public CldrData getDataForType(CldrDataType type) { in getDataForType()
275 private static final CldrData NO_DATA = new CldrData() {
DFilteredData.java20 public abstract class FilteredData implements CldrData {
21 private final CldrData src;
24 protected FilteredData(CldrData src) { in FilteredData()
29 protected CldrData getSourceData() { in getSourceData()
DPrefixVisitorHost.java5 import static org.unicode.cldr.api.CldrData.PathOrder.NESTED_GROUPING;
12 import org.unicode.cldr.api.CldrData.PathOrder;
13 import org.unicode.cldr.api.CldrData.PrefixVisitor;
14 import org.unicode.cldr.api.CldrData.PrefixVisitor.Context;
15 import org.unicode.cldr.api.CldrData.ValueVisitor;
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/api/
DFilteredDataTest.java5 import static org.unicode.cldr.api.CldrData.PathOrder.ARBITRARY;
25 CldrData src = CldrDataSupplier.forValues(ImmutableList.of(keep, remove, replace)); in TestSimple()
26 CldrData filtered = new FilteredData(src) { in TestSimple()
53 CldrData src = CldrDataSupplier.forValues(ImmutableList.of(replace)); in TestBadReplacementPath()
54 CldrData filtered = new FilteredData(src) { in TestBadReplacementPath()
75 CldrData src = CldrDataSupplier.forValues(ImmutableList.of(replace)); in TestBadReplacementAttributes()
76 CldrData filtered = new FilteredData(src) { in TestBadReplacementAttributes()
DPrefixVisitorTest.java3 import static org.unicode.cldr.api.CldrData.PathOrder.ARBITRARY;
4 import static org.unicode.cldr.api.CldrData.PathOrder.DTD;
9 import org.unicode.cldr.api.CldrData.PrefixVisitor;
21 CldrData testData = CldrDataSupplier.forValues(ImmutableList.of()); in TestEmptyData()
40 CldrData testData = CldrDataSupplier.forValues(values); in TestSinglePathProcessing()
70 CldrData testData = CldrDataSupplier.forValues(values); in TestSameParentPathProcessing()
106 CldrData testData = CldrDataSupplier.forValues(values); in TestMultiplePathProcessing()
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DTerritoryContainmentTest.java11 import org.unicode.cldr.api.CldrData;
19 CldrData testData = getTestData( in testSimple()
32 CldrData testData = getTestData( in testOverlappingContainment()
45 CldrData testData = getTestData( in testMultipleRootsFails()
58 CldrData testData = getTestData( in testCyclicGraphFails()
67 private static CldrData getTestData(CldrValue... values) { in getTestData()
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
DFilteredData.java10 import org.unicode.cldr.api.CldrData;
19 abstract class FilteredData implements CldrData {
20 private final CldrData src;
22 public FilteredData(CldrData src) { in FilteredData()
27 protected CldrData getSourceData() { in getSourceData()
DCldrDataProcessor.java15 import org.unicode.cldr.api.CldrData;
16 import org.unicode.cldr.api.CldrData.PathOrder;
17 import org.unicode.cldr.api.CldrData.PrefixVisitor;
18 import org.unicode.cldr.api.CldrData.PrefixVisitor.Context;
334 public T process(CldrData data, T state) { in process()
348 public T process(CldrData data, T state, PathOrder pathOrder) { in process()
DAlternateLocaleData.java14 import org.unicode.cldr.api.CldrData;
92 public CldrData getDataForLocale(String localeId, CldrResolution resolution) { in getDataForLocale()
102 public CldrData getDataForType(CldrDataType type) { in getDataForType()
115 AltData(CldrData srcData, String localeId) { in AltData()
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/mapper/
DCollationMapperTest.java13 import org.unicode.cldr.api.CldrData;
46 CldrData cldrData = in testDefault()
64 CldrData cldrData = cldrData( in testLastAltRuleOverridesExisting()
78 CldrData cldrData = cldrData( in testCommentAndWhitespaceStripping()
106 CldrData cldrData = cldrData( in testEmoji()
138 CldrData specials = cldrData( in testSpecials()
149 private static CldrData cldrData(CldrValue... values) { in cldrData()
DBcp47MapperTest.java12 import org.unicode.cldr.api.CldrData;
35 CldrData cldrData = cldrData( in testSimple()
69 CldrData cldrData = cldrData( in testSimpleTimezone()
105 CldrData cldrData = cldrData( in testKeyAliases()
118 CldrData cldrData = cldrData( in testTypeAliases_single()
130 CldrData cldrData = cldrData( in testTypeAliases_multiple()
148 CldrData cldrData = cldrData( in testKeyAndTypeAliases()
161 CldrData cldrData = cldrData( in testPreferredTypeName()
174 CldrData cldrData = cldrData( in testInfoAttributes()
199 CldrData cldrData = cldrData( in testTimezonePathQuotingForAliases()
[all …]
DRbnfMapperTest.java18 import org.unicode.cldr.api.CldrData;
53 CldrData cldrData = cldrData( in testSingleRuleset()
76 CldrData cldrData = cldrData( in testMultipleRulesets()
107 CldrData specials = cldrData( in testSpecials()
115 CldrData cldrData = cldrData( in testSpecials()
146 CldrData cldrData = cldrData( in testEscaping()
163 private static CldrData cldrData(CldrValue... values) { in cldrData()
DBreakIteratorMapperTest.java17 import org.unicode.cldr.api.CldrData;
48 CldrData cldrData = cldrData( in testSingleSuppression()
68 CldrData cldrData = cldrData( in testMultipleSupressionTypes()
92 CldrData specials = cldrData( in testSpecials_dictionary()
106 CldrData specials = cldrData( in testSpecials_boundaries()
120 private static CldrData cldrData(CldrValue... values) { in cldrData()
DDayPeriodsMapperTest.java20 import org.unicode.cldr.api.CldrData;
53 CldrData cldrData = cldrData( in testSimple()
85 CldrData cldrData = cldrData( in testMultipleRuleSets()
115 CldrData cldrData = cldrData( in testRulesetLabels()
131 CldrData cldrData = cldrData( in testNoDataValidation()
149 private static CldrData cldrData(CldrValue... values) { in cldrData()
DPluralsMapperTest.java21 import org.unicode.cldr.api.CldrData;
52 CldrData cldrData = cldrData( in testSimple()
97 CldrData cldrData = cldrData( in testGroupDeduplication_subsets()
126 CldrData cldrData = cldrData( in testGroupDeduplication_type()
152 CldrData cldrData = cldrData( in testGroupDeduplication_locales()
173 private static CldrData cldrData(CldrValue... values) { in cldrData()
DPluralRangesMapperTest.java19 import org.unicode.cldr.api.CldrData;
43 CldrData cldrData = cldrData( in testSimple()
71 CldrData cldrData = cldrData( in testMultipleSets()
95 private static CldrData cldrData(CldrValue... values) { in cldrData()

12