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()
324 static int parse_short_opt(struct parse_opt_ctx_t *p, const struct option *options) in parse_short_opt()
342 static int parse_long_opt(struct parse_opt_ctx_t *p, const char *arg, in parse_long_opt()
475 static void parse_options_start(struct parse_opt_ctx_t *ctx, in parse_options_start()
491 struct parse_opt_ctx_t *);
493 static int parse_options_step(struct parse_opt_ctx_t *ctx, in parse_options_step()
604 static int parse_options_end(struct parse_opt_ctx_t *ctx) in parse_options_end()
614 struct parse_opt_ctx_t ctx; in parse_options_subcommand()
805 static bool option__in_argv(const struct option *opt, const struct parse_opt_ctx_t *ctx) in option__in_argv()
838 struct parse_opt_ctx_t *ctx) in usage_with_options_internal()