Home
last modified time | relevance | path

Searched refs:xfer_buf (Results 1 – 4 of 4) sorted by relevance

/curl/lib/
H A Dfile.c436 char *xfer_buf; in file_do() local
565 result = Curl_multi_xfer_buf_borrow(data, &xfer_buf, &xfer_blen); in file_do()
582 nread = read(fd, xfer_buf, bytestoread); in file_do()
585 xfer_buf[nread] = 0; in file_do()
593 result = Curl_client_write(data, CLIENTWRITE_BODY, xfer_buf, nread); in file_do()
638 Curl_multi_xfer_buf_release(data, xfer_buf); in file_do()
H A Dmultihandle.h122 char *xfer_buf; /* the actual buffer */ member
H A Dtransfer.c268 char *buf, *xfer_buf; in sendrecv_dl() local
274 result = Curl_multi_xfer_buf_borrow(data, &xfer_buf, &xfer_blen); in sendrecv_dl()
292 buf = xfer_buf; in sendrecv_dl()
375 Curl_multi_xfer_buf_release(data, xfer_buf); in sendrecv_dl()
H A Dmulti.c4176 if(data->multi->xfer_buf &&
4179 free(data->multi->xfer_buf);
4180 data->multi->xfer_buf = NULL;
4184 if(!data->multi->xfer_buf) {
4185 data->multi->xfer_buf = malloc((size_t)data->set.buffer_size);
4186 if(!data->multi->xfer_buf) {
4195 *pbuf = data->multi->xfer_buf;
4205 DEBUGASSERT(!buf || data->multi->xfer_buf == buf);
4310 Curl_safefree(multi->xfer_buf);

Completed in 19 milliseconds