Searched refs:total_bytes (Results 1 - 25 of 86) sorted by relevance

1234

/external/chromium_org/content/browser/download/
H A Ddownload_create_info.cc15 int64 total_bytes,
21 total_bytes(total_bytes),
29 : total_bytes(0),
44 " total_bytes = %" PRId64
49 total_bytes);
14 DownloadCreateInfo(const base::Time& start_time, int64 total_bytes, const net::BoundNetLog& bound_net_log, bool has_user_gesture, ui::PageTransition transition_type, scoped_ptr<DownloadSaveInfo> save_info) argument
H A Dsave_types.cc19 total_bytes(0),
28 total_bytes(0),
H A Ddownload_create_info.h28 int64 total_bytes,
58 int64 total_bytes; member in struct:content::DownloadCreateInfo
H A Dsave_types.h63 int64 total_bytes; member in struct:content::SaveFileCreateInfo
H A Dsave_item.h55 void SetTotalBytes(int64 total_bytes);
63 int64 total_bytes() const { return total_bytes_; } function in class:content::SaveItem
H A Dsave_item.cc128 void SaveItem::SetTotalBytes(int64 total_bytes) { argument
130 total_bytes_ = total_bytes;
/external/chromium_org/tools/
H A Dinclude_tracer.py145 total_bytes = 0
157 return total_bytes
165 return total_bytes
183 total_bytes += Walk(
187 total_bytes += Walk(
190 total_bytes += Walk(
192 return total_bytes + len("".join(lines))
/external/chromium_org/components/nacl/renderer/
H A Dprogress_event.h22 total_bytes(0) {
34 total_bytes(total_bytes_param) {
41 uint64_t total_bytes; member in struct:nacl::ProgressEvent
H A Dprogress_event.cc77 event.total_bytes,
84 event.total_bytes);
/external/chromium_org/media/audio/
H A Daudio_buffers_state.h18 int total_bytes() { function in struct:media::AudioBuffersState
/external/chromium_org/media/blink/
H A Dbuffered_data_source_host_impl.cc15 void BufferedDataSourceHostImpl::SetTotalBytes(int64 total_bytes) { argument
16 total_bytes_ = total_bytes;
25 int64 byte_offset, int64 total_bytes, base::TimeDelta duration) {
26 double position = static_cast<double>(byte_offset) / total_bytes;
24 TimeForByteOffset( int64 byte_offset, int64 total_bytes, base::TimeDelta duration) argument
H A Dbuffered_data_source_host_impl.h24 virtual void SetTotalBytes(int64 total_bytes) OVERRIDE;
/external/chromium_org/content/public/test/
H A Dmock_download_manager.cc25 int64 total_bytes,
40 total_bytes(total_bytes),
58 total_bytes(rhs.total_bytes),
80 total_bytes == rhs.total_bytes &&
111 int64 total_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.h42 int64 total_bytes; member in struct:content::MockDownloadManager::CreateDownloadItemAdapter
61 int64 total_bytes,
116 int64 total_bytes,
/external/chromium_org/remoting/protocol/
H A Dmessage_decoder.cc41 if (!next_payload_known_ || buffer_.total_bytes() < next_payload_)
57 if (buffer_.total_bytes() < kHeaderSize)
/external/chromium_org/chrome/browser/download/
H A Ddownload_status_updater.cc64 int64 total_bytes = 0; local
80 total_bytes += (*it)->GetTotalBytes();
87 if (total_bytes > 0)
88 *progress = static_cast<float>(received_bytes) / total_bytes;
/external/chromium_org/chrome/browser/history/
H A Ddownload_row.cc11 total_bytes(0),
50 total_bytes(total),
/external/chromium_org/components/component_updater/test/
H A Dcrx_downloader_unittest.cc174 EXPECT_EQ(-1, download_complete_result_.total_bytes);
195 EXPECT_EQ(1843, download_complete_result_.total_bytes);
202 EXPECT_EQ(1843, download_progress_result_.total_bytes);
233 EXPECT_EQ(1843, download_complete_result_.total_bytes);
240 EXPECT_EQ(1843, download_progress_result_.total_bytes);
312 EXPECT_EQ(1843, download_complete_result_.total_bytes);
319 EXPECT_EQ(1843, download_progress_result_.total_bytes);
344 EXPECT_EQ(1843, download_complete_result_.total_bytes);
351 EXPECT_EQ(1843, download_progress_result_.total_bytes);
/external/chromium_org/components/component_updater/
H A Durl_fetcher_downloader.cc75 result.total_bytes = total_bytes_;
82 download_metrics.total_bytes = total_bytes_;
104 result.total_bytes = total_bytes_;
H A Dcrx_downloader.h54 int64_t total_bytes; member in struct:component_updater::CrxDownloader::DownloadMetrics
74 int64_t total_bytes; member in struct:component_updater::CrxDownloader::Result
H A Dbackground_downloader_win.cc207 int64_t* total_bytes) {
209 *total_bytes = -1;
226 *total_bytes = job_progress.BytesTotal;
526 int64_t total_bytes = -1; local
527 GetJobByteCount(job_, &downloaded_bytes, &total_bytes);
551 download_metrics.total_bytes = total_bytes;
558 result.total_bytes = total_bytes;
623 int64_t total_bytes local
205 GetJobByteCount(IBackgroundCopyJob* job, int64_t* downloaded_bytes, int64_t* total_bytes) argument
[all...]
/external/chromium_org/chrome/browser/chromeos/imageburner/
H A Dburn_controller.cc71 int64 total_bytes,
74 progress_type, received_bytes, total_bytes, estimated_remaining_time);
80 int64 total_bytes) OVERRIDE {
81 delegate_->OnProgress(progress_type, received_bytes, total_bytes);
/external/chromium_org/mojo/bindings/js/
H A Ddrain_data.cc86 size_t total_bytes = 0; local
88 total_bytes += data_buffers_[i]->size();
90 // Create a total_bytes length ArrayBuffer return value.
93 v8::ArrayBuffer::New(isolate_, total_bytes);
96 CHECK_EQ(total_bytes, buffer.num_bytes());
/external/chromium_org/base/test/
H A Dtest_file_util_win.cc158 int total_bytes = 0; local
176 // Note that SetFilePointer will also fail if total_bytes isn't sector
178 DCHECK((total_bytes % kOneMB) == 0);
179 SetFilePointer(file_handle.Get(), total_bytes, NULL, FILE_BEGIN);
188 total_bytes += bytes_read;
205 CHECK_NE(SetFilePointer(file_handle.Get(), total_bytes, NULL, FILE_BEGIN),
/external/qemu/distrib/sdl-1.2.15/src/file/
H A DSDL_rwops.c272 int total_bytes; local
275 total_bytes = size*num;
277 if (!context || context->hidden.win32io.h==INVALID_HANDLE_VALUE || total_bytes<=0 || !size)
293 if (!WriteFile(context->hidden.win32io.h,ptr,total_bytes,&byte_written,NULL)) {
396 size_t total_bytes; local
399 total_bytes = (maxnum * size);
400 if ( (maxnum <= 0) || (size <= 0) || ((total_bytes / maxnum) != (size_t) size) ) {
405 if (total_bytes > mem_available) {
406 total_bytes = mem_available;
409 SDL_memcpy(ptr, context->hidden.mem.here, total_bytes);
[all...]

Completed in 1115 milliseconds

1234