/external/libchrome/base/memory/ |
D | shared_memory_handle_mac.cc | 17 SharedMemoryHandle::SharedMemoryHandle() {} in SharedMemoryHandle() function in base::SharedMemoryHandle 19 SharedMemoryHandle::SharedMemoryHandle(mach_vm_size_t size) { in SharedMemoryHandle() function in base::SharedMemoryHandle 39 SharedMemoryHandle::SharedMemoryHandle(mach_port_t memory_object, in SharedMemoryHandle() function in base::SharedMemoryHandle 47 SharedMemoryHandle::SharedMemoryHandle(const SharedMemoryHandle& handle) { in SharedMemoryHandle() function in base::SharedMemoryHandle 51 SharedMemoryHandle& SharedMemoryHandle::operator=( in operator =() 52 const SharedMemoryHandle& handle) { in operator =() 60 SharedMemoryHandle SharedMemoryHandle::Duplicate() const { in Duplicate() 62 return SharedMemoryHandle(MACH_PORT_NULL, 0, 0); in Duplicate() 68 SharedMemoryHandle handle(*this); in Duplicate() 73 bool SharedMemoryHandle::operator==(const SharedMemoryHandle& handle) const { in operator ==() [all …]
|
D | shared_memory_handle.h | 32 typedef FileDescriptor SharedMemoryHandle; typedef 34 class BASE_EXPORT SharedMemoryHandle { 37 SharedMemoryHandle(); 38 SharedMemoryHandle(HANDLE h, base::ProcessId pid); 42 SharedMemoryHandle(const SharedMemoryHandle& handle); 46 SharedMemoryHandle& operator=(const SharedMemoryHandle& handle); 49 bool operator==(const SharedMemoryHandle& handle) const; 50 bool operator!=(const SharedMemoryHandle& handle) const; 86 class BASE_EXPORT SharedMemoryHandle { 89 SharedMemoryHandle(); [all …]
|
D | shared_memory.h | 84 SharedMemory(const SharedMemoryHandle& handle, bool read_only); 91 static bool IsHandleValid(const SharedMemoryHandle& handle); 94 static SharedMemoryHandle NULLHandle(); 97 static void CloseHandle(const SharedMemoryHandle& handle); 104 static SharedMemoryHandle DuplicateHandle(const SharedMemoryHandle& handle); 108 static int GetFdFromSharedMemoryHandle(const SharedMemoryHandle& handle); 115 static bool GetSizeFromSharedMemoryHandle(const SharedMemoryHandle& handle, 195 SharedMemoryHandle handle() const; 213 SharedMemoryHandle* new_handle) { in ShareReadOnlyToProcess() 224 SharedMemoryHandle* new_handle) { in GiveReadOnlyToProcess() [all …]
|
D | shared_memory_mac.cc | 33 bool MakeMachSharedMemoryHandleReadOnly(SharedMemoryHandle* new_handle, in MakeMachSharedMemoryHandleReadOnly() 34 SharedMemoryHandle handle, in MakeMachSharedMemoryHandleReadOnly() 66 *new_handle = SharedMemoryHandle(named_right, size, base::GetCurrentProcId()); in MakeMachSharedMemoryHandleReadOnly() 80 SharedMemory::SharedMemory(const SharedMemoryHandle& handle, bool read_only) in SharedMemory() 93 bool SharedMemory::IsHandleValid(const SharedMemoryHandle& handle) { in IsHandleValid() 98 SharedMemoryHandle SharedMemory::NULLHandle() { in NULLHandle() 99 return SharedMemoryHandle(); in NULLHandle() 103 void SharedMemory::CloseHandle(const SharedMemoryHandle& handle) { in CloseHandle() 114 SharedMemoryHandle SharedMemory::DuplicateHandle( in DuplicateHandle() 115 const SharedMemoryHandle& handle) { in DuplicateHandle() [all …]
|
D | shared_memory_posix.cc | 121 SharedMemory::SharedMemory(const SharedMemoryHandle& handle, bool read_only) in SharedMemory() 136 bool SharedMemory::IsHandleValid(const SharedMemoryHandle& handle) { in IsHandleValid() 141 SharedMemoryHandle SharedMemory::NULLHandle() { in NULLHandle() 142 return SharedMemoryHandle(); in NULLHandle() 146 void SharedMemory::CloseHandle(const SharedMemoryHandle& handle) { in CloseHandle() 158 SharedMemoryHandle SharedMemory::DuplicateHandle( in DuplicateHandle() 159 const SharedMemoryHandle& handle) { in DuplicateHandle() 168 const SharedMemoryHandle& handle) { in GetFdFromSharedMemoryHandle() 179 const SharedMemoryHandle& handle, in GetSizeFromSharedMemoryHandle() 387 SharedMemoryHandle SharedMemory::handle() const { in handle() [all …]
|
D | shared_memory_mac_unittest.cc | 58 SharedMemoryHandle shm(size); in CreateSharedMemory() 249 SharedMemoryHandle shm(memory_object, in MULTIPROCESS_TEST_MAIN() 265 SharedMemoryHandle shm(s_memory_size); in TEST_F() 289 SharedMemoryHandle shm(memory_object, in MULTIPROCESS_TEST_MAIN() 311 SharedMemoryHandle shm(s_memory_size); in TEST_F() 350 SharedMemoryHandle shm(s_memory_size); in TEST_F() 369 SharedMemoryHandle shm2 = shared_memory->handle().Duplicate(); in TEST_F() 384 SharedMemoryHandle shm2; in TEST_F() 412 SharedMemoryHandle shm2; in TEST_F() 446 SharedMemoryHandle shm2; in TEST_F()
|
D | shared_memory_unittest.cc | 333 SharedMemoryHandle readonly_handle; in TEST() 359 SharedMemoryHandle handle = readonly_shmem.handle(); in TEST() 413 SharedMemoryHandle shared_handle; in TEST() 425 shared_handle = SharedMemoryHandle(); in TEST() 596 SharedMemoryHandle(section_handle.Take(), ::GetCurrentProcessId()), true); in TEST() 611 SharedMemoryHandle(handle_no_query, ::GetCurrentProcessId()), true); in TEST()
|
/external/libmojo/mojo/edk/embedder/ |
D | platform_shared_buffer.cc | 30 base::SharedMemoryHandle memory_handle) { in SharedMemoryToPlatformHandle() 100 base::SharedMemoryHandle handle) { in CreateFromSharedMemoryHandle() 143 base::SharedMemoryHandle handle; in MapNoCheck() 161 base::SharedMemoryHandle handle; in DuplicatePlatformHandle() 184 base::SharedMemoryHandle PlatformSharedBuffer::DuplicateSharedMemoryHandle() { in DuplicateSharedMemoryHandle() 196 base::SharedMemoryHandle handle; in CreateReadOnlyDuplicate() 203 base::SharedMemoryHandle handle; in CreateReadOnlyDuplicate() 239 base::SharedMemoryHandle handle(platform_handle.release().handle, in InitFromPlatformHandle() 242 base::SharedMemoryHandle handle; in InitFromPlatformHandle() 243 handle = base::SharedMemoryHandle(platform_handle.release().port, num_bytes_, in InitFromPlatformHandle() [all …]
|
D | platform_shared_buffer.h | 62 base::SharedMemoryHandle handle); 88 base::SharedMemoryHandle DuplicateSharedMemoryHandle(); 118 void InitFromSharedMemoryHandle(base::SharedMemoryHandle handle); 151 PlatformSharedBufferMapping(base::SharedMemoryHandle handle, in PlatformSharedBufferMapping()
|
D | embedder.h | 103 CreateSharedBufferWrapper(base::SharedMemoryHandle shared_memory_handle, 117 base::SharedMemoryHandle* shared_memory_handle,
|
D | embedder.cc | 101 base::SharedMemoryHandle shared_memory_handle, in CreateSharedBufferWrapper() 111 base::SharedMemoryHandle* shared_memory_handle, in PassSharedMemoryHandle()
|
D | embedder_unittest.cc | 348 base::SharedMemoryHandle shm_handle = base::SharedMemory::DuplicateHandle( in TEST_F() 405 base::SharedMemoryHandle shm_handle; in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 427 base::SharedMemoryHandle shm_handle = base::SharedMemory::DuplicateHandle( in TEST_F() 501 base::SharedMemoryHandle shm_handle = in TEST_F()
|
/external/libmojo/mojo/public/cpp/system/ |
D | platform_handle.cc | 61 const base::SharedMemoryHandle& memory_handle, in WrapSharedMemoryHandle() 91 base::SharedMemoryHandle* memory_handle, in UnwrapSharedMemoryHandle() 112 *memory_handle = base::SharedMemoryHandle( in UnwrapSharedMemoryHandle() 117 *memory_handle = base::SharedMemoryHandle( in UnwrapSharedMemoryHandle() 121 *memory_handle = base::SharedMemoryHandle( in UnwrapSharedMemoryHandle()
|
D | platform_handle.h | 63 const base::SharedMemoryHandle& memory_handle, 70 base::SharedMemoryHandle* memory_handle,
|
/external/libmojo/ipc/ |
D | ipc_message_utils.cc | 698 void ParamTraits<base::SharedMemoryHandle>::GetSize(base::PickleSizer* sizer, in GetSize() 705 void ParamTraits<base::SharedMemoryHandle>::Write(base::Pickle* m, in Write() 720 bool ParamTraits<base::SharedMemoryHandle>::Read(const base::Pickle* m, in Read() 731 *r = base::SharedMemoryHandle(mach_port_mac.get_mach_port(), in Read() 737 void ParamTraits<base::SharedMemoryHandle>::Log(const param_type& p, in Log() 744 void ParamTraits<base::SharedMemoryHandle>::GetSize(base::PickleSizer* s, in GetSize() 754 void ParamTraits<base::SharedMemoryHandle>::Write(base::Pickle* m, in Write() 771 bool ParamTraits<base::SharedMemoryHandle>::Read(const base::Pickle* m, in Read() 782 *r = base::SharedMemoryHandle(handle_win.get_handle(), in Read() 791 *r = base::SharedMemoryHandle(handle, base::GetCurrentProcId()); in Read() [all …]
|
D | ipc_message_utils.h | 46 class SharedMemoryHandle; variable 569 struct IPC_EXPORT ParamTraits<base::SharedMemoryHandle> { 570 typedef base::SharedMemoryHandle param_type;
|
/external/libmojo/mojo/edk/system/ |
D | core.h | 94 base::SharedMemoryHandle shared_memory_handle, 101 base::SharedMemoryHandle* shared_memory_handle,
|
D | shared_buffer_unittest.cc | 239 base::SharedMemoryHandle shm_handle; in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 301 base::SharedMemoryHandle shm_handle; in TEST_F()
|
D | core.cc | 247 base::SharedMemoryHandle shared_memory_handle, in CreateSharedBufferWrapper() 272 base::SharedMemoryHandle* shared_memory_handle, in PassSharedMemoryHandle()
|
/external/libchrome/base/metrics/ |
D | persistent_histogram_allocator.h | 417 static void CreateWithSharedMemoryHandle(const SharedMemoryHandle& handle,
|
D | persistent_memory_allocator_unittest.cc | 523 SharedMemoryHandle shared_handle_1; in TEST() 524 SharedMemoryHandle shared_handle_2; in TEST()
|
D | persistent_histogram_allocator.cc | 738 const SharedMemoryHandle& handle, in CreateWithSharedMemoryHandle()
|