Home
last modified time | relevance | path

Searched refs:l_opts (Results 1 – 5 of 5) sorted by relevance

/third_party/alsa-utils/axfer/
Dxfer-options.c290 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 …]
Dxfer-libffado.c52 static const struct option l_opts[] = { variable
556 .l_opts = l_opts,
557 .l_opts_count = ARRAY_SIZE(l_opts),
Dsubcmd-list.c209 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()
Dxfer-libasound.c35 static const struct option l_opts[] = { variable
920 .l_opts = l_opts,
921 .l_opts_count = ARRAY_SIZE(l_opts),
Dxfer.h105 const struct option *l_opts; member