Lines Matching defs:keys
26 ipkl->keys = NULL;
47 if (ipkl->keys != NULL) {
49 if (ipkl->keys[i] == NULL)
51 if (dns_name_dynamic(ipkl->keys[i]))
52 dns_name_free(ipkl->keys[i], mctx);
53 isc_mem_put(mctx, ipkl->keys[i], sizeof(dns_name_t));
55 isc_mem_put(mctx, ipkl->keys,
99 if (src->keys != NULL) {
101 if (src->keys[i] != NULL) {
102 dst->keys[i] = isc_mem_get(mctx,
104 if (dst->keys[i] == NULL) {
108 dns_name_init(dst->keys[i], NULL);
109 result = dns_name_dup(src->keys[i], mctx,
110 dst->keys[i]);
114 dst->keys[i] = NULL;
153 if (dst->keys[i] != NULL) {
154 if (dns_name_dynamic(dst->keys[i]))
155 dns_name_free(dst->keys[i], mctx);
156 isc_mem_put(mctx, dst->keys[i], sizeof(dns_name_t));
157 dst->keys[i] = NULL;
168 dns_name_t **keys = NULL;
183 keys = isc_mem_get(mctx, n * sizeof(dns_name_t *));
184 if (keys == NULL)
210 if (ipkl->keys) {
211 memmove(keys, ipkl->keys,
213 isc_mem_put(mctx, ipkl->keys,
216 ipkl->keys = keys;
217 memset(&ipkl->keys[ipkl->allocated], 0,
238 if (keys != NULL)
239 isc_mem_put(mctx, keys, n * sizeof(dns_name_t *));