Lines Matching refs:positive_by_key

35 …hashmap_contains(d->positive_by_key, &DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_DNSKEY, name))…  in dns_trust_anchor_knows_domain_positive()
36 … hashmap_contains(d->positive_by_key, &DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_DS, name)); in dns_trust_anchor_knows_domain_positive()
77 r = hashmap_ensure_allocated(&d->positive_by_key, &dns_resource_key_hash_ops); in dns_trust_anchor_add_builtin_positive()
99 r = hashmap_put(d->positive_by_key, key, answer); in dns_trust_anchor_add_builtin_positive()
353 r = hashmap_ensure_allocated(&d->positive_by_key, &dns_resource_key_hash_ops); in dns_trust_anchor_load_positive()
357 old_answer = hashmap_get(d->positive_by_key, rr->key); in dns_trust_anchor_load_positive()
364 r = hashmap_replace(d->positive_by_key, rr->key, answer); in dns_trust_anchor_load_positive()
472 if (hashmap_isempty(d->positive_by_key)) in dns_trust_anchor_dump()
476 HASHMAP_FOREACH(a, d->positive_by_key) { in dns_trust_anchor_dump()
531 d->positive_by_key = hashmap_free_with_destructor(d->positive_by_key, dns_answer_unref); in dns_trust_anchor_flush()
547 a = hashmap_get(d->positive_by_key, key); in dns_trust_anchor_lookup_positive()
568 …if (hashmap_contains(d->positive_by_key, &DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_DS, name))) in dns_trust_anchor_lookup_negative()
571 …if (hashmap_contains(d->positive_by_key, &DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_KEY, name)… in dns_trust_anchor_lookup_negative()
611 old_answer = hashmap_get(d->positive_by_key, rr->key); in dns_trust_anchor_remove_revoked()
630 assert_se(hashmap_remove(d->positive_by_key, rr->key) == old_answer); in dns_trust_anchor_remove_revoked()
636 r = hashmap_replace(d->positive_by_key, item->rr->key, new_answer); in dns_trust_anchor_remove_revoked()
654 a = hashmap_get(d->positive_by_key, revoked_dnskey->key); in dns_trust_anchor_check_revoked_one()
685 …a = hashmap_get(d->positive_by_key, &DNS_RESOURCE_KEY_CONST(revoked_dnskey->key->class, DNS_TYPE_D… in dns_trust_anchor_check_revoked_one()