HomeSort by relevance Sort by last modified time
    Searched refs:shared_memory_ (Results 1 - 25 of 59) sorted by null

1 2 3

  /external/chromium_org/components/visitedlink/renderer/
visitedlink_slave.cc 16 VisitedLinkSlave::VisitedLinkSlave() : shared_memory_(NULL) {}
41 DCHECK(shared_memory_ == NULL && hash_table_ == NULL);
44 shared_memory_ = new base::SharedMemory(table, true);
45 if (!shared_memory_)
50 if (!shared_memory_->Map(sizeof(SharedHeader)))
53 static_cast<SharedHeader*>(shared_memory_->memory());
57 shared_memory_->Unmap();
60 if (!shared_memory_->Map(sizeof(SharedHeader) +
62 shared_memory_->Close();
67 DCHECK(shared_memory_->memory())
    [all...]
visitedlink_slave.h 35 base::SharedMemory* shared_memory_; member in class:visitedlink::VisitedLinkSlave
  /external/chromium_org/webkit/renderer/compositor_bindings/
web_external_bitmap_impl.cc 29 shared_memory_ = g_memory_allocator(byte_size);
30 if (shared_memory_)
31 shared_memory_->Map(byte_size);
41 return static_cast<uint8*>(shared_memory_->memory());
web_external_bitmap_impl.h 36 base::SharedMemory* shared_memory() { return shared_memory_.get(); }
39 scoped_ptr<base::SharedMemory> shared_memory_; member in class:webkit::WebExternalBitmapImpl
  /external/chromium_org/content/common/gpu/client/
gpu_memory_buffer_impl_shm.cc 22 shared_memory_.reset(new base::SharedMemory(handle.handle, false));
23 DCHECK(!shared_memory_->memory());
29 shared_memory_ = shared_memory.Pass();
30 DCHECK(!shared_memory_->memory());
37 if (!shared_memory_->Map(size_.GetArea() * BytesPerPixel(internalformat_)))
39 *vaddr = shared_memory_->memory();
45 shared_memory_->Unmap();
52 handle.handle = shared_memory_->handle();
gpu_memory_buffer_impl_shm.h 29 scoped_ptr<base::SharedMemory> shared_memory_; member in class:content::GpuMemoryBufferImplShm
  /external/chromium_org/cc/resources/
texture_mailbox.cc 15 shared_memory_(NULL) {
21 shared_memory_(NULL) {
31 shared_memory_(NULL) {
39 shared_memory_(NULL) {
48 shared_memory_(NULL) {
56 shared_memory_(shared_memory),
65 return ContainsHandle(other.shared_memory_->handle());
76 return shared_memory_ && shared_memory_->handle() == handle;
80 DCHECK(shared_memory_ == NULL)
    [all...]
texture_mailbox.h 37 bool IsSharedMemory() const { return shared_memory_ != NULL; }
49 base::SharedMemory* shared_memory() const { return shared_memory_; }
61 base::SharedMemory* shared_memory_; member in class:cc::TextureMailbox
  /external/chromium_org/content/renderer/pepper/
ppb_buffer_impl.cc 61 shared_memory_.reset(
63 return shared_memory_.get() != NULL;
72 return PP_FromBool(!!shared_memory_->memory());
77 DCHECK(shared_memory_.get());
79 shared_memory_->Map(size_);
80 return shared_memory_->memory();
85 shared_memory_->Unmap();
90 *shm_handle = shared_memory_->handle().fd;
93 shared_memory_->handle());
ppb_image_data_impl.cc 284 shared_memory_.reset(RenderThread::Get()->HostAllocateSharedMemoryBuffer(
286 return !!shared_memory_.get();
298 DCHECK(shared_memory_.get());
300 shared_memory_->Map(skia_bitmap_.getSize());
301 skia_bitmap_.setPixels(shared_memory_->memory());
307 return shared_memory_->memory();
312 shared_memory_->Unmap();
319 *handle = shared_memory_->handle().fd;
321 *handle = reinterpret_cast<int>(shared_memory_->handle());
ppb_buffer_impl.h 26 base::SharedMemory* shared_memory() const { return shared_memory_.get(); }
47 scoped_ptr<base::SharedMemory> shared_memory_; member in class:content::PPB_Buffer_Impl
  /external/chromium_org/ui/surface/
transport_dib_posix.cc 23 : shared_memory_(dib, false /* read write */),
33 if (!dib->shared_memory_.CreateAndMapAnonymous(size)) {
81 if (!shared_memory_.Map(0))
83 size_ = shared_memory_.mapped_size();
89 if ((fstat(shared_memory_.handle().fd, &st) != 0) ||
90 (!shared_memory_.Map(st.st_size))) {
100 return shared_memory_.memory();
107 return shared_memory_.id();
112 return shared_memory_.handle();
transport_dib_win.cc 24 : shared_memory_(handle, false /* read write */),
32 if (!dib->shared_memory_.CreateAnonymous(size)) {
91 if (!shared_memory_.Map(0 /* map whole shared memory segment */)) {
93 << " handle:" << shared_memory_.handle()
98 size_ = shared_memory_.mapped_size();
103 return shared_memory_.memory();
107 return shared_memory_.handle();
  /external/chromium_org/ui/gl/
gl_image_shm.cc 93 shared_memory_.reset(
107 DCHECK(shared_memory_);
111 DCHECK(!shared_memory_->memory());
112 if (!shared_memory_->Map(size)) {
117 DCHECK(shared_memory_->memory());
126 shared_memory_->memory());
128 shared_memory_->Unmap();
gl_image_shm.h 31 scoped_ptr<base::SharedMemory> shared_memory_; member in class:gfx::GLImageShm
  /external/chromium_org/chrome_frame/
dll_redirector.cc 32 shared_memory_.reset(new base::SharedMemory(beacon_name));
38 shared_memory_.reset(new base::SharedMemory(ASCIIToWide(shared_memory_name)));
138 lock_acquired = shared_memory_->Lock(kSharedMemoryLockTimeoutMs, &sec_attr);
140 lock_acquired = shared_memory_->Lock(kSharedMemoryLockTimeoutMs, NULL);
152 bool result = shared_memory_->CreateNamed(shared_memory_name_.c_str(),
160 if (!SetFileMappingToReadOnly(shared_memory_->handle())) {
168 result = shared_memory_->Open(shared_memory_name_.c_str(),
174 result = shared_memory_->Map(0);
175 DCHECK(shared_memory_->memory());
183 lstrcpynA(reinterpret_cast<char*>(shared_memory_->memory())
    [all...]
  /external/chromium_org/ppapi/proxy/
gamepad_resource.h 48 scoped_ptr<base::SharedMemory> shared_memory_; member in class:ppapi::proxy::GamepadResource
gamepad_resource.cc 109 shared_memory_.reset(new base::SharedMemory(handle, true));
110 CHECK(shared_memory_->Map(sizeof(ContentGamepadHardwareBuffer)));
112 shared_memory_->memory());
  /external/chromium_org/chrome_frame/test/
dll_redirector_test.cc 53 return shared_memory_.get();
89 shared_memory_.reset(new base::SharedMemory);
101 EXPECT_TRUE(shared_memory_->CreateNamed(name, false,
103 EXPECT_TRUE(shared_memory_->Map(0));
104 EXPECT_TRUE(shared_memory_->memory());
106 if (shared_memory_->memory()) {
107 memcpy(shared_memory_->memory(),
116 EXPECT_TRUE(shared_memory_->Open(name, true /* read_only */));
117 EXPECT_TRUE(shared_memory_->Map(0));
118 EXPECT_TRUE(shared_memory_->memory())
133 scoped_ptr<base::SharedMemory> shared_memory_; member in class:DllRedirectorTest
    [all...]
  /external/chromium/chrome/browser/extensions/
user_script_master.h 39 return shared_memory_.get();
46 bool ScriptsReady() const { return shared_memory_.get() != NULL; }
142 scoped_ptr<base::SharedMemory> shared_memory_; member in class:UserScriptMaster
  /external/chromium_org/chrome/browser/extensions/
user_script_master.h 48 return shared_memory_.get();
55 bool ScriptsReady() const { return shared_memory_.get() != NULL; }
148 scoped_ptr<base::SharedMemory> shared_memory_; member in class:extensions::UserScriptMaster
  /external/chromium/base/
shared_memory.h 220 : shared_memory_(shared_memory) {
221 shared_memory_->Lock();
225 shared_memory_->Unlock();
229 SharedMemory* shared_memory_; member in class:base::SharedMemoryAutoLock
  /external/chromium/chrome/browser/visitedlink/
visitedlink_master.cc 240 shared_memory_ = NULL;
673 shared_memory_ = new base::SharedMemory();
674 if (!shared_memory_)
677 if (!shared_memory_->CreateAndMapAnonymous(alloc_size)) {
678 delete shared_memory_;
679 shared_memory_ = NULL;
684 memset(shared_memory_->memory(), 0, alloc_size);
690 SharedHeader* header = static_cast<SharedHeader*>(shared_memory_->memory());
696 static_cast<char*>(shared_memory_->memory()) + sizeof(SharedHeader));
702 base::SharedMemory *old_shared_memory = shared_memory_;
    [all...]
  /external/chromium_org/components/visitedlink/browser/
visitedlink_master.cc 222 shared_memory_ = NULL;
674 shared_memory_ = new base::SharedMemory();
675 if (!shared_memory_)
678 if (!shared_memory_->CreateAndMapAnonymous(alloc_size)) {
679 delete shared_memory_;
680 shared_memory_ = NULL;
685 memset(shared_memory_->memory(), 0, alloc_size);
691 SharedHeader* header = static_cast<SharedHeader*>(shared_memory_->memory());
697 static_cast<char*>(shared_memory_->memory()) + sizeof(SharedHeader));
703 base::SharedMemory *old_shared_memory = shared_memory_;
    [all...]
  /external/chromium_org/content/browser/renderer_host/
software_frame_manager.cc 45 scoped_ptr<base::SharedMemory> shared_memory_; member in class:content::SoftwareFrame
62 shared_memory_(shared_memory.Pass()) {}
167 current_frame_->shared_memory_.get(), current_frame_->frame_size_pixels_);
175 current_frame_->shared_memory_->handle()));
176 return current_frame_->shared_memory_->memory();

Completed in 266 milliseconds

1 2 3