Searched defs:received_bytes (Results 1 - 18 of 18) sorted by relevance

/external/chromium_org/chrome/browser/download/
H A Ddownload_status_updater.cc63 int64 received_bytes = 0; local
79 received_bytes += (*it)->GetReceivedBytes();
88 *progress = static_cast<float>(received_bytes) / total_bytes;
H A Ddownload_item_model_unittest.cc290 int64 received_bytes; // Return value of GetReceivedBytes(). member in struct:TestCase
343 .WillRepeatedly(Return(test_case.received_bytes));
H A Ddownload_history_unittest.cc51 EXPECT_EQ(left.received_bytes, right.received_bytes);
248 infos->at(index).received_bytes,
386 int64 received_bytes,
411 info->received_bytes = received_bytes;
442 .WillRepeatedly(Return(received_bytes));
641 // received_bytes
643 info.received_bytes = 101;
732 info.received_bytes
374 InitItem( uint32 id, const base::FilePath& current_path, const base::FilePath& target_path, const std::vector<GURL>& url_chain, const GURL& referrer, const std::string& mime_type, const std::string& original_mime_type, const base::Time& start_time, const base::Time& end_time, const std::string& etag, const std::string& last_modified, int64 received_bytes, int64 total_bytes, content::DownloadItem::DownloadState state, content::DownloadDangerType danger_type, content::DownloadInterruptReason interrupt_reason, bool opened, const std::string& by_extension_id, const std::string& by_extension_name, history::DownloadRow* info) argument
[all...]
/external/chromium_org/chrome/browser/history/
H A Ddownload_row.h82 int64 received_bytes; member in struct:history::DownloadRow
/external/chromium_org/content/public/test/
H A Dmock_download_manager.h41 int64 received_bytes; member in struct:content::MockDownloadManager::CreateDownloadItemAdapter
60 int64 received_bytes,
115 int64 received_bytes,
H A Dmock_download_manager.cc24 int64 received_bytes,
39 received_bytes(received_bytes),
57 received_bytes(rhs.received_bytes),
79 received_bytes == rhs.received_bytes &&
110 int64 received_bytes,
119 received_bytes, total_bytes, state, danger_type, interrupt_reason,
12 CreateDownloadItemAdapter( uint32 id, const base::FilePath& current_path, const base::FilePath& target_path, const std::vector<GURL>& url_chain, const GURL& referrer_url, const std::string& mime_type, const std::string& original_mime_type, const base::Time& start_time, const base::Time& end_time, const std::string& etag, const std::string& last_modified, int64 received_bytes, int64 total_bytes, DownloadItem::DownloadState state, DownloadDangerType danger_type, DownloadInterruptReason interrupt_reason, bool opened) argument
98 CreateDownloadItem( uint32 id, const base::FilePath& current_path, const base::FilePath& target_path, const std::vector<GURL>& url_chain, const GURL& referrer_url, const std::string& mime_type, const std::string& original_mime_type, const base::Time& start_time, const base::Time& end_time, const std::string& etag, const std::string& last_modified, int64 received_bytes, int64 total_bytes, DownloadItem::DownloadState state, DownloadDangerType danger_type, DownloadInterruptReason interrupt_reason, bool opened) argument
/external/chromium_org/content/browser/download/
H A Dsave_item.h64 int64 received_bytes() const { return received_bytes_; } function in class:content::SaveItem
H A Dbase_file.cc31 int64 received_bytes,
40 bytes_so_far_(received_bytes),
28 BaseFile(const base::FilePath& full_path, const GURL& source_url, const GURL& referrer_url, int64 received_bytes, bool calculate_hash, const std::string& hash_state_bytes, base::File file, const net::BoundNetLog& bound_net_log) argument
H A Ddownload_manager_impl.cc178 int64 received_bytes,
198 received_bytes,
632 int64 received_bytes,
655 received_bytes,
620 CreateDownloadItem( uint32 id, const base::FilePath& current_path, const base::FilePath& target_path, const std::vector<GURL>& url_chain, const GURL& referrer_url, const std::string& mime_type, const std::string& original_mime_type, const base::Time& start_time, const base::Time& end_time, const std::string& etag, const std::string& last_modified, int64 received_bytes, int64 total_bytes, DownloadItem::DownloadState state, DownloadDangerType danger_type, DownloadInterruptReason interrupt_reason, bool opened) argument
H A Ddownload_manager_impl_unittest.cc245 int64 received_bytes,
312 int64 received_bytes,
299 CreatePersistedItem( DownloadItemImplDelegate* delegate, uint32 download_id, const base::FilePath& current_path, const base::FilePath& target_path, const std::vector<GURL>& url_chain, const GURL& referrer_url, const std::string& mime_type, const std::string& original_mime_type, const base::Time& start_time, const base::Time& end_time, const std::string& etag, const std::string& last_modified, int64 received_bytes, int64 total_bytes, DownloadItem::DownloadState state, DownloadDangerType danger_type, DownloadInterruptReason interrupt_reason, bool opened, const net::BoundNetLog& bound_net_log) argument
H A Ddownload_browsertest.cc722 int received_bytes, int total_bytes,
726 EXPECT_EQ(received_bytes, download->GetReceivedBytes());
739 ASSERT_EQ(static_cast<size_t>(received_bytes), file_contents.size());
740 for (int i = 0; i < received_bytes; ++i) {
720 ConfirmFileStatusForResume( DownloadItem* download, bool file_exists, int received_bytes, int total_bytes, const base::FilePath& expected_filename) argument
H A Ddownload_item_impl.cc122 int64 received_bytes,
141 received_bytes_(received_bytes),
110 DownloadItemImpl(DownloadItemImplDelegate* delegate, uint32 download_id, const base::FilePath& current_path, const base::FilePath& target_path, const std::vector<GURL>& url_chain, const GURL& referrer_url, const std::string& mime_type, const std::string& original_mime_type, const base::Time& start_time, const base::Time& end_time, const std::string& etag, const std::string& last_modified, int64 received_bytes, int64 total_bytes, DownloadItem::DownloadState state, DownloadDangerType danger_type, DownloadInterruptReason interrupt_reason, bool opened, const net::BoundNetLog& bound_net_log) argument
/external/chromium_org/ipc/
H A Dunix_domain_socket_util_unittest.cc169 size_t received_bytes = local
171 ASSERT_EQ(buf_len, received_bytes);
/external/chromium_org/chrome/browser/drive/
H A Ddrive_uploader_unittest.cc68 int64 received_bytes() const { return received_bytes_; } function in class:drive::__anon3608::MockDriveServiceWithUploadExpectation
69 void set_received_bytes(int64 received_bytes) { argument
70 received_bytes_ = received_bytes;
346 EXPECT_EQ(0, mock_service.received_bytes());
382 EXPECT_EQ(512 * 1024, mock_service.received_bytes());
578 EXPECT_EQ(1024 * 1024, mock_service.received_bytes());
/external/chromium_org/net/http/
H A Dhttp_stream_parser.h78 int64 received_bytes() const { return received_bytes_; } function in class:net::HttpStreamParser
H A Dhttp_cache_unittest.cc128 int64* received_bytes) {
162 if (received_bytes)
163 *received_bytes = trans->GetTotalReceivedBytes();
6669 int64 received_bytes = -1; local
6672 NULL, &received_bytes);
6673 return received_bytes;
6685 int64 received_bytes = RunTransactionAndGetReceivedBytes(cache, transaction); local
6686 EXPECT_EQ(TransactionSize(transaction), received_bytes); local
6688 received_bytes = RunTransactionAndGetReceivedBytes(cache, transaction);
6689 EXPECT_EQ(0, received_bytes);
122 RunTransactionTestBase(net::HttpCache* cache, const MockTransaction& trans_info, const MockHttpRequest& request, net::HttpResponseInfo* response_info, const net::BoundNetLog& net_log, net::LoadTimingInfo* load_timing_info, int64* received_bytes) argument
6696 int64 received_bytes = RunTransactionAndGetReceivedBytes(cache, transaction); local
6697 EXPECT_EQ(TransactionSize(transaction), received_bytes); local
6702 EXPECT_EQ(TransactionSize(transaction), received_bytes); local
6717 int64 received_bytes = RunTransactionAndGetReceivedBytes(cache, transaction); local
6718 EXPECT_EQ(TransactionSize(transaction), received_bytes); local
6724 EXPECT_EQ(TransactionSize(transaction), received_bytes); local
6735 int64 received_bytes = RunTransactionAndGetReceivedBytes(cache, transaction); local
[all...]
/external/chromium_org/net/spdy/
H A Dspdy_stream.h417 void IncrementRawReceivedBytes(size_t received_bytes) { argument
418 raw_received_bytes_ += received_bytes;
/external/chromium_org/net/quic/
H A Dquic_connection_test.cc3474 size_t received_bytes = 0; local
3475 received_bytes += ProcessFecProtectedPacket(1, false, !kEntropyFlag);
3476 received_bytes += ProcessFecProtectedPacket(3, false, !kEntropyFlag);
3478 received_bytes += ProcessDataPacket(3, 1, !kEntropyFlag);
3479 received_bytes += ProcessFecPacket(4, 1, true, !kEntropyFlag, NULL);
3488 EXPECT_EQ(received_bytes, stats.bytes_received);

Completed in 2797 milliseconds