Lines Matching refs:children
87 hashmap_remove(node->parent->compare.children, UINT_TO_PTR(node->value.u8)); in bus_match_node_free()
89 hashmap_remove(node->parent->compare.children, node->value.str); in bus_match_node_free()
95 assert(hashmap_isempty(node->compare.children)); in bus_match_node_free()
96 hashmap_free(node->compare.children); in bus_match_node_free()
111 if (BUS_MATCH_IS_COMPARE(node->type) && !hashmap_isempty(node->compare.children)) in bus_match_node_maybe_free()
383 found = hashmap_get(node->compare.children, test_str); in bus_match_run()
386 found = hashmap_get(node->compare.children, *i); in bus_match_run()
396 found = hashmap_get(node->compare.children, UINT_TO_PTR(test_u8)); in bus_match_run()
448 n = hashmap_get(c->compare.children, UINT_TO_PTR(value_u8)); in bus_match_add_compare_value()
450 n = hashmap_get(c->compare.children, value_str); in bus_match_add_compare_value()
476 c->compare.children = hashmap_new(NULL); in bus_match_add_compare_value()
477 if (!c->compare.children) { in bus_match_add_compare_value()
482 c->compare.children = hashmap_new(&string_hash_ops); in bus_match_add_compare_value()
483 if (!c->compare.children) { in bus_match_add_compare_value()
507 if (c->compare.children) { in bus_match_add_compare_value()
510 r = hashmap_put(c->compare.children, UINT_TO_PTR(value_u8), n); in bus_match_add_compare_value()
512 r = hashmap_put(c->compare.children, n->value.str, n); in bus_match_add_compare_value()
947 HASHMAP_FOREACH(c, node->compare.children) in bus_match_free()
950 assert(hashmap_isempty(node->compare.children)); in bus_match_free()
1033 HASHMAP_FOREACH(c, node->compare.children) in bus_match_dump()