Home
last modified time | relevance | path

Searched refs:optstr (Results 1 – 13 of 13) sorted by relevance

/external/ltp/lib/
Dtst_test.c403 char *optstr; member
422 for (i = 0; tst_test->options[i].optstr; i++) in print_help()
434 for (i = 0; toptions[i].optstr; i++) { in check_option_collision()
436 if (toptions[i].optstr[0] == options[j].optstr[0]) { in check_option_collision()
451 for (i = 0; tst_test->options[i].optstr; i++); in count_options()
462 if (toptions[i].optstr[0] == opt) in parse_topt()
480 char optstr[2 * ARRAY_SIZE(options) + 2 * topts_len]; in parse_opts() local
485 optstr[0] = 0; in parse_opts()
488 strcat(optstr, options[i].optstr); in parse_opts()
491 strcat(optstr, tst_test->options[i].optstr); in parse_opts()
[all …]
Dparse_opts.c83 char *optstr; member
130 for (i = 0; std_options[i].optstr; ++i) { in print_help()
165 for (i = 0; std_options[i].optstr; ++i) in parse_opts()
166 optstrlen += strlen(std_options[i].optstr); in parse_opts()
184 for (i = 0; std_options[i].optstr; ++i) in parse_opts()
185 strcat(optionstr, std_options[i].optstr); in parse_opts()
/external/libdrm/tests/kmstest/
Dmain.c71 static const char optstr[] = "D:M:"; in main() local
77 while ((c = getopt(argc, argv, optstr)) != -1) { in main()
/external/libdrm/tests/vbltest/
Dvbltest.c48 static char optstr[] = "D:M:s"; variable
105 while ((c = getopt(argc, argv, optstr)) != -1) { in main()
/external/libdrm/tests/proptest/
Dproptest.c277 static const char optstr[] = "D:M:"; in main() local
282 while ((c = getopt(argc, argv, optstr)) != -1) { in main()
/external/python/cpython2/Doc/library/
Deasydialogs.rst85 options are selected. Its items can take one of two forms: *optstr* or
86 ``(optstr, descr)``. When present, *descr* is a short descriptive string that
88 correspondence between *optstr*\s and command-line arguments is:
91 | *optstr* format | Command-line format |
/external/ltp/include/
Dtst_test.h101 char *optstr; member
/external/libdrm/tests/exynos/
Dexynos_fimg2d_test.c724 static const char optstr[] = "s:"; variable
743 while ((c = getopt(argc, argv, optstr)) != -1) { in main()
/external/mdnsresponder/Clients/
Ddns-sd.c892 static int getfirstoption(int argc, char **argv, const char *optstr, int *pOptInd) in getfirstoption() argument
900 NULL != strchr(optstr, argv[i][1])) in getfirstoption()
910 int o = getopt(argc, (char *const *)argv, optstr);
/external/libdrm/tests/modetest/
Dmodetest.c1612 static char optstr[] = "cdD:efM:P:ps:Cvw:"; variable
1637 while ((c = getopt(argc, argv, optstr)) != -1) { in main()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_btf.c2850 const char *optstr = "lpf:r:g:"; in parse_args() local
2853 while ((opt = getopt(argc, argv, optstr)) != -1) { in parse_args()
/external/ltp/doc/
Dtest-writing-guidelines.txt540 char *optstr;
547 array of 'struct tst_option'. The 'optstr' is the command line option i.e. "o"
/external/python/cpython2/Misc/
Dcheatsheet1822 getopt(list, optstr) -- Similar to C. <optstr> is option