Lines Matching refs:malloc
978 server_req = malloc(sizeof(struct server_request));
988 server_req->base.questions = malloc(sizeof(struct evdns_server_question *) * questions);
1001 q = malloc(sizeof(struct evdns_server_question) + namelen);
1481 if (!(port = malloc(sizeof(struct evdns_server_port))))
1539 item = malloc(sizeof(struct server_reply_item));
1562 if (!(item->data = malloc(datalen))) {
1713 if (!(req->response = malloc(req->response_len))) {
2126 ns = (struct nameserver *) malloc(sizeof(struct nameserver));
2244 (struct request *) malloc(sizeof(struct request) + request_max_len);
2408 struct search_state *state = (struct search_state *) malloc(sizeof(struct search_state));
2441 sdomain = (struct search_domain *) malloc(sizeof(struct search_domain) + domain_len);
2504 char *const newname = (char *) malloc(base_len + need_to_append_dot + postfix_len + 1);
2767 resolv = (u8 *) malloc((size_t)st.st_size + 1);
2822 buf = malloc(ips-addr+1);
2860 buf = malloc(size);
2870 buf = malloc(size);
2922 if (!(buf = malloc(bufsz)))