Lines Matching refs:longopts
158 const struct option *const longopts, in getopt_1long() argument
176 while (longopts[loptn].name != NULL) { in getopt_1long()
177 if (strcmp(optname, longopts[loptn].name) == 0) { in getopt_1long()
187 while (longopts[loptn].name != NULL) { in getopt_1long()
188 if (optmatch(optname, longopts[loptn].name) == 0) { in getopt_1long()
198 result = longopts[loptn].val; in getopt_1long()
202 switch (longopts[loptn].has_arg) { in getopt_1long()
220 if (longopts[loptn].flag != 0) { in getopt_1long()
221 *longopts[loptn].flag = result; in getopt_1long()
246 const struct option *longopts, in getopt_long() argument
261 longopts, in getopt_long()
284 const struct option *longopts, in getopt_long_only() argument
299 longopts, in getopt_long_only()
305 longopts, in getopt_long_only()