Lines Matching refs:OptSpec
68 struct OptSpec { struct
74 OptSpec opts[] = { argument
75 {"-locale", OptSpec::STRING, &opt_locale},
76 {"-rules", OptSpec::STRING, &opt_rules},
77 {"-source", OptSpec::STRING, &opt_source},
78 {"-pattern", OptSpec::STRING, &opt_pattern},
79 {"-norm", OptSpec::FLAG, &opt_norm},
80 {"-french", OptSpec::FLAG, &opt_french},
81 {"-shifted", OptSpec::FLAG, &opt_shifted},
82 {"-lower", OptSpec::FLAG, &opt_lower},
83 {"-upper", OptSpec::FLAG, &opt_upper},
84 {"-case", OptSpec::FLAG, &opt_case},
85 {"-level", OptSpec::NUM, &opt_level},
86 {"-overlap", OptSpec::FLAG, &opt_overlap},
87 {"-canonical", OptSpec::FLAG, &opt_canonical},
88 {"-help", OptSpec::FLAG, &opt_help},
89 {"-?", OptSpec::FLAG, &opt_help},
90 {0, OptSpec::FLAG, 0}
96 UBool processOptions(int argc, const char **argv, OptSpec opts[]) in processOptions()
100 OptSpec *pOpt; in processOptions()
104 case OptSpec::FLAG: in processOptions()
107 case OptSpec::STRING: in processOptions()
116 case OptSpec::NUM: in processOptions()