Lines Matching defs:expected_size
431 curl_off_t expected_size=0;
458 expected_size = statbuf.st_size;
479 "Content-Length: %" CURL_FORMAT_CURL_OFF_T "\r\n", expected_size);
507 Curl_pgrsSetDownloadSize(data, expected_size);
525 if(data->state.resume_from <= expected_size)
526 expected_size -= data->state.resume_from;
534 expected_size = data->req.maxdownload;
536 if(!fstated || (expected_size == 0))
546 Curl_pgrsSetDownloadSize(data, expected_size);
562 (expected_size < CURL_OFF_T_C(BUFSIZE) - CURL_OFF_T_C(1)) ?
563 curlx_sotouz(expected_size) : BUFSIZE - 1;
573 if(nread <= 0 || (size_known && (expected_size == 0)))
578 expected_size -= nread;