Home
last modified time | relevance | path

Searched refs:received_bytes_ (Results 1 – 20 of 20) sorted by relevance

/external/chromium/chrome/browser/download/
Dsave_item.cc23 received_bytes_(0), in SaveItem()
44 received_bytes_ = bytes_so_far; in UpdateSize()
45 if (received_bytes_ >= total_bytes_) in UpdateSize()
72 Finish(received_bytes_, false); in Cancel()
104 percent = static_cast<int>(received_bytes_ * 100.0 / total_bytes_); in PercentComplete()
Ddownload_status_updater_unittest.cc19 received_bytes_(0), in MockDelegate()
42 return received_bytes_; in GetReceivedDownloadBytes()
58 received_bytes_ = received_bytes; in set_received_bytes()
70 int64 received_bytes_; member in __anon7151e2d70111::MockDelegate
Ddownload_item.cc126 received_bytes_(info.received_bytes), in DownloadItem()
166 received_bytes_(0), in DownloadItem()
206 received_bytes_(0), in DownloadItem()
307 received_bytes_ = bytes_so_far; in UpdateSize()
311 if (received_bytes_ > total_bytes_) in UpdateSize()
446 base::TimeDelta::FromSeconds((total_bytes_ - received_bytes_) / speed); in TimeRemaining()
455 return diff_ms == 0 ? 0 : received_bytes_ * 1000 / diff_ms; in CurrentSpeed()
461 percent = static_cast<int>(received_bytes_ * 100.0 / total_bytes_); in PercentComplete()
Dsave_item.h63 int64 received_bytes() const { return received_bytes_; } in received_bytes()
93 int64 received_bytes_; variable
Ddownload_item.h255 int64 received_bytes() const { return received_bytes_; } in received_bytes()
340 int64 received_bytes_; variable
/external/chromium_org/content/browser/download/
Dsave_item.cc24 received_bytes_(0), in SaveItem()
45 received_bytes_ = bytes_so_far; in UpdateSize()
46 if (received_bytes_ >= total_bytes_) in UpdateSize()
73 Finish(received_bytes_, false); in Cancel()
105 percent = static_cast<int>(received_bytes_ * 100.0 / total_bytes_); in PercentComplete()
Ddownload_item_impl.cc126 received_bytes_(received_bytes), in DownloadItemImpl()
176 received_bytes_(0), in DownloadItemImpl()
233 received_bytes_(0), in DownloadItemImpl()
660 (total_bytes_ - received_bytes_) / speed); in TimeRemaining()
676 return static_cast<int>(received_bytes_ * 100.0 / total_bytes_); in PercentComplete()
688 return received_bytes_; in GetReceivedBytes()
1010 received_bytes_ = bytes_so_far; in DestinationUpdate()
1014 if (received_bytes_ > total_bytes_) in DestinationUpdate()
1020 net::NetLog::Int64Callback("bytes_so_far", received_bytes_)); in DestinationUpdate()
1363 RecordDownloadCompleted(start_tick_, received_bytes_); in Completed()
[all …]
Dsave_item.h64 int64 received_bytes() const { return received_bytes_; } in received_bytes()
94 int64 received_bytes_; variable
Ddownload_item_impl.h454 int64 received_bytes_; variable
/external/chromium_org/net/quic/congestion_control/
Davailable_channel_estimator.cc22 received_bytes_(0) { in AvailableChannelEstimator()
47 received_bytes_ += packet_size; in OnIncomingFeedback()
62 *bandwidth = QuicBandwidth::FromBytesAndTimeDelta(received_bytes_, in GetAvailableChannelEstimate()
Davailable_channel_estimator.h60 QuicByteCount received_bytes_; variable
/external/chromium_org/net/socket_stream/
Dsocket_stream_metrics.cc16 : received_bytes_(0), in SocketStreamMetrics()
51 received_bytes_ += len; in OnRead()
66 received_bytes_); in OnClose()
Dsocket_stream_metrics.h60 int received_bytes_; variable
/external/chromium/net/socket_stream/
Dsocket_stream_metrics.cc16 : received_bytes_(0), in SocketStreamMetrics()
62 received_bytes_ += len; in OnRead()
77 received_bytes_); in OnClose()
Dsocket_stream_metrics.h57 int received_bytes_; variable
/external/chromium_org/chrome/browser/drive/
Ddrive_uploader_unittest.cc64 received_bytes_(0), in MockDriveServiceWithUploadExpectation()
67 int64 received_bytes() const { return received_bytes_; } in received_bytes()
69 received_bytes_ = received_bytes; in set_received_bytes()
129 EXPECT_EQ(received_bytes_, start_position); in ResumeUpload()
134 std::min(received_bytes_ + kUploadChunkSize, expected_content_length_); in ResumeUpload()
147 received_bytes_ = end_position; in ResumeUpload()
182 if (received_bytes_ == expected_content_length_) { in SendUploadRangeResponse()
193 HTTP_RESUME_INCOMPLETE, 0, received_bytes_); in SendUploadRangeResponse()
202 int64 received_bytes_; member in drive::__anon254709860111::MockDriveServiceWithUploadExpectation
/external/chromium_org/net/http/
Dhttp_stream_parser.h80 int64 received_bytes() const { return received_bytes_; } in received_bytes()
193 int64 received_bytes_; variable
Dhttp_stream_parser.cc182 received_bytes_(0), in HttpStreamParser()
698 received_bytes_ += result; in DoReadBodyComplete()
741 received_bytes_ -= save_amount; in DoReadBodyComplete()
796 received_bytes_ += end_offset; in DoParseResponseHeaders()
/external/chromium_org/google_apis/drive/
Dgdata_wapi_requests_unittest.cc81 received_bytes_ = 0; in SetUp()
226 received_bytes_ = 0; in HandleCreateSessionRequest()
282 EXPECT_EQ(start_position, received_bytes_); in HandleUploadRequest()
285 received_bytes_ = end_position + 1; in HandleUploadRequest()
291 if (received_bytes_ > 0) { in HandleUploadRequest()
294 "bytes=0-" + base::Int64ToString(received_bytes_ - 1)); in HandleUploadRequest()
298 if (received_bytes_ < content_length_) in HandleUploadRequest()
338 int64 received_bytes_; member in google_apis::__anon16470f950111::GDataWapiRequestsTest
Ddrive_api_requests_unittest.cc102 received_bytes_ = 0; in SetUp()
256 received_bytes_ = 0; in HandleInitiateUploadRequest()
292 EXPECT_EQ(start_position, received_bytes_); in HandleResumeUploadRequest()
296 received_bytes_ = end_position + 1; in HandleResumeUploadRequest()
299 if (received_bytes_ < content_length_) { in HandleResumeUploadRequest()
308 if (received_bytes_ > 0) { in HandleResumeUploadRequest()
310 "Range", "bytes=0-" + base::Int64ToString(received_bytes_ - 1)); in HandleResumeUploadRequest()
374 int64 received_bytes_; member in google_apis::DriveApiRequestsTest