Home
last modified time | relevance | path

Searched refs:MyOptions (Results 1 – 22 of 22) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/tool/
DXMLModify.java23 enum MyOptions { enum in XMLModify
46 private MyOptions(Params params) { in MyOptions() method in XMLModify.MyOptions
52 for (MyOptions option : MyOptions.values()) {
62 return myOptions.parse(MyOptions.values()[0], args, true); in parse()
67 MyOptions.parse(args, true); in main()
68 File sourceDirectory = new File(MyOptions.sourceDirectory.option.getValue()); in main()
69 Matcher fileMatcher = Pattern.compile(MyOptions.fileRegex.option.getValue()).matcher(""); in main()
70 Matcher pathMatcher = Pattern.compile(MyOptions.pathRegex.option.getValue()).matcher(""); in main()
DCopySubdivisionsIntoMain.java33 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()
DRegexModify.java24 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()
DCompareEn.java21 enum MyOptions { enum in CompareEn
29 private MyOptions(Params params) { in MyOptions() method in CompareEn.MyOptions
35 for (MyOptions option : MyOptions.values()) {
41 return myOptions.parse(MyOptions.values()[0], args, true); in parse()
50 MyOptions.parse(args, true); in main()
51 VERBOSE = MyOptions.verbose.option.doesOccur(); in main()
52 if (MyOptions.uplevel.option.doesOccur()) { in main()
DGenerateProductionData.java65 enum MyOptions { enum in GenerateProductionData
110 private MyOptions(Params params) { in MyOptions() method in GenerateProductionData.MyOptions
116 for (MyOptions option : MyOptions.values()) {
122 return myOptions.parse(MyOptions.values()[0], args, true); in parse()
129 MyOptions.parse(args, true); in main()
130 SOURCE_COMMON_DIR = MyOptions.sourceDirectory.option.getValue(); in main()
131 DEST_COMMON_DIR = MyOptions.destinationDirectory.option.getValue(); in main()
134 VERBOSE = MyOptions.verbose.option.doesOccur(); in main()
135 DEBUG = MyOptions.Debug.option.doesOccur(); in main()
136 String fileMatch = MyOptions.fileMatch.option.getValue(); in main()
[all …]
DGenerateDerivedAnnotations.java65 private enum MyOptions { enum in GenerateDerivedAnnotations
73 private MyOptions(Params params) { in MyOptions() method in GenerateDerivedAnnotations.MyOptions
79 for (MyOptions option : MyOptions.values()) {
85 return myOptions.parse(MyOptions.values()[0], args, true); in parse()
90 MyOptions.parse(args); in main()
92 boolean missingOnly = MyOptions.missing.option.doesOccur(); in main()
97 Matcher localeMatcher = Pattern.compile(MyOptions.fileFilter.option.getValue()).matcher(""); in main()
DDiffCldr.java39 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()
DReadSql.java40 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()
DGenerateDecompCollationRules.java55 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()
DShowStarredCoverage.java57 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()
DChartDelta.java76 private enum MyOptions { enum in ChartDelta
89 private MyOptions(Params params) { in MyOptions() method in ChartDelta.MyOptions
95 for (MyOptions option : MyOptions.values()) {
101 return myOptions.parse(MyOptions.values()[0], args, true); in parse()
124 MyOptions.parse(args); in main()
125 …Matcher fileFilter = !MyOptions.fileFilter.option.doesOccur() ? null : PatternCache.get(MyOptions.… in main()
126 if (MyOptions.orgFilter.option.doesOccur()) { in main()
127 if (MyOptions.fileFilter.option.doesOccur()) { in main()
130 String rawOrg = MyOptions.orgFilter.option.getValue(); in main()
135 …Level coverage = !MyOptions.coverageFilter.option.doesOccur() ? null : Level.fromString(MyOptions.… in main()
[all …]
DGeneratedPluralSamples.java604 enum MyOptions {
611 MyOptions(String argumentPattern, String defaultArgument, String helpText) {
617 myOptions.parse(MyOptions.filter, args, true);
619 …Matcher localeMatcher = !MyOptions.filter.option.doesOccur() ? null : PatternCache.get(MyOptions.f…
621 final boolean multiline = MyOptions.multiline.option.doesOccur();
622 final boolean sortNew = MyOptions.sortNew.option.doesOccur();
631 …try (TempPrintWriter out = TempPrintWriter.openUTF8Writer(MyOptions.output.option.getValue(), type…
DShowLocaleCoverage.java165 enum MyOptions { enum in ShowLocaleCoverage
186 MyOptions(String argumentPattern, String defaultArgument, String helpText) { in MyOptions() method in ShowLocaleCoverage.MyOptions
206 myOptions.parse(MyOptions.filter, args, true); in main()
208 Matcher matcher = PatternCache.get(MyOptions.filter.option.getValue()).matcher(""); in main()
210 if (MyOptions.chart.option.doesOccur()) { in main()
216 if (MyOptions.growth.option.doesOccur()) { in main()
224 String organization = MyOptions.organization.option.getValue(); in main()
225 boolean useOrgLevel = MyOptions.organization.option.doesOccur(); in main()
230 if (MyOptions.version.option.doesOccur()) { in main()
231 String number = MyOptions.version.option.getValue().trim(); in main()
[all …]
DGenerateItemCounts.java78 enum MyOptions { enum in GenerateItemCounts
85 MyOptions(String argumentPattern, String defaultArgument, String helpText) { in MyOptions() method in GenerateItemCounts.MyOptions
95 myOptions.parse(MyOptions.directory, args, true); in main()
97 DIR_FILE_MATCHER = PatternCache.get(MyOptions.directory.option.getValue()).matcher(""); in main()
98 RAW_FILE_MATCHER = PatternCache.get(MyOptions.rawfilter.option.getValue()).matcher(""); in main()
99 VERBOSE = MyOptions.verbose.option.doesOccur(); in main()
101 if (MyOptions.summary.option.doesOccur()) { in main()
120 String prefix = (MyOptions.rawfilter.option.doesOccur() ? "filtered_" : ""); in main()
540 …PrintWriter summary = FileUtilities.openUTF8Writer(OUT_DIRECTORY, (MyOptions.directory.option.does… in doSummary()
561 …PrintWriter summary2 = FileUtilities.openUTF8Writer(OUT_DIRECTORY, (MyOptions.directory.option.doe… in doSummary()
DShowRegionalVariants.java51 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()
DShowKeyboards.java75 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()
DCheckHtmlFiles.java83 enum MyOptions { enum in CheckHtmlFiles
95 MyOptions(String argumentPattern, String defaultArgument, String helpText) { in MyOptions() method in CheckHtmlFiles.MyOptions
116 myOptions.parse(MyOptions.target, args, true); in main()
117 verbose = Verbosity.of(MyOptions.verbose.option.getValue()); in main()
119 String targetString = MyOptions.target.option.getValue(); in main()
/external/cldr/tools/java/org/unicode/cldr/util/
DVerifyCompactNumbers.java43 enum MyOptions { enum in VerifyCompactNumbers
48 MyOptions(String argumentPattern, String defaultArgument, String helpText) { in MyOptions() method in VerifyCompactNumbers.MyOptions
64 myOptions.parse(MyOptions.organization, args, true); in main()
70 String organization = MyOptions.organization.option.getValue(); in main()
71 String filter = MyOptions.filter.option.getValue(); in main()
73 String currencyCode = MyOptions.currency.option.getValue(); in main()
DVerifyZones.java43 enum MyOptions { enum in VerifyZones
48 MyOptions(String argumentPattern, String defaultArgument, String helpText) { in MyOptions() method in VerifyZones.MyOptions
227 myOptions.parse(MyOptions.organization, args, true); in main()
229 String organization = MyOptions.organization.option.getValue(); in main()
230 String filter = MyOptions.filter.option.getValue(); in main()
231 String timezoneFilterString = MyOptions.timezoneFilter.option.getValue(); in main()
DDateTimeFormats.java56 enum MyOptions { enum in DateTimeFormats
61 MyOptions(String argumentPattern, String defaultArgument, String helpText) { in MyOptions() method in DateTimeFormats.MyOptions
834 myOptions.parse(MyOptions.organization, args, true); in main()
836 String organization = MyOptions.organization.option.getValue(); in main()
837 String filter = MyOptions.filter.option.getValue(); in main()
DVettingViewer.java1579 enum MyOptions { enum in VettingViewer
1590 MyOptions(String argumentPattern, String defaultArgument, String helpText) { in MyOptions() method in VettingViewer.MyOptions
1597 myOptions.parse(MyOptions.source, args, true); in main()
1598 boolean repeat = MyOptions.repeat.option.doesOccur(); in main()
1599 String fileFilter = MyOptions.filter.option.getValue(); in main()
1600 String myOutputDir = repeat ? null : MyOptions.output.option.getValue(); in main()
1601 String LOCALE = MyOptions.locale.option.getValue(); in main()
1603 String[] DIRECTORIES = MyOptions.source.option.getValue().split(",\\s*"); in main()
/external/cldr/tools/java/org/unicode/cldr/test/
DConsoleCheckCLDR.java125 enum MyOptions { enum in ConsoleCheckCLDR
166 private MyOptions(Params params) { in MyOptions() method in ConsoleCheckCLDR.MyOptions
172 for (MyOptions option : MyOptions.values()) {
178 return myOptions.parse(MyOptions.values()[0], args, true); in parse()
261 MyOptions.parse(args, true); in main()
369 if (MyOptions.source_all.option.doesOccur()) { in main()
370 if (MyOptions.source_directory.option.doesOccur()) { in main()
373 …es = cldrConf.addStandardSubdirectories(cldrConf.getCLDRDataDirectories(MyOptions.source_all.optio… in main()
492 if (MyOptions.exemplarError.option.doesOccur()) { in main()