Home
last modified time | relevance | path

Searched refs:parse_opt_ctx_t (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/tools/perf/util/
Dparse-options.c21 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()
[all …]
Dparse-options.h184 struct parse_opt_ctx_t { struct
198 extern void parse_options_start(struct parse_opt_ctx_t *ctx, argument
201 extern int parse_options_step(struct parse_opt_ctx_t *ctx,
205 extern int parse_options_end(struct parse_opt_ctx_t *ctx);