Lines Matching refs:first

57         DnsZoneItem *first;
64 first = hashmap_get(z->by_key, i->rr->key);
65 LIST_REMOVE(by_key, first, i);
66 if (first)
67 assert_se(hashmap_replace(z->by_key, first->rr->key, first) >= 0);
71 first = hashmap_get(z->by_name, DNS_RESOURCE_KEY_NAME(i->rr->key));
72 LIST_REMOVE(by_name, first, i);
73 if (first)
74 assert_se(hashmap_replace(z->by_name, DNS_RESOURCE_KEY_NAME(first->rr->key), first) >= 0);
137 DnsZoneItem *first;
140 first = hashmap_get(z->by_key, i->rr->key);
141 if (first) {
142 LIST_PREPEND(by_key, first, i);
143 assert_se(hashmap_replace(z->by_key, first->rr->key, first) >= 0);
150 first = hashmap_get(z->by_name, DNS_RESOURCE_KEY_NAME(i->rr->key));
151 if (first) {
152 LIST_PREPEND(by_name, first, i);
153 assert_se(hashmap_replace(z->by_name, DNS_RESOURCE_KEY_NAME(first->rr->key), first) >= 0);
250 DnsZoneItem *first, *j;
257 LIST_FIND_HEAD(by_name, i, first);
258 LIST_FOREACH(by_name, j, first) {
288 DnsZoneItem *j, *first;
306 first = hashmap_get(z->by_name, DNS_RESOURCE_KEY_NAME(key));
307 LIST_FOREACH(by_name, j, first) {
332 first = hashmap_get(z->by_key, key);
333 LIST_FOREACH(by_key, j, first) {
342 first = hashmap_get(z->by_name, DNS_RESOURCE_KEY_NAME(key));
343 LIST_FOREACH(by_name, j, first) {
373 first = hashmap_get(z->by_name, DNS_RESOURCE_KEY_NAME(key));
374 LIST_FOREACH(by_name, j, first) {
403 first = hashmap_get(z->by_key, key);
404 LIST_FOREACH(by_key, j, first) {
421 first = hashmap_get(z->by_name, DNS_RESOURCE_KEY_NAME(key));
422 LIST_FOREACH(by_name, j, first) {
554 DnsZoneItem *i, *first;
565 first = hashmap_get(zone->by_name, DNS_RESOURCE_KEY_NAME(rr->key));
566 if (!first)
576 LIST_FOREACH(by_name, i, first) {
588 DnsZoneItem *i, *first;
596 first = hashmap_get(zone->by_name, DNS_RESOURCE_KEY_NAME(key));
597 if (!first)
600 LIST_FOREACH(by_name, i, first) {