Searched refs:cntr_fds (Results 1 – 2 of 2) sorted by relevance
/third_party/alsa-utils/axfer/test/ |
D | mapper-test.c | 75 int *cntr_fds, unsigned int cntr_count) in test_demux() argument 89 err = container_builder_init(cntrs + i, cntr_fds[i], cntr_format, 0); in test_demux() 166 int *cntr_fds, unsigned int cntr_count) in test_mux() argument 179 err = container_parser_init(cntrs + i, cntr_fds[i], 0); in test_mux() 227 int *cntr_fds; in test_mapper() local 235 cntr_fds = calloc(cntr_count, sizeof(*cntr_fds)); in test_mapper() 236 if (cntr_fds == NULL) in test_mapper() 243 cntr_fds[i] = memfd_create(path, 0); in test_mapper() 245 cntr_fds[i] = open(path, O_RDWR | O_CREAT | O_TRUNC, 0644); in test_mapper() 247 if (cntr_fds[i] < 0) { in test_mapper() [all …]
|
/third_party/alsa-utils/axfer/ |
D | subcmd-transfer.c | 22 int *cntr_fds; member 158 ctx->cntr_fds = calloc(count, sizeof(*ctx->cntr_fds)); in allocate_containers() 159 if (ctx->cntr_fds == NULL) in allocate_containers() 205 ctx->cntr_fds[i] = fd; in capture_pre_process() 207 err = container_builder_init(ctx->cntrs + i, ctx->cntr_fds[i], in capture_pre_process() 259 ctx->cntr_fds[i] = fd; in playback_pre_process() 261 err = container_parser_init(ctx->cntrs + i, ctx->cntr_fds[i], in playback_pre_process() 458 if (ctx->cntr_fds) { in context_post_process() 460 close(ctx->cntr_fds[i]); in context_post_process() 461 free(ctx->cntr_fds); in context_post_process()
|