Searched refs:safe_malloc (Results 1 – 16 of 16) sorted by relevance
/external/dnsmasq/src/ |
D | network.c | 320 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()
|
D | lease.c | 34 daemon->dhcp_buff = safe_malloc(256); in lease_init() 35 daemon->dhcp_buff2 = safe_malloc(256); in lease_init()
|
D | netlink.c | 72 iov.iov_base = safe_malloc(iov.iov_len); in netlink_init()
|
D | log.c | 88 free_entries = safe_malloc(sizeof(struct log_entry)); in log_start()
|
D | dnsmasq.c | 121 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()
|
D | cache.c | 79 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()
|
D | util.c | 226 void *safe_malloc(size_t size) in safe_malloc() function
|
D | dnsmasq.h | 737 void *safe_malloc(size_t size);
|
D | option.c | 491 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()
|
D | dhcp.c | 104 daemon->dhcp_packet.iov_base = safe_malloc(daemon->dhcp_packet.iov_len); in dhcp_init()
|
/external/ltp/include/ |
D | safe_macros_fn.h | 51 void* safe_malloc(const char *file, const int lineno,
|
D | tst_safe_macros.h | 63 safe_malloc(__FILE__, __LINE__, NULL, (size))
|
/external/ltp/include/old/ |
D | safe_macros.h | 48 safe_malloc(__FILE__, __LINE__, (cleanup_fn), (size))
|
/external/ltp/lib/ |
D | safe_macros.c | 144 void *safe_malloc(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_malloc() function
|
/external/dnsmasq/contrib/dns-loc/ |
D | dnsmasq2-loc-rfc1876.patch | 90 + new = safe_malloc(sizeof(struct loc_record));
|
/external/dnsmasq/contrib/lease-access/ |
D | lease.access.patch | 270 daemon->dhcp_packet.iov_base = safe_malloc(daemon->dhcp_packet.iov_len);
|