• Home
  • Raw
  • Download

Lines Matching refs:option

20 static int opterror(const struct option *opt, const char *reason, int flags)  in opterror()
38 static void optwarning(const struct option *opt, const char *reason, int flags) in optwarning()
48 static int get_arg(struct parse_opt_ctx_t *p, const struct option *opt, in get_arg()
70 const struct option *opt, int flags) in get_value()
342 static int parse_short_opt(struct parse_opt_ctx_t *p, const struct option *options) in parse_short_opt()
361 const struct option *options) in parse_long_opt()
364 const struct option *abbrev_option = NULL, *ambiguous_option = NULL; in parse_long_opt()
473 static void check_typos(const char *arg, const struct option *options) in check_typos()
508 const struct option *, int,
512 const struct option *options, in parse_options_step()
629 int parse_options_subcommand(int argc, const char **argv, const struct option *options, in parse_options_subcommand()
683 int parse_options(int argc, const char **argv, const struct option *options, in parse_options()
693 static void print_option_help(const struct option *opts, int full) in print_option_help()
785 const struct option *a = va, *b = vb; in option__cmp()
804 static struct option *options__order(const struct option *opts) in options__order()
807 const struct option *o = opts; in options__order()
808 struct option *ordered; in options__order()
824 static bool option__in_argv(const struct option *opt, const struct parse_opt_ctx_t *ctx) in option__in_argv()
856 const struct option *opts, int full, in usage_with_options_internal()
859 struct option *ordered; in usage_with_options_internal()
902 const struct option *opts) in usage_with_options()
909 const struct option *opts, const char *fmt, ...) in usage_with_options_msg()
926 const struct option *opts, in parse_options_usage()
967 int parse_opt_verbosity_cb(const struct option *opt, in parse_opt_verbosity_cb()
990 static struct option *
991 find_option(struct option *opts, int shortopt, const char *longopt) in find_option()
1002 void set_option_flag(struct option *opts, int shortopt, const char *longopt, in set_option_flag()
1005 struct option *opt = find_option(opts, shortopt, longopt); in set_option_flag()
1012 void set_option_nobuild(struct option *opts, int shortopt, in set_option_nobuild()
1017 struct option *opt = find_option(opts, shortopt, longopt); in set_option_nobuild()