Searched refs:received_bytes (Results 1 - 25 of 40) sorted by relevance

12

/external/chromium_org/content/public/test/
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
H A Dmock_download_manager.h41 int64 received_bytes; member in struct:content::MockDownloadManager::CreateDownloadItemAdapter
60 int64 received_bytes,
115 int64 received_bytes,
/external/chromium_org/chrome/browser/history/
H A Ddownload_row.cc10 : received_bytes(0),
49 received_bytes(received),
H A Ddownload_row.h82 int64 received_bytes; member in struct:history::DownloadRow
H A Ddownload_database.cc214 "received_bytes INTEGER NOT NULL,"
242 "( id, current_path, target_path, start_time, received_bytes, "
247 " received_bytes, total_bytes, "
295 "received_bytes INTEGER NOT NULL," // Total size downloaded.
365 "start_time, received_bytes, "
385 info->received_bytes = statement_main.ColumnInt64(column++);
505 "received_bytes=?, state=?, "
514 statement.BindInt64(column++, data.received_bytes);
566 " received_bytes, total_bytes, state, danger_type, interrupt_reason, "
578 statement_insert.BindInt64(column++, info.received_bytes);
[all...]
/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_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...]
H A Ddownload_history.cc156 (previous->received_bytes != current.received_bytes) ||
274 it->received_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_status_updater_unittest.cc140 int received_bytes, int total_bytes, bool notify) {
143 .WillRepeatedly(Return(received_bytes));
/external/chromium_org/chrome/browser/chromeos/imageburner/
H A Dburn_controller.cc70 int64 received_bytes,
74 progress_type, received_bytes, total_bytes, estimated_remaining_time);
79 int64 received_bytes,
81 delegate_->OnProgress(progress_type, received_bytes, total_bytes);
H A Dburn_manager.h237 int64 received_bytes,
245 int64 received_bytes,
/external/chromium_org/net/http/
H A Dhttp_stream_parser_unittest.cc589 EXPECT_EQ(0, get_runner.parser()->received_bytes());
593 EXPECT_EQ(response_size, get_runner.parser()->received_bytes());
609 EXPECT_EQ(headers_size, get_runner.parser()->received_bytes());
614 EXPECT_EQ(response_size, get_runner.parser()->received_bytes());
618 // as current response "received_bytes".
631 EXPECT_EQ(39, get_runner.parser()->received_bytes());
633 EXPECT_EQ(headers_size, get_runner.parser()->received_bytes());
638 EXPECT_EQ(response_size, get_runner.parser()->received_bytes());
643 // Test that "received_bytes" calculation works fine when last read
668 EXPECT_EQ(headers_size, get_runner.parser()->received_bytes());
[all...]
H A Dhttp_basic_stream.cc86 return parser()->received_bytes();
H A Dhttp_stream_parser.h78 int64 received_bytes() const { return received_bytes_; } function in class:net::HttpStreamParser
/external/chromium_org/content/browser/download/
H A Ddownload_item_factory.h53 int64 received_bytes,
H A Dsave_item.h64 int64 received_bytes() const { return received_bytes_; } function in class:content::SaveItem
H A Dbase_file.h39 int64 received_bytes,
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 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
/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/content/public/browser/
H A Ddownload_manager.h151 int64 received_bytes,
/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-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/
H A Dextensions.py93 def _log_decompression_ratio(logger, received_bytes, total_received_bytes,
98 if received_bytes != 0:
99 ratio = float(received_bytes) / filtered_bytes

Completed in 386 milliseconds

12