Lines Matching refs:list

119 	struct conv_list	*list)  in get_last_conv()  argument
123 for (lp = list; lp != NULL; lp = lp->next) { in get_last_conv()
133 struct conv_list *&list) in free_conv_list() argument
140 while (list != NULL) { in free_conv_list()
141 bufs = list->bufcnt; in free_conv_list()
142 conv = list->conv; in free_conv_list()
145 if (list[i].desc != NULL) in free_conv_list()
146 free(list[i].desc); in free_conv_list()
149 if ((list[i].conv != NULL) && in free_conv_list()
150 ((i == 0) || (list[i].conv != conv))) in free_conv_list()
151 delete(list[i].conv); in free_conv_list()
153 tlp = list->next; in free_conv_list()
154 free((char *)list); in free_conv_list()
155 list = tlp; in free_conv_list()
162 struct conv_list *&list, // list to modify in append_conv_list() argument
194 if (list == NULL) { in append_conv_list()
195 list = nlp; in append_conv_list()
197 lp = get_last_conv(list); in append_conv_list()
212 struct conv_list *&list, in add_mux_convert() argument
243 append_conv_list(list, ihdr, bufs, conv, msg); in add_mux_convert()
251 struct conv_list *&list, in add_pcm_convert() argument
284 append_conv_list(list, ihdr, bufs, conv, msg); in add_pcm_convert()
291 struct conv_list *&list, in add_channel_convert() argument
310 if (err = add_pcm_convert(list, ihdr, LINEAR, 2, bufs)) { in add_channel_convert()
331 append_conv_list(list, ihdr, bufs, conv, msg); in add_channel_convert()
338 struct conv_list *&list, in add_compress() argument
360 if (err = add_pcm_convert(list, ihdr, LINEAR, 2, bufs)) { in add_compress()
391 append_conv_list(list, ihdr, bufs, NULL, msg); in add_compress()
394 lp = get_last_conv(list); in add_compress()
407 struct conv_list *&list, in add_decompress() argument
451 append_conv_list(list, ihdr, bufs, NULL, msg); in add_decompress()
454 lp = get_last_conv(list); in add_decompress()
467 struct conv_list *&list, in add_rate_convert() argument
486 if (err = add_pcm_convert(list, ihdr, LINEAR, 2, bufs)) { in add_rate_convert()
507 append_conv_list(list, ihdr, bufs, NULL, msg); in add_rate_convert()
510 lp = get_last_conv(list); in add_rate_convert()
550 struct conv_list *&list, in build_conversion_list() argument
573 err = add_channel_convert(list, in build_conversion_list()
578 err = add_mux_convert(list, ihdr, bufs); in build_conversion_list()
586 err = add_mux_convert(list, ihdr, bufs); in build_conversion_list()
589 err = add_decompress(list, ihdr, in build_conversion_list()
604 err = add_mux_convert(list, ihdr, bufs); in build_conversion_list()
614 err = add_decompress(list, ihdr, in build_conversion_list()
618 err = add_rate_convert(list, ihdr, in build_conversion_list()
628 err = add_decompress(list, ihdr, in build_conversion_list()
633 err = add_pcm_convert(list, ihdr, in build_conversion_list()
638 err = add_compress(list, ihdr, in build_conversion_list()
649 err = add_mux_convert(list, ihdr, bufs); in build_conversion_list()
654 err = add_channel_convert(list, in build_conversion_list()
672 struct conv_list *list = NULL; in do_convert() local
690 if ((err = build_conversion_list(list, ifp, ofp)) != AUDIO_SUCCESS) { in do_convert()
691 free_conv_list(list); in do_convert()
721 for (lp = list; lp; lp = lp->next) { in do_convert()
759 for (lp = list; lp; lp = lp->next) { in do_convert()
792 for (lp = list; lp; lp = lp->next) { in do_convert()
836 free_conv_list(list); in do_convert()