Lines Matching refs:OptSpec
73 struct OptSpec { struct
79 OptSpec opts[] = { argument
80 {"-locale", OptSpec::STRING, &opt_locale},
81 {"-rules", OptSpec::STRING, &opt_rules},
82 {"-source", OptSpec::STRING, &opt_source},
83 {"-pattern", OptSpec::STRING, &opt_pattern},
84 {"-norm", OptSpec::FLAG, &opt_norm},
85 {"-french", OptSpec::FLAG, &opt_french},
86 {"-shifted", OptSpec::FLAG, &opt_shifted},
87 {"-lower", OptSpec::FLAG, &opt_lower},
88 {"-upper", OptSpec::FLAG, &opt_upper},
89 {"-case", OptSpec::FLAG, &opt_case},
90 {"-level", OptSpec::NUM, &opt_level},
91 {"-overlap", OptSpec::FLAG, &opt_overlap},
92 {"-canonical", OptSpec::FLAG, &opt_canonical},
93 {"-help", OptSpec::FLAG, &opt_help},
94 {"-?", OptSpec::FLAG, &opt_help},
95 {0, OptSpec::FLAG, 0}
101 UBool processOptions(int argc, const char **argv, OptSpec opts[]) in processOptions()
105 OptSpec *pOpt; in processOptions()
109 case OptSpec::FLAG: in processOptions()
112 case OptSpec::STRING: in processOptions()
121 case OptSpec::NUM: in processOptions()