/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | XMLModify.java | 23 enum MyOptions { enum in XMLModify 46 private MyOptions(Params params) { in MyOptions() method in XMLModify.MyOptions 52 for (MyOptions option : MyOptions.values()) { 58 return myOptions.parse(MyOptions.values()[0], args, true); in parse() 63 MyOptions.parse(args, true); in main() 64 File sourceDirectory = new File(MyOptions.sourceDirectory.option.getValue()); in main() 65 Matcher fileMatcher = Pattern.compile(MyOptions.fileRegex.option.getValue()).matcher(""); in main() 66 Matcher pathMatcher = Pattern.compile(MyOptions.pathRegex.option.getValue()).matcher(""); in main()
|
D | CopySubdivisionsIntoMain.java | 33 enum MyOptions { enum in CopySubdivisionsIntoMain 42 private MyOptions(Params params) { in MyOptions() method in CopySubdivisionsIntoMain.MyOptions 48 for (MyOptions option : MyOptions.values()) { 54 return myOptions.parse(MyOptions.values()[0], args, true); in parse() 66 MyOptions.parse(args, true); in main() 67 verbose = MyOptions.verbose.option.doesOccur(); in main() 68 boolean before = MyOptions.beforeSubmission.option.doesOccur(); in main() 69 boolean after = MyOptions.afterSubmission.option.doesOccur(); in main() 71 …llegalArgumentException("Must do exactly one of " + MyOptions.beforeSubmission + " and " + MyOptio… in main()
|
D | RegexModify.java | 24 enum MyOptions { enum in RegexModify 45 private MyOptions(Params params) { in MyOptions() method in RegexModify.MyOptions 51 for (MyOptions option : MyOptions.values()) { 57 return myOptions.parse(MyOptions.values()[0], args, true); in parse() 62 MyOptions.parse(args, true); in main() 63 File sourceDirectory = new File(MyOptions.sourceDirectory.option.getValue()); in main() 64 File targetDirectory = new File(MyOptions.targetDirectory.option.getValue()); in main() 65 Matcher fileMatcher = Pattern.compile(MyOptions.fileRegex.option.getValue()).matcher(""); in main() 66 String functionName = MyOptions.applyFunction.option.getValue(); in main()
|
D | DiffCldr.java | 39 enum MyOptions { enum in DiffCldr 47 private MyOptions(String argumentPattern, String defaultArgument, String helpText) { in MyOptions() method in DiffCldr.MyOptions 53 for (MyOptions option : MyOptions.values()) { 59 return myOptions.parse(MyOptions.values()[0], args, true); in parse() 64 MyOptions.parse(args, true); in main() 65 String localeBase = MyOptions.filter.option.getValue(); in main()
|
D | ReadSql.java | 40 enum MyOptions { enum in ReadSql 47 private MyOptions(String argumentPattern, String defaultArgument, String helpText) { in MyOptions() method in ReadSql.MyOptions 53 for (MyOptions option : MyOptions.values()) { 59 return options.parse(MyOptions.values()[0], args, true); in parse() 67 MyOptions.parse(args, true); in main() 68 organization = Organization.valueOf(MyOptions.organization.option.getValue()); in main() 69 verbose = MyOptions.verbose.option.doesOccur(); in main()
|
D | GenerateDecompCollationRules.java | 55 enum MyOptions { enum in GenerateDecompCollationRules 61 MyOptions(String argumentPattern, String defaultArgument, String helpText) { in MyOptions() method in GenerateDecompCollationRules.MyOptions 72 myOptions.parse(MyOptions.verbose, args, true); in main() 73 final boolean verbose = myOptions.get(MyOptions.verbose).doesOccur(); in main() 89 Option uSetOption = myOptions.get(MyOptions.unicodeset); in main()
|
D | ShowStarredCoverage.java | 57 enum MyOptions { enum in ShowStarredCoverage 66 private MyOptions(String argumentPattern, String defaultArgument, String helpText) { in MyOptions() method in ShowStarredCoverage.MyOptions 72 for (MyOptions option : MyOptions.values()) { 78 return myOptions.parse(MyOptions.values()[0], args, true); in parse() 87 MyOptions.parse(args, true); in main() 89 if (MyOptions.tag.option.doesOccur()) { in main() 95 String[] values = MyOptions.dtdTypes.option.getValue().split("[, ]+"); in main() 100 final String fileLocale = MyOptions.language.option.getValue(); in main()
|
D | ShowLocaleCoverage.java | 111 enum MyOptions { enum in ShowLocaleCoverage 132 MyOptions(String argumentPattern, String defaultArgument, String helpText) { in MyOptions() method in ShowLocaleCoverage.MyOptions 152 myOptions.parse(MyOptions.filter, args, true); in main() 154 if (MyOptions.chart.option.doesOccur()) { in main() 159 Matcher matcher = PatternCache.get(MyOptions.filter.option.getValue()).matcher(""); in main() 161 if (MyOptions.growth.option.doesOccur()) { in main() 169 String organization = MyOptions.organization.option.getValue(); in main() 170 boolean useOrgLevel = MyOptions.organization.option.doesOccur(); in main() 175 if (MyOptions.version.option.doesOccur()) { in main() 176 String number = MyOptions.version.option.getValue().trim(); in main() [all …]
|
D | GeneratedPluralSamples.java | 540 enum MyOptions { 547 MyOptions(String argumentPattern, String defaultArgument, String helpText) { 553 myOptions.parse(MyOptions.filter, args, true); 557 …Matcher localeMatcher = !MyOptions.filter.option.doesOccur() ? null : PatternCache.get(MyOptions.f… 559 final boolean multiline = MyOptions.multiline.option.doesOccur(); 560 final boolean sortNew = MyOptions.sortNew.option.doesOccur(); 571 …out = FileUtilities.openUTF8Writer(MyOptions.output.option.getValue(), type == PluralType.cardinal…
|
D | GenerateItemCounts.java | 77 enum MyOptions { enum in GenerateItemCounts 84 MyOptions(String argumentPattern, String defaultArgument, String helpText) { in MyOptions() method in GenerateItemCounts.MyOptions 94 myOptions.parse(MyOptions.directory, args, true); in main() 96 DIR_FILE_MATCHER = PatternCache.get(MyOptions.directory.option.getValue()).matcher(""); in main() 97 RAW_FILE_MATCHER = PatternCache.get(MyOptions.rawfilter.option.getValue()).matcher(""); in main() 98 VERBOSE = MyOptions.verbose.option.doesOccur(); in main() 100 if (MyOptions.summary.option.doesOccur()) { in main() 119 String prefix = (MyOptions.rawfilter.option.doesOccur() ? "filtered_" : ""); in main() 545 …PrintWriter summary = FileUtilities.openUTF8Writer(OUT_DIRECTORY, (MyOptions.directory.option.does… in doSummary() 566 …PrintWriter summary2 = FileUtilities.openUTF8Writer(OUT_DIRECTORY, (MyOptions.directory.option.doe… in doSummary()
|
D | ShowRegionalVariants.java | 51 enum MyOptions { enum in ShowRegionalVariants 56 MyOptions(String argumentPattern, String defaultArgument, String helpText) { in MyOptions() method in ShowRegionalVariants.MyOptions 62 myOptions.parse(MyOptions.targetDir, args, true); in main() 64 MY_DIR = MyOptions.targetDir.option.getValue(); in main()
|
D | ChartDelta.java | 74 enum MyOptions { enum in ChartDelta 82 private MyOptions(Params params) { in MyOptions() method in ChartDelta.MyOptions 88 for (MyOptions option : MyOptions.values()) { 94 return myOptions.parse(MyOptions.values()[0], args, true); in parse() 108 MyOptions.parse(args, true); in main() 109 …Matcher fileFilter = !MyOptions.fileFilter.option.doesOccur() ? null : PatternCache.get(MyOptions.… in main() 110 boolean verbose = MyOptions.verbose.option.doesOccur(); in main()
|
D | ShowKeyboards.java | 75 enum MyOptions { enum in ShowKeyboards 83 MyOptions(String argumentPattern, String defaultArgument, String helpText) { in MyOptions() method in ShowKeyboards.MyOptions 94 myOptions.parse(MyOptions.idFilter, args, true); in main() 95 String idPattern = MyOptions.idFilter.option.getValue(); in main() 96 keyboardChartDir = MyOptions.targetDirectory.option.getValue(); in main() 108 boolean layoutsOnly = MyOptions.layouts.option.doesOccur(); in main() 109 boolean repertoireOnly = MyOptions.repertoire.option.doesOccur(); in main()
|
D | CheckHtmlFiles.java | 82 enum MyOptions { enum in CheckHtmlFiles 94 MyOptions(String argumentPattern, String defaultArgument, String helpText) { in MyOptions() method in CheckHtmlFiles.MyOptions 115 myOptions.parse(MyOptions.target, args, true); in main() 116 verbose = Verbosity.of(MyOptions.verbose.option.getValue()); in main() 118 String targetString = MyOptions.target.option.getValue(); in main()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | VerifyCompactNumbers.java | 38 enum MyOptions { enum in VerifyCompactNumbers 43 MyOptions(String argumentPattern, String defaultArgument, String helpText) { in MyOptions() method in VerifyCompactNumbers.MyOptions 59 myOptions.parse(MyOptions.organization, args, true); in main() 61 String organization = MyOptions.organization.option.getValue(); in main() 62 String filter = MyOptions.filter.option.getValue(); in main() 64 String currencyCode = MyOptions.currency.option.getValue(); in main()
|
D | VerifyZones.java | 42 enum MyOptions { enum in VerifyZones 47 MyOptions(String argumentPattern, String defaultArgument, String helpText) { in MyOptions() method in VerifyZones.MyOptions 281 myOptions.parse(MyOptions.organization, args, true); in main() 283 String organization = MyOptions.organization.option.getValue(); in main() 284 String filter = MyOptions.filter.option.getValue(); in main() 285 String timezoneFilterString = MyOptions.timezoneFilter.option.getValue(); in main()
|
D | DateTimeFormats.java | 50 enum MyOptions { enum in DateTimeFormats 55 MyOptions(String argumentPattern, String defaultArgument, String helpText) { in MyOptions() method in DateTimeFormats.MyOptions 812 myOptions.parse(MyOptions.organization, args, true); in main() 814 String organization = MyOptions.organization.option.getValue(); in main() 815 String filter = MyOptions.filter.option.getValue(); in main()
|
D | VettingViewer.java | 1989 enum MyOptions { enum in VettingViewer 1997 MyOptions(String argumentPattern, String defaultArgument, String helpText) { in MyOptions() method in VettingViewer.MyOptions 2004 myOptions.parse(MyOptions.source, args, true); in main() 2005 boolean repeat = MyOptions.repeat.option.doesOccur(); in main() 2006 String fileFilter = MyOptions.filter.option.getValue(); in main() 2007 String myOutputDir = repeat ? null : MyOptions.output.option.getValue(); in main() 2008 String LOCALE = MyOptions.locale.option.getValue(); in main() 2009 String CURRENT_MAIN = MyOptions.source.option.getValue(); in main()
|
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | ConsoleCheckCLDR.java | 123 enum MyOptions { enum in ConsoleCheckCLDR 164 private MyOptions(Params params) { in MyOptions() method in ConsoleCheckCLDR.MyOptions 170 for (MyOptions option : MyOptions.values()) { 176 return myOptions.parse(MyOptions.values()[0], args, true); in parse() 258 MyOptions.parse(args, true); in main() 366 if (MyOptions.source_all.option.doesOccur()) { in main() 367 if (MyOptions.source_directory.option.doesOccur()) { in main() 370 …es = cldrConf.addStandardSubdirectories(cldrConf.getCLDRDataDirectories(MyOptions.source_all.optio… in main() 489 if (MyOptions.exemplarError.option.doesOccur()) { in main()
|