/external/chromium_org/base/memory/ |
D | shared_memory_nacl.cc | 19 SharedMemory::SharedMemory() in SharedMemory() function in base::SharedMemory 28 SharedMemory::SharedMemory(SharedMemoryHandle handle, bool read_only) in SharedMemory() function in base::SharedMemory 37 SharedMemory::SharedMemory(SharedMemoryHandle handle, bool read_only, in SharedMemory() function in base::SharedMemory 48 SharedMemory::~SharedMemory() { in ~SharedMemory() 53 bool SharedMemory::IsHandleValid(const SharedMemoryHandle& handle) { in IsHandleValid() 58 SharedMemoryHandle SharedMemory::NULLHandle() { in NULLHandle() 63 void SharedMemory::CloseHandle(const SharedMemoryHandle& handle) { in CloseHandle() 69 bool SharedMemory::CreateAndMapAnonymous(size_t size) { in CreateAndMapAnonymous() 74 bool SharedMemory::Create(const SharedMemoryCreateOptions& options) { in Create() 79 bool SharedMemory::Delete(const std::string& name) { in Delete() [all …]
|
D | shared_memory_win.cc | 30 SharedMemory::SharedMemory() in SharedMemory() function in base::SharedMemory 39 SharedMemory::SharedMemory(const std::wstring& name) in SharedMemory() function in base::SharedMemory 49 SharedMemory::SharedMemory(SharedMemoryHandle handle, bool read_only) in SharedMemory() function in base::SharedMemory 58 SharedMemory::SharedMemory(SharedMemoryHandle handle, bool read_only, in SharedMemory() function in base::SharedMemory 73 SharedMemory::~SharedMemory() { in ~SharedMemory() 80 bool SharedMemory::IsHandleValid(const SharedMemoryHandle& handle) { in IsHandleValid() 85 SharedMemoryHandle SharedMemory::NULLHandle() { in NULLHandle() 90 void SharedMemory::CloseHandle(const SharedMemoryHandle& handle) { in CloseHandle() 96 size_t SharedMemory::GetHandleLimit() { in GetHandleLimit() 102 bool SharedMemory::CreateAndMapAnonymous(size_t size) { in CreateAndMapAnonymous() [all …]
|
D | shared_memory_posix.cc | 42 SharedMemory::SharedMemory() in SharedMemory() function in base::SharedMemory 52 SharedMemory::SharedMemory(SharedMemoryHandle handle, bool read_only) in SharedMemory() function in base::SharedMemory 68 SharedMemory::SharedMemory(SharedMemoryHandle handle, bool read_only, in SharedMemory() function in base::SharedMemory 82 SharedMemory::~SharedMemory() { in ~SharedMemory() 87 bool SharedMemory::IsHandleValid(const SharedMemoryHandle& handle) { in IsHandleValid() 92 SharedMemoryHandle SharedMemory::NULLHandle() { in NULLHandle() 97 void SharedMemory::CloseHandle(const SharedMemoryHandle& handle) { in CloseHandle() 104 size_t SharedMemory::GetHandleLimit() { in GetHandleLimit() 108 bool SharedMemory::CreateAndMapAnonymous(size_t size) { in CreateAndMapAnonymous() 119 bool SharedMemory::Create(const SharedMemoryCreateOptions& options) { in Create() [all …]
|
D | shared_memory.h | 77 class BASE_EXPORT SharedMemory { 79 SharedMemory(); 85 explicit SharedMemory(const std::wstring& name); 95 SharedMemory(SharedMemoryHandle handle, bool read_only); 100 SharedMemory(SharedMemoryHandle handle, bool read_only, 104 ~SharedMemory(); 301 DISALLOW_COPY_AND_ASSIGN(SharedMemory); 309 explicit SharedMemoryAutoLockDeprecated(SharedMemory* shared_memory) in SharedMemoryAutoLockDeprecated() 319 SharedMemory* shared_memory_;
|
D | shared_memory_unittest.cc | 53 SharedMemory memory; in CleanUp() 63 SharedMemory memory; in ThreadMain() 111 SharedMemory memory1; in ThreadMain() 120 SharedMemory memory2(handle, false); in ThreadMain() 154 SharedMemory memory1; in TEST() 165 SharedMemory memory2; in TEST() 206 SharedMemory memory1; in TEST() 225 SharedMemory memory2; in TEST() 337 scoped_ptr<SharedMemory[]> memories(new SharedMemory[count]); in TEST() 375 SharedMemory writable_shmem; in TEST() [all …]
|
D | shared_memory_android.cc | 19 bool SharedMemory::Create(const SharedMemoryCreateOptions& options) { in Create() 54 bool SharedMemory::Delete(const std::string& name) { in Delete() 60 bool SharedMemory::Open(const std::string& name, bool read_only) { in Open()
|
/external/chromium_org/third_party/webrtc/modules/desktop_capture/ |
D | shared_memory.cc | 16 const SharedMemory::Handle SharedMemory::kInvalidHandle = NULL; 18 const SharedMemory::Handle SharedMemory::kInvalidHandle = -1; 21 SharedMemory::SharedMemory(void* data, size_t size, Handle handle, int id) in SharedMemory() function in webrtc::SharedMemory
|
D | shared_memory.h | 31 class SharedMemory { 51 virtual ~SharedMemory() {} in ~SharedMemory() 54 SharedMemory(void* data, size_t size, Handle handle, int id); 62 DISALLOW_COPY_AND_ASSIGN(SharedMemory);
|
D | desktop_frame_win.h | 28 SharedMemory* shared_memory, 37 SharedMemory* shared_memory, 41 scoped_ptr<SharedMemory> owned_shared_memory_;
|
D | desktop_frame.h | 42 SharedMemory* shared_memory() const { return shared_memory_; } in shared_memory() 74 SharedMemory* shared_memory); 83 SharedMemory* const shared_memory_; 113 SharedMemory* shared_memory);
|
/external/chromium_org/ui/base/clipboard/ |
D | clipboard.cc | 25 base::SharedMemory* bitmap_data) { in ValidateAndMapSharedBitmap() 26 using base::SharedMemory; in ValidateAndMapSharedBitmap() 28 if (!bitmap_data || !SharedMemory::IsHandleValid(bitmap_data->handle())) in ValidateAndMapSharedBitmap() 146 using base::SharedMemory; in DispatchObject() 149 if (params[0].size() != sizeof(SharedMemory*) || in DispatchObject() 173 scoped_ptr<SharedMemory> bitmap_data( in DispatchObject() 174 *reinterpret_cast<SharedMemory**>(raw_bitmap_data)); in DispatchObject() 201 using base::SharedMemory; in ReplaceSharedMemHandle() 213 SharedMemory* bitmap = new SharedMemory(bitmap_handle, true, process); in ReplaceSharedMemHandle() 215 SharedMemory* bitmap = new SharedMemory(bitmap_handle, true); in ReplaceSharedMemHandle() [all …]
|
/external/chromium_org/ppapi/proxy/ |
D | plugin_array_buffer_var.cc | 22 using base::SharedMemory; 31 plugin_handle_(base::SharedMemory::NULLHandle()), in PluginArrayBufferVar() 46 if (SharedMemory::IsHandleValid(plugin_handle_)) in ~PluginArrayBufferVar() 47 SharedMemory::CloseHandle(plugin_handle_); in ~PluginArrayBufferVar() 57 if (SharedMemory::IsHandleValid(plugin_handle_)) { in Map() 58 shmem_.reset(new SharedMemory(plugin_handle_, false)); in Map() 96 SharedMemory s(tmp_handle, false); in CopyToNewShmem() 105 *plugin_out_handle = base::SharedMemory::NULLHandle(); in CopyToNewShmem()
|
D | serialized_handle.cc | 22 shm_handle_(base::SharedMemory::NULLHandle()), in SerializedHandle() 31 shm_handle_(base::SharedMemory::NULLHandle()), in SerializedHandle() 52 shm_handle_(base::SharedMemory::NULLHandle()), in SerializedHandle() 62 return base::SharedMemory::IsHandleValid(shm_handle_); in IsHandleValid() 80 base::SharedMemory::CloseHandle(shm_handle_); in Close()
|
/external/chromium_org/gpu/command_buffer/common/ |
D | buffer.h | 15 class SharedMemory; variable 29 SharedMemoryBufferBacking(scoped_ptr<base::SharedMemory> shared_memory, 34 base::SharedMemory* shared_memory() { return shared_memory_.get(); } in shared_memory() 37 scoped_ptr<base::SharedMemory> shared_memory_; 66 scoped_ptr<base::SharedMemory> shared_memory, in MakeBackingFromSharedMemory() 73 scoped_ptr<base::SharedMemory> shared_memory, in MakeBufferFromSharedMemory()
|
/external/chromium_org/ppapi/shared_impl/ |
D | media_stream_buffer_manager_unittest.cc | 11 using base::SharedMemory; 16 scoped_ptr<SharedMemory> CreateSharedMemory(int32_t buffer_size, in CreateSharedMemory() 18 scoped_ptr<SharedMemory> shared_memory(new SharedMemory()); in CreateSharedMemory() 46 scoped_ptr<SharedMemory> shared_memory = in TEST() 98 scoped_ptr<SharedMemory> shared_memory = in TEST() 129 scoped_ptr<SharedMemory> shared_memory(new SharedMemory()); in TEST() 157 scoped_ptr<SharedMemory> shared_memory = in TEST()
|
/external/chromium_org/content/common/ |
D | host_shared_bitmap_manager_unittest.cc | 21 scoped_ptr<base::SharedMemory> bitmap(new base::SharedMemory()); in TEST_F() 85 EXPECT_TRUE(base::SharedMemory::IsHandleValid(handle)); in TEST_F() 86 scoped_ptr<base::SharedMemory> bitmap(new base::SharedMemory(handle, false)); in TEST_F() 101 scoped_ptr<base::SharedMemory> bitmap(new base::SharedMemory()); in TEST_F() 135 scoped_ptr<base::SharedMemory> bitmap(new base::SharedMemory()); in TEST_F() 145 scoped_ptr<base::SharedMemory> bitmap2(new base::SharedMemory()); in TEST_F()
|
D | host_shared_bitmap_manager.cc | 24 scoped_ptr<base::SharedMemory> memory; 57 base::SharedMemory::NULLHandle(), in AllocateSharedBitmap() 106 base::SharedMemory*) { in GetBitmapForSharedMemory() argument 125 new base::SharedMemory(data->memory_handle, false, data->process_handle)); in ChildAllocatedSharedBitmap() 128 make_scoped_ptr(new base::SharedMemory(data->memory_handle, false)); in ChildAllocatedSharedBitmap() 139 *shared_memory_handle = base::SharedMemory::NULLHandle(); in AllocateSharedBitmapForChild() 142 scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory); in AllocateSharedBitmapForChild() 145 *shared_memory_handle = base::SharedMemory::NULLHandle(); in AllocateSharedBitmapForChild() 157 *shared_memory_handle = base::SharedMemory::NULLHandle(); in AllocateSharedBitmapForChild()
|
/external/chromium_org/gpu/command_buffer/service/ |
D | transfer_buffer_manager_unittest.cc | 11 using base::SharedMemory; 41 scoped_ptr<base::SharedMemory> shm(new base::SharedMemory()); in TEST_F() 43 base::SharedMemory* shm_raw_pointer = shm.get(); in TEST_F() 107 scoped_ptr<base::SharedMemory> shm(new base::SharedMemory()); in TEST_F()
|
/external/chromium_org/cc/blink/ |
D | web_external_bitmap_impl.h | 14 class SharedMemory; variable 19 typedef scoped_ptr<base::SharedMemory>(*SharedMemoryAllocationFunction)(size_t); 35 base::SharedMemory* shared_memory() { return shared_memory_.get(); } in shared_memory() 38 scoped_ptr<base::SharedMemory> shared_memory_;
|
/external/chromium_org/ui/gl/ |
D | gl_image_shared_memory.cc | 25 if (!base::SharedMemory::IsHandleValid(handle.handle)) in Initialize() 28 base::SharedMemory shared_memory(handle.handle, true); in Initialize() 38 scoped_ptr<base::SharedMemory> duped_shared_memory( in Initialize() 39 new base::SharedMemory(duped_shared_memory_handle, true)); in Initialize()
|
/external/chromium_org/content/common/gpu/client/ |
D | gpu_memory_buffer_impl_shared_memory.cc | 23 scoped_ptr<base::SharedMemory> shared_memory) in GpuMemoryBufferImplSharedMemory() 39 scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory()); in Create() 58 base::SharedMemory shared_memory; in AllocateForChildProcess() 79 if (!base::SharedMemory::IsHandleValid(handle.handle)) in CreateFromHandle() 87 make_scoped_ptr(new base::SharedMemory(handle.handle, false)))); in CreateFromHandle()
|
/external/chromium_org/base/metrics/ |
D | stats_table.cc | 107 SharedMemory* shared_memory() { return shared_memory_.get(); } in shared_memory() 137 explicit Internal(SharedMemory* shared_memory) in Internal() 148 static SharedMemory* CreateSharedMemory( 160 scoped_ptr<SharedMemory> shared_memory_; 177 scoped_ptr<SharedMemory> shared_memory(CreateSharedMemory(table, size)); in New() 199 SharedMemory* StatsTable::Internal::CreateSharedMemory( in CreateSharedMemory() 205 return new SharedMemory(table, false); in CreateSharedMemory() 208 scoped_ptr<SharedMemory> shared_memory(new SharedMemory()); in CreateSharedMemory() 213 scoped_ptr<SharedMemory> shared_memory(new SharedMemory()); in CreateSharedMemory() 612 return SharedMemory::NULLHandle(); in GetSharedMemoryHandle()
|
/external/chromium_org/cc/resources/ |
D | shared_bitmap.h | 15 namespace base { class SharedMemory; } variable 22 SharedBitmap(base::SharedMemory* memory, 42 base::SharedMemory* memory() { return memory_; } in memory() 60 base::SharedMemory* memory_;
|
/external/chromium_org/sandbox/win/src/ |
D | interception_agent.h | 20 struct SharedMemory; 58 bool Init(SharedMemory* shared_memory); 75 SharedMemory* interceptions_;
|
/external/chromium_org/content/browser/device_sensors/ |
D | data_fetcher_shared_memory_base.cc | 179 return base::SharedMemory::NULLHandle(); in GetSharedMemoryHandleForProcess() 213 base::SharedMemory* DataFetcherSharedMemoryBase::GetSharedMemory( in GetSharedMemory() 223 scoped_ptr<base::SharedMemory> new_shared_mem(new base::SharedMemory); in GetSharedMemory() 227 base::SharedMemory* shared_mem = new_shared_mem.release(); in GetSharedMemory() 238 if (base::SharedMemory* shared_memory = GetSharedMemory(consumer_type)) in GetSharedMemoryBuffer()
|