/external/libchrome/base/memory/ |
D | read_only_shared_memory_region.cc | 15 MappedReadOnlyRegion ReadOnlySharedMemoryRegion::Create(size_t size) { in Create() 33 ReadOnlySharedMemoryRegion region(std::move(handle)); in Create() 42 ReadOnlySharedMemoryRegion ReadOnlySharedMemoryRegion::Deserialize( in Deserialize() 44 return ReadOnlySharedMemoryRegion(std::move(handle)); in Deserialize() 49 ReadOnlySharedMemoryRegion::TakeHandleForSerialization( in TakeHandleForSerialization() 50 ReadOnlySharedMemoryRegion region) { in TakeHandleForSerialization() 54 ReadOnlySharedMemoryRegion::ReadOnlySharedMemoryRegion() = default; 55 ReadOnlySharedMemoryRegion::ReadOnlySharedMemoryRegion( 56 ReadOnlySharedMemoryRegion&& region) = default; 57 ReadOnlySharedMemoryRegion& ReadOnlySharedMemoryRegion::operator=( [all …]
|
D | read_only_shared_memory_region.h | 22 class BASE_EXPORT ReadOnlySharedMemoryRegion { 43 static ReadOnlySharedMemoryRegion Deserialize( 51 ReadOnlySharedMemoryRegion region); 54 ReadOnlySharedMemoryRegion(); 57 ReadOnlySharedMemoryRegion(ReadOnlySharedMemoryRegion&&); 58 ReadOnlySharedMemoryRegion& operator=(ReadOnlySharedMemoryRegion&&); 62 ~ReadOnlySharedMemoryRegion(); 68 ReadOnlySharedMemoryRegion Duplicate() const; 99 explicit ReadOnlySharedMemoryRegion( 104 DISALLOW_COPY_AND_ASSIGN(ReadOnlySharedMemoryRegion); [all …]
|
D | shared_memory_region_unittest.cc | 50 ReadOnlySharedMemoryRegion> 208 typedef ::testing::Types<UnsafeSharedMemoryRegion, ReadOnlySharedMemoryRegion> 224 ReadOnlySharedMemoryRegion GetInitiallyReadOnlyRegion(size_t size) { in GetInitiallyReadOnlyRegion() 226 ReadOnlySharedMemoryRegion::Create(size); in GetInitiallyReadOnlyRegion() 227 ReadOnlySharedMemoryRegion region = std::move(mapped_region.region); in GetInitiallyReadOnlyRegion() 231 ReadOnlySharedMemoryRegion GetConvertedToReadOnlyRegion(size_t size) { in GetConvertedToReadOnlyRegion() 234 ReadOnlySharedMemoryRegion ro_region = in GetConvertedToReadOnlyRegion() 242 ReadOnlySharedMemoryRegion region = GetInitiallyReadOnlyRegion(kRegionSize); in TEST_F() 246 ReadOnlySharedMemoryRegion::TakeHandleForSerialization( in TEST_F() 252 ReadOnlySharedMemoryRegion region = GetConvertedToReadOnlyRegion(kRegionSize); in TEST_F() [all …]
|
D | shared_memory_mapping.h | 101 friend class ReadOnlySharedMemoryRegion; 131 friend class ReadOnlySharedMemoryRegion; variable
|
D | writable_shared_memory_region.cc | 36 ReadOnlySharedMemoryRegion WritableSharedMemoryRegion::ConvertToReadOnly( in ConvertToReadOnly() 42 return ReadOnlySharedMemoryRegion::Deserialize(std::move(handle)); in ConvertToReadOnly()
|
D | ref_counted_memory.h | 22 class ReadOnlySharedMemoryRegion; variable 176 const ReadOnlySharedMemoryRegion& region);
|
D | ref_counted_memory_unittest.cc | 95 ReadOnlySharedMemoryRegion::Create(sizeof(kData)); in TEST() 110 ReadOnlySharedMemoryRegion::Create(sizeof(kData)); in TEST()
|
D | writable_shared_memory_region.h | 51 static ReadOnlySharedMemoryRegion ConvertToReadOnly(
|
D | ref_counted_memory.cc | 125 const ReadOnlySharedMemoryRegion& region) { in CreateFromWholeRegion()
|
/external/libchrome/mojo/public/cpp/base/ |
D | shared_memory_mojom_traits.cc | 14 base::ReadOnlySharedMemoryRegion>:: 15 IsNull(const base::ReadOnlySharedMemoryRegion& region) { in IsNull() 21 base::ReadOnlySharedMemoryRegion>:: 22 SetToNull(base::ReadOnlySharedMemoryRegion* region) { in SetToNull() 23 *region = base::ReadOnlySharedMemoryRegion(); in SetToNull() 29 base::ReadOnlySharedMemoryRegion>::buffer(base::ReadOnlySharedMemoryRegion& in buffer() 36 base::ReadOnlySharedMemoryRegion>:: 38 base::ReadOnlySharedMemoryRegion* out) { in Read()
|
D | shared_memory_mojom_traits.h | 21 base::ReadOnlySharedMemoryRegion> { in COMPONENT_EXPORT() 22 static bool IsNull(const base::ReadOnlySharedMemoryRegion& region); in COMPONENT_EXPORT() 23 static void SetToNull(base::ReadOnlySharedMemoryRegion* region); in COMPONENT_EXPORT() 25 base::ReadOnlySharedMemoryRegion& in_region); in COMPONENT_EXPORT() 27 base::ReadOnlySharedMemoryRegion* out); in COMPONENT_EXPORT()
|
D | shared_memory_unittest.cc | 13 auto region = base::ReadOnlySharedMemoryRegion::Create(64); in TEST() 17 base::ReadOnlySharedMemoryRegion read_only_out; in TEST() 19 mojo_base::mojom::ReadOnlySharedMemoryRegion>(®ion.region, in TEST()
|
D | shared_memory.typemap | 21 …"mojo_base.mojom.ReadOnlySharedMemoryRegion=base::ReadOnlySharedMemoryRegion[move_only,nullable_is…
|
/external/libchrome/mojo/public/cpp/system/ |
D | platform_handle.h | 156 WrapReadOnlySharedMemoryRegion(base::ReadOnlySharedMemoryRegion region); 164 MOJO_CPP_SYSTEM_EXPORT base::ReadOnlySharedMemoryRegion
|
D | platform_handle.cc | 360 base::ReadOnlySharedMemoryRegion region) { in WrapReadOnlySharedMemoryRegion() 362 base::ReadOnlySharedMemoryRegion::TakeHandleForSerialization( in WrapReadOnlySharedMemoryRegion() 380 base::ReadOnlySharedMemoryRegion UnwrapReadOnlySharedMemoryRegion( in UnwrapReadOnlySharedMemoryRegion() 382 return base::ReadOnlySharedMemoryRegion::Deserialize( in UnwrapReadOnlySharedMemoryRegion()
|
D | README.md | 166 `base::ReadOnlySharedMemoryRegion`. See
|
/external/libchrome/mojo/public/mojom/base/ |
D | shared_memory.mojom | 9 struct ReadOnlySharedMemoryRegion { 15 // a ReadOnlySharedMemoryRegion for sharing with other clients.
|
/external/libchrome/mojo/core/ |
D | platform_shared_memory_mapping.cc | 56 base::ReadOnlySharedMemoryRegion::Deserialize(std::move(*region)); in PlatformSharedMemoryMapping() 61 *region = base::ReadOnlySharedMemoryRegion::TakeHandleForSerialization( in PlatformSharedMemoryMapping()
|
D | shared_buffer_dispatcher.cc | 236 region_ = base::ReadOnlySharedMemoryRegion::TakeHandleForSerialization( in DuplicateBufferHandle()
|
/external/libchrome/base/test/ |
D | test_shared_memory_util.cc | 181 std::pair<ReadOnlySharedMemoryRegion, WritableSharedMemoryMapping> 183 MappedReadOnlyRegion mapped_region = ReadOnlySharedMemoryRegion::Create(size); in CreateMappedRegion()
|
D | test_shared_memory_util.h | 51 std::pair<ReadOnlySharedMemoryRegion, WritableSharedMemoryMapping>
|
/external/libchrome/ipc/ |
D | ipc_message_utils.cc | 795 void ParamTraits<base::ReadOnlySharedMemoryRegion>::Write(base::Pickle* m, in Write() 798 base::ReadOnlySharedMemoryRegion::TakeHandleForSerialization( in Write() 803 bool ParamTraits<base::ReadOnlySharedMemoryRegion>::Read( in Read() 811 *r = base::ReadOnlySharedMemoryRegion::Deserialize(std::move(handle)); in Read() 815 void ParamTraits<base::ReadOnlySharedMemoryRegion>::Log(const param_type& p, in Log()
|
D | ipc_message_utils_unittest.cc | 168 base::ReadOnlySharedMemoryRegion>
|
D | ipc_message_utils.h | 580 struct COMPONENT_EXPORT(IPC) ParamTraits<base::ReadOnlySharedMemoryRegion> { 581 typedef base::ReadOnlySharedMemoryRegion param_type;
|
D | ipc_channel_mojo_unittest.cc | 1535 using RegionType = base::ReadOnlySharedMemoryRegion; 1630 ListenerThatExpectsSharedMemoryRegion<base::ReadOnlySharedMemoryRegion> in DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT()
|