Lines Matching refs:parse_opt_ctx_t
48 static int get_arg(struct parse_opt_ctx_t *p, const struct option *opt, in get_arg()
69 static int get_value(struct parse_opt_ctx_t *p, in get_value()
342 static int parse_short_opt(struct parse_opt_ctx_t *p, const struct option *options) in parse_short_opt()
360 static int parse_long_opt(struct parse_opt_ctx_t *p, const char *arg, in parse_long_opt()
493 static void parse_options_start(struct parse_opt_ctx_t *ctx, in parse_options_start()
509 struct parse_opt_ctx_t *);
511 static int parse_options_step(struct parse_opt_ctx_t *ctx, in parse_options_step()
622 static int parse_options_end(struct parse_opt_ctx_t *ctx) in parse_options_end()
632 struct parse_opt_ctx_t ctx; in parse_options_subcommand()
824 static bool option__in_argv(const struct option *opt, const struct parse_opt_ctx_t *ctx) in option__in_argv()
857 struct parse_opt_ctx_t *ctx) in usage_with_options_internal()