Home
last modified time | relevance | path

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

/tools/perf/util/
Dparse-options.h99 intptr_t defval; member
109 …, .short_name = (s), .long_name = (l), .value = check_vtype(v, int *), .help = (h), .defval = (b) }
116 …name = (s), .long_name = (l), .value = check_vtype(v, unsigned int *), .help = (h), .defval = (i) }
117 …e = OPTION_SET_PTR, .short_name = (s), .long_name = (l), .value = (v), .help = (h), .defval = (p) }
130 …(s), .long_name = (l), .value = (v), (a), .help = (h), .callback = (f), .defval = (intptr_t)d, .fl…
133 .value = (v), (a), .help = (h), .callback = (f), .defval = (intptr_t)d,\
Dparse-options.c26 *arg = (const char *)opt->defval; in get_arg()
74 *(int *)opt->value &= ~opt->defval; in get_value()
76 *(int *)opt->value |= opt->defval; in get_value()
90 *(unsigned int *)opt->value = unset ? 0 : opt->defval; in get_value()
94 *(void **)opt->value = unset ? NULL : (void *)opt->defval; in get_value()
101 *(const char **)opt->value = (const char *)opt->defval; in get_value()
123 *(int *)opt->value = opt->defval; in get_value()
139 *(unsigned int *)opt->value = opt->defval; in get_value()
155 *(long *)opt->value = opt->defval; in get_value()
171 *(u64 *)opt->value = opt->defval; in get_value()