Home
last modified time | relevance | path

Searched refs:UOption (Results 1 – 25 of 44) 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/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/cldr/tools/java/org/unicode/cldr/icu/
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()
/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.java17 import com.ibm.icu.dev.tool.UOption;
30 private static final UOption[] options = {
31 UOption.HELP_H(),
32 UOption.HELP_QUESTION_MARK(),
33 UOption.SOURCEDIR().setDefault(CLDRPaths.BASE_DIRECTORY),
34 UOption.DESTDIR().setDefault(CLDRPaths.BASE_DIRECTORY + "../cldr-last/"),
35 UOption.create("match", 'm', UOption.REQUIRES_ARG).setDefault(".*"),
53 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.java42 import com.ibm.icu.dev.tool.UOption;
58 private static final UOption[] options = {
59 UOption.HELP_H(),
60 UOption.HELP_QUESTION_MARK(),
61 UOption.SOURCEDIR().setDefault(CLDRPaths.MAIN_DIRECTORY),
62 UOption.DESTDIR().setDefault(CLDRPaths.CHART_DIRECTORY + "summary/"),
63 UOption.create("match", 'm', UOption.REQUIRES_ARG).setDefault(".*"),
64 UOption.create("getscript", 'g', UOption.NO_ARG),
65UOption.create("last", 'l', UOption.REQUIRES_ARG).setDefault(CLDRPaths.LAST_RELEASE_DIRECTORY + "c…
66 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 …]
DCLDRModify.java71 import com.ibm.icu.dev.tool.UOption;
233 private static final UOption[] options = {
234 UOption.HELP_H(),
235 UOption.HELP_QUESTION_MARK(),
236 UOption.SOURCEDIR().setDefault(CLDRPaths.MAIN_DIRECTORY),
237 UOption.DESTDIR().setDefault(CLDRPaths.GEN_DIRECTORY + "cldrModify/"),
238 UOption.create("match", 'm', UOption.REQUIRES_ARG).setDefault(".*"),
239 UOption.create("join", 'j', UOption.OPTIONAL_ARG),
240 UOption.create("minimize", 'r', UOption.NO_ARG),
241 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/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/cldr/tools/java/org/unicode/cldr/test/
DConsoleCheckCLDR.java64 import com.ibm.icu.dev.tool.UOption;
182 private static final UOption[] options = {
183 UOption.HELP_H(),
184 UOption.HELP_QUESTION_MARK(),
185 UOption.create("coverage", 'c', UOption.REQUIRES_ARG),
186 UOption.create("examples", 'x', UOption.NO_ARG),
187 UOption.create("file_filter", 'f', UOption.REQUIRES_ARG).setDefault(".*"),
188 UOption.create("test_filter", 't', UOption.REQUIRES_ARG).setDefault(".*"),
189 UOption.create("date_formats", 'd', UOption.NO_ARG),
190 UOption.create("organization", 'o', UOption.REQUIRES_ARG),
[all …]
/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/libs/
Dutilities.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...
/external/icu/icu4c/source/tools/gencmn/
Dgencmn.c36 static UOption options[]={
/external/icu/icu4c/source/tools/genccode/
Dgenccode.c78 static UOption options[]={
/external/icu/icu4c/source/tools/gentest/
Dgentest.c56 static UOption options[]={
/external/icu/icu4c/source/test/perf/ubrkperf/
Dubrkperf.cpp189 UOption options[]={
/external/icu/icu4c/source/tools/icuinfo/
Dicuinfo.cpp40 static UOption options[]={
/external/icu/icu4c/source/test/perf/charperf/
Dcharperf.cpp30 UOption options[] = {

12