Home
last modified time | relevance | path

Searched refs:shared_memory_ (Results 1 – 7 of 7) sorted by relevance

/external/chromium/chrome/browser/visitedlink/
Dvisitedlink_master.cc240 shared_memory_ = NULL; in InitMembers()
673 shared_memory_ = new base::SharedMemory(); in CreateURLTable()
674 if (!shared_memory_) in CreateURLTable()
677 if (!shared_memory_->CreateAndMapAnonymous(alloc_size)) { in CreateURLTable()
678 delete shared_memory_; in CreateURLTable()
679 shared_memory_ = NULL; in CreateURLTable()
684 memset(shared_memory_->memory(), 0, alloc_size); in CreateURLTable()
690 SharedHeader* header = static_cast<SharedHeader*>(shared_memory_->memory()); in CreateURLTable()
696 static_cast<char*>(shared_memory_->memory()) + sizeof(SharedHeader)); in CreateURLTable()
702 base::SharedMemory *old_shared_memory = shared_memory_; in BeginReplaceURLTable()
[all …]
Dvisitedlink_master.h82 base::SharedMemory* shared_memory() { return shared_memory_; } in shared_memory()
335 base::SharedMemory *shared_memory_; variable
/external/chromium/base/
Dshared_memory.h220 : shared_memory_(shared_memory) { in SharedMemoryAutoLock()
221 shared_memory_->Lock(); in SharedMemoryAutoLock()
225 shared_memory_->Unlock(); in ~SharedMemoryAutoLock()
229 SharedMemory* shared_memory_;
/external/chromium/chrome/browser/extensions/
Duser_script_master_unittest.cc29 shared_memory_(NULL) { in UserScriptMasterTest()
54 shared_memory_ = Details<base::SharedMemory>(details).ptr(); in Observe()
70 base::SharedMemory* shared_memory_; member in UserScriptMasterTest
82 ASSERT_TRUE(shared_memory_ != NULL); in TEST_F()
101 ASSERT_TRUE(shared_memory_ != NULL); in TEST_F()
Duser_script_master.h39 return shared_memory_.get(); in GetSharedMemory()
46 bool ScriptsReady() const { return shared_memory_.get() != NULL; } in ScriptsReady()
142 scoped_ptr<base::SharedMemory> shared_memory_; variable
Duser_script_master.cc326 shared_memory_.swap(handle_deleter); in NewScriptsAvailable()
/external/chromium/base/metrics/
Dstats_table.cc109 SharedMemory* shared_memory() { return &shared_memory_; } in shared_memory()
156 SharedMemory shared_memory_; member in base::StatsTable::Private
174 if (!priv->shared_memory_.CreateNamed(name, true, size)) in New()
176 if (!priv->shared_memory_.Map(size)) in New()
178 void* memory = priv->shared_memory_.memory(); in New()