Lines Matching refs:v

107 #define check_vtype(v, type) ( BUILD_BUG_ON_ZERO(!__builtin_types_compatible_p(typeof(v), type)) +   argument
112 #define OPT_BIT(s, l, v, h, b) { .type = OPTION_BIT, .short_name = (s), .long_name = (l), .val… argument
113 #define OPT_BOOLEAN(s, l, v, h) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), … argument
114 …ine OPT_BOOLEAN_FLAG(s, l, v, h, f) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = … argument
115 #define OPT_BOOLEAN_SET(s, l, v, os, h) \ argument
117 .value = check_vtype(v, bool *), .help = (h), \
119 #define OPT_INCR(s, l, v, h) { .type = OPTION_INCR, .short_name = (s), .long_name = (l), .va… argument
120 #define OPT_SET_UINT(s, l, v, h, i) { .type = OPTION_SET_UINT, .short_name = (s), .long_name = (l)… argument
121 #define OPT_SET_PTR(s, l, v, h, p) { .type = OPTION_SET_PTR, .short_name = (s), .long_name = (l), … argument
122 #define OPT_INTEGER(s, l, v, h) { .type = OPTION_INTEGER, .short_name = (s), .long_name = (l), … argument
123 #define OPT_UINTEGER(s, l, v, h) { .type = OPTION_UINTEGER, .short_name = (s), .long_name = (l),… argument
124 #define OPT_LONG(s, l, v, h) { .type = OPTION_LONG, .short_name = (s), .long_name = (l), .va… argument
125 #define OPT_U64(s, l, v, h) { .type = OPTION_U64, .short_name = (s), .long_name = (l), .val… argument
126 #define OPT_STRING(s, l, v, a, h) { .type = OPTION_STRING, .short_name = (s), .long_name = (l), … argument
127 #define OPT_STRING_OPTARG(s, l, v, a, h, d) \ argument
129 .value = check_vtype(v, const char **), (a), .help = (h), \
131 …ne OPT_STRING_NOEMPTY(s, l, v, a, h) { .type = OPTION_STRING, .short_name = (s), .long_name = (… argument
132 #define OPT_DATE(s, l, v, h) \ argument
133 …{ .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = "time", .hel…
134 #define OPT_CALLBACK(s, l, v, a, h, f) \ argument
135 …{ .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), (a), .help = (h), .c…
136 #define OPT_CALLBACK_NOOPT(s, l, v, a, h, f) \ argument
137 …{ .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), (a), .help = (h), .c…
138 #define OPT_CALLBACK_DEFAULT(s, l, v, a, h, f, d) \ argument
139 …{ .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), (a), .help = (h), .c…
140 #define OPT_CALLBACK_DEFAULT_NOOPT(s, l, v, a, h, f, d) \ argument
142 .value = (v), (a), .help = (h), .callback = (f), .defval = (intptr_t)d,\
144 #define OPT_CALLBACK_OPTARG(s, l, v, d, a, h, f) \ argument
146 .value = (v), (a), .help = (h), .callback = (f), \