Lines Matching refs:rri_rdatas
36 * rrset. The resource records contained in #rri_rdatas and #rri_sigs are
65 * struct rdatainfo *rri_rdatas; // individual records
201 rrset->rri_rdatas = NULL;
217 rrset->rri_rdatas = sane_calloc(rrset->rri_nrdatas,
219 if (rrset->rri_rdatas == NULL) {
224 rrset->rri_rdatas[i].rdi_length = response->rdatalen[i];
225 rrset->rri_rdatas[i].rdi_data =
226 sane_malloc(rrset->rri_rdatas[i].rdi_length);
227 if (rrset->rri_rdatas[i].rdi_data == NULL) {
231 memmove(rrset->rri_rdatas[i].rdi_data, response->rdatas[i],
232 rrset->rri_rdatas[i].rdi_length);
274 if (rrset->rri_rdatas != NULL) {
276 if (rrset->rri_rdatas[i].rdi_data == NULL)
278 free(rrset->rri_rdatas[i].rdi_data);
280 free(rrset->rri_rdatas);