Searched refs:bytestoread (Results 1 – 3 of 3) sorted by relevance
506 size_t bytestoread; in file_do() local509 bytestoread = (expected_size < data->set.buffer_size) ? in file_do()513 bytestoread = data->set.buffer_size-1; in file_do()515 nread = read(fd, buf, bytestoread); in file_do()
598 size_t bytestoread = buffersize; in readwrite_data() local616 if(totalleft < (curl_off_t)bytestoread) in readwrite_data()617 bytestoread = (size_t)totalleft; in readwrite_data()620 if(bytestoread) { in readwrite_data()622 result = Curl_read(conn, conn->sockfd, k->buf, bytestoread, &nread); in readwrite_data()
130 int bytestoread = curlx_uztosi(*bufsize - offset); in readline() local132 if(!fgets(*buffer + offset, bytestoread, stream)) in readline()