/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/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/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/microsoft/spirv_to_dxil/ |
D | spirv2dxil.c | 74 static struct option long_options[] = { in main() local 83 while ((ch = getopt_long(argc, argv, "s:e:o:vd", long_options, NULL)) != 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/nghttp2/src/ |
D | nghttpd.cc | 208 constexpr static option long_options[] = { in main() local 238 int c = getopt_long(argc, argv, "DVb:c:d:ehm:n:p:va:w:W:", long_options, in main() 336 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()
|
D | deflatehd.cc | 377 constexpr static struct option long_options[] = { variable 391 int c = getopt_long(argc, argv, "S:dhs:t", 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/ejdb/src/jbs/ |
D | jbs.c | 90 static const struct option long_options[] = { in main() local 109 while ((ch = getopt_long(argc, argv, "f:p:b:l:k:c:a:S:D:rCtwThv", long_options, 0)) != -1) { in main()
|
/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/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()
|
D | pacmd.c | 108 static const struct option long_options[] = { in main() local 121 while ((c = getopt_long(argc, argv, "h", long_options, NULL)) != -1) { in main()
|
/third_party/libinput/tools/ |
D | ptraccel-debug.c | 244 static struct option long_options[] = { in main() local 257 long_options, &option_index); in main()
|
/third_party/selinux/checkpolicy/ |
D | checkmodule.c | 155 const struct option long_options[] = { in main() local 167 while ((ch = getopt_long(argc, argv, "ho:bVEU:mMCc:", long_options, NULL)) != -1) { in main()
|
/third_party/f2fs-tools/tools/sg_write_buffer/ |
D | sg_write_buffer.c | 50 static struct option long_options[] = { variable 217 c = getopt_long(argc, argv, "b:dhi:I:l:m:o:rs:S:t:vV", long_options, in main()
|
/third_party/alsa-lib/test/ |
D | audio_time.c | 131 static const struct option long_options[] = { in main() local 148 while ((c = getopt_long(argc, argv, short_options, long_options, &option_index)) != -1) { in main()
|
/third_party/alsa-utils/topology/ |
D | topology.c | 379 static const struct option long_options[] = { in main() local 411 while ((c = getopt_long(argc, argv, short_options, long_options, &option_index)) != -1) { in main()
|
/third_party/alsa-utils/seq/aseqdump/ |
D | aseqdump.c | 355 static const struct option long_options[] = { in main() local 371 long_options, NULL)) != -1) { in main()
|
/third_party/pulseaudio/src/tests/ |
D | resampler-test.c | 308 static const struct option long_options[] = { in main() local 340 while ((c = getopt_long(argc, argv, "hv", long_options, NULL)) != -1) { in main()
|