/third_party/mesa3d/src/getopt/ |
D | getopt_long.c | 160 const struct option *long_options, int *idx, int short_too) in parse_long_options() argument 178 for (i = 0; long_options[i].name; i++) { in parse_long_options() 180 if (strncmp(current_argv, long_options[i].name, in parse_long_options() 184 if (strlen(long_options[i].name) == current_argv_len) { in parse_long_options() 208 if (long_options[match].has_arg == no_argument in parse_long_options() 216 if (long_options[match].flag == NULL) in parse_long_options() 217 optopt = long_options[match].val; 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() [all …]
|
/third_party/libwebsockets/win32port/win32helpers/ |
D | getopt_long.c | 167 getopt_long(nargc, nargv, options, long_options, index) in getopt_long() argument 171 struct option * long_options; 178 _DIAGASSERT(long_options != NULL); 194 for (i = 0; long_options[i].name; i++) { 195 if (strncmp(current_argv, long_options[i].name, current_argv_len)) 198 if (strlen(long_options[i].name) == (unsigned)current_argv_len) { 206 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) 231 if (long_options[match].flag) { [all …]
|
/third_party/libusb/msvc/getopt/ |
D | getopt1.c | 67 getopt_long (argc, argv, options, long_options, opt_index) in getopt_long() argument 71 const struct option *long_options; 74 return _getopt_internal (argc, argv, options, long_options, opt_index, 0); 83 getopt_long_only (argc, argv, options, long_options, opt_index) in getopt_long_only() argument 87 const struct option *long_options; 90 return _getopt_internal (argc, argv, options, long_options, opt_index, 1); 112 static struct option long_options[] = local 124 long_options, &option_index); 131 printf ("option %s", long_options[option_index].name);
|
/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
D | getopt_long.c | 49 struct option long_options[] = { in main() local 56 c = getopt_long(argc, argv, short_options, long_options, NULL); in main()
|
D | getopt_long_only.c | 49 struct option long_options[] = { in main() local 56 c = getopt_long_only(argc, argv, short_options, long_options, NULL); in main()
|
/third_party/mesa3d/src/microsoft/spirv_to_dxil/ |
D | spirv2dxil.c | 72 static struct option long_options[] = { in main() local 78 while ((ch = getopt_long(argc, argv, "s:e:o:", long_options, NULL)) != in main()
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | semind.c | 251 static const struct option long_options[] = { in parse_cmdline() local 265 while ((c = getopt_long(argc, argv, "+B:D:vh", long_options, NULL)) != -1) { in parse_cmdline() 295 static const struct option long_options[] = { in parse_cmdline_add() local 305 while ((c = getopt_long(argc, argv, "+vh", long_options, NULL)) != -1) { in parse_cmdline_add() 336 static const struct option long_options[] = { in parse_cmdline_rm() local 343 while ((c = getopt_long(argc, argv, "+vh", long_options, NULL)) != -1) { in parse_cmdline_rm() 361 static const struct option long_options[] = { in parse_cmdline_search() local 374 while ((c = getopt_long(argc, argv, "+ef:m:k:p:lvh", long_options, NULL)) != -1) { in parse_cmdline_search()
|
/third_party/alsa-utils/alsamixer/ |
D | cli.c | 61 static const struct option long_options[] = { in parse_options() local 79 long_options, NULL)) != -1) { in parse_options()
|
/third_party/mesa3d/src/compiler/spirv/ |
D | spirv2nir.c | 95 static struct option long_options[] = in main() local 104 while ((ch = getopt_long(argc, argv, "hs:e:g", long_options, NULL)) != -1) in main()
|
/third_party/mesa3d/src/compiler/glsl/glcpp/ |
D | glcpp.c | 127 long_options[] = { variable 146 while ((c = getopt_long(argc, argv, "d", long_options, NULL)) != -1) { in main()
|
/third_party/gettext/gettext-tools/tests/ |
D | tstngettext.c | 52 static const struct option long_options[] = variable 94 while ((optchar = getopt_long (argc, argv, "+d:hV", long_options, NULL)) in main()
|
D | tstgettext.c | 62 static const struct option long_options[] = variable 105 while ((optchar = getopt_long (argc, argv, "+d:eEhnsV", long_options, NULL)) in main()
|
/third_party/gettext/gettext-runtime/src/ |
D | ngettext.c | 47 static const struct option long_options[] = variable 90 while ((optchar = getopt_long (argc, argv, "+c:d:eEhV", long_options, NULL)) in main()
|
D | gettext.c | 52 static const struct option long_options[] = variable 95 while ((optchar = getopt_long (argc, argv, "+c:d:eEhnsV", long_options, NULL)) in main()
|
/third_party/nghttp2/src/ |
D | nghttpd.cc | 205 constexpr static option long_options[] = { in main() local 233 int c = getopt_long(argc, argv, "DVb:c:d:ehm:n:p:va:w:W:", long_options, in main() 328 util::show_candidates(argv[optind - 1], long_options); in main()
|
D | inflatehd.cc | 256 constexpr static struct option long_options[] = { variable 263 int c = getopt_long(argc, argv, "dh", long_options, &option_index); in main()
|
/third_party/ltp/testcases/kernel/io/writetest/ |
D | writetest.c | 179 static struct option long_options[] = { in parse_args() local 187 c = getopt_long(argc, argv, "hvb:o:s:", long_options, in parse_args()
|
/third_party/skia/third_party/externals/microhttpd/src/examples/ |
D | mhd2spdy.c | 260 struct option long_options[] = { in main() local 271 getopt_ret = getopt_long( argc, argv, "p:b:vos", long_options, &option_index); in main()
|
/third_party/gettext/gettext-tools/src/ |
D | msgconv.c | 64 static const struct option long_options[] = variable 131 while ((opt = getopt_long (argc, argv, "D:eEFhin:o:pPst:Vw:", long_options, in main()
|
D | msgen.c | 61 static const struct option long_options[] = variable 130 long_options, NULL)) != EOF) in main()
|
D | recode-sr-latin.c | 52 static const struct option long_options[] = variable 86 while ((opt = getopt_long (argc, argv, "hV", long_options, NULL)) != EOF) in main()
|
D | msguniq.c | 64 static const struct option long_options[] = variable 139 long_options, NULL)) != EOF) in main()
|
D | urlget.c | 74 static const struct option long_options[] = variable 115 while ((optchar = getopt_long (argc, argv, "hqV", long_options, NULL)) != EOF) in main()
|
/third_party/pulseaudio/src/daemon/ |
D | cmdline.c | 74 static const struct option long_options[] = { variable 185 while ((c = getopt_long(argc, argv, "L:F:ChDnp:kv", long_options, NULL)) != -1) { in pa_cmdline_parse()
|
/third_party/pulseaudio/src/utils/ |
D | pasuspender.c | 245 static const struct option long_options[] = { in main() local 259 while ((c = getopt_long(argc, argv, "s:h", long_options, NULL)) != -1) { in main()
|