Home
last modified time | relevance | path

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

1234

/external/chromium_org/tools/
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/content/public/test/
Dmock_download_manager.cc25 int64 total_bytes, in CreateDownloadItemAdapter() argument
40 total_bytes(total_bytes), in CreateDownloadItemAdapter()
58 total_bytes(rhs.total_bytes), in CreateDownloadItemAdapter()
80 total_bytes == rhs.total_bytes && in operator ==()
111 int64 total_bytes, in CreateDownloadItem() argument
119 received_bytes, total_bytes, state, danger_type, interrupt_reason, in CreateDownloadItem()
Dmock_download_manager.h42 int64 total_bytes; member
61 int64 total_bytes,
116 int64 total_bytes,
/external/chromium_org/content/browser/download/
Ddownload_create_info.cc15 int64 total_bytes, in DownloadCreateInfo() argument
21 total_bytes(total_bytes), in DownloadCreateInfo()
29 : total_bytes(0), in DownloadCreateInfo()
49 total_bytes); in DebugString()
Dsave_types.cc19 total_bytes(0), in SaveFileCreateInfo()
28 total_bytes(0), in SaveFileCreateInfo()
Ddownload_create_info.h28 int64 total_bytes,
58 int64 total_bytes; member
Dsave_item.h55 void SetTotalBytes(int64 total_bytes);
63 int64 total_bytes() const { return total_bytes_; } in total_bytes() function
Dsave_item.cc128 void SaveItem::SetTotalBytes(int64 total_bytes) { in SetTotalBytes() argument
130 total_bytes_ = total_bytes; in SetTotalBytes()
/external/chromium_org/media/blink/
Dbuffered_data_source_host_impl.cc15 void BufferedDataSourceHostImpl::SetTotalBytes(int64 total_bytes) { in SetTotalBytes() argument
16 total_bytes_ = total_bytes; in SetTotalBytes()
25 int64 byte_offset, int64 total_bytes, base::TimeDelta duration) { in TimeForByteOffset() argument
26 double position = static_cast<double>(byte_offset) / total_bytes; in TimeForByteOffset()
/external/chromium_org/components/nacl/renderer/
Dprogress_event.h22 total_bytes(0) { in ProgressEvent()
34 total_bytes(total_bytes_param) { in ProgressEvent()
41 uint64_t total_bytes; member
Dprogress_event.cc77 event.total_bytes, in DispatchProgressEventOnMainThread()
84 event.total_bytes); in DispatchProgressEventOnMainThread()
/external/chromium_org/components/component_updater/test/
Dcrx_downloader_unittest.cc174 EXPECT_EQ(-1, download_complete_result_.total_bytes); in TEST_F()
195 EXPECT_EQ(1843, download_complete_result_.total_bytes); in TEST_F()
202 EXPECT_EQ(1843, download_progress_result_.total_bytes); in TEST_F()
233 EXPECT_EQ(1843, download_complete_result_.total_bytes); in TEST_F()
240 EXPECT_EQ(1843, download_progress_result_.total_bytes); in TEST_F()
312 EXPECT_EQ(1843, download_complete_result_.total_bytes); in TEST_F()
319 EXPECT_EQ(1843, download_progress_result_.total_bytes); in TEST_F()
344 EXPECT_EQ(1843, download_complete_result_.total_bytes); in TEST_F()
351 EXPECT_EQ(1843, download_progress_result_.total_bytes); in TEST_F()
/external/chromium_org/components/component_updater/
Dbackground_downloader_win.cc207 int64_t* total_bytes) { in GetJobByteCount() argument
209 *total_bytes = -1; in GetJobByteCount()
226 *total_bytes = job_progress.BytesTotal; in GetJobByteCount()
526 int64_t total_bytes = -1; in EndDownload() local
527 GetJobByteCount(job_, &downloaded_bytes, &total_bytes); in EndDownload()
551 download_metrics.total_bytes = total_bytes; in EndDownload()
558 result.total_bytes = total_bytes; in EndDownload()
623 int64_t total_bytes = -1; in OnStateTransferring() local
624 HRESULT hr = GetJobByteCount(job_, &downloaded_bytes, &total_bytes); in OnStateTransferring()
630 result.total_bytes = total_bytes; in OnStateTransferring()
Durl_fetcher_downloader.cc75 result.total_bytes = total_bytes_; in OnURLFetchComplete()
82 download_metrics.total_bytes = total_bytes_; in OnURLFetchComplete()
104 result.total_bytes = total_bytes_; in OnURLFetchDownloadProgress()
Dcrx_downloader.h54 int64_t total_bytes; member
74 int64_t total_bytes; member
/external/chromium_org/chrome/browser/download/
Ddownload_status_updater.cc64 int64 total_bytes = 0; in GetProgress() local
80 total_bytes += (*it)->GetTotalBytes(); in GetProgress()
87 if (total_bytes > 0) in GetProgress()
88 *progress = static_cast<float>(received_bytes) / total_bytes; in GetProgress()
/external/chromium_org/mojo/bindings/js/
Ddrain_data.cc86 size_t total_bytes = 0; in DeliverData() local
88 total_bytes += data_buffers_[i]->size(); in DeliverData()
93 v8::ArrayBuffer::New(isolate_, total_bytes); in DeliverData()
96 CHECK_EQ(total_bytes, buffer.num_bytes()); in DeliverData()
/external/chromium_org/chrome/browser/chromeos/imageburner/
Dburn_controller.cc71 int64 total_bytes, in OnProgressWithRemainingTime() argument
74 progress_type, received_bytes, total_bytes, estimated_remaining_time); in OnProgressWithRemainingTime()
80 int64 total_bytes) OVERRIDE { in OnProgress() argument
81 delegate_->OnProgress(progress_type, received_bytes, total_bytes); in OnProgress()
/external/qemu/distrib/sdl-1.2.15/src/file/
DSDL_rwops.c272 int total_bytes; in win32_file_write() local
275 total_bytes = size*num; in win32_file_write()
277 if (!context || context->hidden.win32io.h==INVALID_HANDLE_VALUE || total_bytes<=0 || !size) in win32_file_write()
293 if (!WriteFile(context->hidden.win32io.h,ptr,total_bytes,&byte_written,NULL)) { in win32_file_write()
396 size_t total_bytes; in mem_read() local
399 total_bytes = (maxnum * size); in mem_read()
400 if ( (maxnum <= 0) || (size <= 0) || ((total_bytes / maxnum) != (size_t) size) ) { in mem_read()
405 if (total_bytes > mem_available) { in mem_read()
406 total_bytes = mem_available; in mem_read()
409 SDL_memcpy(ptr, context->hidden.mem.here, total_bytes); in mem_read()
[all …]
/external/chromium_org/base/test/
Dtest_file_util_win.cc158 int total_bytes = 0; in EvictFileFromSystemCache() local
178 DCHECK((total_bytes % kOneMB) == 0); in EvictFileFromSystemCache()
179 SetFilePointer(file_handle.Get(), total_bytes, NULL, FILE_BEGIN); in EvictFileFromSystemCache()
188 total_bytes += bytes_read; in EvictFileFromSystemCache()
205 CHECK_NE(SetFilePointer(file_handle.Get(), total_bytes, NULL, FILE_BEGIN), in EvictFileFromSystemCache()
/external/chromium_org/cc/test/
Dlayer_tree_pixel_test.cc276 size_t total_bytes = size.height() * row_bytes; in CopyTextureMailboxToBitmap() local
277 for (size_t dest_y = 0; dest_y < total_bytes; dest_y += row_bytes) { in CopyTextureMailboxToBitmap()
279 size_t src_y = total_bytes - dest_y - row_bytes; in CopyTextureMailboxToBitmap()
329 size_t total_bytes = bitmap.height() * row_bytes; in CopyBitmapToTextureMailboxAsTexture() local
331 scoped_ptr<uint8[]> gl_pixels(new uint8[total_bytes]); in CopyBitmapToTextureMailboxAsTexture()
334 for (size_t y = 0; y < total_bytes; y += row_bytes) { in CopyBitmapToTextureMailboxAsTexture()
336 size_t src_y = total_bytes - y - row_bytes; in CopyBitmapToTextureMailboxAsTexture()
/external/chromium_org/remoting/protocol/
Dmessage_decoder.cc41 if (!next_payload_known_ || buffer_.total_bytes() < next_payload_) in GetNextMessage()
57 if (buffer_.total_bytes() < kHeaderSize) in GetPayloadSize()
/external/chromium_org/chrome/renderer/
Dchrome_render_process_observer.cc210 size_t total_bytes = 0; in CollectOnWorkerThread() local
216 total_bytes = heap_stats.total_heap_size(); in CollectOnWorkerThread()
224 total_bytes, in CollectOnWorkerThread()
229 size_t total_bytes, in ReceiveStats() argument
233 total_bytes_ += total_bytes; in ReceiveStats()
/external/chromium_org/remoting/base/
Dcompound_buffer_unittest.cc61 cropped.CopyFrom(target_, 0, target_.total_bytes()); in TestCropFront()
64 target_.total_bytes() - pos)); in TestCropFront()
69 cropped.CopyFrom(target_, 0, target_.total_bytes()); in TestCropBack()
72 target_.total_bytes() - pos)); in TestCropBack()
105 return buffer.total_bytes() == size && in CompareData()
/external/chromium_org/chrome/browser/history/
Ddownload_row.cc11 total_bytes(0), in DownloadRow()
50 total_bytes(total), in DownloadRow()

1234