Home
last modified time | relevance | path

Searched refs:CLDRPaths (Results 1 – 25 of 170) sorted by relevance

1234567

/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateSubdivisions.java17 import org.unicode.cldr.util.CLDRPaths;
29 …private static final String ISO_COUNTRY_CODES = CLDRPaths.CLDR_PRIVATE_DIRECTORY + "iso_country_co…
40 …static final SupplementalDataInfo SDI_LAST = SupplementalDataInfo.getInstance(CLDRPaths.LAST_RELEA…
46 …static final Validity VALIDITY_FORMER = Validity.getInstance(CLDRPaths.LAST_RELEASE_DIRECTORY + "c…
92 …SubdivisionSet sdset1 = new SubdivisionSet(CLDRPaths.CLDR_PRIVATE_DIRECTORY + source + "/iso_count… in main()
93 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "subdivision/" + sourc… in main()
106 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "subdivision/subdivisi… in main()
109 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "subdivision/subdivisi… in main()
112 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "subdivision/en.xml"))… in main()
115 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "subdivision/categorie… in main()
[all …]
DGenerateAllCharts.java3 import org.unicode.cldr.util.CLDRPaths;
11 FileCopier.copy(GenerateAllCharts.class, "index.css", CLDRPaths.CHART_DIRECTORY); in main()
12 …FileCopier.copy(GenerateAllCharts.class, "main-index.html", CLDRPaths.CHART_DIRECTORY, "index.html… in main()
13 FormattedFileWriter.copyIncludeHtmls(CLDRPaths.CHART_DIRECTORY); in main()
DCldrVersion.java12 import org.unicode.cldr.util.CLDRPaths;
81 baseDirectory = CLDRPaths.ARCHIVE_DIRECTORY + "cldr-" + toString() + "/"; in CldrVersion()
84 baseDirectory = CLDRPaths.BASE_DIRECTORY; in CldrVersion()
139 for (String subdir : new File(CLDRPaths.ARCHIVE_DIRECTORY).list()) { in checkVersions()
164 …errorMessages.add("Extra ToolConstants.CLDR_VERSIONS compared to " + CLDRPaths.ARCHIVE_DIRECTORY +… in checkVersions()
169 …errorMessages.add("Extra folders in " + CLDRPaths.ARCHIVE_DIRECTORY + " compared to ToolConstants.… in checkVersions()
175 … errorMessages.add("Extra enums compared to " + CLDRPaths.ARCHIVE_DIRECTORY + ": " + extraEnums); in checkVersions()
DRemoveEmptyCldrFiles.java6 import org.unicode.cldr.util.CLDRPaths;
13 new File(CLDRPaths.ANNOTATIONS_DIRECTORY) in main()
18 File file = new File(CLDRPaths.ANNOTATIONS_DIRECTORY, localeId + ".xml"); in main()
DCompareHanTransliterators.java7 import org.unicode.cldr.util.CLDRPaths;
22 reader.read(CLDRPaths.COMMON_DIRECTORY + "transforms/Han-Latin.xml", in main()
28 reader.read(CLDRPaths.LAST_RELEASE_DIRECTORY + "/common/transforms/Han-Latin.xml", in main()
33 …PrintWriter out = FileUtilities.openUTF8Writer(org.unicode.cldr.util.CLDRPaths.GEN_DIRECTORY, "han… in main()
DGenerateAttributeList.java24 import org.unicode.cldr.util.CLDRPaths;
47 addFromDTD(CLDRPaths.COMMON_DIRECTORY + "main/en.xml"); in GenerateAttributeList()
48 addFromDTD(CLDRPaths.COMMON_DIRECTORY + "supplemental/characters.xml"); in GenerateAttributeList()
49 addFromDirectory(CLDRPaths.COMMON_DIRECTORY + "collation/"); in GenerateAttributeList()
50 addFromDirectory(CLDRPaths.COMMON_DIRECTORY + "main/"); in GenerateAttributeList()
51 addFromDirectory(CLDRPaths.COMMON_DIRECTORY + "rbnf/"); in GenerateAttributeList()
52 addFromDirectory(CLDRPaths.COMMON_DIRECTORY + "segments/"); in GenerateAttributeList()
53 addFromDirectory(CLDRPaths.COMMON_DIRECTORY + "supplemental/"); in GenerateAttributeList()
54 addFromDirectory(CLDRPaths.COMMON_DIRECTORY + "transforms/"); in GenerateAttributeList()
DDumpCoverage.java11 import org.unicode.cldr.util.CLDRPaths;
23 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in main()
25 PrintWriter out = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "coverageDump.txt"); in main()
DShowLanguageData.java7 import org.unicode.cldr.util.CLDRPaths;
16 …static SupplementalDataInfo data = SupplementalDataInfo.getInstance(CLDRPaths.SUPPLEMENTAL_DIRECTO…
17 static CLDRFile english = SimpleFactory.makeFile("en", CLDRPaths.MAIN_DIRECTORY, true);
DPrepareRootAnnotations.java8 import org.unicode.cldr.util.CLDRPaths;
20 Factory factoryAnnotations = SimpleFactory.make(CLDRPaths.ANNOTATIONS_DIRECTORY, ".*"); in main()
46 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY + "annotations/", "root… in main()
DToolConstants.java6 import org.unicode.cldr.util.CLDRPaths;
81 return CLDRPaths.BASE_DIRECTORY; in getBaseDirectory()
83 return CLDRPaths.ARCHIVE_DIRECTORY + "cldr-" + version + "/"; in getBaseDirectory()
DGenerateLanguageData.java14 import org.unicode.cldr.util.CLDRPaths;
33 …static SupplementalDataInfo supplementalData = SupplementalDataInfo.getInstance(CLDRPaths.SUPPLEME…
49 System.out.println("generating en.xml.. to " + CLDRPaths.GEN_DIRECTORY); in main()
76 try (PrintWriter w = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, filename)) { in main()
78 System.out.println("Wrote to " + CLDRPaths.GEN_DIRECTORY + "/" + filename); in main()
DGenerateIndexCharacters.java13 import org.unicode.cldr.util.CLDRPaths;
25 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in main()
32 …PrintWriter out = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY + "indexchars/", locale + "… in main()
DScriptPopulations.java7 import org.unicode.cldr.util.CLDRPaths;
17 .getInstance(CLDRPaths.SUPPLEMENTAL_DIRECTORY);
19 static Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*");
DRemoveEmptyCLDR.java12 import org.unicode.cldr.util.CLDRPaths;
34 …for (String dirCommonSeed : Arrays.asList(CLDRPaths.SEED_DIRECTORY1, CLDRPaths.COMMON_DIRECTORY)) { in main()
DXMLModify.java14 import org.unicode.cldr.util.CLDRPaths;
26 .setDefault(CLDRPaths.COMMON_DIRECTORY)
29 .setDefault(CLDRPaths.GEN_DIRECTORY + "xmlModify")
DGenerateTempDateData.java11 import org.unicode.cldr.util.CLDRPaths;
25 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in main()
27 …PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY + "datedata/", "DateData.jav… in main()
/external/cldr/tools/java/org/unicode/cldr/util/
DCLDRPaths.java19 public class CLDRPaths { class
43 CldrUtility.getPath(CLDRPaths.COMMON_DIRECTORY, MAIN_SUBDIR));
45 …public static final String RBNF_DIRECTORY = CldrUtility.getPath(CLDRPaths.COMMON_DIRECTORY, RBNF_S…
46 …public static final String TRANSFORMS_DIRECTORY = CldrUtility.getPath(CLDRPaths.COMMON_DIRECTORY, …
47 …public static final String ANNOTATIONS_DIRECTORY = CldrUtility.getPath(CLDRPaths.COMMON_DIRECTORY,…
48 …public static final String SUBDIVISIONS_DIRECTORY = CldrUtility.getPath(CLDRPaths.COMMON_DIRECTORY…
49 …public static final String ANNOTATIONS_DERIVED_DIRECTORY = CldrUtility.getPath(CLDRPaths.COMMON_DI…
50 …public static final String VALIDITY_DIRECTORY = CldrUtility.getPath(CLDRPaths.COMMON_DIRECTORY, VA…
52 …public static final String STAGING_DIRECTORY = CldrUtility.getPath(CLDRPaths.BASE_DIRECTORY, "../c…
57 CldrUtility.getPath(CLDRPaths.COMMON_DIRECTORY, "../" + "seed/"));
[all …]
DCLDRConfig.java218 … supplementalDataInfo = SupplementalDataInfo.getInstance(CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY); in getSupplementalDataInfo()
245 cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in getCldrFactory()
254 exemplarsFactory = Factory.make(CLDRPaths.EXEMPLARS_DIRECTORY, ".*"); in getExemplarsFactory()
263 collationFactory = Factory.make(CLDRPaths.COLLATION_DIRECTORY, ".*"); in getCollationFactory()
272 rbnfFactory = Factory.make(CLDRPaths.RBNF_DIRECTORY, ".*"); in getRBNFFactory()
281 annotationsFactory = Factory.make(CLDRPaths.ANNOTATIONS_DIRECTORY, ".*"); in getAnnotationsFactory()
290 subdivisionFactory = Factory.make(CLDRPaths.SUBDIVISIONS_DIRECTORY, ".*"); in getSubdivisionFactory()
300 new File(CLDRPaths.MAIN_DIRECTORY), in getMainAndAnnotationsFactory()
301 new File(CLDRPaths.ANNOTATIONS_DIRECTORY) }; in getMainAndAnnotationsFactory()
323 new File(CLDRPaths.MAIN_DIRECTORY), in getCommonAndSeedAndMainAndAnnotationsFactory()
[all …]
DTestUtilities.java111 …Factory mainCldrFactory = Factory.make(CLDRPaths.COMMON_DIRECTORY + "main" + File.separator, ".*"); in testNames()
123 …Factory mainCldrFactory = Factory.make(CLDRPaths.COMMON_DIRECTORY + "main" + File.separator, ".*"); in testExampleGenerator()
127 CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY); in testExampleGenerator()
151 …PrintWriter out = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY + "test/", "test_examples.h… in testExampleGenerator()
345 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in writeMetaData()
400 … PrintWriter out = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY + "meta/", "metaData.xml"); in writeMetaData()
404 xfr.read(CLDRPaths.GEN_DIRECTORY + "meta/metaData.xml", XMLFileReader.CONTENT_HANDLER in writeMetaData()
410 xfr.read(CLDRPaths.MAIN_DIRECTORY + "root.xml", -1, true); in testXMLFileReader()
619 …Factory mainCldrFactory = Factory.make(CLDRPaths.COMMON_DIRECTORY + "main" + File.separator, ".*"); in checkLanguages()
648 …Factory mainCldrFactory = Factory.make(CLDRPaths.COMMON_DIRECTORY + "main" + File.separator, ".*"); in printCountries()
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestCldrFactory.java19 import org.unicode.cldr.util.CLDRPaths;
40 new File(CLDRPaths.MAIN_DIRECTORY), in testDirectories()
41 new File(CLDRPaths.ANNOTATIONS_DIRECTORY), in testDirectories()
42 new File(CLDRPaths.SUPPLEMENTAL_DIRECTORY) in testDirectories()
45 …List<File> enExpected = Arrays.asList(new File(CLDRPaths.MAIN_DIRECTORY), new File(CLDRPaths.ANNOT… in testDirectories()
55 assertEquals("", new File(CLDRPaths.MAIN_DIRECTORY), enDir); in testDirectories()
62 Factory factoryAnnotations = SimpleFactory.make(CLDRPaths.ANNOTATIONS_DIRECTORY, ".*"); in testMerge()
66 … File[] paths = { new File(CLDRPaths.MAIN_DIRECTORY), new File(CLDRPaths.ANNOTATIONS_DIRECTORY) }; in testMerge()
162 Factory factoryAnnotations = SimpleFactory.make(CLDRPaths.ANNOTATIONS_DIRECTORY, ".*"); in testWrite()
165 … File[] paths = { new File(CLDRPaths.MAIN_DIRECTORY), new File(CLDRPaths.ANNOTATIONS_DIRECTORY) }; in testWrite()
DTestExampleGenerator.java14 import org.unicode.cldr.util.CLDRPaths;
469 CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY); in getExampleGenerator()
572 english, CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY); in TestSymbols()
587 CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY); in TestFallbackFormat()
648 CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY); in Test4607()
660 info.getEnglish(), CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY); in showCldrFile()
744 info.getEnglish(), CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY); in checkCompactExampleFor()
778 …or exampleGenerator = new ExampleGenerator(cldrFile, info.getEnglish(), CLDRPaths.DEFAULT_SUPPLEME… in checkDayPeriod()
814 …final ExampleGenerator eg = new ExampleGenerator(cldrFile, info.getEnglish(), CLDRPaths.DEFAULT_SU… in TestExampleGeneratorConsistency()
DTestUExtension.java3 import org.unicode.cldr.util.CLDRPaths;
13 .getInstance(CLDRPaths.SUPPLEMENTAL_DIRECTORY);
DTestCLDRFile.java28 import org.unicode.cldr.util.CLDRPaths;
644 File mainDir = new File(CLDRPaths.MAIN_DIRECTORY); in TestFileLocations()
648 + CLDRPaths.MAIN_DIRECTORY); in TestFileLocations()
650 File mainCollationDir = new File(CLDRPaths.COLLATION_DIRECTORY); in TestFileLocations()
654 + CLDRPaths.COLLATION_DIRECTORY); in TestFileLocations()
659 File seedDir = new File(CLDRPaths.SEED_DIRECTORY); in TestFileLocations()
663 + CLDRPaths.SEED_DIRECTORY); in TestFileLocations()
665 File seedCollationDir = new File(CLDRPaths.SEED_COLLATION_DIRECTORY); in TestFileLocations()
669 + CLDRPaths.SEED_COLLATION_DIRECTORY); in TestFileLocations()
687 …TreeSet<String> mainList = new TreeSet<>(Arrays.asList(new File(CLDRPaths.MAIN_DIRECTORY).list())); in TestForStrayFiles()
[all …]
/external/cldr/tools/java/org/unicode/cldr/posix/
DPOSIXLocale.java16 import org.unicode.cldr.util.CLDRPaths;
51 Factory mainFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in POSIXLocale()
52 Factory suppFactory = Factory.make(CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY, ".*"); in POSIXLocale()
53 Factory collFactory = Factory.make(CLDRPaths.COLLATION_DIRECTORY, ".*"); in POSIXLocale()
55 …SupplementalDataInfo supp = SupplementalDataInfo.getInstance(CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECT… in POSIXLocale()
/external/cldr/tools/java/org/unicode/cldr/draft/
DGenerateLanguageData.java13 import org.unicode.cldr.util.CLDRPaths;
27 …SupplementalDataInfo info = SupplementalDataInfo.getInstance(CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECT…
28 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*");
41 …try (PrintWriter out = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY + "langData/", "genera… in run()

1234567