Lines Matching refs:OptSpec
65 struct OptSpec { struct
71 OptSpec opts[] = { argument
72 {"-locale", OptSpec::STRING, &opt_locale},
73 {"-rules", OptSpec::STRING, &opt_rules},
74 {"-source", OptSpec::STRING, &opt_source},
75 {"-target", OptSpec::STRING, &opt_target},
76 {"-norm", OptSpec::FLAG, &opt_norm},
77 {"-french", OptSpec::FLAG, &opt_french},
78 {"-shifted", OptSpec::FLAG, &opt_shifted},
79 {"-lower", OptSpec::FLAG, &opt_lower},
80 {"-upper", OptSpec::FLAG, &opt_upper},
81 {"-case", OptSpec::FLAG, &opt_case},
82 {"-level", OptSpec::NUM, &opt_level},
83 {"-help", OptSpec::FLAG, &opt_help},
84 {"-?", OptSpec::FLAG, &opt_help},
85 {0, OptSpec::FLAG, 0}
91 UBool processOptions(int argc, const char **argv, OptSpec opts[]) in processOptions()
95 OptSpec *pOpt; in processOptions()
99 case OptSpec::FLAG: in processOptions()
102 case OptSpec::STRING: in processOptions()
111 case OptSpec::NUM: in processOptions()