Lines Matching refs:parse_opt_ctx_t
21 static int get_arg(struct parse_opt_ctx_t *p, const struct option *opt, in get_arg()
38 static int get_value(struct parse_opt_ctx_t *p, in get_value()
228 static int parse_short_opt(struct parse_opt_ctx_t *p, const struct option *options) in parse_short_opt()
239 static int parse_long_opt(struct parse_opt_ctx_t *p, const char *arg, in parse_long_opt()
363 void parse_options_start(struct parse_opt_ctx_t *ctx, in parse_options_start()
379 struct parse_opt_ctx_t *);
381 int parse_options_step(struct parse_opt_ctx_t *ctx, in parse_options_step()
492 int parse_options_end(struct parse_opt_ctx_t *ctx) in parse_options_end()
502 struct parse_opt_ctx_t ctx; in parse_options_subcommand()
691 static bool option__in_argv(const struct option *opt, const struct parse_opt_ctx_t *ctx) in option__in_argv()
724 struct parse_opt_ctx_t *ctx) in usage_with_options_internal()