Home
last modified time | relevance | path

Searched refs:long_opts (Results 1 - 16 of 16) sorted by relevance

/third_party/alsa-utils/axfer/
H A Dmain.c89 } long_opts[] = { in decide_subcmd() local
110 for (i = 0; i < (int)ARRAY_SIZE(long_opts); ++i) { in decide_subcmd()
112 if (!strcmp(long_opts[i].name, argv[j])) { in decide_subcmd()
113 *subcmd = long_opts[i].subcmd; in decide_subcmd()
145 } long_opts[] = { in decide_direction() local
164 for (i = 0; i < (int)ARRAY_SIZE(long_opts); ++i) { in decide_direction()
166 if (!strcmp(long_opts[i].name, argv[j])) { in decide_direction()
167 *direction = long_opts[i].direction; in decide_direction()
H A Dxfer-options.c262 static const struct option long_opts[] = { in xfer_options_parse_args() local
304 l_opts = calloc(ARRAY_SIZE(long_opts) * data->l_opts_count + 1, in xfer_options_parse_args()
310 memcpy(l_opts, long_opts, ARRAY_SIZE(long_opts) * sizeof(*l_opts)); in xfer_options_parse_args()
311 memcpy(&l_opts[ARRAY_SIZE(long_opts)], data->l_opts, in xfer_options_parse_args()
/third_party/python/Lib/distutils/
H A Dfancy_getopt.py71 self.long_opts = []
138 self.long_opts = []
165 self.long_opts.append(long)
182 self.long_opts[-1] = long # XXX redundant?!
233 opts, args = getopt.getopt(args, short_opts, self.long_opts)
/third_party/littlefs/runners/
H A Dtest_runner.c1991 const struct option long_opts[] = { variable
2056 int c = getopt_long(argc, argv, short_opts, long_opts, NULL); in main()
2065 while (long_opts[i].name) { in main()
2067 if (long_opts[i].has_arg == no_argument) { in main()
2068 if (long_opts[i].val >= '0' && long_opts[i].val < 'z') { in main()
2070 long_opts[i].val, in main()
2071 long_opts[i].name); in main()
2074 long_opts[i].name); in main()
2077 if (long_opts[ in main()
[all...]
H A Dbench_runner.c1430 const struct option long_opts[] = { variable
1490 int c = getopt_long(argc, argv, short_opts, long_opts, NULL); in main()
1499 while (long_opts[i].name) { in main()
1501 if (long_opts[i].has_arg == no_argument) { in main()
1502 if (long_opts[i].val >= '0' && long_opts[i].val < 'z') { in main()
1504 long_opts[i].val, in main()
1505 long_opts[i].name); in main()
1508 long_opts[i].name); in main()
1511 if (long_opts[ in main()
[all...]
/third_party/selinux/secilc/
H A Dsecil2conf.c78 static struct option long_opts[] = { in main() local
90 opt_char = getopt_long(argc, argv, "o:hvM:PQ", long_opts, &opt_index); in main()
H A Dsecil2tree.c82 static struct option long_opts[] = { in main() local
94 opt_char = getopt_long(argc, argv, "o:hvPQA:", long_opts, &opt_index); in main()
H A Dsecilc.c111 static struct option long_opts[] = { in main() local
133 opt_char = getopt_long(argc, argv, "o:f:U:hvt:M:PQDmNOc:GX:n", long_opts, &opt_index); in main()
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/
H A Dcpuset_syscall_test.c65 const struct option long_opts[] = { variable
80 c = getopt_long(argc, argv, "", long_opts, NULL); in process_options()
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/
H A Dcpuset_memory_test.c72 const struct option long_opts[] = { variable
95 c = getopt_long(argc, argv, "s:k:", long_opts, NULL); in process_options()
/third_party/ltp/testcases/kernel/controllers/memcg/functional/
H A Dmemcg_process.c48 static const struct option long_opts[] = { variable
68 while ((c = getopt_long(argc, argv, "k:s:", long_opts, NULL)) != -1) { in process_options()
/third_party/f2fs-tools/mkfs/
H A Df2fs_format_main.c182 static const struct option long_opts[] = { in f2fs_parse_options() local
190 while ((option = getopt_long(argc,argv,option_string,long_opts,NULL)) != EOF) { in f2fs_parse_options()
/third_party/libcoap/include/coap3/
H A Dcoap_option.h95 * mask contains a bit vector that indicates which fields in the long_opts[]
97 * correspond to the long option types that are stored in long_opts[]
103 uint16_t long_opts[COAP_OPT_FILTER_LONG]; member
/third_party/libcoap/src/
H A Dcoap_option.c443 if (((of->mask & nr) > 0) && (of->long_opts[lindex] == number)) { in coap_option_filter_op()
480 of->long_opts[lindex - 1] = number; in coap_option_filter_op()
/third_party/python/Lib/
H A Doptparse.py355 long_opts = [self._long_opt_fmt % (lopt, metavar)
359 long_opts = option._long_opts
362 opts = short_opts + long_opts
364 opts = long_opts + short_opts
/third_party/libfuse/util/
H A Dfusermount.c1362 static const struct option long_opts[] = { in main() local
1380 while ((ch = getopt_long(argc, argv, "hVo:uzq", long_opts, in main()

Completed in 17 milliseconds