Home
last modified time | relevance | path

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

/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.cc141 received_bytes_(received_bytes), in DownloadItemImpl()
193 received_bytes_(0), in DownloadItemImpl()
250 received_bytes_(0), in DownloadItemImpl()
697 (total_bytes_ - received_bytes_) / speed); in TimeRemaining()
713 return static_cast<int>(received_bytes_ * 100.0 / total_bytes_); in PercentComplete()
725 return received_bytes_; in GetReceivedBytes()
1050 received_bytes_ = bytes_so_far; in DestinationUpdate()
1054 if (received_bytes_ > total_bytes_) in DestinationUpdate()
1060 net::NetLog::Int64Callback("bytes_so_far", received_bytes_)); in DestinationUpdate()
1403 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.h465 int64 received_bytes_; variable
/external/chromium_org/components/proximity_auth/
Dconnection.cc53 received_bytes_.clear(); in SetStatus()
79 received_bytes_ += bytes; in OnBytesReceived()
94 received_bytes_.clear(); in OnBytesReceived()
99 return WireMessage::Deserialize(received_bytes_, is_incomplete_message); in DeserializeWireMessage()
Dconnection.h97 std::string 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_org/chrome/browser/drive/
Ddrive_uploader_unittest.cc65 received_bytes_(0), in MockDriveServiceWithUploadExpectation()
68 int64 received_bytes() const { return received_bytes_; } in received_bytes()
70 received_bytes_ = received_bytes; in set_received_bytes()
131 EXPECT_EQ(received_bytes_, start_position); in ResumeUpload()
136 std::min(received_bytes_ + kUploadChunkSize, expected_content_length_); in ResumeUpload()
149 received_bytes_ = end_position; in ResumeUpload()
184 if (received_bytes_ == expected_content_length_) { in SendUploadRangeResponse()
194 HTTP_RESUME_INCOMPLETE, 0, received_bytes_); in SendUploadRangeResponse()
203 int64 received_bytes_; member in drive::__anon443da4330111::MockDriveServiceWithUploadExpectation
/external/chromium_org/net/http/
Dhttp_stream_parser.h78 int64 received_bytes() const { return received_bytes_; } in received_bytes()
199 int64 received_bytes_; variable
Dhttp_transaction_test_util.cc233 received_bytes_(0), in MockNetworkTransaction()
312 return received_bytes_; in GetTotalReceivedBytes()
389 received_bytes_ = resp_status.size() + resp_headers.size() + resp_data.size(); in StartInternal()
Dhttp_stream_parser.cc189 received_bytes_(0), in HttpStreamParser()
679 received_bytes_ += result; in DoReadBodyComplete()
722 received_bytes_ -= save_amount; in DoReadBodyComplete()
884 received_bytes_ += end_offset; in DoParseResponseHeaders()
Dhttp_transaction_test_util.h248 int64 received_bytes_; variable
/external/chromium_org/google_apis/drive/
Ddrive_api_requests_unittest.cc110 received_bytes_ = 0; in SetUp()
264 received_bytes_ = 0; in HandleInitiateUploadRequest()
300 EXPECT_EQ(start_position, received_bytes_); in HandleResumeUploadRequest()
304 received_bytes_ = end_position + 1; in HandleResumeUploadRequest()
307 if (received_bytes_ < content_length_) { in HandleResumeUploadRequest()
316 if (received_bytes_ > 0) { in HandleResumeUploadRequest()
318 "Range", "bytes=0-" + base::Int64ToString(received_bytes_ - 1)); in HandleResumeUploadRequest()
382 int64 received_bytes_; member in google_apis::DriveApiRequestsTest