/external/libchrome/base/memory/ |
D | shared_memory_handle_posix.cc | 15 SharedMemoryHandle::SharedMemoryHandle() = default; 17 SharedMemoryHandle::SharedMemoryHandle( in SharedMemoryHandle() function in base::SharedMemoryHandle 24 SharedMemoryHandle SharedMemoryHandle::ImportHandle(int fd, size_t size) { in ImportHandle() 25 SharedMemoryHandle handle; in ImportHandle() 33 int SharedMemoryHandle::GetHandle() const { in GetHandle() 37 bool SharedMemoryHandle::IsValid() const { in IsValid() 41 void SharedMemoryHandle::Close() const { in Close() 46 int SharedMemoryHandle::Release() { in Release() 52 SharedMemoryHandle SharedMemoryHandle::Duplicate() const { in Duplicate() 54 return SharedMemoryHandle(); in Duplicate() [all …]
|
D | shared_memory_handle_android.cc | 27 SharedMemoryHandle::SharedMemoryHandle() = default; 29 SharedMemoryHandle::SharedMemoryHandle( in SharedMemoryHandle() function in base::SharedMemoryHandle 39 SharedMemoryHandle SharedMemoryHandle::ImportHandle(int fd, size_t size) { in ImportHandle() 40 SharedMemoryHandle handle; in ImportHandle() 48 int SharedMemoryHandle::GetHandle() const { in GetHandle() 53 bool SharedMemoryHandle::IsValid() const { in IsValid() 57 void SharedMemoryHandle::Close() const { in Close() 63 int SharedMemoryHandle::Release() { in Release() 69 SharedMemoryHandle SharedMemoryHandle::Duplicate() const { in Duplicate() 71 SharedMemoryHandle result; in Duplicate() [all …]
|
D | shared_memory.h | 41 SharedMemoryHandle::Type type = SharedMemoryHandle::MACH; 89 SharedMemory(const SharedMemoryHandle& handle, bool read_only); 96 static bool IsHandleValid(const SharedMemoryHandle& handle); 99 static void CloseHandle(const SharedMemoryHandle& handle); 107 static SharedMemoryHandle DuplicateHandle(const SharedMemoryHandle& handle); 111 static int GetFdFromSharedMemoryHandle(const SharedMemoryHandle& handle); 190 SharedMemoryHandle handle() const; 196 SharedMemoryHandle TakeHandle(); 210 SharedMemoryHandle GetReadOnlyHandle() const; 231 SharedMemoryHandle readonly_shm_; [all …]
|
D | shared_memory_handle.h | 37 class BASE_EXPORT SharedMemoryHandle { 40 SharedMemoryHandle(); 44 SharedMemoryHandle(const SharedMemoryHandle& handle); 48 SharedMemoryHandle& operator=(const SharedMemoryHandle& handle); 69 SharedMemoryHandle Duplicate() const; 88 SharedMemoryHandle(HANDLE h, size_t size, const base::UnguessableToken& guid); 99 SharedMemoryHandle(zx_handle_t h, 115 SharedMemoryHandle(mach_vm_size_t size, const base::UnguessableToken& guid); 121 SharedMemoryHandle(mach_port_t memory_object, 139 static SharedMemoryHandle ImportHandle(int fd, size_t size); [all …]
|
D | shared_memory_handle.cc | 9 SharedMemoryHandle::SharedMemoryHandle(const SharedMemoryHandle& handle) = 12 SharedMemoryHandle& SharedMemoryHandle::operator=( 13 const SharedMemoryHandle& handle) = default; 15 base::UnguessableToken SharedMemoryHandle::GetGUID() const { in GetGUID() 19 size_t SharedMemoryHandle::GetSize() const { in GetSize()
|
D | shared_memory_posix.cc | 44 SharedMemory::SharedMemory(const SharedMemoryHandle& handle, bool read_only) in SharedMemory() 53 bool SharedMemory::IsHandleValid(const SharedMemoryHandle& handle) { in IsHandleValid() 58 void SharedMemory::CloseHandle(const SharedMemoryHandle& handle) { in CloseHandle() 69 SharedMemoryHandle SharedMemory::DuplicateHandle( in DuplicateHandle() 70 const SharedMemoryHandle& handle) { in DuplicateHandle() 76 const SharedMemoryHandle& handle) { in GetFdFromSharedMemoryHandle() 199 shm_ = SharedMemoryHandle(FileDescriptor(mapped_file, false), options.size, in Create() 202 SharedMemoryHandle(FileDescriptor(readonly_mapped_file, false), in Create() 250 shm_ = SharedMemoryHandle(FileDescriptor(mapped_file, false), 0u, in Open() 252 readonly_shm_ = SharedMemoryHandle( in Open() [all …]
|
D | shared_memory_android.cc | 30 shm_ = SharedMemoryHandle::ImportHandle(fd, options.size); in Create() 63 shm_ = SharedMemoryHandle(); in Close() 67 SharedMemoryHandle SharedMemory::GetReadOnlyHandle() const { in GetReadOnlyHandle() 70 SharedMemoryHandle handle = shm_.Duplicate(); in GetReadOnlyHandle()
|
D | shared_memory_unittest.cc | 372 options.type = SharedMemoryHandle::POSIX; in TEST_P() 379 SharedMemoryHandle readonly_handle = writable_shmem.GetReadOnlyHandle(); in TEST_P() 412 SharedMemoryHandle handle = readonly_shmem.handle(); in TEST_P() 480 SharedMemoryHandle shared_handle = shmem.handle().Duplicate(); in TEST_P() 512 SharedMemoryHandle shared_handle = shmem.handle().Duplicate(); in TEST_P() 608 options.type = SharedMemoryHandle::POSIX; in TEST_P() 670 options.type = SharedMemoryHandle::POSIX; in TEST_P() 696 options.type = SharedMemoryHandle::POSIX; in TEST_P() 751 SharedMemoryHandle(section_handle.Take(), 1, UnguessableToken::Create()), in TEST_P() 767 SharedMemoryHandle(handle_no_query, options.size, in TEST_P() [all …]
|
/external/libchrome/ipc/ |
D | ipc_test_messages.h | 17 IPC_MESSAGE_CONTROL1(TestSharedMemoryHandleMsg1, base::SharedMemoryHandle) 26 base::SharedMemoryHandle, 29 base::SharedMemoryHandle, 30 base::SharedMemoryHandle) 33 base::SharedMemoryHandle, 35 base::SharedMemoryHandle)
|
D | ipc_message_utils_unittest.cc | 144 TEST(IPCMessageUtilsTest, SharedMemoryHandle) { in TEST() argument 150 base::SharedMemoryHandle pre_pickle = shmem.handle().Duplicate(); in TEST() 156 base::SharedMemoryHandle post_pickle; in TEST()
|
D | ipc_message_utils.cc | 646 void ParamTraits<base::SharedMemoryHandle>::Write(base::Pickle* m, in Write() 700 bool ParamTraits<base::SharedMemoryHandle>::Read(const base::Pickle* m, in Read() 703 *r = base::SharedMemoryHandle(); in Read() 747 *r = base::SharedMemoryHandle(handle_win.get_handle(), in Read() 750 *r = base::SharedMemoryHandle(handle_fuchsia.get_handle(), in Read() 753 *r = base::SharedMemoryHandle(mach_port_mac.get_mach_port(), in Read() 756 *r = base::SharedMemoryHandle( in Read() 772 void ParamTraits<base::SharedMemoryHandle>::Log(const param_type& p, in Log()
|
/external/libchrome/base/metrics/ |
D | field_trial.cc | 235 SharedMemoryHandle GetSharedMemoryReadOnlyHandle(SharedMemory* shared_memory) { in GetSharedMemoryReadOnlyHandle() 236 SharedMemoryHandle result = shared_memory->GetReadOnlyHandle(); in GetSharedMemoryReadOnlyHandle() 892 SharedMemoryHandle FieldTrialList::GetFieldTrialHandle() { in GetFieldTrialHandle() 898 return SharedMemoryHandle(); in GetFieldTrialHandle() 1203 const SharedMemoryHandle& shm) { in SerializeSharedMemoryHandleMetadata() 1224 SharedMemoryHandle FieldTrialList::DeserializeSharedMemoryHandleMetadata( in DeserializeSharedMemoryHandleMetadata() 1230 return SharedMemoryHandle(); in DeserializeSharedMemoryHandleMetadata() 1234 return SharedMemoryHandle(); in DeserializeSharedMemoryHandleMetadata() 1252 return SharedMemoryHandle(); in DeserializeSharedMemoryHandleMetadata() 1256 return SharedMemoryHandle(); in DeserializeSharedMemoryHandleMetadata() [all …]
|
D | field_trial.h | 593 static base::SharedMemoryHandle GetFieldTrialHandle(); 690 const SharedMemoryHandle& shm); 692 static SharedMemoryHandle DeserializeSharedMemoryHandleMetadata( 695 static SharedMemoryHandle DeserializeSharedMemoryHandleMetadata( 717 static bool CreateTrialsFromSharedMemoryHandle(SharedMemoryHandle shm_handle); 792 base::SharedMemoryHandle readonly_allocator_handle_;
|
D | field_trial_unittest.cc | 1232 SharedMemoryHandle handle; in TEST() 1260 SharedMemoryHandle handle; in TEST() 1340 SharedMemoryHandle handle; in TEST() 1437 SharedMemoryHandle deserialized = in TEST() 1443 SharedMemoryHandle deserialized = in TEST() 1465 SharedMemoryHandle handle = FieldTrialList::GetFieldTrialHandle(); in TEST()
|
D | persistent_histogram_allocator.h | 436 static void CreateWithSharedMemoryHandle(const SharedMemoryHandle& handle,
|
/external/libchrome/mojo/core/ |
D | platform_wrapper_unittest.cc | 124 base::SharedMemoryHandle memory_handle = in TEST_F() 187 base::SharedMemoryHandle memory_handle( in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 191 base::SharedMemoryHandle memory_handle( in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 195 base::SharedMemoryHandle memory_handle( in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 199 base::SharedMemoryHandle memory_handle( in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
|
/external/libchrome/libchrome_tools/patch/ |
D | shared_memory_handle.patch | 5 @@ -146,7 +146,7 @@ class BASE_EXPORT SharedMemoryHandle { 14 @@ -218,7 +218,7 @@ class BASE_EXPORT SharedMemoryHandle {
|
D | shared_memory_posix.patch | 74 @@ -334,7 +339,7 @@ SharedMemoryHandle SharedMemory::TakeHandle() { 83 @@ -374,6 +379,6 @@ SharedMemoryHandle SharedMemory::GetReadOnlyHandle() const {
|
/external/libchrome/mojo/public/cpp/system/ |
D | platform_handle.cc | 238 const base::SharedMemoryHandle& memory_handle, in WrapSharedMemoryHandle() 285 base::SharedMemoryHandle* memory_handle, in UnwrapSharedMemoryHandle() 321 *memory_handle = base::SharedMemoryHandle( in UnwrapSharedMemoryHandle() 326 *memory_handle = base::SharedMemoryHandle( in UnwrapSharedMemoryHandle() 331 *memory_handle = base::SharedMemoryHandle( in UnwrapSharedMemoryHandle() 352 *memory_handle = base::SharedMemoryHandle( in UnwrapSharedMemoryHandle()
|
D | platform_handle.h | 125 const base::SharedMemoryHandle& memory_handle, 147 base::SharedMemoryHandle* memory_handle,
|
/external/libchrome/base/test/ |
D | test_shared_memory_util.cc | 121 bool CheckReadOnlySharedMemoryHandleForTesting(SharedMemoryHandle handle) { in CheckReadOnlySharedMemoryHandleForTesting() 124 if (handle.type_ == SharedMemoryHandle::POSIX) in CheckReadOnlySharedMemoryHandleForTesting()
|
D | test_shared_memory_util.h | 20 bool CheckReadOnlySharedMemoryHandleForTesting(SharedMemoryHandle handle);
|
/external/libchrome/base/debug/ |
D | activity_analyzer.h | 158 const SharedMemoryHandle& handle,
|
D | activity_analyzer_unittest.cc | 220 SharedMemoryHandle handle1; in TEST_F() 221 SharedMemoryHandle handle2; in TEST_F()
|
D | activity_analyzer.cc | 152 const SharedMemoryHandle& handle, in CreateWithSharedMemoryHandle()
|