Searched refs:l_opts (Results 1 – 5 of 5) sorted by relevance
/third_party/alsa-utils/axfer/ |
D | xfer-options.c | 290 struct option *l_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() 305 sizeof(*l_opts)); in xfer_options_parse_args() 306 if (l_opts == NULL) { 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() 312 data->l_opts_count * sizeof(*l_opts)); in xfer_options_parse_args() 321 key = getopt_long(argc, argv, s_opts, l_opts, &l_index); in xfer_options_parse_args() 353 free(l_opts); in xfer_options_parse_args() 365 l_opts[l_index].name); in xfer_options_parse_args() [all …]
|
D | xfer-libffado.c | 52 static const struct option l_opts[] = { variable 556 .l_opts = l_opts, 557 .l_opts_count = ARRAY_SIZE(l_opts),
|
D | subcmd-list.c | 209 static const struct option l_opts[] = { in decide_operation() local 218 int c = getopt_long(argc, argv, s_opts, l_opts, NULL); in decide_operation()
|
D | xfer-libasound.c | 35 static const struct option l_opts[] = { variable 920 .l_opts = l_opts, 921 .l_opts_count = ARRAY_SIZE(l_opts),
|
D | xfer.h | 105 const struct option *l_opts; member
|