Home
last modified time | relevance | path

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

/external/ltp/lib/
Dtst_test.c392 char *optstr; member
411 for (i = 0; tst_test->options[i].optstr; i++) in print_help()
423 for (i = 0; toptions[i].optstr; i++) { in check_option_collision()
425 if (toptions[i].optstr[0] == options[j].optstr[0]) { in check_option_collision()
440 for (i = 0; tst_test->options[i].optstr; i++); in count_options()
451 if (toptions[i].optstr[0] == opt) in parse_topt()
469 char optstr[2 * ARRAY_SIZE(options) + 2 * topts_len]; in parse_opts() local
474 optstr[0] = 0; in parse_opts()
477 strcat(optstr, options[i].optstr); in parse_opts()
480 strcat(optstr, tst_test->options[i].optstr); in parse_opts()
[all …]
Dparse_opts.c82 char *optstr; member
129 for (i = 0; std_options[i].optstr; ++i) { in print_help()
164 for (i = 0; std_options[i].optstr; ++i) in parse_opts()
165 optstrlen += strlen(std_options[i].optstr); in parse_opts()
183 for (i = 0; std_options[i].optstr; ++i) in parse_opts()
184 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.c52 static char optstr[] = "D:M:s"; variable
109 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/syslinux/com32/rosh/
Drosh.c874 int rosh_ls_parse_opt(const char *filestr, char *optstr) in rosh_ls_parse_opt() argument
879 if (optstr) in rosh_ls_parse_opt()
880 strcat(optstr, filestr + 1); in rosh_ls_parse_opt()
884 ROSH_DEBUG("ParseOpt: '%s'\n\topt: '%s'\n\tret: %d\n", filestr, optstr, in rosh_ls_parse_opt()
/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.h91 char *optstr; member
/external/libdrm/tests/exynos/
Dexynos_fimg2d_test.c712 static const char optstr[] = "s:"; variable
731 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/syslinux/utils/
Disohybrid.c265 const char optstr[] = ":h:s:e:o:t:i:b:umfcp?vV"; in check_option() local
288 while ((n = getopt_long_only(argc, argv, optstr, lopt, &ind)) != -1) in check_option()
/external/syslinux/com32/modules/
Dpxechn.c749 const char optstr[] = "c:f:g:o:p:St:uwW"; in pxechn_parse_args() local
763 while ((rv >= 0) && (arg = getopt(argc, argv, optstr)) >= 0) { in pxechn_parse_args()
/external/libdrm/tests/modetest/
Dmodetest.c1518 static char optstr[] = "cdD:efM:P:ps:Cvw:"; variable
1543 while ((c = getopt(argc, argv, optstr)) != -1) { in main()
/external/ltp/doc/
Dtest-writing-guidelines.txt526 char *optstr;
533 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