Lines Matching refs:new_node
625 common_node_t *new_node = xzalloc(sizeof(common_node_t)); in fill_package_struct() local
632 new_node->version = search_name_hashtable("unknown"); in fill_package_struct()
646 new_node->name = search_name_hashtable(field_value); in fill_package_struct()
649 new_node->version = search_name_hashtable(field_value); in fill_package_struct()
652 add_split_dependencies(new_node, field_value, EDGE_PRE_DEPENDS); in fill_package_struct()
655 add_split_dependencies(new_node, field_value, EDGE_DEPENDS); in fill_package_struct()
658 add_split_dependencies(new_node, field_value, EDGE_REPLACES); in fill_package_struct()
661 add_split_dependencies(new_node, field_value, EDGE_PROVIDES); in fill_package_struct()
664 add_split_dependencies(new_node, field_value, EDGE_CONFLICTS); in fill_package_struct()
667 add_split_dependencies(new_node, field_value, EDGE_SUGGESTS); in fill_package_struct()
670 add_split_dependencies(new_node, field_value, EDGE_RECOMMENDS); in fill_package_struct()
673 add_split_dependencies(new_node, field_value, EDGE_ENHANCES); in fill_package_struct()
681 if (new_node->version == search_name_hashtable("unknown")) { in fill_package_struct()
682 free_package(new_node); in fill_package_struct()
685 num = search_package_hashtable(new_node->name, new_node->version, VER_EQUAL); in fill_package_struct()
687 package_hashtable[num] = new_node; in fill_package_struct()
1010 common_node_t *new_node = xzalloc(sizeof(common_node_t)); in check_deps() local
1011 new_node->name = package_hashtable[package_num]->edge[j]->name; in check_deps()
1012 new_node->version = package_hashtable[package_num]->edge[j]->version; in check_deps()
1013 package_hashtable[conflicts_package_num] = new_node; in check_deps()