Searched refs:optnum (Results 1 – 7 of 7) sorted by relevance
21 h->optnum--; in cmdopt_shift()56 if (h->optind < h->optnum) { in cmdopt_getopt()88 while (h->optind < h->optnum) { in cmdopt_search()159 if (h->optind < h->optnum) { in cmdopt_getopt_long()216 while (h->optind < h->optnum) { in cmdopt_main()248 h->optnum = h->argc; in cmdopt_init()
44 int optnum; // Number of options. member
150 static void xt_osf_parse_opt(struct xt_osf_opt *opt, __u16 *optnum, char *obuf, int olen) in xt_osf_parse_opt() argument261 opt[*optnum].kind = IANA_opts[op].kind; in xt_osf_parse_opt()262 opt[*optnum].length = IANA_opts[op].length; in xt_osf_parse_opt()263 opt[*optnum].wc.wc = wc; in xt_osf_parse_opt()264 opt[*optnum].wc.val = val; in xt_osf_parse_opt()265 (*optnum)++; in xt_osf_parse_opt()
1356 unsigned getPosition(unsigned optnum) const {1357 assert(optnum < this->size() && "Invalid option index");1358 return Positions[optnum];1558 unsigned getPosition(unsigned optnum) const {1559 assert(optnum < this->size() && "Invalid option index");1560 return Positions[optnum];
765 ``cl::list::getPosition(optnum)`` method. This method returns the absolute766 position (as found on the command line) of the ``optnum`` item in the