Home
last modified time | relevance | path

Searched refs:CldrDataSupplier (Results 1 – 25 of 36) sorted by relevance

12

/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
DAlternateLocaleData.java15 import org.unicode.cldr.api.CldrDataSupplier;
54 public static CldrDataSupplier transform( in transform()
55 CldrDataSupplier src, in transform()
61 private static final class CldrDataFilter extends CldrDataSupplier {
62 private final CldrDataSupplier src;
69 CldrDataSupplier src, in CldrDataFilter()
86 public CldrDataSupplier withDraftStatusAtLeast(CldrDraftStatus draftStatus) { in withDraftStatusAtLeast()
DPseudoLocales.java13 import static org.unicode.cldr.api.CldrDataSupplier.CldrResolution.RESOLVED;
14 import static org.unicode.cldr.api.CldrDataSupplier.CldrResolution.UNRESOLVED;
26 import org.unicode.cldr.api.CldrDataSupplier;
27 import org.unicode.cldr.api.CldrDataSupplier.CldrResolution;
122 public static CldrDataSupplier addPseudoLocalesTo(CldrDataSupplier src) { in addPseudoLocalesTo()
126 private static final class PseudoSupplier extends CldrDataSupplier {
127 private final CldrDataSupplier src;
132 PseudoSupplier(CldrDataSupplier src) { in PseudoSupplier()
149 CldrDataSupplier src, String... ids) { in getUnresolvedPaths()
158 @Override public CldrDataSupplier withDraftStatusAtLeast(CldrDraftStatus draftStatus) { in withDraftStatusAtLeast()
DDebugWriter.java20 import org.unicode.cldr.api.CldrDataSupplier;
53 public static void writeForDebugging(String[] args, Function<CldrDataSupplier, IcuData> fn) in writeForDebugging() argument
66 String[] args, Function<CldrDataSupplier, Collection<IcuData>> fn) in writeMultipleForDebugging() argument
86 CldrDataSupplier src = CldrDataSupplier.forCldrFilesIn(Paths.get(cldrPath)); in writeMultipleForDebugging()
DLdmlConverter.java9 import static org.unicode.cldr.api.CldrDataSupplier.CldrResolution.RESOLVED;
10 import static org.unicode.cldr.api.CldrDataSupplier.CldrResolution.UNRESOLVED;
37 import org.unicode.cldr.api.CldrDataSupplier;
194 CldrDataSupplier src, SupplementalData supplementalData, LdmlConverterConfig config) { in convert()
199 private final CldrDataSupplier src;
216 CldrDataSupplier src, SupplementalData supplementalData, LdmlConverterConfig config) { in LdmlConverter()
262 CldrDataSupplier.forCldrFiles(LDML, config.getMinimumDraftStatus(), xmlFiles)) in loadSpecialsData()
DIcuConverterConfig.java16 import org.unicode.cldr.api.CldrDataSupplier;
163 builder.cldrVersion.orElse(CldrDataSupplier.getCldrVersionString())); in IcuConverterConfig()
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/
DPseudoLocalesTest.java7 import static org.unicode.cldr.api.CldrDataSupplier.CldrResolution.UNRESOLVED;
16 import org.unicode.cldr.api.CldrDataSupplier;
50 CldrDataSupplier pseudo = PseudoLocales.addPseudoLocalesTo(src); in testExpansion()
85 CldrDataSupplier pseudo = PseudoLocales.addPseudoLocalesTo(src); in testBidi()
110 CldrDataSupplier pseudo = PseudoLocales.addPseudoLocalesTo(src); in testLatinNumbering()
122 CldrDataSupplier pseudo = PseudoLocales.addPseudoLocalesTo(src); in testExemplars()
DAlternateLocaleDataTest.java7 import static org.unicode.cldr.api.CldrDataSupplier.CldrResolution.RESOLVED;
8 import static org.unicode.cldr.api.CldrDataSupplier.CldrResolution.UNRESOLVED;
18 import org.unicode.cldr.api.CldrDataSupplier;
49 CldrDataSupplier transformed = in testLocaleData()
70 CldrDataSupplier transformed = in testMissingSource()
93 CldrDataSupplier transformed = in testMissingTarget()
DFilteredDataTest.java18 import org.unicode.cldr.api.CldrDataSupplier;
36 CldrData src = CldrDataSupplier.forValues(ImmutableList.of(keep, remove, replace)); in testSimple()
65 CldrData src = CldrDataSupplier.forValues(ImmutableList.of(replace)); in testBadReplacementPath()
85 CldrData src = CldrDataSupplier.forValues(ImmutableList.of(replace)); in testBadReplacementAttributes()
DCldrDataProcessorTest.java17 import org.unicode.cldr.api.CldrDataSupplier;
116 CldrData data = CldrDataSupplier.forValues(Arrays.asList( in testTwoLevelProcessing()
133 CldrData data = CldrDataSupplier.forValues(Arrays.asList( in testThreeLevelProcessing()
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/testing/
DFakeDataSupplier.java14 import org.unicode.cldr.api.CldrDataSupplier;
29 public final class FakeDataSupplier extends CldrDataSupplier {
72 return CldrDataSupplier.forValues(values); in getDataForLocale()
76 return CldrDataSupplier.forValues( in getDataForType()
85 @Override public CldrDataSupplier withDraftStatusAtLeast(CldrDraftStatus cldrDraftStatus) { in withDraftStatusAtLeast()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/api/
DPrefixVisitorTest.java21 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()
180 CldrDataSupplier.forValues(values); in TestParentPathsNotAllowed()
DFilteredDataTest.java25 CldrData src = CldrDataSupplier.forValues(ImmutableList.of(keep, remove, replace)); in TestSimple()
53 CldrData src = CldrDataSupplier.forValues(ImmutableList.of(replace)); in TestBadReplacementPath()
75 CldrData src = CldrDataSupplier.forValues(ImmutableList.of(replace)); in TestBadReplacementAttributes()
/external/cldr/tools/java/org/unicode/cldr/api/
DCldrDataSupplier.java56 public abstract class CldrDataSupplier { class
88 public static CldrDataSupplier forCldrFilesIn(Path cldrRootDir) { in forCldrFilesIn()
151 public abstract CldrDataSupplier withDraftStatusAtLeast(CldrDraftStatus draftStatus); in withDraftStatusAtLeast()
186 private static final class FileBasedDataSupplier extends CldrDataSupplier {
214 public CldrDataSupplier withDraftStatusAtLeast(CldrDraftStatus draftStatus) { in withDraftStatusAtLeast()
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/mapper/
DSupplementalMapper.java10 import org.unicode.cldr.api.CldrDataSupplier;
41 CldrDataSupplier src, in process()
55 CldrDataSupplier src, PathValueTransformer transformer, Predicate<CldrPath> pathFilter) { in SupplementalMapper()
DPluralRangesMapper.java11 import org.unicode.cldr.api.CldrDataSupplier;
55 public static IcuData process(CldrDataSupplier src) { in process()
DDayPeriodsMapper.java11 import org.unicode.cldr.api.CldrDataSupplier;
51 public static IcuData process(CldrDataSupplier src) { in process()
DPluralsMapper.java15 import org.unicode.cldr.api.CldrDataSupplier;
61 public static IcuData process(CldrDataSupplier src) { in process()
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DTerritoryContainmentTest.java12 import org.unicode.cldr.api.CldrDataSupplier;
68 return CldrDataSupplier.forValues(asList(values)); in getTestData()
DPartitionInfoTest.java9 import org.unicode.cldr.api.CldrDataSupplier;
89 return TerritoryContainment.getContainment(CldrDataSupplier.forValues(asList(tcs))); in territories()
DLikelySubtagsBuilderTest.java18 import org.unicode.cldr.api.CldrDataSupplier;
108 return CldrDataSupplier.forValues(asList(values)); in getTestData()
DTestData.java11 import org.unicode.cldr.api.CldrDataSupplier;
45 return CldrDataSupplier.forValues(asList(values)); in cldrData()
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/mapper/
DCollationMapperTest.java14 import org.unicode.cldr.api.CldrDataSupplier;
150 return CldrDataSupplier.forValues(Arrays.asList(values)); in cldrData()
DPluralRangesMapperTest.java20 import org.unicode.cldr.api.CldrDataSupplier;
96 return CldrDataSupplier.forValues(Arrays.asList(values)); in cldrData()
DBreakIteratorMapperTest.java18 import org.unicode.cldr.api.CldrDataSupplier;
121 return CldrDataSupplier.forValues(Arrays.asList(values)); in cldrData()
DRbnfMapperTest.java19 import org.unicode.cldr.api.CldrDataSupplier;
164 return CldrDataSupplier.forValues(Arrays.asList(values)); in cldrData()

12