Lines Matching refs:user_optarr
142 const char *parse_opts(int ac, char **av, const option_t * user_optarr, in parse_opts() argument
167 if (user_optarr) in parse_opts()
168 for (i = 0; user_optarr[i].option; ++i) { in parse_opts()
169 if (strlen(user_optarr[i].option) > 2) in parse_opts()
172 optstrlen += strlen(user_optarr[i].option); in parse_opts()
186 if (user_optarr) in parse_opts()
187 for (i = 0; user_optarr[i].option; ++i) in parse_opts()
189 if (strchr(optionstr, user_optarr[i].option[0]) == NULL) in parse_opts()
190 strcat(optionstr, user_optarr[i].option); in parse_opts()
231 for (i = 0; user_optarr[i].option; ++i) { in parse_opts()
233 if (opt == user_optarr[i].option[0]) { in parse_opts()
235 if (user_optarr[i].flag) { in parse_opts()
236 *user_optarr[i].flag = 1; in parse_opts()
241 if (user_optarr[i]. in parse_opts()
242 option[strlen(user_optarr[i].option) in parse_opts()
244 *user_optarr[i].arg = optarg; in parse_opts()