Home
last modified time | relevance | path

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

/external/ltp/lib/
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()
Dtst_test.c408 char *optstr; member
430 for (i = 0; tst_test->options[i].optstr; i++) in print_help()
464 for (i = 0; toptions[i].optstr; i++) { in check_option_collision()
466 if (toptions[i].optstr[0] == options[j].optstr[0]) { in check_option_collision()
481 for (i = 0; tst_test->options[i].optstr; i++); in count_options()
492 if (toptions[i].optstr[0] == opt) in parse_topt()
513 char optstr[2 * ARRAY_SIZE(options) + 2 * topts_len]; in parse_opts() local
518 optstr[0] = 0; in parse_opts()
521 strcat(optstr, options[i].optstr); in parse_opts()
524 strcat(optstr, tst_test->options[i].optstr); in parse_opts()
[all …]
/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/linux-kselftest/tools/testing/selftests/bpf/
Dxdping.c94 const char *optstr = "c:I:NsS"; in main() local
107 while ((opt = getopt(argc, argv, optstr)) != -1) { in main()
Dtest_btf.c6898 const char *optstr = "hlpk:f:r:g:d:"; in parse_args() local
6901 while ((opt = getopt(argc, argv, optstr)) != -1) { in parse_args()
/external/llvm-project/lldb/packages/Python/lldbsuite/test/
Ddotest_args.py22 X = lambda optstr, helpstr, **kwargs: group.add_argument( argument
23 optstr, help=helpstr, action='store_true', **kwargs)
/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.h95 char *optstr; member
/external/igt-gpu-tools/tests/
Dtestdisplay.c596 static char optstr[] = "3Aiaf:s:d:p:mrto:j:y"; variable
694 igt_simple_main_args(optstr, long_opts, help_str, opt_handler, NULL) in igt_simple_main_args() argument
/external/libcups/scheduler/
Dcupsfilter.c926 char *optstr, /* Filter options */ in exec_filters() local
993 optstr = escape_options(num_options, options); in exec_filters()
1061 argv[5] = optstr; in exec_filters()
/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/igt-gpu-tools/tools/
Dintel_dp_compliance.c890 static const char optstr[] = "hi"; variable
1024 while ((c = getopt_long(argc, argv, optstr, long_opts, NULL)) != -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/ethtool/
Dethtool.c961 static int parse_wolopts(char *optstr, u32 *data) in parse_wolopts() argument
964 while (*optstr) { in parse_wolopts()
965 switch (*optstr) { in parse_wolopts()
996 optstr++; in parse_wolopts()
1053 static int parse_rxfhashopts(char *optstr, u32 *data) in parse_rxfhashopts() argument
1056 while (*optstr) { in parse_rxfhashopts()
1057 switch (*optstr) { in parse_rxfhashopts()
1085 optstr++; in parse_rxfhashopts()
/external/libdrm/tests/modetest/
Dmodetest.c2035 static char optstr[] = "acdD:efF:M:P:ps:Cvrw:"; variable
2062 while ((c = getopt(argc, argv, optstr)) != -1) { in main()
/external/rust/crates/libc/src/
Dwasi.rs534 pub fn getopt(argc: ::c_int, argv: *const *mut c_char, optstr: *const c_char) -> ::c_int; in getopt()
/external/rust/crates/libc/src/unix/
Dmod.rs859 pub fn getopt(argc: ::c_int, argv: *const *mut c_char, optstr: *const c_char) -> ::c_int; in getopt()
/external/rust/crates/libc/src/vxworks/
Dmod.rs1185 pub fn getopt(argc: ::c_int, argv: *const *mut c_char, optstr: *const c_char) -> ::c_int; in getopt()
/external/ltp/doc/
Dtest-writing-guidelines.txt551 char *optstr;
558 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
/external/rust/crates/libc/src/fuchsia/
Dmod.rs3588 pub fn getopt(argc: ::c_int, argv: *const *mut c_char, optstr: *const c_char) -> ::c_int; in getopt()