Home
last modified time | relevance | path

Searched refs:UOption (Results 1 – 25 of 48) sorted by relevance

12

/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/
DUOption.java27 public class UOption { class
46 int handle(UOption option); in handle()
52 public static UOption create(String aLongName, in create()
55 return new UOption(aLongName, aShortName, hasArgument); in create()
62 public static UOption DEF(String aLongName, in DEF()
71 public static UOption HELP_H() { return create("help", 'h', NO_ARG); } in HELP_H()
72 public static UOption HELP_QUESTION_MARK() { return create("help", '?', NO_ARG); } in HELP_QUESTION_MARK()
73 public static UOption VERBOSE() { return create("verbose", 'v', NO_ARG); } in VERBOSE()
74 public static UOption QUIET() { return create("quiet", 'q', NO_ARG); } in QUIET()
75 public static UOption VERSION() { return create("version", 'V', NO_ARG); } in VERSION()
[all …]
/external/cldr/tools/java/org/unicode/cldr/icu/
DICU2LDMLWriter.java12 import com.ibm.icu.dev.tool.UOption;
23 private static final UOption[] options = new UOption[] {
24 UOption.HELP_H(),
25 UOption.HELP_QUESTION_MARK(),
26 UOption.DESTDIR(),
27 UOption.VERBOSE(),
28 UOption.create("main", 'm', UOption.NO_ARG),
29 UOption.create("trans", 't', UOption.NO_ARG),
30 UOption.create("coll", 'c', UOption.NO_ARG)
61 remainingArgc = UOption.parseArgs(args, options); in processArgs()
DRBNFWriter.java22 import com.ibm.icu.dev.tool.UOption;
42 private static final UOption[] options = {
43 UOption.HELP_H(),
44 UOption.HELP_QUESTION_MARK(),
45 UOption.create("sourcedir", 's', UOption.REQUIRES_ARG).setDefault("."),
46 UOption.create("destdir", 'd', UOption.REQUIRES_ARG).setDefault("."),
47 UOption.create("fromfile", 'f', UOption.REQUIRES_ARG).setDefault("root.txt"),
48 UOption.create("tofile", 't', UOption.REQUIRES_ARG).setDefault("root.xml"),
49 UOption.create("spec", 'x', UOption.REQUIRES_ARG).setDefault("false"),
50 UOption.create("copyright", 'c', UOption.REQUIRES_ARG).setDefault("true")
[all …]
DFixEras.java20 import com.ibm.icu.dev.tool.UOption;
30 private static final UOption[] options = new UOption[] {
31 UOption.HELP_H(),
32 UOption.HELP_QUESTION_MARK(),
33 UOption.DESTDIR(),
34 UOption.SOURCEDIR(),
61 remainingArgc = UOption.parseArgs(args, options); in processArgs()
DConvertTransforms.java22 import com.ibm.icu.dev.tool.UOption;
41 private static final UOption[] options = {
42 UOption.HELP_H(),
43 UOption.HELP_QUESTION_MARK(),
44 UOption.SOURCEDIR().setDefault(CLDRPaths.COMMON_DIRECTORY + "transforms/"),
45 UOption.DESTDIR().setDefault(CLDRPaths.GEN_DIRECTORY + "icu-transforms/"),
46 UOption.create("match", 'm', UOption.REQUIRES_ARG).setDefault(".*"),
47 UOption.create("commentSkip", 'c', UOption.NO_ARG),
48 UOption.create("writeIndex", 'x', UOption.NO_ARG),
49 UOption.VERBOSE(),
[all …]
DCheckIBMCoverage.java27 import com.ibm.icu.dev.tool.UOption;
40 private static final UOption[] options = new UOption[] {
41 UOption.HELP_H(),
42 UOption.HELP_QUESTION_MARK(),
43 UOption.SOURCEDIR(),
44 UOption.DESTDIR(),
45 UOption.VERBOSE(),
94 remainingArgc = UOption.parseArgs(args, options); in processArgs()
/external/cldr/tools/java/org/unicode/cldr/posix/
DGeneratePOSIX.java17 import com.ibm.icu.dev.tool.UOption;
35 private static final UOption[] options = {
36 UOption.HELP_H(),
37 UOption.HELP_QUESTION_MARK(),
38 UOption.create("destdir", 'd', UOption.REQUIRES_ARG).setDefault("."),
39 UOption.create("match", 'm', UOption.REQUIRES_ARG),
40 UOption.create("unicodeset", 'u', UOption.REQUIRES_ARG),
41 UOption.create("collateset", 'x', UOption.REQUIRES_ARG),
42 UOption.create("charset", 'c', UOption.REQUIRES_ARG).setDefault("UTF-8"),
46 UOption.parseArgs(args, options); in main()
DGenerateCharmap.java24 import com.ibm.icu.dev.tool.UOption;
41 private static final UOption[] options = {
42 UOption.HELP_H(),
43 UOption.HELP_QUESTION_MARK(),
44 UOption.create("destdir", 'd', UOption.REQUIRES_ARG).setDefault("."),
45 UOption.create("unicodeset", 'u', UOption.REQUIRES_ARG).setDefault("[\\u0000-\\U0010FFFF]"),
46 UOption.create("charset", 'c', UOption.REQUIRES_ARG).setDefault("UTF-8"),
50 UOption.parseArgs(args, options); in main()
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DPerfTest.java28 import com.ibm.icu.dev.tool.UOption;
350 UOption[] getOptions() { in getOptions()
351 return new UOption[] { in getOptions()
352 UOption.HELP_H(), in getOptions()
353 UOption.HELP_QUESTION_MARK(), in getOptions()
354 UOption.VERBOSE(), in getOptions()
355 UOption.SOURCEDIR(), in getOptions()
356 UOption.ENCODING(), in getOptions()
357 UOption.DEF("uselen", 'u', UOption.NO_ARG), in getOptions()
358 UOption.DEF("filename", 'f', UOption.REQUIRES_ARG), in getOptions()
[all …]
/external/cldr/tools/java/org/unicode/cldr/tool/
DModifyCase.java21 import com.ibm.icu.dev.tool.UOption;
55 private static final UOption[] options = {
56 UOption.HELP_H(),
57 UOption.HELP_QUESTION_MARK(),
58 UOption.create("dest", 'd', UOption.REQUIRES_ARG),
59 UOption.create("locales", 'l', UOption.REQUIRES_ARG),
60 UOption.create("source", 's', UOption.REQUIRES_ARG),
61 UOption.create("xpaths", 'x', UOption.REQUIRES_ARG),
65 UOption.parseArgs(args, options); in main()
DCompareData.java16 import com.ibm.icu.dev.tool.UOption;
29 private static final UOption[] options = {
30 UOption.HELP_H(),
31 UOption.HELP_QUESTION_MARK(),
32 UOption.SOURCEDIR().setDefault(CLDRPaths.BASE_DIRECTORY),
33 UOption.DESTDIR().setDefault(CLDRPaths.BASE_DIRECTORY + "../cldr-last/"),
34 UOption.create("match", 'm', UOption.REQUIRES_ARG).setDefault(".*"),
52 UOption.parseArgs(args, options); in main()
DGenerateSidewaysView.java51 import com.ibm.icu.dev.tool.UOption;
108 private static final UOption[] options = {
109 UOption.HELP_H(),
110 UOption.HELP_QUESTION_MARK(),
111 UOption.SOURCEDIR().setDefault(CLDRPaths.MAIN_DIRECTORY),
112UOption.DESTDIR().setDefault(CLDRPaths.CHART_DIRECTORY + DIR_NAME + "/"), // C:/cvsdata/unicode/cl…
113 UOption.create("match", 'm', UOption.REQUIRES_ARG).setDefault(".*"),
114 UOption.create("skip", 'z', UOption.REQUIRES_ARG).setDefault("zh_(C|S|HK|M).*"),
115 UOption.create("tzadir", 't', UOption.REQUIRES_ARG).setDefault(
117 UOption.create("nonvalidating", 'n', UOption.NO_ARG),
[all …]
DShowData.java40 import com.ibm.icu.dev.tool.UOption;
57 private static final UOption[] options = {
58 UOption.HELP_H(),
59 UOption.HELP_QUESTION_MARK(),
60 UOption.SOURCEDIR().setDefault(CLDRPaths.MAIN_DIRECTORY),
61 UOption.DESTDIR().setDefault(CLDRPaths.CHART_DIRECTORY + "summary/"),
62 UOption.create("match", 'm', UOption.REQUIRES_ARG).setDefault(".*"),
63 UOption.create("getscript", 'g', UOption.NO_ARG),
64UOption.create("last", 'l', UOption.REQUIRES_ARG).setDefault(CLDRPaths.LAST_DIRECTORY + "common/ma…
65 UOption.create("coverage", 'c', UOption.REQUIRES_ARG).setDefault(Level.MODERN.toString()),
[all …]
DMisc.java44 import com.ibm.icu.dev.tool.UOption;
80 private static final UOption[] options = {
81 UOption.HELP_H(),
82 UOption.HELP_QUESTION_MARK(),
83 UOption.SOURCEDIR().setDefault(CLDRPaths.COMMON_DIRECTORY),
84 UOption.DESTDIR().setDefault(CLDRPaths.GEN_DIRECTORY + "timezones/"),
85 UOption.create("match", 'm', UOption.REQUIRES_ARG).setDefault(".*"),
86 UOption.create("to_localize", 't', UOption.NO_ARG),
87 UOption.create("current", 'c', UOption.NO_ARG),
88 UOption.create("windows", 'w', UOption.NO_ARG),
[all …]
DGenerateCldrTests.java48 import com.ibm.icu.dev.tool.UOption;
82 private static final UOption[] options = {
83 UOption.HELP_H(),
84 UOption.HELP_QUESTION_MARK(),
85 UOption.SOURCEDIR().setDefault(CLDRPaths.COMMON_DIRECTORY),
86 UOption.DESTDIR().setDefault(CLDRPaths.GEN_DIRECTORY + "/test/"),
87 UOption.create("log", 'l', UOption.REQUIRES_ARG).setDefault(CLDRPaths.GEN_DIRECTORY),
88 UOption.create("match", 'm', UOption.REQUIRES_ARG).setDefault(".*"),
89 UOption.create("notresolved", 'n', UOption.NO_ARG),
90 UOption.create("languages", 'g', UOption.NO_ARG),
[all …]
DCLDRModify.java68 import com.ibm.icu.dev.tool.UOption;
230 private static final UOption[] options = {
231 UOption.HELP_H(),
232 UOption.HELP_QUESTION_MARK(),
233 UOption.SOURCEDIR().setDefault(CLDRPaths.MAIN_DIRECTORY),
234 UOption.DESTDIR().setDefault(CLDRPaths.GEN_DIRECTORY + "cldrModify/"),
235 UOption.create("match", 'm', UOption.REQUIRES_ARG).setDefault(".*"),
236 UOption.create("join", 'j', UOption.OPTIONAL_ARG),
237 UOption.create("minimize", 'r', UOption.NO_ARG),
238 UOption.create("fix", 'f', UOption.OPTIONAL_ARG),
[all …]
/external/icu/icu4c/source/tools/toolutil/
Duoptions.h43 struct UOption;
44 typedef struct UOption UOption; typedef
47 typedef int UOptionFn(void *context, UOption *option);
53 struct UOption { struct
141 int optionCount, UOption options[]);
Duoptions.cpp27 int optionCount, UOption options[]) { in u_parseArgs()
36 UOption *option=NULL; in u_parseArgs()
/external/cldr/tools/java/org/unicode/cldr/test/
DConsoleCheckCLDR.java64 import com.ibm.icu.dev.tool.UOption;
180 private static final UOption[] options = {
181 UOption.HELP_H(),
182 UOption.HELP_QUESTION_MARK(),
183 UOption.create("coverage", 'c', UOption.REQUIRES_ARG),
184 UOption.create("examples", 'x', UOption.NO_ARG),
185 UOption.create("file_filter", 'f', UOption.REQUIRES_ARG).setDefault(".*"),
186 UOption.create("test_filter", 't', UOption.REQUIRES_ARG).setDefault(".*"),
187 UOption.create("date_formats", 'd', UOption.NO_ARG),
188 UOption.create("organization", 'o', UOption.REQUIRES_ARG),
[all …]
/external/icu/icu4c/source/tools/ctestfw/unicode/
Duperf.h21 struct UOption;
22 typedef struct UOption UOption; typedef
154 UOption addOptions[], int32_t addOptionsCount,
158 void init(UOption addOptions[], int32_t addOptionsCount,
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/localeconverter/
DXLIFF2ICUConverter.java35 import com.ibm.icu.dev.tool.UOption;
51 private static final UOption[] options = new UOption[] {
52 UOption.HELP_H(),
53 UOption.HELP_QUESTION_MARK(),
54 UOption.SOURCEDIR(),
55 UOption.DESTDIR(),
56 UOption.create("target-only", 't', UOption.OPTIONAL_ARG),
57 UOption.create("source-only", 'c', UOption.OPTIONAL_ARG),
58 UOption.create("make-source-root", 'r', UOption.NO_ARG),
59 UOption.create("xliff-1.0", 'x', UOption.NO_ARG)
[all …]
/external/icu/icu4c/source/tools/ctestfw/
Duperf.cpp67 static UOption options[OPTIONS_COUNT+20]={
97 UOption addOptions[], int32_t addOptionsCount, in UPerfTest()
112 void UPerfTest::init(UOption addOptions[], int32_t addOptionsCount, in init()
122 memcpy(options+optionsCount, addOptions, addOptionsCount*sizeof(UOption)); in init()
131 memcpy(addOptions, options+OPTIONS_COUNT, addOptionsCount*sizeof(UOption)); in init()
/external/cldr/tools/java/org/unicode/cldr/ant/
DCLDRBuild.java22 import com.ibm.icu.dev.tool.UOption;
31 private UOption srcDir = UOption.SOURCEDIR();
32 private UOption destDir = UOption.DESTDIR();
160 private String getDirString(Args runArgs, UOption key) { in getDirString()
/external/icu/icu4c/source/tools/gencmn/
Dgencmn.c36 static UOption options[]={
/external/icu/icu4c/source/tools/genccode/
Dgenccode.c76 static UOption options[]={

12