Lines Matching refs:optc
55 int optc; /* Number of options. */ member
144 s->optc = 0; in scanopt_init()
154 s->optc = 0; in scanopt_init()
155 while (options[s->optc].opt_fmt in scanopt_init()
156 || options[s->optc].r_val || options[s->optc].desc) in scanopt_init()
157 s->optc++; in scanopt_init()
160 s->aux = malloc((size_t) s->optc * sizeof (struct _aux)); in scanopt_init()
162 for (i = 0; i < s->optc; i++) { in scanopt_init()
264 store = malloc((size_t) s->optc * sizeof (usg_elem)); in scanopt_usage()
265 for (i = 0; i < s->optc; i++) { in scanopt_usage()
306 for (i = 0; i < s->optc; i++) in scanopt_usage()
608 for (i = 0; i < s->optc; i++) { in find_opt()