Home
last modified time | relevance | path

Searched refs:safe_malloc (Results 1 – 16 of 16) sorted by relevance

/external/dnsmasq/src/
Dnetwork.c320 l = safe_malloc(sizeof(struct listener)); in create_ipv6_listener()
410 l = safe_malloc(sizeof(struct listener)); in create_wildcard_listeners()
441 struct listener *new = safe_malloc(sizeof(struct listener)); in create_bound_listener()
632 struct listener *new = safe_malloc(sizeof(struct listener)); in create_bound_listeners()
1015 if_tmp = safe_malloc(sizeof(struct iname)); in set_interfaces()
Dlease.c34 daemon->dhcp_buff = safe_malloc(256); in lease_init()
35 daemon->dhcp_buff2 = safe_malloc(256); in lease_init()
Dnetlink.c72 iov.iov_base = safe_malloc(iov.iov_len); in netlink_init()
Dlog.c88 free_entries = safe_malloc(sizeof(struct log_entry)); in log_start()
Ddnsmasq.c121 daemon->packet = safe_malloc(daemon->packet_buff_sz); in main()
253 hdr = safe_malloc(sizeof(*hdr)); in main()
267 data = safe_malloc(sizeof(*data) * capsize); in main()
Dcache.c79 addrbuff = safe_malloc(ADDRSTRLEN); in cache_init()
85 crecp = safe_malloc(daemon->cachesize*sizeof(struct crec)); in cache_init()
113 new = safe_malloc(new_size * sizeof(struct crec *)); in rehash()
Dutil.c226 void *safe_malloc(size_t size) in safe_malloc() function
Ddnsmasq.h737 void *safe_malloc(size_t size);
Doption.c491 ret = safe_malloc(size); in opt_malloc()
1255 struct cond_domain *new = safe_malloc(sizeof(struct cond_domain)); in one_opt()
2554 r = safe_malloc(sizeof(struct fileread)); in one_file()
Ddhcp.c104 daemon->dhcp_packet.iov_base = safe_malloc(daemon->dhcp_packet.iov_len); in dhcp_init()
/external/ltp/include/
Dsafe_macros_fn.h51 void* safe_malloc(const char *file, const int lineno,
Dtst_safe_macros.h63 safe_malloc(__FILE__, __LINE__, NULL, (size))
/external/ltp/include/old/
Dsafe_macros.h48 safe_malloc(__FILE__, __LINE__, (cleanup_fn), (size))
/external/ltp/lib/
Dsafe_macros.c144 void *safe_malloc(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_malloc() function
/external/dnsmasq/contrib/dns-loc/
Ddnsmasq2-loc-rfc1876.patch90 + new = safe_malloc(sizeof(struct loc_record));
/external/dnsmasq/contrib/lease-access/
Dlease.access.patch270 daemon->dhcp_packet.iov_base = safe_malloc(daemon->dhcp_packet.iov_len);