Lines Matching defs:labels
27 ipkl->labels = NULL;
59 if (ipkl->labels != NULL) {
61 if (ipkl->labels[i] == NULL)
63 if (dns_name_dynamic(ipkl->labels[i]))
64 dns_name_free(ipkl->labels[i], mctx);
65 isc_mem_put(mctx, ipkl->labels[i], sizeof(dns_name_t));
67 isc_mem_put(mctx, ipkl->labels,
119 if (src->labels != NULL) {
121 if (src->labels[i] != NULL) {
122 dst->labels[i] = isc_mem_get(mctx,
124 if (dst->labels[i] == NULL) {
128 dns_name_init(dst->labels[i], NULL);
129 result = dns_name_dup(src->labels[i], mctx,
130 dst->labels[i]);
134 dst->labels[i] = NULL;
143 if (dst->labels[i] != NULL) {
144 if (dns_name_dynamic(dst->labels[i]))
145 dns_name_free(dst->labels[i], mctx);
146 isc_mem_put(mctx, dst->labels[i], sizeof(dns_name_t));
147 dst->labels[i] = NULL;
169 dns_name_t **labels = NULL;
186 labels = isc_mem_get(mctx, n * sizeof(dns_name_t *));
187 if (labels == NULL)
220 if (ipkl->labels != NULL) {
221 memmove(labels, ipkl->labels,
223 isc_mem_put(mctx, ipkl->labels,
226 ipkl->labels = labels;
227 memset(&ipkl->labels[ipkl->allocated], 0,
240 if (labels != NULL)
241 isc_mem_put(mctx, labels, n * sizeof(dns_name_t *));