/external/libchrome/base/memory/ |
D | unsafe_shared_memory_region.cc | 14 UnsafeSharedMemoryRegion UnsafeSharedMemoryRegion::Create(size_t size) { in Create() 18 return UnsafeSharedMemoryRegion(std::move(handle)); in Create() 22 UnsafeSharedMemoryRegion UnsafeSharedMemoryRegion::Deserialize( in Deserialize() 24 return UnsafeSharedMemoryRegion(std::move(handle)); in Deserialize() 29 UnsafeSharedMemoryRegion::TakeHandleForSerialization( in TakeHandleForSerialization() 30 UnsafeSharedMemoryRegion region) { in TakeHandleForSerialization() 34 UnsafeSharedMemoryRegion::UnsafeSharedMemoryRegion() = default; 35 UnsafeSharedMemoryRegion::UnsafeSharedMemoryRegion( 36 UnsafeSharedMemoryRegion&& region) = default; 37 UnsafeSharedMemoryRegion& UnsafeSharedMemoryRegion::operator=( [all …]
|
D | unsafe_shared_memory_region.h | 29 class BASE_EXPORT UnsafeSharedMemoryRegion { 34 static UnsafeSharedMemoryRegion Create(size_t size); 42 static UnsafeSharedMemoryRegion Deserialize( 50 UnsafeSharedMemoryRegion region); 53 UnsafeSharedMemoryRegion(); 56 UnsafeSharedMemoryRegion(UnsafeSharedMemoryRegion&&); 57 UnsafeSharedMemoryRegion& operator=(UnsafeSharedMemoryRegion&&); 61 ~UnsafeSharedMemoryRegion(); 67 UnsafeSharedMemoryRegion Duplicate() const; 102 explicit UnsafeSharedMemoryRegion(subtle::PlatformSharedMemoryRegion handle); [all …]
|
D | writable_shared_memory_region.cc | 45 UnsafeSharedMemoryRegion WritableSharedMemoryRegion::ConvertToUnsafe( in ConvertToUnsafe() 51 return UnsafeSharedMemoryRegion::Deserialize(std::move(handle)); in ConvertToUnsafe()
|
D | writable_shared_memory_region.h | 56 static UnsafeSharedMemoryRegion ConvertToUnsafe(
|
D | shared_memory_region_unittest.cc | 49 UnsafeSharedMemoryRegion, 208 typedef ::testing::Types<UnsafeSharedMemoryRegion, ReadOnlySharedMemoryRegion>
|
D | shared_memory_mapping.h | 133 friend class UnsafeSharedMemoryRegion; variable
|
/external/libchrome/mojo/public/cpp/base/ |
D | shared_memory_mojom_traits.cc | 45 base::UnsafeSharedMemoryRegion>:: 46 IsNull(const base::UnsafeSharedMemoryRegion& region) { in IsNull() 52 base::UnsafeSharedMemoryRegion>:: 53 SetToNull(base::UnsafeSharedMemoryRegion* region) { in SetToNull() 54 *region = base::UnsafeSharedMemoryRegion(); in SetToNull() 60 base::UnsafeSharedMemoryRegion>::buffer(base::UnsafeSharedMemoryRegion& in buffer() 67 base::UnsafeSharedMemoryRegion>:: 69 base::UnsafeSharedMemoryRegion* out) { in Read()
|
D | shared_memory_mojom_traits.h | 33 base::UnsafeSharedMemoryRegion> { in COMPONENT_EXPORT() 34 static bool IsNull(const base::UnsafeSharedMemoryRegion& region); in COMPONENT_EXPORT() 35 static void SetToNull(base::UnsafeSharedMemoryRegion* region); in COMPONENT_EXPORT() 37 base::UnsafeSharedMemoryRegion& in_region); in COMPONENT_EXPORT() 39 base::UnsafeSharedMemoryRegion* out); in COMPONENT_EXPORT()
|
D | shared_memory_unittest.cc | 41 auto region = base::UnsafeSharedMemoryRegion::Create(64); in TEST() 46 base::UnsafeSharedMemoryRegion unsafe_out; in TEST() 49 mojo_base::mojom::UnsafeSharedMemoryRegion>(®ion, &unsafe_out)); in TEST()
|
D | shared_memory.typemap | 22 …"mojo_base.mojom.UnsafeSharedMemoryRegion=base::UnsafeSharedMemoryRegion[move_only,nullable_is_sam…
|
/external/libchrome/mojo/core/ |
D | data_pipe_producer_dispatcher.h | 37 base::UnsafeSharedMemoryRegion shared_ring_buffer, 78 base::UnsafeSharedMemoryRegion shared_ring_buffer, 100 base::UnsafeSharedMemoryRegion shared_ring_buffer_;
|
D | data_pipe_consumer_dispatcher.h | 37 base::UnsafeSharedMemoryRegion shared_ring_buffer, 79 base::UnsafeSharedMemoryRegion shared_ring_buffer, 101 base::UnsafeSharedMemoryRegion shared_ring_buffer_;
|
D | data_pipe_producer_dispatcher.cc | 75 base::UnsafeSharedMemoryRegion shared_ring_buffer, in Create() 274 base::UnsafeSharedMemoryRegion::TakeHandleForSerialization( in EndSerialize() 353 base::UnsafeSharedMemoryRegion::Deserialize(std::move(region)); in Deserialize() 380 base::UnsafeSharedMemoryRegion shared_ring_buffer, in DataPipeProducerDispatcher() 405 shared_ring_buffer_ = base::UnsafeSharedMemoryRegion(); in InitializeNoLock() 422 shared_ring_buffer_ = base::UnsafeSharedMemoryRegion(); in CloseNoLock()
|
D | data_pipe_consumer_dispatcher.cc | 76 base::UnsafeSharedMemoryRegion shared_ring_buffer, in Create() 315 base::UnsafeSharedMemoryRegion::TakeHandleForSerialization( in EndSerialize() 392 base::UnsafeSharedMemoryRegion::Deserialize(std::move(region)); in Deserialize() 420 base::UnsafeSharedMemoryRegion shared_ring_buffer, in DataPipeConsumerDispatcher() 444 shared_ring_buffer_ = base::UnsafeSharedMemoryRegion(); in InitializeNoLock() 461 shared_ring_buffer_ = base::UnsafeSharedMemoryRegion(); in CloseNoLock()
|
D | embedder_unittest.cc | 276 auto shared_memory = base::UnsafeSharedMemoryRegion::Create(123); in TEST_F() 334 base::UnsafeSharedMemoryRegion shared_memory; in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 374 auto shared_memory = base::UnsafeSharedMemoryRegion::Create(kShmSize); in TEST_F() 377 base::UnsafeSharedMemoryRegion::TakeHandleForSerialization( in TEST_F()
|
D | platform_shared_memory_mapping.cc | 66 base::UnsafeSharedMemoryRegion::Deserialize(std::move(*region)); in PlatformSharedMemoryMapping() 71 *region = base::UnsafeSharedMemoryRegion::TakeHandleForSerialization( in PlatformSharedMemoryMapping()
|
D | core.cc | 691 base::UnsafeSharedMemoryRegion producer_region = in CreateDataPipe() 692 base::UnsafeSharedMemoryRegion::Deserialize( in CreateDataPipe() 706 base::UnsafeSharedMemoryRegion consumer_region = producer_region.Duplicate(); in CreateDataPipe()
|
/external/libchrome/mojo/public/cpp/platform/tests/ |
D | platform_handle_unittest.cc | 147 auto region = base::UnsafeSharedMemoryRegion::Create(kTestData.size()); in SetUpSharedMemory() 151 base::UnsafeSharedMemoryRegion::TakeHandleForSerialization( in SetUpSharedMemory() 174 base::UnsafeSharedMemoryRegion::Deserialize(std::move(generic_region)); in GetSharedMemoryContents() 180 generic_region = base::UnsafeSharedMemoryRegion::TakeHandleForSerialization( in GetSharedMemoryContents()
|
/external/libchrome/mojo/public/cpp/system/ |
D | platform_handle.h | 159 WrapUnsafeSharedMemoryRegion(base::UnsafeSharedMemoryRegion region); 167 MOJO_CPP_SYSTEM_EXPORT base::UnsafeSharedMemoryRegion
|
D | platform_handle.cc | 367 base::UnsafeSharedMemoryRegion region) { in WrapUnsafeSharedMemoryRegion() 369 base::UnsafeSharedMemoryRegion::TakeHandleForSerialization( in WrapUnsafeSharedMemoryRegion() 386 base::UnsafeSharedMemoryRegion UnwrapUnsafeSharedMemoryRegion( in UnwrapUnsafeSharedMemoryRegion() 388 return base::UnsafeSharedMemoryRegion::Deserialize( in UnwrapUnsafeSharedMemoryRegion()
|
/external/libchrome/mojo/public/mojom/base/ |
D | shared_memory.mojom | 23 struct UnsafeSharedMemoryRegion {
|
/external/libchrome/ipc/ |
D | ipc_message_utils.cc | 849 void ParamTraits<base::UnsafeSharedMemoryRegion>::Write(base::Pickle* m, in Write() 852 base::UnsafeSharedMemoryRegion::TakeHandleForSerialization( in Write() 857 bool ParamTraits<base::UnsafeSharedMemoryRegion>::Read( in Read() 865 *r = base::UnsafeSharedMemoryRegion::Deserialize(std::move(handle)); in Read() 869 void ParamTraits<base::UnsafeSharedMemoryRegion>::Log(const param_type& p, in Log()
|
D | ipc_message_utils_unittest.cc | 167 base::UnsafeSharedMemoryRegion,
|
D | ipc_message_utils.h | 600 struct COMPONENT_EXPORT(IPC) ParamTraits<base::UnsafeSharedMemoryRegion> { 601 typedef base::UnsafeSharedMemoryRegion param_type;
|
D | ipc_channel_mojo_unittest.cc | 1529 using RegionType = base::UnsafeSharedMemoryRegion; 1618 ListenerThatExpectsSharedMemoryRegion<base::UnsafeSharedMemoryRegion> in DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT()
|