Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/getopt/
H A Dgetopt_long.c156 * Returns -1 if short_too is set and the option does not match long_options.
160 const struct option *long_options, int *idx, int short_too) in parse_long_options()
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[matc in parse_long_options()
159 parse_long_options(char * const *nargv, const char *options, const struct option *long_options, int *idx, int short_too) parse_long_options() argument
277 getopt_internal(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx, int flags) getopt_internal() argument
492 getopt_long(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx) getopt_long() argument
505 getopt_long_only(int nargc, char * const *nargv, const char *options, const struct option *long_options, int *idx) getopt_long_only() argument
[all...]
/third_party/libwebsockets/win32port/win32helpers/
H A Dgetopt_long.c167 getopt_long(nargc, nargv, options, long_options, index) in getopt_long()
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[matc
[all...]
/third_party/backends/lib/
H A Dgetopt1.c73 getopt_long (argc, argv, options, long_options, opt_index) in getopt_long()
77 const struct option *long_options;
80 return _getopt_internal (argc, argv, options, long_options, opt_index, 0);
89 getopt_long_only (argc, argv, options, long_options, opt_index) in getopt_long_only()
93 const struct option *long_options;
96 return _getopt_internal (argc, argv, options, long_options, opt_index, 1);
123 static struct option long_options[] =
135 long_options, &option_index);
142 printf ("option %s", long_options[option_index].name);
121 static struct option long_options[] = global() variable
/third_party/musl/libc-test/src/functionalext/supplement/misc/
H A 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()
H A Dgetopt_long.c49 struct option long_options[] = { in main() local
56 c = getopt_long(argc, argv, short_options, long_options, NULL); in main()
/third_party/ltp/tools/sparse/sparse-src/
H A 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/
H A Dcli.c64 static const struct option long_options[] = { in parse_options() local
83 long_options, NULL)) != -1) { in parse_options()
/third_party/mesa3d/src/compiler/spirv/
H A 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/compiler/glsl/glcpp/
H A Dglcpp.c127 long_options[] = { variable
146 while ((c = getopt_long(argc, argv, "d", long_options, NULL)) != -1) { in main()
/third_party/mesa3d/src/microsoft/spirv_to_dxil/
H A 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/nghttp2/src/
H A 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()
H A Dinflatehd.cc256 constexpr static struct option long_options[] = { member
263 int c = getopt_long(argc, argv, "dh", long_options, &option_index); in main()
H A Ddeflatehd.cc377 constexpr static struct option long_options[] = { member
391 int c = getopt_long(argc, argv, "S:dhs:t", long_options, &option_index); in main()
/third_party/ltp/testcases/kernel/io/writetest/
H A 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/skia/third_party/externals/microhttpd/src/examples/
H A 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/
H A 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/
H A 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()
H A Dpacmd.c109 static const struct option long_options[] = { in main() local
122 while ((c = getopt_long(argc, argv, "h", long_options, NULL)) != -1) { in main()
/third_party/alsa-lib/test/
H A Daudio_time.c134 static const struct option long_options[] = { in main() local
151 while ((c = getopt_long(argc, argv, short_options, long_options, &option_index)) != -1) { in main()
/third_party/libinput/tools/
H A Dptraccel-debug.c257 static struct option long_options[] = { in main() local
272 long_options, &option_index); in main()
/third_party/selinux/checkpolicy/
H A 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/alsa-utils/topology/
H A Dtopology.c418 static const struct option long_options[] = { in main() local
452 while ((c = getopt_long(argc, argv, short_options, long_options, &option_index)) != -1) { in main()
/third_party/alsa-utils/amidi/
H A Damidi.c475 static const struct option long_options[] = { in main() local
500 long_options, NULL)) != -1) { in main()
/third_party/mesa3d/src/intel/compiler/
H A Dintel_clc.c294 static struct option long_options[] ={ in main() local
321 while ((ch = getopt_long(argc, argv, "he:p:s:o:i", long_options, NULL)) != -1) in main()
/third_party/pulseaudio/src/tests/
H A Dresampler-rewind-test.c237 static const struct option long_options[] = { in main() local
270 while ((c = getopt_long(argc, argv, "hv", long_options, NULL)) != -1) { in main()

Completed in 13 milliseconds

12