• Home
  • Raw
  • Download

Lines Matching refs:v

118 #define check_vtype(v, type) ( BUILD_BUG_ON_ZERO(!__builtin_types_compatible_p(typeof(v), type)) +   argument
124 #define OPT_BIT(s, l, v, h, b) { .type = OPTION_BIT, .short_name = (s), .long_name = (l), .val… argument
125 #define OPT_BOOLEAN(s, l, v, h) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = (l), … argument
126 …ine OPT_BOOLEAN_FLAG(s, l, v, h, f) { .type = OPTION_BOOLEAN, .short_name = (s), .long_name = … argument
127 #define OPT_BOOLEAN_SET(s, l, v, os, h) \ argument
129 .value = check_vtype(v, bool *), .help = (h), \
131 #define OPT_INCR(s, l, v, h) { .type = OPTION_INCR, .short_name = (s), .long_name = (l), .va… argument
132 #define OPT_SET_UINT(s, l, v, h, i) { .type = OPTION_SET_UINT, .short_name = (s), .long_name = (l)… argument
133 #define OPT_SET_PTR(s, l, v, h, p) { .type = OPTION_SET_PTR, .short_name = (s), .long_name = (l), … argument
134 #define OPT_INTEGER(s, l, v, h) { .type = OPTION_INTEGER, .short_name = (s), .long_name = (l), … argument
135 #define OPT_UINTEGER(s, l, v, h) { .type = OPTION_UINTEGER, .short_name = (s), .long_name = (l),… argument
136 … OPT_UINTEGER_OPTARG(s, l, v, d, h) { .type = OPTION_UINTEGER, .short_name = (s), .long_name = … argument
137 #define OPT_LONG(s, l, v, h) { .type = OPTION_LONG, .short_name = (s), .long_name = (l), .va… argument
138 #define OPT_ULONG(s, l, v, h) { .type = OPTION_ULONG, .short_name = (s), .long_name = (l), .… argument
139 #define OPT_U64(s, l, v, h) { .type = OPTION_U64, .short_name = (s), .long_name = (l), .val… argument
140 #define OPT_STRING(s, l, v, a, h) { .type = OPTION_STRING, .short_name = (s), .long_name = (l), … argument
141 #define OPT_STRING_OPTARG(s, l, v, a, h, d) \ argument
143 .value = check_vtype(v, const char **), .argh =(a), .help = (h), \
145 #define OPT_STRING_OPTARG_SET(s, l, v, os, a, h, d) \ argument
147 .value = check_vtype(v, const char **), .argh = (a), .help = (h), \
150 …ne OPT_STRING_NOEMPTY(s, l, v, a, h) { .type = OPTION_STRING, .short_name = (s), .long_name = (… argument
151 #define OPT_DATE(s, l, v, h) \ argument
152 …{ .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = "time", .hel…
153 #define OPT_CALLBACK(s, l, v, a, h, f) \ argument
154 …{ .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = (a), .help =…
155 #define OPT_CALLBACK_SET(s, l, v, os, a, h, f) \ argument
156 …{ .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = (a), .help =…
157 #define OPT_CALLBACK_NOOPT(s, l, v, a, h, f) \ argument
158 …{ .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = (a), .help =…
159 #define OPT_CALLBACK_DEFAULT(s, l, v, a, h, f, d) \ argument
160 …{ .type = OPTION_CALLBACK, .short_name = (s), .long_name = (l), .value = (v), .argh = (a), .help =…
161 #define OPT_CALLBACK_DEFAULT_NOOPT(s, l, v, a, h, f, d) \ argument
163 .value = (v), .arg = (a), .help = (h), .callback = (f), .defval = (intptr_t)d,\
165 #define OPT_CALLBACK_OPTARG(s, l, v, d, a, h, f) \ argument
167 .value = (v), .argh = (a), .help = (h), .callback = (f), \