Searched refs:rrset (Results 1 – 3 of 3) sorted by relevance
/external/openssh/openbsd-compat/ |
D | getrrsetbyname-ldns.c | 69 struct rrsetinfo *rrset = NULL; in getrrsetbyname() local 121 rrset = calloc(1, sizeof(struct rrsetinfo)); in getrrsetbyname() 122 if (rrset == NULL) { in getrrsetbyname() 128 rrset->rri_nrdatas = ldns_rr_list_rr_count(rrdata); in getrrsetbyname() 129 if (!rrset->rri_nrdatas) { in getrrsetbyname() 136 if ((rrset->rri_name = malloc(len)) == NULL) { in getrrsetbyname() 140 memcpy(rrset->rri_name, in getrrsetbyname() 143 rrset->rri_rdclass = ldns_rr_get_class(ldns_rr_list_rr(rrdata, 0)); in getrrsetbyname() 144 rrset->rri_rdtype = ldns_rr_get_type(ldns_rr_list_rr(rrdata, 0)); in getrrsetbyname() 145 rrset->rri_ttl = ldns_rr_ttl(ldns_rr_list_rr(rrdata, 0)); in getrrsetbyname() [all …]
|
D | getrrsetbyname.c | 192 struct rrsetinfo *rrset = NULL; in getrrsetbyname() local 264 rrset = calloc(1, sizeof(struct rrsetinfo)); in getrrsetbyname() 265 if (rrset == NULL) { in getrrsetbyname() 269 rrset->rri_rdclass = response->query->class; in getrrsetbyname() 270 rrset->rri_rdtype = response->query->type; in getrrsetbyname() 271 rrset->rri_ttl = response->answer->ttl; in getrrsetbyname() 272 rrset->rri_nrdatas = response->header.ancount; in getrrsetbyname() 277 rrset->rri_flags |= RRSET_VALIDATED; in getrrsetbyname() 281 rrset->rri_name = strdup(response->answer->name); in getrrsetbyname() 282 if (rrset->rri_name == NULL) { in getrrsetbyname() [all …]
|
/external/python/dateutil/dateutil/test/ |
D | test_rrule.py | 4543 rrset = rruleset() 4544 rrset.rrule(rrule(YEARLY, count=2, byweekday=TU, 4546 rrset.rrule(rrule(YEARLY, count=1, byweekday=TH, 4548 self.assertEqual(list(rrset), 4554 rrset = rruleset() 4555 rrset.rrule(rrule(YEARLY, count=1, byweekday=TU, 4557 rrset.rdate(datetime(1997, 9, 4, 9)) 4558 rrset.rdate(datetime(1997, 9, 9, 9)) 4559 self.assertEqual(list(rrset), 4565 rrset = rruleset() [all …]
|