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

12

/external/chromium/chrome/browser/history/
H A Ddownload_types.cc11 int64 total_bytes,
19 total_bytes(total_bytes),
34 total_bytes(0),
7 DownloadCreateInfo(const FilePath& path, const GURL& url, base::Time start_time, int64 received_bytes, int64 total_bytes, int32 state, int32 download_id) argument
H A Ddownload_create_info.cc16 int64 total_bytes,
25 total_bytes(total_bytes),
42 total_bytes(0),
68 " total_bytes = %" PRId64
78 total_bytes,
12 DownloadCreateInfo(const FilePath& path, const GURL& url, base::Time start_time, int64 received_bytes, int64 total_bytes, int32 state, int32 download_id, bool has_user_gesture) argument
H A Ddownload_create_info.h29 int64 total_bytes,
56 int64 total_bytes; member in struct:DownloadCreateInfo
H A Ddownload_database.cc24 // total_bytes Total size of the download.
72 "total_bytes INTEGER NOT NULL,"
89 "total_bytes, state "
103 info.total_bytes = statement.ColumnInt64(5);
151 "(full_path, url, start_time, received_bytes, total_bytes, state) "
160 statement.BindInt64(4, info.total_bytes);
/external/chromium/chrome/browser/download/
H A Ddownload_status_updater.cc42 int64 total_bytes = 0; local
48 total_bytes += (*i)->GetTotalDownloadBytes();
51 if (total_bytes > 0)
52 *progress = static_cast<float>(received_bytes) / total_bytes;
H A Dsave_types.cc18 total_bytes(0),
27 total_bytes(0),
H A Dsave_types.h63 int64 total_bytes; member in struct:SaveFileCreateInfo
H A Dsave_item.cc127 void SaveItem::SetTotalBytes(int64 total_bytes) { argument
129 total_bytes_ = total_bytes;
H A Dsave_item.h54 void SetTotalBytes(int64 total_bytes);
62 int64 total_bytes() const { return total_bytes_; } function in class:SaveItem
H A Ddownload_item.h253 int64 total_bytes() const { return total_bytes_; } function in class:DownloadItem
254 void set_total_bytes(int64 total_bytes) { total_bytes_ = total_bytes; } argument
H A Ddownload_item_model.cc32 int64 total = download_->total_bytes();
113 int64 total_size = download_->total_bytes();
H A Ddownload_status_updater_unittest.cc61 void set_total_bytes(int64 total_bytes) { argument
62 total_bytes_ = total_bytes;
H A Ddownload_item.cc125 total_bytes_(info.total_bytes),
165 total_bytes_(info.total_bytes),
656 " total_bytes = %" PRId64
665 total_bytes(),
H A Ddownload_manager.cc945 if (i->second->total_bytes() <= 0)
968 int64 total_bytes = 0; local
971 total_bytes += i->second->total_bytes();
973 return total_bytes;
H A Ddownload_util.cc672 static_cast<int>(download->total_bytes()));
678 int64 total = download->total_bytes();
/external/chromium/base/test/
H A Dtest_file_util_win.cc64 int total_bytes = 0; local
82 // Note that SetFilePointer will also fail if total_bytes isn't sector
84 DCHECK((total_bytes % kOneMB) == 0);
85 SetFilePointer(file_handle, total_bytes, NULL, FILE_BEGIN);
94 total_bytes += bytes_read;
111 CHECK_NE(SetFilePointer(file_handle, total_bytes, NULL, FILE_BEGIN),
/external/qemu/distrib/sdl-1.2.12/src/file/
H A DSDL_rwops.c212 int total_bytes; local
215 total_bytes = size*num;
217 if (!context || context->hidden.win32io.h==INVALID_HANDLE_VALUE || total_bytes<=0 || !size)
233 if (!WriteFile(context->hidden.win32io.h,ptr,total_bytes,&byte_written,NULL)) {
336 size_t total_bytes; local
339 total_bytes = (maxnum * size);
340 if ( (maxnum <= 0) || (size <= 0) || ((total_bytes / maxnum) != (size_t) size) ) {
345 if (total_bytes > mem_available) {
346 total_bytes = mem_available;
349 SDL_memcpy(ptr, context->hidden.mem.here, total_bytes);
[all...]
/external/valgrind/main/coregrind/m_initimg/
H A Dsimple_huffman.c371 UInt k, total_bytes, swaps, symbol, last_symbol; local
427 total_bytes = (Int)(stream.BytePtr - out);
430 ++ total_bytes;
433 return total_bytes;
/external/chromium/chrome/browser/renderer_host/
H A Dweb_cache_manager_unittest.cc288 size_t total_bytes = 0; local
291 total_bytes += iter->second;
306 EXPECT_GE(expected_total_bytes, total_bytes);
H A Dsave_file_resource_handler.cc48 info->total_bytes = content_length_;
H A Ddownload_resource_handler.cc87 info->total_bytes = content_length_;
/external/e2fsprogs/lib/ext2fs/
H A Dtdbtool.c362 static int total_bytes; variable
366 total_bytes += dbuf.dsize;
373 total_bytes = 0;
377 printf("%d records totalling %d bytes\n", count, total_bytes);
/external/bluetooth/glib/glib/
H A Dgfileutils.c505 gsize total_bytes = 0; local
518 while ((total_bytes + bytes + 1) > total_allocated)
554 memcpy (str + total_bytes, buf, bytes);
556 if (total_bytes + bytes < total_bytes)
567 total_bytes += bytes;
575 total_bytes = 0;
578 str[total_bytes] = '\0';
581 *length = total_bytes;
/external/e2fsprogs/lib/blkid/
H A Dprobe.h640 __u64 total_bytes; member in struct:btrfs_dev_item
702 __u64 total_bytes; member in struct:btrfs_super_block
/external/chromium/chrome/browser/task_manager/
H A Dtask_manager.cc448 size_t total_bytes = process_metrics->GetWorkingSetSize();
449 total_bytes -= ws_usage.shared * 1024;
450 *result = total_bytes;

Completed in 313 milliseconds

12