Searched refs:memdup (Results 1 - 25 of 27) sorted by relevance

12

/freebsd-current/contrib/unbound/validator/
H A Dval_kentry.c160 newk = memdup(kkey, sizeof(*kkey));
163 newk->name = memdup(kkey->name, kkey->namelen);
175 newd = memdup(d, sizeof(*d));
183 newd->rrset_data = memdup(d->rrset_data,
H A Dval_neg.c458 zone->name = memdup(nm, nm_len);
611 el->name = memdup(nm, nm_len);
829 uint8_t* sa = memdup(s, slen);
H A Dval_anchor.c233 ta->name = memdup(name, namelen);
280 k->data = memdup(rdata, rdata_len);
866 pkey->rk.dname = memdup(ta->name, ta->namelen);
H A Dautotrust.c337 tp->name = memdup(own, own_len);
497 *prev = memdup(rr, dname_len);
508 drr = memdup(rr, rr_len);
644 k->rk.dname = memdup(rr, dname_len);
/freebsd-current/contrib/unbound/util/
H A Dnet_help.h147 void* memdup(void* data, size_t len);
H A Dtube.c611 a = (uint8_t*)memdup(buf, len);
H A Dnet_help.c192 memdup(void* data, size_t len) function
/freebsd-current/contrib/unbound/util/data/
H A Dpacked_rrset.c384 dk->rk.dname = (uint8_t*)memdup(key->rk.dname, key->rk.dname_len);
389 dd = (struct packed_rrset_data*)memdup(fd, packed_rrset_sizeof(fd));
H A Dmsgreply.c742 dk->rk.dname = (uint8_t*)memdup(fk->rk.dname,
750 else dd = (struct packed_rrset_data*)memdup(fd, s);
1399 s = memdup(list, sizeof(*list));
1408 s->opt_data = memdup(s->opt_data, s->opt_len);
/freebsd-current/contrib/unbound/libunbound/
H A Dcontext.c366 q->res->why_bogus = (char*)memdup(
378 q->msg = (uint8_t*)memdup(p+size_of_uint32s+wlen,
H A Dlibworker.c474 res->data[i] = memdup(data->rr_data[i]+2, (size_t)res->len[i]);
553 q->msg = memdup(sldns_buffer_begin(buf), sldns_buffer_limit(buf));
751 q->msg = memdup(sldns_buffer_begin(pkt), q->msg_len);
/freebsd-current/contrib/unbound/iterator/
H A Diter_delegpt.c600 dp->name = memdup(name, dp->namelen);
638 dp->name = memdup(name, dp->namelen);
657 ns->name = memdup(name, ns->namelen);
H A Diter_fwd.c122 node->name = memdup(nm, nmlen);
/freebsd-current/contrib/unbound/services/
H A Dlocalzone.c284 *nm = memdup(rr, dname_len);
312 *nm = memdup(rr, dname_len);
692 z->taglist = memdup(list, len);
1061 uint8_t* name = memdup(z->name, z->namelen);
1119 n2 = memdup(n2, nmlen);
H A Drpz.c498 r->taglist = memdup(p->rpz_taglist, r->taglistlen);
763 *stripdname = memdup(dname, maxdnamelen);
777 *stripdname = memdup(dname, *stripdnamelen);
H A Dlisten_dnsport.c1060 ub_sock->addr = memdup(res->ai_addr, res->ai_addrlen);
2324 item->buf = memdup(buf, len);
H A Dauthzone.c427 z->name = memdup(nm, nmlen);
596 n->name = memdup(nm, nmlen);
3921 struct auth_addr* a = (struct auth_addr*)memdup(p, sizeof(*p));
3941 m = (struct auth_master*)memdup(o, sizeof(*o));
6046 e->data = memdup(sldns_buffer_begin(pkt), e->len);
7042 xfr->name = memdup(z->name, z->namelen);
H A Doutside_network.c1640 pif->avail_ports = (int*)memdup(avail, (size_t)numavail*sizeof(int));
2272 pend->pkt = (uint8_t*)memdup(sldns_buffer_begin(packet),
/freebsd-current/contrib/unbound/services/cache/
H A Drrset.c265 rrset->rk.dname = (uint8_t*)memdup(wc_dname, rrset->rk.dname_len);
268 log_err("memdup failure in rrset_cache_update_wildcard");
H A Dinfra.c518 key->zonename = memdup(name, namelen);
955 k->name = memdup(name, namelen);
H A Ddns.c1081 qinf.qname = memdup(msgqinf->qname, msgqinf->qname_len);
/freebsd-current/contrib/unbound/edns-subnet/
H A Dsubnetmod.c387 qinf.qname = memdup(qstate->qinfo.qname,
391 log_err("memdup failed");
/freebsd-current/contrib/unbound/cachedb/
H A Dcachedb.c188 d->stored_data = memdup(data, data_len);
/freebsd-current/contrib/unbound/daemon/
H A Dcachedump.c399 ak->rk.dname = (uint8_t*)memdup(k->rk.dname, k->rk.dname_len);
H A Dworker.c2074 worker->ports = (int*)memdup(ports, sizeof(int)*n);

Completed in 341 milliseconds

12