Searched refs:bytestoread (Results 1 – 4 of 4) sorted by relevance
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/ |
D | ares__read_line.c | 47 int bytestoread = aresx_uztosi(*bufsize - offset); in ares__read_line() local 49 if (!fgets(*buf + offset, bytestoread, fp)) in ares__read_line()
|
/external/curl/tests/server/ |
D | getpart.c | 159 int bytestoread = curlx_uztosi(*bufsize - offset); in readline() local 161 if(!fgets(*buffer + offset, bytestoread, stream)) in readline() 164 *length = offset + line_length(*buffer + offset, bytestoread); in readline()
|
/external/curl/lib/ |
D | file.c | 549 size_t bytestoread; in file_do() local 552 bytestoread = (expected_size < data->set.buffer_size) ? in file_do() 556 bytestoread = data->set.buffer_size-1; in file_do() 558 nread = read(fd, buf, bytestoread); in file_do()
|
D | transfer.c | 442 size_t bytestoread = buffersize; in readwrite_data() local 455 if(totalleft < (curl_off_t)bytestoread) in readwrite_data() 456 bytestoread = (size_t)totalleft; in readwrite_data() 459 if(bytestoread) { in readwrite_data() 461 result = Curl_read(data, conn->sockfd, buf, bytestoread, &nread); in readwrite_data()
|