Lines Matching refs:buf
131 struct hostent *buf = NULL; in Curl_ipv4_resolve_r() local
157 buf = calloc(1, CURL_HOSTENT_SIZE); in Curl_ipv4_resolve_r()
158 if(!buf) in Curl_ipv4_resolve_r()
169 (struct hostent *)buf, in Curl_ipv4_resolve_r()
170 (char *)buf + sizeof(struct hostent), in Curl_ipv4_resolve_r()
188 (struct hostent *)buf, in Curl_ipv4_resolve_r()
189 (char *)buf + sizeof(struct hostent), in Curl_ipv4_resolve_r()
255 (struct hostent *)buf, in Curl_ipv4_resolve_r()
256 (struct hostent_data *)((char *)buf + in Curl_ipv4_resolve_r()
265 h = buf; /* result expected in h */ in Curl_ipv4_resolve_r()
280 free(buf); in Curl_ipv4_resolve_r()
297 if(buf) /* used a *_r() function */ in Curl_ipv4_resolve_r()
298 free(buf); in Curl_ipv4_resolve_r()