Lines Matching refs:expected_size
378 curl_off_t expected_size = 0; in file_do() local
402 expected_size = statbuf.st_size; in file_do()
422 expected_size); in file_do()
452 Curl_pgrsSetDownloadSize(data, expected_size); in file_do()
472 if(data->state.resume_from <= expected_size) in file_do()
473 expected_size -= data->state.resume_from; in file_do()
481 expected_size = data->req.maxdownload; in file_do()
483 if(!fstated || (expected_size == 0)) in file_do()
493 Curl_pgrsSetDownloadSize(data, expected_size); in file_do()
509 bytestoread = (expected_size < data->set.buffer_size) ? in file_do()
510 curlx_sotouz(expected_size) : (size_t)data->set.buffer_size; in file_do()
520 if(nread <= 0 || (size_known && (expected_size == 0))) in file_do()
525 expected_size -= nread; in file_do()