Home
last modified time | relevance | path

Searched refs:cldrFactory (Results 1 – 25 of 64) sorted by relevance

123

/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateKaraList.java25 cldrFactory = Factory.make(CLDRPaths.COMMON_DIRECTORY, ".*"); in main()
26 english = cldrFactory.make("en", true); in main()
28 Set<String> locales = LanguageTagParser.getLanguageScript(cldrFactory.getAvailable()); in main()
45 static Factory cldrFactory; field in GenerateKaraList
122 CLDRFile cldrfile = cldrFactory.make(locale, true); in printCodes()
DDiffWithParent.java28 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in main() local
29 CLDRFile english = cldrFactory.make("en", true); in main()
33 for (String locale : cldrFactory.getAvailable()) { in main()
36 CLDRFile file = cldrFactory.make(locale, false); in main()
38 CLDRFile parent = cldrFactory.make(parentLocale, true); // use in main()
DExtractListInfo.java19 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in main() local
21 for (String locale : cldrFactory.getAvailableLanguages()) { in main()
22 CLDRFile file = cldrFactory.make(locale, true); in main()
DDumpCoverage.java23 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in main() local
24 Set<String> languages = cldrFactory.getAvailableLanguages(); in main()
28 CLDRFile cf = cldrFactory.makeWithFallback(lang); in main()
DCompareStockDatetime.java19 Factory cldrFactory = info.getCldrFactory(); in main() local
36 for (String locale : cldrFactory.getAvailableLanguages()) { in main()
41 CLDRFile cldrFile = cldrFactory.make(locale, true); in main()
DGenerateSeedDurations.java47 Factory cldrFactory = testInfo.getCldrFactory(); in main() local
50 for (String locale : cldrFactory.getAvailableLanguages()) { in main()
51 CLDRFile cldrFile = cldrFactory.make(locale, true); in main()
DShowChildren.java27 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in main() local
28 Set<String> locales = new TreeSet<>(cldrFactory.getAvailable()); in main()
47 CLDRFile parentFile = cldrFactory.make(parent, true); in main()
51 CLDRFile file = cldrFactory.make(child, false); in main()
DCompareData.java48 static Factory cldrFactory; field in CompareData
59 cldrFactory = Factory.make(sourceDir, options[MATCH].value); in main()
62 locales = new TreeSet<>(cldrFactory.getAvailable()); in main()
77 CLDRFile file = cldrFactory.make(locale, false); in main()
DGenerateG2xG2.java45 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in main() local
46 english = cldrFactory.make("en", true); in main()
47 root = cldrFactory.make("root", true); in main()
155 CLDRFile sourceData = cldrFactory.make(sourceLocale, true); in main()
198 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in showLocales() local
199 english = cldrFactory.make("en", true); in showLocales()
212 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in showLocales() local
213 english = cldrFactory.make("en", false); in showLocales()
373 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in getCurrency() local
374 CLDRFile supp = cldrFactory.make(CLDRFile.SUPPLEMENTAL_NAME, false); in getCurrency()
DGenerateIndexCharacters.java25 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in main() local
26 Set<String> available = cldrFactory.getAvailable(); in main()
29 String cleanedSet = getConstructedIndexSet(locale, cldrFactory.make(locale, true)); in main()
DSearchCLDR.java146 Factory cldrFactory = SimpleFactory.make(paths, fileMatcher); in main() local
148 Set<String> locales = new TreeSet<>(cldrFactory.getAvailable()); in main()
155 File[] files = getCorrespondingDirectories(base, cldrFactory); in main()
175 checkCldr = (CheckCLDR) ctor.newInstance(cldrFactory); in main()
205 CLDRFile file = cldrFactory.make(locale, resolved); in main()
207 : (CLDRFile) cldrFactory.make(locale, true); in main()
363 private static File[] getCorrespondingDirectories(String base, Factory cldrFactory) { in getCorrespondingDirectories() argument
364 File[] sourceDirs = cldrFactory.getSourceDirectories(); in getCorrespondingDirectories()
DGenerateTempDateData.java25 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in main() local
26 Set<String> x = cldrFactory.getAvailable(); in main()
33 CLDRFile file = cldrFactory.make(locale, false); in main()
DCLDRFormat.java39 Factory cldrFactory = Factory.make(srcSubdir, ".*"); in main() local
40 for (String key : cldrFactory.getAvailable()) { in main()
46 CLDRFile cldrFile = cldrFactory.make(key, false); in main()
DVettingAdder.java253 public void showFiles(Factory cldrFactory, String targetDir) throws IOException { in showFiles() argument
254 english = cldrFactory.make("en", true); in showFiles()
272 showConflicts(cldrFactory); in showFiles()
278 Set<String> availableLocales = new TreeSet<>(cldrFactory.getAvailable()); in showFiles()
283 CLDRFile cldr = cldrFactory.make(locale, false); in showFiles()
300 private void showConflicts(Factory cldrFactory) { in showConflicts() argument
315 cldr = cldrFactory.make(lastLocale, false); in showConflicts()
DPivotData.java54 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in main() local
55 …PivotData pd = new PivotData(cldrFactory, CLDRPaths.MAIN_DIRECTORY, CLDRPaths.GEN_DIRECTORY + "piv… in main()
56 pd.pivotGroup(cldrFactory, conditions); in main()
62 …private void pivotGroup(Factory cldrFactory, Set<LocaleIDParser.Level> conditions) throws IOExcept… in pivotGroup() argument
63 CLDRFile supplementalMetadata = cldrFactory.make("supplementalMetadata", false); in pivotGroup()
DCLDRCompare.java44 Factory cldrFactory = Factory.make(newSubDir, ".*"); in main() local
45 files.addAll(cldrFactory.getAvailable()); in main()
63 newCldrFile = cldrFactory.make(file, false); in main()
DCheckEnglishCurrencyNames.java25 static Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); field in CheckEnglishCurrencyNames
26 static CLDRFile english = cldrFactory.make("en", true);
116 nativeLanguage = cldrFactory.make(locale, true); in main()
119 nativeLanguage = cldrFactory.make(language, true); in main()
DCountItems.java195 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in showExemplars() local
196 Set<String> locales = cldrFactory.getAvailable(); in showExemplars()
200 CLDRFile cldrfile = cldrFactory.make(locale, false); in showExemplars()
330 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in genSupplementalZoneData() local
331 CLDRFile english = cldrFactory.make("en", true); in genSupplementalZoneData()
710 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in getSubtagVariables() local
711 CLDRFile english = cldrFactory.make("en", true); in getSubtagVariables()
988 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in showZoneInfo()
992 CLDRFile english = cldrFactory.make("en", true); in showZoneInfo()
1008 Factory cldrFactory = Factory.make(dir, ".*"); in countItems() local
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestCollators.java59 static Factory cldrFactory = Factory.make(CLDRPaths.COMMON_DIRECTORY + "collation/", ".*"); field in TestCollators.CollatorSource
67 CLDRFile cldrFile = cldrFactory.make(locale, false); // don't need resolved in build()
78 return cldrFactory.getAvailable(); in getAvailableLocales()
84 CLDRFile cldrFile = cldrFactory.make(locale, false); // don't need resolved in getAvailableTypes()
DTestAlt.java34 Factory cldrFactory = testInfo.getCldrFactory(); in testValues() local
41 for (String locale : cldrFactory.getAvailable()) { in testValues()
46 available.addAll(cldrFactory.getAvailable()); in testValues()
49 CLDRFile cldrFile = cldrFactory.make(locale, false); in testValues()
/external/cldr/tools/java/org/unicode/cldr/test/
DTestMisc.java168 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in main() local
169 CLDRFile englishFile = cldrFactory.make("en", true); in main()
204 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in checkAliases() local
205 CLDRFile en = cldrFactory.make("root", true); in checkAliases()
226 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in testWeights() local
227 CLDRFile english = cldrFactory.make("en", true); in testWeights()
229 for (String desiredLocale : cldrFactory.getAvailable()) { in testWeights()
502 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in checkDistinguishing() local
503 Set<String> cldrFiles = cldrFactory.getAvailableLanguages(); in checkDistinguishing()
507 CLDRFile cldrFile = cldrFactory.make(it.next(), false); in checkDistinguishing()
[all …]
DCLDRTest.java74 private Factory cldrFactory; field in CLDRTest
124 cldrFactory = Factory.make(MAIN_DIR, MATCH); in CLDRTest()
126 locales = cldrFactory.getAvailable(); in CLDRTest()
127 languageLocales = cldrFactory.getAvailableLanguages(); in CLDRTest()
128 resolvedRoot = cldrFactory.make("root", true); in CLDRTest()
135 resolvedEnglish = cldrFactory.make("en", true); in CLDRTest()
147 CLDRFile item = cldrFactory.make(locale, false); in TestCurrencyFormats()
185 Set<String> availableWithParent = cldrFactory.getAvailableWithParent(parent, true); in TestCommonChildren()
188 CLDRFile item = cldrFactory.make(locale, false); in TestCommonChildren()
218 CLDRFile parentCLDR = cldrFactory.make(parent, true); in TestCommonChildren()
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DCharacterFallbacks.java22 Factory cldrFactory = Factory.make(CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY, ".*"); in CharacterFallbacks() local
23 CLDRFile characterFallbacks = cldrFactory.make("characters", false); in CharacterFallbacks()
/external/cldr/tools/java/org/unicode/cldr/draft/
DGenerateLanguageData.java28 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); field in GenerateLanguageData
30 CLDRFile english = cldrFactory.make("en", true);
31 CLDRFile root = cldrFactory.make("root", true);
/external/cldr/tools/java/org/unicode/cldr/tool/resolver/
DCldrResolver.java66 private Factory cldrFactory; field in CldrResolver
152 cldrFactory = factory; in CldrResolver()
193 Set<String> allLocales = cldrFactory.getAvailable(); in getLocaleNames()
219 CLDRFile base = cldrFactory.make(locale, true); in resolveLocale()

123