/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | GenerateSubdivisions.java | 16 import org.unicode.cldr.util.CLDRPaths; 28 …private static final String ISO_COUNTRY_CODES = CLDRPaths.CLDR_PRIVATE_DIRECTORY + "iso_country_co… 39 …static final SupplementalDataInfo SDI = SupplementalDataInfo.getInstance(CLDRPaths.LAST_RELEASE_DI… 45 …static final Validity VALIDITY_FORMER = Validity.getInstance(CLDRPaths.LAST_RELEASE_DIRECTORY + "c… 87 …SubdivisionSet sdset1 = new SubdivisionSet(CLDRPaths.CLDR_PRIVATE_DIRECTORY + source + "/iso_count… in main() 88 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "subdivision/" + sourc… in main() 101 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "subdivision/subdivisi… in main() 104 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "subdivision/subdivisi… in main() 107 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "subdivision/en.xml"))… in main() 110 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "subdivision/categorie… in main() [all …]
|
D | GenerateAttributeList.java | 24 import org.unicode.cldr.util.CLDRPaths; 48 addFromDTD(CLDRPaths.COMMON_DIRECTORY + "main/en.xml"); in GenerateAttributeList() 49 addFromDTD(CLDRPaths.COMMON_DIRECTORY + "supplemental/characters.xml"); in GenerateAttributeList() 50 addFromDirectory(CLDRPaths.COMMON_DIRECTORY + "collation/"); in GenerateAttributeList() 51 addFromDirectory(CLDRPaths.COMMON_DIRECTORY + "main/"); in GenerateAttributeList() 52 addFromDirectory(CLDRPaths.COMMON_DIRECTORY + "rbnf/"); in GenerateAttributeList() 53 addFromDirectory(CLDRPaths.COMMON_DIRECTORY + "segments/"); in GenerateAttributeList() 54 addFromDirectory(CLDRPaths.COMMON_DIRECTORY + "supplemental/"); in GenerateAttributeList() 55 addFromDirectory(CLDRPaths.COMMON_DIRECTORY + "transforms/"); in GenerateAttributeList()
|
D | CompareHanTransliterators.java | 7 import org.unicode.cldr.util.CLDRPaths; 22 reader.read(CLDRPaths.COMMON_DIRECTORY + "transforms/Han-Latin.xml", in main() 28 reader.read(CLDRPaths.LAST_DIRECTORY + "/common/transforms/Han-Latin.xml", in main() 33 …PrintWriter out = FileUtilities.openUTF8Writer(org.unicode.cldr.util.CLDRPaths.GEN_DIRECTORY, "han… in main()
|
D | DumpCoverage.java | 11 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()
|
D | PrepareRootAnnotations.java | 8 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()
|
D | GenerateLanguageData.java | 14 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() 78 try (PrintWriter w = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, filename)) { in main() 80 System.out.println("Wrote to " + CLDRPaths.GEN_DIRECTORY + "/" + filename); in main()
|
D | ShowLanguageData.java | 7 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);
|
D | GenerateIndexCharacters.java | 13 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()
|
D | SubdivisionNames.java | 12 import org.unicode.cldr.util.CLDRPaths; 30 XMLFileReader.loadPathValues(CLDRPaths.COMMON_DIRECTORY + "subdivisions/" in SubdivisionNames() 49 File baseDir = new File(CLDRPaths.COMMON_DIRECTORY + "subdivisions/"); in getAvailableLocales()
|
D | ScriptPopulations.java | 7 import org.unicode.cldr.util.CLDRPaths; 17 .getInstance(CLDRPaths.SUPPLEMENTAL_DIRECTORY); 19 static Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*");
|
D | GenerateTempDateData.java | 11 import org.unicode.cldr.util.CLDRPaths; 25 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in main() 28 …PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY + "datedata/", "DateData.jav… in main()
|
D | XMLModify.java | 14 import org.unicode.cldr.util.CLDRPaths; 26 .setDefault(CLDRPaths.COMMON_DIRECTORY) 29 .setDefault(CLDRPaths.GEN_DIRECTORY + "xmlModify")
|
D | CLDRFormat.java | 12 import org.unicode.cldr.util.CLDRPaths; 26 File src = new File(CLDRPaths.COMMON_DIRECTORY); in main() 27 File dest = new File(CLDRPaths.BASE_DIRECTORY + "/common-test/"); in main()
|
D | GenerateDtd.java | 8 import org.unicode.cldr.util.CLDRPaths; 32 …try (PrintWriter out = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY + "dtd/", name + ".dtd… in main()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | CLDRPaths.java | 16 public class CLDRPaths { class 32 CldrUtility.getPath(CLDRPaths.COMMON_DIRECTORY, "main")); 34 …public static final String RBNF_DIRECTORY = CldrUtility.getPath(CLDRPaths.COMMON_DIRECTORY, "rbnf/… 35 …public static final String TRANSFORMS_DIRECTORY = CldrUtility.getPath(CLDRPaths.COMMON_DIRECTORY, … 36 …public static final String ANNOTATIONS_DIRECTORY = CldrUtility.getPath(CLDRPaths.COMMON_DIRECTORY,… 37 …public static final String SUBDIVISIONS_DIRECTORY = CldrUtility.getPath(CLDRPaths.COMMON_DIRECTORY… 38 …public static final String ANNOTATIONS_DERIVED_DIRECTORY = CldrUtility.getPath(CLDRPaths.COMMON_DI… 41 CldrUtility.getPath(CLDRPaths.COMMON_DIRECTORY, "../seed/main")); 45 …public static final String VALIDITY_DIRECTORY = CldrUtility.getPath(CLDRPaths.COMMON_DIRECTORY, "v… 47 …public static final String EXEMPLARS_DIRECTORY = CldrUtility.getPath(CLDRPaths.BASE_DIRECTORY, "ex… [all …]
|
D | CLDRConfig.java | 215 … supplementalDataInfo = SupplementalDataInfo.getInstance(CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY); in getSupplementalDataInfo() 242 cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in getCldrFactory() 251 exemplarsFactory = Factory.make(CLDRPaths.EXEMPLARS_DIRECTORY, ".*"); in getExemplarsFactory() 260 collationFactory = Factory.make(CLDRPaths.COLLATION_DIRECTORY, ".*"); in getCollationFactory() 269 rbnfFactory = Factory.make(CLDRPaths.RBNF_DIRECTORY, ".*"); in getRBNFFactory() 278 annotationsFactory = Factory.make(CLDRPaths.ANNOTATIONS_DIRECTORY, ".*"); in getAnnotationsFactory() 287 subdivisionFactory = Factory.make(CLDRPaths.SUBDIVISIONS_DIRECTORY, ".*"); in getSubdivisionFactory() 297 new File(CLDRPaths.MAIN_DIRECTORY), in getMainAndAnnotationsFactory() 298 new File(CLDRPaths.ANNOTATIONS_DIRECTORY) }; in getMainAndAnnotationsFactory() 320 new File(CLDRPaths.MAIN_DIRECTORY), in getCommonAndSeedAndMainAndAnnotationsFactory() [all …]
|
D | TestUtilities.java | 111 …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() 150 …PrintWriter out = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY + "test/", "test_examples.h… in testExampleGenerator() 344 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in writeMetaData() 399 … PrintWriter out = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY + "meta/", "metaData.xml"); in writeMetaData() 403 xfr.read(CLDRPaths.GEN_DIRECTORY + "meta/metaData.xml", XMLFileReader.CONTENT_HANDLER in writeMetaData() 409 xfr.read(CLDRPaths.MAIN_DIRECTORY + "root.xml", -1, true); in testXMLFileReader() 614 …Factory mainCldrFactory = Factory.make(CLDRPaths.COMMON_DIRECTORY + "main" + File.separator, ".*"); in checkLanguages() 643 …Factory mainCldrFactory = Factory.make(CLDRPaths.COMMON_DIRECTORY + "main" + File.separator, ".*"); in printCountries() [all …]
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestCldrFactory.java | 19 import org.unicode.cldr.util.CLDRPaths; 41 new File(CLDRPaths.MAIN_DIRECTORY), in testDirectories() 42 new File(CLDRPaths.ANNOTATIONS_DIRECTORY), in testDirectories() 43 new File(CLDRPaths.SUPPLEMENTAL_DIRECTORY) in testDirectories() 46 …List<File> enExpected = Arrays.asList(new File(CLDRPaths.MAIN_DIRECTORY), new File(CLDRPaths.ANNOT… in testDirectories() 56 assertEquals("", new File(CLDRPaths.MAIN_DIRECTORY), enDir); in testDirectories() 63 Factory factoryAnnotations = SimpleFactory.make(CLDRPaths.ANNOTATIONS_DIRECTORY, ".*"); in testMerge() 67 … File[] paths = { new File(CLDRPaths.MAIN_DIRECTORY), new File(CLDRPaths.ANNOTATIONS_DIRECTORY) }; in testMerge() 163 Factory factoryAnnotations = SimpleFactory.make(CLDRPaths.ANNOTATIONS_DIRECTORY, ".*"); in testWrite() 166 … File[] paths = { new File(CLDRPaths.MAIN_DIRECTORY), new File(CLDRPaths.ANNOTATIONS_DIRECTORY) }; in testWrite()
|
D | TestCLDRFile.java | 27 import org.unicode.cldr.util.CLDRPaths; 523 File mainDir = new File(CLDRPaths.MAIN_DIRECTORY); in TestFileLocations() 527 + CLDRPaths.MAIN_DIRECTORY); in TestFileLocations() 529 File mainCollationDir = new File(CLDRPaths.COLLATION_DIRECTORY); in TestFileLocations() 533 + CLDRPaths.COLLATION_DIRECTORY); in TestFileLocations() 535 File seedDir = new File(CLDRPaths.SEED_DIRECTORY); in TestFileLocations() 539 + CLDRPaths.SEED_DIRECTORY); in TestFileLocations() 541 File seedCollationDir = new File(CLDRPaths.SEED_COLLATION_DIRECTORY); in TestFileLocations() 545 + CLDRPaths.SEED_COLLATION_DIRECTORY); in TestFileLocations() 562 …TreeSet<String> mainList = new TreeSet<>(Arrays.asList(new File(CLDRPaths.MAIN_DIRECTORY).list())); in TestForStrayFiles() [all …]
|
D | TestExampleGenerator.java | 14 import org.unicode.cldr.util.CLDRPaths; 330 CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY); in getExampleGenerator() 433 english, CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY); in TestSymbols() 448 CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY); in TestFallbackFormat() 512 CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY); in Test4607() 525 info.getEnglish(), CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY); in showCldrFile() 616 info.getEnglish(), CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY); in checkCompactExampleFor() 650 …or exampleGenerator = new ExampleGenerator(cldrFile, info.getEnglish(), CLDRPaths.DEFAULT_SUPPLEME… in checkDayPeriod()
|
D | TestUExtension.java | 3 import org.unicode.cldr.util.CLDRPaths; 13 .getInstance(CLDRPaths.SUPPLEMENTAL_DIRECTORY);
|
D | SimpleHtmlParserTest.java | 8 import org.unicode.cldr.util.CLDRPaths; 16 CLDRPaths.GEN_DIRECTORY, "chart_messages2.html"); in main()
|
/external/cldr/tools/java/org/unicode/cldr/posix/ |
D | POSIXLocale.java | 16 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/ |
D | DraftUtils.java | 3 import org.unicode.cldr.util.CLDRPaths; 16 …public static final String UCD_DIRECTORY = CldrUtility.getPath(CLDRPaths.EXTERNAL_DIRECTORY, "unic…
|
D | GenerateLanguageData.java | 13 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()
|