Home
last modified time | relevance | path

Searched refs:snapshot_ (Results 1 – 22 of 22) sorted by relevance

/external/chromium_org/net/disk_cache/blockfile/
Dmapped_file_avoid_mmap_posix.cc23 snapshot_ = malloc(size); in Init()
24 if (buffer_ && snapshot_ && Read(buffer_, size, 0)) { in Init()
25 memcpy(snapshot_, buffer_, size); in Init()
28 free(snapshot_); in Init()
29 buffer_ = snapshot_ = 0; in Init()
39 DCHECK(snapshot_); in Flush()
41 char* snapshot_ptr = static_cast<char*>(snapshot_); in Flush()
56 if (buffer_ && snapshot_) { in ~MappedFile()
60 free(snapshot_); in ~MappedFile()
Dmapped_file.h63 void* snapshot_; // Copy of the buffer taken when it was last flushed. variable
/external/chromium_org/third_party/webrtc/base/
Dwin32toolhelp.h46 : snapshot_(snapshot), broken_(false), first_(true) { in ToolhelpEnumeratorBase()
69 incr_ok = Traits::First(snapshot_, &current_); in Next()
72 incr_ok = Traits::Next(snapshot_, &current_); in Next()
88 if (snapshot_ != INVALID_HANDLE_VALUE) { in Close()
89 Traits::CloseHandle(snapshot_); in Close()
90 snapshot_ = INVALID_HANDLE_VALUE; in Close()
97 return snapshot_ != INVALID_HANDLE_VALUE && !broken_; in Valid()
104 HANDLE snapshot_; variable
/external/chromium_org/third_party/libjingle/source/talk/base/
Dwin32toolhelp.h40 : snapshot_(snapshot), broken_(false), first_(true) { in ToolhelpEnumeratorBase()
63 incr_ok = Traits::First(snapshot_, &current_); in Next()
66 incr_ok = Traits::Next(snapshot_, &current_); in Next()
82 if (snapshot_ != INVALID_HANDLE_VALUE) { in Close()
83 Traits::CloseHandle(snapshot_); in Close()
84 snapshot_ = INVALID_HANDLE_VALUE; in Close()
91 return snapshot_ != INVALID_HANDLE_VALUE && !broken_; in Valid()
98 HANDLE snapshot_; variable
/external/chromium_org/base/process/
Dprocess_iterator_win.cc12 snapshot_ = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); in ProcessIterator()
16 CloseHandle(snapshot_); in ~ProcessIterator()
24 return !!Process32First(snapshot_, &entry_); in CheckForNextProcess()
27 return !!Process32Next(snapshot_, &entry_); in CheckForNextProcess()
Dprocess_iterator.h144 HANDLE snapshot_; variable
/external/chromium_org/v8/src/
Dheap-snapshot-generator-inl.h25 return static_cast<int>(this - &snapshot_->entries().first()); in index()
39 SLOW_ASSERT(children_index_ < snapshot_->children().length() || in children_arr()
40 (children_index_ == snapshot_->children().length() && in children_arr()
42 return &snapshot_->children().first() + children_index_; in children_arr()
Dheap-snapshot-generator.cc59 snapshot_(snapshot), in HeapEntry()
69 snapshot_->edges().Add(edge); in SetNamedReference()
78 snapshot_->edges().Add(edge); in SetIndexedReference()
793 snapshot_(snapshot), in V8HeapExplorer()
794 names_(snapshot_->profiler()->names()), in V8HeapExplorer()
795 heap_object_map_(snapshot_->profiler()->heap_object_map()), in V8HeapExplorer()
813 snapshot_->AddRootEntry(); in AddEntry()
814 return snapshot_->root(); in AddEntry()
816 HeapEntry* entry = snapshot_->AddGcRootsEntry(); in AddEntry()
819 HeapEntry* entry = snapshot_->AddGcSubrootEntry(GetGcSubrootOrder(object)); in AddEntry()
[all …]
Dheap-snapshot-generator.h99 HeapSnapshot* snapshot() { return snapshot_; } in snapshot()
131 HeapSnapshot* snapshot_; variable
455 HeapSnapshot* snapshot_; variable
518 HeapSnapshot* snapshot_; variable
553 HeapSnapshot* snapshot_; variable
572 : snapshot_(snapshot), in HeapSnapshotJSONSerializer()
610 HeapSnapshot* snapshot_; variable
/external/chromium_org/chrome/test/chromedriver/chrome/
Dheap_snapshot_taker.cc27 scoped_ptr<base::Value> value(base::JSONReader::Read(snapshot_)); in TakeSnapshot()
34 snapshot_.clear(); in TakeSnapshot()
69 snapshot_.append(chunk); in OnEvent()
Dheap_snapshot_taker.h40 std::string snapshot_; variable
/external/chromium_org/chrome/browser/ui/views/profiles/
Dprofile_reset_bubble_view.cc197 snapshot_.reset(new ResettableSettingsSnapshot(profile_)); in Init()
198 snapshot_->RequestShortcuts( in Init()
355 if (show_help_pane_ && snapshot_) { in SetupLayoutManager()
364 GetReadableFeedbackForSnapshot(profile_, *snapshot_); in SetupLayoutManager()
Dprofile_reset_bubble_view.h107 scoped_ptr<ResettableSettingsSnapshot> snapshot_; variable
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
Dsysinfo.cc627 snapshot_ = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | in Init()
639 if (snapshot_ != INVALID_HANDLE_VALUE) CloseHandle(snapshot_); in ~ProcMapsIterator()
650 return snapshot_ != INVALID_HANDLE_VALUE; in Valid()
891 ok = Module32First(snapshot_, &module_); in NextExt()
893 ok = Module32Next(snapshot_, &module_); in NextExt()
Dsysinfo.h198 HANDLE snapshot_; // filehandle on dll info variable
/external/chromium_org/content/browser/indexed_db/leveldb/
Dleveldb_database.cc79 : db_(db->db_.get()), snapshot_(db_->GetSnapshot()) {} in LevelDBSnapshot()
81 LevelDBSnapshot::~LevelDBSnapshot() { db_->ReleaseSnapshot(snapshot_); } in ~LevelDBSnapshot()
350 read_options.snapshot = snapshot ? snapshot->snapshot_ : 0; in Get()
453 read_options.snapshot = snapshot ? snapshot->snapshot_ : 0; in CreateIterator()
Dleveldb_transaction.cc18 snapshot_(db), in LevelDBTransaction()
82 leveldb::Status s = db_->Get(key, value, found, &snapshot_); in Get()
194 db_iterator_(transaction_->db_->CreateIterator(&transaction_->snapshot_)), in TransactionIterator()
Dleveldb_database.h41 const leveldb::Snapshot* snapshot_; variable
Dleveldb_transaction.h141 const LevelDBSnapshot snapshot_; variable
/external/chromium_org/extensions/browser/value_store/
Dleveldb_value_store.cc31 : db_(db), snapshot_(db->GetSnapshot()) {} in ScopedSnapshot()
34 db_->ReleaseSnapshot(snapshot_); in ~ScopedSnapshot()
38 return snapshot_; in get()
43 const leveldb::Snapshot* snapshot_; member in __anon977a37330111::ScopedSnapshot
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
Dsysinfo.cc783 snapshot_ = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE | in Init()
795 if (snapshot_ != INVALID_HANDLE_VALUE) CloseHandle(snapshot_); in ~ProcMapsIterator()
806 return snapshot_ != INVALID_HANDLE_VALUE; in Valid()
1049 ok = Module32First(snapshot_, &module_); in NextExt()
1051 ok = Module32Next(snapshot_, &module_); in NextExt()
Dsysinfo.h198 HANDLE snapshot_; // filehandle on dll info variable