Lines Matching refs:positive_by_key
50 hashmap_contains(d->positive_by_key, &DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_DNSKEY, name)) ||
51 hashmap_contains(d->positive_by_key, &DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_DS, name));
61 r = hashmap_ensure_allocated(&d->positive_by_key, &dns_resource_key_hash_ops);
93 r = hashmap_put(d->positive_by_key, rr->key, answer);
336 r = hashmap_ensure_allocated(&d->positive_by_key, &dns_resource_key_hash_ops);
340 old_answer = hashmap_get(d->positive_by_key, rr->key);
347 r = hashmap_replace(d->positive_by_key, rr->key, answer);
454 if (hashmap_isempty(d->positive_by_key))
458 HASHMAP_FOREACH(a, d->positive_by_key, i) {
516 while ((a = hashmap_steal_first(d->positive_by_key)))
518 d->positive_by_key = hashmap_free(d->positive_by_key);
538 a = hashmap_get(d->positive_by_key, key);
582 old_answer = hashmap_get(d->positive_by_key, rr->key);
600 assert_se(hashmap_remove(d->positive_by_key, rr->key) == old_answer);
605 r = hashmap_replace(d->positive_by_key, new_answer->items[0].rr->key, new_answer);
623 a = hashmap_get(d->positive_by_key, revoked_dnskey->key);
654 a = hashmap_get(d->positive_by_key, &DNS_RESOURCE_KEY_CONST(revoked_dnskey->key->class, DNS_TYPE_DS, DNS_RESOURCE_KEY_NAME(revoked_dnskey->key)));