Home
last modified time | relevance | path

Searched refs:optchar (Results 1 – 22 of 22) sorted by relevance

/external/mesa3d/src/getopt/
Dgetopt_long.c281 int optchar, short_too; in getopt_internal() local
400 optchar = parse_long_options(nargv, options, long_options, in getopt_internal()
402 if (optchar != -1) { in getopt_internal()
404 return (optchar); in getopt_internal()
408 if ((optchar = (int)*place++) == (int)':' || in getopt_internal()
409 (optchar == (int)'-' && *place != '\0') || in getopt_internal()
410 (oli = strchr(options, optchar)) == NULL) { in getopt_internal()
416 if (optchar == (int)'-' && *place == '\0') in getopt_internal()
421 fprintf(stderr, illoptchar, optchar); in getopt_internal()
422 optopt = optchar; in getopt_internal()
[all …]
/external/tcpdump/missing/
Dgetopt_long.c358 int optchar, short_too; local
490 optchar = parse_long_options(nargv, options, long_options,
492 if (optchar != -1) {
494 return (optchar);
498 if ((optchar = (int)*place++) == (int)':' ||
499 (optchar == (int)'-' && *place != '\0') ||
500 (oli = strchr(options, optchar)) == NULL) {
506 if (optchar == (int)'-' && *place == '\0')
513 optchar);
516 warnx(illoptchar, optchar);
[all …]
/external/valgrind/drd/tests/
Domp_prime.c43 int optchar; in main() local
47 while ((optchar = getopt(argc, argv, "qt:v")) != EOF) in main()
49 switch (optchar) in main()
61 fprintf(stderr, "Error: unknown option '%c'.\n", optchar); in main()
Drwlock_test.c57 int optchar; in main() local
63 while ((optchar = getopt(argc, argv, "i:t:")) != EOF) in main()
65 switch (optchar) in main()
74 fprintf(stderr, "Error: unknown option '%c'.\n", optchar); in main()
Dannotate_ignore_write.c27 int optchar; in main() local
31 while ((optchar = getopt(argc, argv, "r")) != EOF) in main()
33 switch (optchar) in main()
Dannotate_ignore_rw.c27 int optchar; in main() local
31 while ((optchar = getopt(argc, argv, "r")) != EOF) in main()
33 switch (optchar) in main()
Dpth_cond_race.c27 int optchar; in main() local
30 while ((optchar = getopt(argc, argv, "m")) != EOF) in main()
32 switch (optchar) in main()
Domp_printf.c23 int optchar; in main() local
29 while ((optchar = getopt(argc, argv, "hi:qt:")) != EOF) in main()
31 switch (optchar) in main()
Dpth_inconsistent_cond_wait.c94 int optchar; in main() local
98 while ((optchar = getopt(argc, argv, "q")) != EOF) in main()
100 switch (optchar) in main()
104 fprintf(stderr, "Error: unknown option '%c'.\n", optchar); in main()
Dsem_as_mutex.c35 int optchar; in main() local
38 while ((optchar = getopt(argc, argv, "dmp")) != EOF) in main()
40 switch (optchar) in main()
Dfp_race.c34 int optchar; in main() local
37 while ((optchar = getopt(argc, argv, "dmp")) != EOF) in main()
39 switch (optchar) in main()
Dsem_open.c35 int optchar; in main() local
39 while ((optchar = getopt(argc, argv, "dmp")) != EOF) in main()
41 switch (optchar) in main()
Dhold_lock.c27 int optchar; in main() local
32 while ((optchar = getopt(argc, argv, "i:")) != EOF) in main()
34 switch (optchar) in main()
Dpth_broadcast.c113 int optchar; in main() local
116 while ((optchar = getopt(argc, argv, "d")) != EOF) in main()
118 switch (optchar) in main()
Dcircular_buffer.c188 int optchar; in main() local
190 while ((optchar = getopt(argc, argv, "nq")) != EOF) in main()
192 switch (optchar) in main()
Dmatinv.c315 int optchar; in main() local
321 while ((optchar = getopt(argc, argv, "qt:")) != EOF) in main()
323 switch (optchar) in main()
328 fprintf(stderr, "Error: unknown option '%c'.\n", optchar); in main()
Domp_matinv.c291 int optchar; in main() local
297 while ((optchar = getopt(argc, argv, "hqrt:")) != EOF) in main()
299 switch (optchar) in main()
Dunit_bitmap.c324 int optchar; in main() local
326 while ((optchar = getopt(argc, argv, "s:t:q")) != EOF) in main()
328 switch (optchar) in main()
/external/valgrind/memcheck/tests/
Dmallinfo.c90 int optchar; in main() local
92 while ((optchar = getopt(argc, argv, "q")) != EOF) in main()
94 switch (optchar) in main()
/external/e2fsprogs/misc/
Dchattr.c92 char optchar; member
118 if (fp->optchar == c) in get_flag()
/external/selinux/policycoreutils/secon/
Dsecon.c154 int optchar = 0; in cmd_line() local
201 while ((optchar = getopt_long(argc, argv, SECON_OPTS_GO, in cmd_line()
203 switch (optchar) { in cmd_line()
/external/mksh/src/
Dfuncs.c3480 char optchar; member
3490 char optchar; \
3536 if (rlimits[i]->optchar == what) in c_ulimit()