Lines Matching refs:OptSpec
128 struct OptSpec { struct
134 OptSpec opts[] = { argument
135 {"-file", OptSpec::STRING, &opt_fName},
136 {"-locale", OptSpec::STRING, &opt_locale},
137 {"-langid", OptSpec::NUM, &opt_langid},
138 {"-win", OptSpec::FLAG, &opt_win},
139 {"-unix", OptSpec::FLAG, &opt_unix},
140 {"-mac", OptSpec::FLAG, &opt_mac},
141 {"-uselen", OptSpec::FLAG, &opt_uselen},
142 {"-loop", OptSpec::NUM, &opt_loopCount},
143 {"-time", OptSpec::NUM, &opt_time},
144 {"-passes", OptSpec::NUM, &opt_passesCount},
145 {"-char", OptSpec::FLAG, &opt_char},
146 {"-word", OptSpec::FLAG, &opt_word},
147 {"-line", OptSpec::FLAG, &opt_line},
148 {"-sentence", OptSpec::FLAG, &opt_sentence},
149 {"-terse", OptSpec::FLAG, &opt_terse},
150 {"-dump", OptSpec::FLAG, &opt_dump},
151 {"-capi", OptSpec::FLAG, &opt_capi},
152 {"-next", OptSpec::FLAG, &opt_next},
153 {"-isBound", OptSpec::FLAG, &opt_isBound},
154 {"-help", OptSpec::FLAG, &opt_help},
155 {"-?", OptSpec::FLAG, &opt_help},
156 {0, OptSpec::FLAG, 0}
234 UBool ProcessOptions(int argc, const char **argv, OptSpec opts[]) in ProcessOptions()
239 OptSpec *pOpt; in ProcessOptions()
246 case OptSpec::FLAG: in ProcessOptions()
249 case OptSpec::STRING: in ProcessOptions()
257 case OptSpec::NUM: in ProcessOptions()