Lines Matching defs:new

172 /* make a new config and add it to parent */
435 snd_config_t **new, snd_config_t *variable)
480 ret = snd_config_top(new);
512 ret = snd_config_merge(*new, n, 0);
536 ret = snd_config_load(*new, in);
545 ret = pre_process_add_defines(tplg_pp, *new);
552 ret = pre_process_includes(tplg_pp, *new);
579 snd_config_t *n, *new, *define;
594 ret = pre_process_include_conf(tplg_pp, n, &new, define);
601 ret = snd_config_merge(top, new, 0);
643 /* duplicate the existing objects in src into dest and update with new attribute */
652 snd_config_t *n, *new, *new_attr;
658 ret = snd_config_copy(&new, n);
664 ret = snd_config_set_id(new, new_id);
667 snd_config_delete(new);
671 ret = snd_config_add(dest, new);
673 snd_config_delete(new);
677 /* and update the new attribute */
682 ret = snd_config_add(new, new_attr);
725 snd_config_t *n2, *new, *new_obj;
733 /* create new config based on type */
741 ret = snd_config_make(&new, attribute, SND_CONFIG_TYPE_INTEGER);
745 ret = snd_config_set_integer(new, val);
752 ret = snd_config_make(&new, attribute, SND_CONFIG_TYPE_STRING);
756 ret = snd_config_set_string(new, s);
762 /* for the first array simply create new conf nodes */
768 ret = snd_config_add(new_obj, new);
785 * and update them with the new ones
788 local_top, new);
796 snd_config_delete(new);
825 snd_config_t *n, *new;
832 /* Create a new node if it doesn't exist already */
833 if (snd_config_search(top, id, &new) < 0) {
834 ret = snd_config_make(&new, id, SND_CONFIG_TYPE_COMPOUND);
839 ret = snd_config_add(top, new);
841 snd_config_delete(new);
848 return pre_process_array_item(tplg_pp, new, n);
867 ret = snd_config_merge(new, local_top, 0);