Home
last modified time | relevance | path

Searched refs:OPTION_CALLBACK (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/tools/lib/subcmd/
H A Dparse-options.h29 OPTION_CALLBACK, enumerator
90 * pointer to the callback to use for OPTION_CALLBACK.
151 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = "time", .help = (h), .callback = parse_opt_approxidate_cb }
153 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = (a), .help = (h), .callback = (f) }
155 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = (a), .help = (h), .callback = (f), .set = check_vtype(os, bool *)}
157 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = (a), .help = (h), .callback = (f), .flags = PARSE_OPT_NOARG }
159 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = (a), .help = (h), .callback = (f), .defval = (intptr_t)d, .flags = PARSE_OPT_LASTARG_DEFAULT }
161 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l),\
165 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), \
230 { OPTION_CALLBACK, '
[all...]
H A Dparse-options.c102 case OPTION_CALLBACK: in get_value()
165 case OPTION_CALLBACK: in get_value()
239 case OPTION_CALLBACK: in get_value()
739 case OPTION_CALLBACK: in print_option_help()
/kernel/linux/linux-6.6/tools/lib/subcmd/
H A Dparse-options.h25 OPTION_CALLBACK, enumerator
86 * pointer to the callback to use for OPTION_CALLBACK.
148 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = "time", .help = (h), .callback = parse_opt_approxidate_cb }
150 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = (a), .help = (h), .callback = (f) }
152 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = (a), .help = (h), .callback = (f), .set = check_vtype(os, bool *)}
154 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = (a), .help = (h), .callback = (f), .flags = PARSE_OPT_NOARG }
156 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = (a), .help = (h), .callback = (f), .defval = (intptr_t)d, .flags = PARSE_OPT_LASTARG_DEFAULT }
158 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l),\
162 { .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), \
227 { OPTION_CALLBACK, '
[all...]
H A Dparse-options.c102 case OPTION_CALLBACK: in get_value()
165 case OPTION_CALLBACK: in get_value()
239 case OPTION_CALLBACK: in get_value()
739 case OPTION_CALLBACK: in print_option_help()
/kernel/liteos_a/apps/perf/src/
H A Dperf_stat.c57 OPTION_CALLBACK("-e", GetEvents),
58 OPTION_CALLBACK("-t", GetTids),
59 OPTION_CALLBACK("-P", GetPids),
H A Dperf_record.c65 OPTION_CALLBACK("-e", GetEvents),
66 OPTION_CALLBACK("-t", GetTids),
67 OPTION_CALLBACK("-P", GetPids),
/kernel/liteos_a/apps/perf/include/
H A Doption.h69 #define OPTION_CALLBACK(n, c) {.type = OPTION_TYPE_CALLBACK, .name = (n), .cb = (c)} macro

Completed in 5 milliseconds