Lines Matching refs:desc
39 const char *desc;
60 perf_opt_add(char c, perf_opttype_t type, const char *desc, const char *help,
71 opt->desc = desc;
94 if (opts[i].desc != NULL)
95 arg_len += strlen(opts[i].desc) + 1;
103 if (opts[i].desc != NULL)
104 fprintf(stderr, " %s", opts[i].desc);
119 parse_uint(const char *desc, const char *str,
128 fprintf(stderr, "invalid %s: %s\n", desc, str);
136 parse_timeval(const char *desc, const char *str)
156 fprintf(stderr, "invalid %s: %s\n", desc, str);
162 parse_double(const char *desc, const char *str) {
181 fprintf(stderr, "invalid %s: %s\n", desc, str);
220 *opt->u.uintp = parse_uint(opt->desc, optarg,
224 *opt->u.uint64p = parse_timeval(opt->desc, optarg);
227 *opt->u.doublep = parse_double(opt->desc, optarg);
230 *opt->u.portp = parse_uint(opt->desc, optarg,