Lines Matching defs:list

56 // maintain a list of conversions
116 // Conversion list maintenance routines
118 // Return a pointer to the last conversion entry in the list
121 struct conv_list *list)
125 for (lp = list; lp != NULL; lp = lp->next) {
132 // Release the conversion list
135 struct conv_list *&list)
142 while (list != NULL) {
143 bufs = list->bufcnt;
144 conv = list->conv;
147 if (list[i].desc != NULL)
148 free(list[i].desc);
151 if ((list[i].conv != NULL) &&
152 ((i == 0) || (list[i].conv != conv)))
153 delete(list[i].conv);
155 tlp = list->next;
156 free((char *)list);
157 list = tlp;
161 // Append a new entry on the end of the conversion list
164 struct conv_list *&list, // list to modify
196 if (list == NULL) {
197 list = nlp;
199 lp = get_last_conv(list);
206 // These routines append the proper conversion to the list, and update
214 struct conv_list *&list,
245 append_conv_list(list, ihdr, bufs, conv, msg);
253 struct conv_list *&list,
286 append_conv_list(list, ihdr, bufs, conv, msg);
293 struct conv_list *&list,
312 if (err = add_pcm_convert(list, ihdr, LINEAR, 2, bufs)) {
333 append_conv_list(list, ihdr, bufs, conv, msg);
340 struct conv_list *&list,
362 if (err = add_pcm_convert(list, ihdr, LINEAR, 2, bufs)) {
393 append_conv_list(list, ihdr, bufs, NULL, msg);
396 lp = get_last_conv(list);
409 struct conv_list *&list,
453 append_conv_list(list, ihdr, bufs, NULL, msg);
456 lp = get_last_conv(list);
469 struct conv_list *&list,
488 if (err = add_pcm_convert(list, ihdr, LINEAR, 2, bufs)) {
509 append_conv_list(list, ihdr, bufs, NULL, msg);
512 lp = get_last_conv(list);
549 // Build the conversion list to get from input to output format
552 struct conv_list *&list,
575 err = add_channel_convert(list,
580 err = add_mux_convert(list, ihdr, bufs);
588 err = add_mux_convert(list, ihdr, bufs);
591 err = add_decompress(list, ihdr,
606 err = add_mux_convert(list, ihdr, bufs);
616 err = add_decompress(list, ihdr,
620 err = add_rate_convert(list, ihdr,
630 err = add_decompress(list, ihdr,
635 err = add_pcm_convert(list, ihdr,
640 err = add_compress(list, ihdr,
651 err = add_mux_convert(list, ihdr, bufs);
656 err = add_channel_convert(list,
668 // Set up the conversion list and execute it
674 struct conv_list *list = NULL;
691 // create conversion list
692 if ((err = build_conversion_list(list, ifp, ofp)) != AUDIO_SUCCESS) {
693 free_conv_list(list);
722 // Print each entry in the conversion list
723 for (lp = list; lp; lp = lp->next) {
760 // Process each entry in the conversion list
761 for (lp = list; lp; lp = lp->next) {
794 for (lp = list; lp; lp = lp->next) {
838 free_conv_list(list);