Home
last modified time | relevance | path

Searched refs:has_arg (Results 1 – 25 of 34) sorted by relevance

12

/third_party/alsa-utils/alsamixer/
Dcli.c63 { .name = "card", .has_arg = 1, .val = 'c' }, in parse_options()
64 { .name = "config", .has_arg = 1, .val = 'f' }, in parse_options()
66 { .name = "device", .has_arg = 1, .val = 'D' }, in parse_options()
69 { .name = "view", .has_arg = 1, .val = 'V' }, in parse_options()
71 { .name = "abstraction", .has_arg = 1, .val = 'a' }, in parse_options()
/third_party/python/Lib/test/
Dtest_getopt.py31 has_arg, option = getopt.long_has_args('abc', ['abc='])
32 self.assertTrue(has_arg)
35 has_arg, option = getopt.long_has_args('abc', ['abc'])
36 self.assertFalse(has_arg)
39 has_arg, option = getopt.long_has_args('abc', ['abcd'])
40 self.assertFalse(has_arg)
/third_party/toybox/toys/pending/
Dgetopt.c50 for (lopt->has_arg = 0; len>0 && str[len-1] == ':'; lopt->has_arg++) len--; in parse_long_opt()
51 if (!len || lopt->has_arg>2) return str; in parse_long_opt()
94 if (lopts[i].has_arg) out(optarg ? optarg : ""); in getopt_main()
/third_party/python/Lib/
Dgetopt.py157 has_arg, opt = long_has_args(opt, longopts)
158 if has_arg:
187 has_arg = unique_match.endswith('=')
188 if has_arg:
190 return has_arg, unique_match
/third_party/ninja/src/
Dgetopt.c157 int has_arg = -1; in getopt_internal() local
280 has_arg = longopts[longopt_match].has_arg; in getopt_internal()
301 has_arg = ((cp[1] == ':') in getopt_internal()
308 switch (has_arg) in getopt_internal()
Dgetopt.h17 int has_arg; /* one of the above macros */ member
/third_party/mesa3d/src/getopt/
Dgetopt_long.c208 if (long_options[match].has_arg == no_argument in parse_long_options()
222 if (long_options[match].has_arg == required_argument || in parse_long_options()
223 long_options[match].has_arg == optional_argument) { in parse_long_options()
226 else if (long_options[match].has_arg == in parse_long_options()
234 if ((long_options[match].has_arg == required_argument) in parse_long_options()
Dgetopt.h54 int has_arg; member
/third_party/mesa3d/src/freedreno/decode/
Dcrashdec.c832 { .name = "allregs", .has_arg = 0, NULL, 'a' },
833 { .name = "color", .has_arg = 0, NULL, 'c' },
834 { .name = "file", .has_arg = 1, NULL, 'f' },
835 { .name = "help", .has_arg = 0, NULL, 'h' },
836 { .name = "markers", .has_arg = 0, NULL, 'm' },
837 { .name = "summary", .has_arg = 0, NULL, 's' },
838 { .name = "verbose", .has_arg = 0, NULL, 'v' },
/third_party/libwebsockets/win32port/win32helpers/
Dgetopt_long.c206 if (long_options[match].has_arg == required_argument ||
207 long_options[match].has_arg == optional_argument) {
213 if ((long_options[match].has_arg == required_argument)
Dgetopt.h17 int has_arg; member
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dgmemtool.c106 {.name = "gpu", .has_arg = 1, NULL, 'g'},
107 {.name = "help", .has_arg = 0, NULL, 'h'},
108 {.name = "verbose", .has_arg = 0, NULL, 'v'},
/third_party/flutter/glfw/deps/
Dgetopt.c201 if (match->has_arg != no_argument) { in getopt_long()
206 if (match->has_arg == required_argument) { in getopt_long()
Dgetopt.h43 int has_arg; member
/third_party/musl/src/misc/
Dgetopt_long.c94 if (!longopts[i].has_arg) { in __getopt_long_core()
105 } else if (longopts[i].has_arg == required_argument) { in __getopt_long_core()
/third_party/python/Include/internal/
Dpycore_getopt.h16 int has_arg; member
/third_party/musl/include/
Dgetopt.h14 int has_arg; member
/third_party/musl/porting/liteos_m/kernel/include/
Dgetopt.h14 int has_arg; member
/third_party/musl/ndk_musl_include/
Dgetopt.h14 int has_arg; member
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dgetopt.h14 int has_arg; member
/third_party/musl/porting/uniproton/kernel/include/
Dgetopt.h14 int has_arg; member
/third_party/mesa3d/src/compiler/glsl/
Dmain.cpp68 if (o->has_arg == required_argument) in usage_fail()
/third_party/f2fs-tools/mkfs/
Df2fs_format_main.c183 { .name = "help", .has_arg = 0, .flag = NULL, .val = 'h' }, in f2fs_parse_options()
184 { .name = NULL, .has_arg = 0, .flag = NULL, .val = 0 } in f2fs_parse_options()
/third_party/alsa-utils/alsactl/
Dalsactl.c276 o->has_arg = (a->sarg & (ENVARG|FILEARG|INTARG)) != 0; in main()
281 if (o->has_arg) in main()
/third_party/python/Python/
Dgetopt.c122 if (!opt->has_arg) { in _PyOS_GetOpt()

12