Home
last modified time | relevance | path

Searched refs:long_options (Results 1 – 25 of 40) sorted by relevance

12

/third_party/mesa3d/src/getopt/
Dgetopt_long.c160 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/
Dgetopt_long.c167 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/
Dgetopt_long.c49 struct option long_options[] = { in main() local
56 c = getopt_long(argc, argv, short_options, long_options, NULL); in main()
Dgetopt_long_only.c49 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/
Dsemind.c251 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/
Dcli.c61 static const struct option long_options[] = { in parse_options() local
79 long_options, NULL)) != -1) { in parse_options()
/third_party/mesa3d/src/compiler/spirv/
Dspirv2nir.c95 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/
Dspirv2dxil.c74 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/
Dglcpp.c127 long_options[] = { variable
146 while ((c = getopt_long(argc, argv, "d", long_options, NULL)) != -1) { in main()
/third_party/nghttp2/src/
Dnghttpd.cc208 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()
Dinflatehd.cc256 constexpr static struct option long_options[] = { variable
263 int c = getopt_long(argc, argv, "dh", long_options, &option_index); in main()
Ddeflatehd.cc377 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/
Dwritetest.c179 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/
Djbs.c90 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/
Dmhd2spdy.c260 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/
Dcmdline.c74 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/
Dpasuspender.c245 static const struct option long_options[] = { in main() local
259 while ((c = getopt_long(argc, argv, "s:h", long_options, NULL)) != -1) { in main()
Dpacmd.c108 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/
Dptraccel-debug.c244 static struct option long_options[] = { in main() local
257 long_options, &option_index); in main()
/third_party/selinux/checkpolicy/
Dcheckmodule.c155 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/
Dsg_write_buffer.c50 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/
Daudio_time.c131 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/
Dtopology.c379 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/
Daseqdump.c355 static const struct option long_options[] = { in main() local
371 long_options, NULL)) != -1) { in main()
/third_party/pulseaudio/src/tests/
Dresampler-test.c308 static const struct option long_options[] = { in main() local
340 while ((c = getopt_long(argc, argv, "hv", long_options, NULL)) != -1) { in main()

12