Home
last modified time | relevance | path

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

12

/external/chromium/chrome/browser/history/
Ddownload_create_info.cc16 int64 total_bytes, in DownloadCreateInfo() argument
25 total_bytes(total_bytes), in DownloadCreateInfo()
42 total_bytes(0), in DownloadCreateInfo()
78 total_bytes, in DebugString()
Ddownload_types.cc11 int64 total_bytes, in DownloadCreateInfo() argument
19 total_bytes(total_bytes), in DownloadCreateInfo()
34 total_bytes(0), in DownloadCreateInfo()
Ddownload_create_info.h29 int64 total_bytes,
56 int64 total_bytes; member
Ddownload_database.cc103 info.total_bytes = statement.ColumnInt64(5); in QueryDownloads()
160 statement.BindInt64(4, info.total_bytes); in CreateDownload()
/external/chromium/chrome/browser/download/
Ddownload_status_updater.cc42 int64 total_bytes = 0; in GetProgress() local
48 total_bytes += (*i)->GetTotalDownloadBytes(); in GetProgress()
51 if (total_bytes > 0) in GetProgress()
52 *progress = static_cast<float>(received_bytes) / total_bytes; in GetProgress()
Dsave_types.cc18 total_bytes(0), in SaveFileCreateInfo()
27 total_bytes(0), in SaveFileCreateInfo()
Dsave_item.h54 void SetTotalBytes(int64 total_bytes);
62 int64 total_bytes() const { return total_bytes_; } in total_bytes() function
Dsave_item.cc127 void SaveItem::SetTotalBytes(int64 total_bytes) { in SetTotalBytes() argument
129 total_bytes_ = total_bytes; in SetTotalBytes()
Ddownload_item.h253 int64 total_bytes() const { return total_bytes_; } in total_bytes() function
254 void set_total_bytes(int64 total_bytes) { total_bytes_ = total_bytes; } in set_total_bytes() argument
Ddownload_item_model.cc32 int64 total = download_->total_bytes(); in GetStatusText()
113 int64 total_size = download_->total_bytes(); in GetStatusText()
Ddownload_status_updater_unittest.cc61 void set_total_bytes(int64 total_bytes) { in set_total_bytes() argument
62 total_bytes_ = total_bytes; in set_total_bytes()
Dsave_types.h63 int64 total_bytes; member
Ddownload_item.cc125 total_bytes_(info.total_bytes), in DownloadItem()
165 total_bytes_(info.total_bytes), in DownloadItem()
665 total_bytes(), in DebugString()
Ddownload_manager.cc945 if (i->second->total_bytes() <= 0) in IsDownloadProgressKnown()
968 int64 total_bytes = 0; in GetTotalDownloadBytes() local
971 total_bytes += i->second->total_bytes(); in GetTotalDownloadBytes()
973 return total_bytes; in GetTotalDownloadBytes()
Ddownload_util.cc672 static_cast<int>(download->total_bytes())); in CreateDownloadItemValue()
678 int64 total = download->total_bytes(); in GetProgressStatusText()
/external/chromium/base/test/
Dtest_file_util_win.cc64 int total_bytes = 0; in EvictFileFromSystemCache() local
84 DCHECK((total_bytes % kOneMB) == 0); in EvictFileFromSystemCache()
85 SetFilePointer(file_handle, total_bytes, NULL, FILE_BEGIN); in EvictFileFromSystemCache()
94 total_bytes += bytes_read; in EvictFileFromSystemCache()
111 CHECK_NE(SetFilePointer(file_handle, total_bytes, NULL, FILE_BEGIN), in EvictFileFromSystemCache()
/external/qemu/distrib/sdl-1.2.12/src/file/
DSDL_rwops.c212 int total_bytes; in win32_file_write() local
215 total_bytes = size*num; in win32_file_write()
217 if (!context || context->hidden.win32io.h==INVALID_HANDLE_VALUE || total_bytes<=0 || !size) in win32_file_write()
233 if (!WriteFile(context->hidden.win32io.h,ptr,total_bytes,&byte_written,NULL)) { in win32_file_write()
336 size_t total_bytes; in mem_read() local
339 total_bytes = (maxnum * size); in mem_read()
340 if ( (maxnum <= 0) || (size <= 0) || ((total_bytes / maxnum) != (size_t) size) ) { in mem_read()
345 if (total_bytes > mem_available) { in mem_read()
346 total_bytes = mem_available; in mem_read()
349 SDL_memcpy(ptr, context->hidden.mem.here, total_bytes); in mem_read()
[all …]
/external/valgrind/main/coregrind/m_initimg/
Dsimple_huffman.c371 UInt k, total_bytes, swaps, symbol, last_symbol; in Huffman_Compress() local
427 total_bytes = (Int)(stream.BytePtr - out); in Huffman_Compress()
430 ++ total_bytes; in Huffman_Compress()
433 return total_bytes; in Huffman_Compress()
/external/bluetooth/glib/glib/
Dgfileutils.c505 gsize total_bytes = 0; in get_contents_stdio() local
518 while ((total_bytes + bytes + 1) > total_allocated) in get_contents_stdio()
554 memcpy (str + total_bytes, buf, bytes); in get_contents_stdio()
556 if (total_bytes + bytes < total_bytes) in get_contents_stdio()
567 total_bytes += bytes; in get_contents_stdio()
575 total_bytes = 0; in get_contents_stdio()
578 str[total_bytes] = '\0'; in get_contents_stdio()
581 *length = total_bytes; in get_contents_stdio()
/external/e2fsprogs/lib/ext2fs/
Dtdbtool.c362 static int total_bytes; variable
366 total_bytes += dbuf.dsize; in traverse_fn()
373 total_bytes = 0; in info_tdb()
377 printf("%d records totalling %d bytes\n", count, total_bytes); in info_tdb()
/external/chromium/chrome/browser/renderer_host/
Dweb_cache_manager_unittest.cc288 size_t total_bytes = 0; in TEST_F() local
291 total_bytes += iter->second; in TEST_F()
306 EXPECT_GE(expected_total_bytes, total_bytes); in TEST_F()
Dsave_file_resource_handler.cc48 info->total_bytes = content_length_; in OnResponseStarted()
Ddownload_resource_handler.cc87 info->total_bytes = content_length_; in OnResponseStarted()
/external/e2fsprogs/lib/blkid/
Dprobe.h640 __u64 total_bytes; member
702 __u64 total_bytes; member
/external/chromium/chrome/browser/task_manager/
Dtask_manager.cc448 size_t total_bytes = process_metrics->GetWorkingSetSize(); in GetPhysicalMemory() local
449 total_bytes -= ws_usage.shared * 1024; in GetPhysicalMemory()
450 *result = total_bytes; in GetPhysicalMemory()

12