Home
last modified time | relevance | path

Searched refs:bytestoread (Results 1 – 3 of 3) sorted by relevance

/curl/tests/server/
H A Dgetpart.c124 int bytestoread = curlx_uztosi(*bufsize - offset); in readline() local
126 if(!fgets(*buffer + offset, bytestoread, stream)) in readline()
129 *length = offset + line_length(*buffer + offset, bytestoread); in readline()
/curl/lib/
H A Dfile.c573 size_t bytestoread; in file_do() local
576 bytestoread = (expected_size < (curl_off_t)(xfer_blen-1)) ? in file_do()
580 bytestoread = xfer_blen-1; in file_do()
582 nread = read(fd, xfer_buf, bytestoread); in file_do()
H A Dtransfer.c282 size_t bytestoread; in sendrecv_dl() local
293 bytestoread = xfer_blen; in sendrecv_dl()
295 if(bytestoread && data->set.max_recv_speed > 0) { in sendrecv_dl()
301 if(data->set.max_recv_speed < (curl_off_t)bytestoread) in sendrecv_dl()
302 bytestoread = (size_t)data->set.max_recv_speed; in sendrecv_dl()
305 nread = xfer_recv_resp(data, buf, bytestoread, is_multiplex, &result); in sendrecv_dl()

Completed in 8 milliseconds