Lines Matching refs:compare
104 hashmap_remove(node->parent->compare.children, UINT_TO_PTR(node->value.u8));
106 hashmap_remove(node->parent->compare.children, node->value.str);
112 assert(hashmap_isempty(node->compare.children));
113 hashmap_free(node->compare.children);
128 if (BUS_MATCH_IS_COMPARE(node->type) && !hashmap_isempty(node->compare.children))
396 found = hashmap_get(node->compare.children, test_str);
401 found = hashmap_get(node->compare.children, *i);
411 found = hashmap_get(node->compare.children, UINT_TO_PTR(test_u8));
465 n = hashmap_get(c->compare.children, UINT_TO_PTR(value_u8));
467 n = hashmap_get(c->compare.children, value_str);
495 c->compare.children = hashmap_new(NULL);
496 if (!c->compare.children) {
501 c->compare.children = hashmap_new(&string_hash_ops);
502 if (!c->compare.children) {
526 if (c->compare.children) {
529 r = hashmap_put(c->compare.children, UINT_TO_PTR(value_u8), n);
531 r = hashmap_put(c->compare.children, n->value.str, n);
578 n = hashmap_get(c->compare.children, UINT_TO_PTR(value_u8));
580 n = hashmap_get(c->compare.children, value_str);
1082 HASHMAP_FOREACH(c, node->compare.children, i)
1085 assert(hashmap_isempty(node->compare.children));
1175 HASHMAP_FOREACH(c, node->compare.children, i)