Home
last modified time | relevance | path

Searched refs:WritableSharedMemoryRegion (Results 1 – 24 of 24) sorted by relevance

/external/libchrome/base/memory/
Dwritable_shared_memory_region.cc15 WritableSharedMemoryRegion WritableSharedMemoryRegion::Create(size_t size) { in Create()
19 return WritableSharedMemoryRegion(std::move(handle)); in Create()
23 WritableSharedMemoryRegion WritableSharedMemoryRegion::Deserialize( in Deserialize()
25 return WritableSharedMemoryRegion(std::move(handle)); in Deserialize()
30 WritableSharedMemoryRegion::TakeHandleForSerialization( in TakeHandleForSerialization()
31 WritableSharedMemoryRegion region) { in TakeHandleForSerialization()
36 ReadOnlySharedMemoryRegion WritableSharedMemoryRegion::ConvertToReadOnly( in ConvertToReadOnly()
37 WritableSharedMemoryRegion region) { in ConvertToReadOnly()
45 UnsafeSharedMemoryRegion WritableSharedMemoryRegion::ConvertToUnsafe( in ConvertToUnsafe()
46 WritableSharedMemoryRegion region) { in ConvertToUnsafe()
[all …]
Dwritable_shared_memory_region.h25 class BASE_EXPORT WritableSharedMemoryRegion {
31 static WritableSharedMemoryRegion Create(size_t size);
39 static WritableSharedMemoryRegion Deserialize(
47 WritableSharedMemoryRegion region);
52 WritableSharedMemoryRegion region);
57 WritableSharedMemoryRegion region);
60 WritableSharedMemoryRegion();
63 WritableSharedMemoryRegion(WritableSharedMemoryRegion&&);
64 WritableSharedMemoryRegion& operator=(WritableSharedMemoryRegion&&);
68 ~WritableSharedMemoryRegion();
[all …]
Dshared_memory_region_unittest.cc48 typedef ::testing::Types<WritableSharedMemoryRegion,
232 WritableSharedMemoryRegion region = in GetConvertedToReadOnlyRegion()
233 WritableSharedMemoryRegion::Create(kRegionSize); in GetConvertedToReadOnlyRegion()
235 WritableSharedMemoryRegion::ConvertToReadOnly(std::move(region)); in GetConvertedToReadOnlyRegion()
Dshared_memory_mapping.h132 friend class WritableSharedMemoryRegion; variable
/external/libchrome/mojo/public/cpp/base/
Dshared_memory_mojom_traits.cc76 base::WritableSharedMemoryRegion>::
77 IsNull(const base::WritableSharedMemoryRegion& region) { in IsNull()
83 base::WritableSharedMemoryRegion>::
84 SetToNull(base::WritableSharedMemoryRegion* region) { in SetToNull()
85 *region = base::WritableSharedMemoryRegion(); in SetToNull()
91 base::WritableSharedMemoryRegion>::buffer(base::WritableSharedMemoryRegion& in buffer()
98 base::WritableSharedMemoryRegion>::
100 base::WritableSharedMemoryRegion* out) { in Read()
Dshared_memory_mojom_traits.h45 base::WritableSharedMemoryRegion> { in COMPONENT_EXPORT()
46 static bool IsNull(const base::WritableSharedMemoryRegion& region); in COMPONENT_EXPORT()
47 static void SetToNull(base::WritableSharedMemoryRegion* region); in COMPONENT_EXPORT()
49 base::WritableSharedMemoryRegion& in_region); in COMPONENT_EXPORT()
51 base::WritableSharedMemoryRegion* out); in COMPONENT_EXPORT()
Dshared_memory_unittest.cc26 auto region = base::WritableSharedMemoryRegion::Create(64); in TEST()
31 base::WritableSharedMemoryRegion writable_out; in TEST()
33 mojo_base::mojom::WritableSharedMemoryRegion>(&region, in TEST()
Dshared_memory.typemap23 …"mojo_base.mojom.WritableSharedMemoryRegion=base::WritableSharedMemoryRegion[move_only,nullable_is…
/external/libchrome/mojo/core/
Dbroker_posix.cc94 base::WritableSharedMemoryRegion Broker::GetWritableSharedMemoryRegion( in GetWritableSharedMemoryRegion()
107 return base::WritableSharedMemoryRegion(); in GetWritableSharedMemoryRegion()
111 return base::WritableSharedMemoryRegion(); in GetWritableSharedMemoryRegion()
130 return base::WritableSharedMemoryRegion(); in GetWritableSharedMemoryRegion()
134 return base::WritableSharedMemoryRegion::Deserialize( in GetWritableSharedMemoryRegion()
144 return base::WritableSharedMemoryRegion(); in GetWritableSharedMemoryRegion()
Dbroker_win.cc123 base::WritableSharedMemoryRegion Broker::GetWritableSharedMemoryRegion( in GetWritableSharedMemoryRegion()
138 return base::WritableSharedMemoryRegion(); in GetWritableSharedMemoryRegion()
147 return base::WritableSharedMemoryRegion(); in GetWritableSharedMemoryRegion()
148 return base::WritableSharedMemoryRegion::Deserialize( in GetWritableSharedMemoryRegion()
158 return base::WritableSharedMemoryRegion(); in GetWritableSharedMemoryRegion()
Dshared_buffer_dispatcher.cc91 base::WritableSharedMemoryRegion writable_region; in Create()
96 writable_region = base::WritableSharedMemoryRegion::Create( in Create()
103 base::WritableSharedMemoryRegion::TakeHandleForSerialization( in Create()
237 base::WritableSharedMemoryRegion::ConvertToReadOnly( in DuplicateBufferHandle()
238 base::WritableSharedMemoryRegion::Deserialize( in DuplicateBufferHandle()
Dplatform_shared_memory_mapping.cc77 base::WritableSharedMemoryRegion::Deserialize(std::move(*region)); in PlatformSharedMemoryMapping()
82 *region = base::WritableSharedMemoryRegion::TakeHandleForSerialization( in PlatformSharedMemoryMapping()
Dshared_buffer_dispatcher_unittest.cc144 base::WritableSharedMemoryRegion region = in TEST_F()
145 base::WritableSharedMemoryRegion::Create(100); in TEST_F()
150 base::WritableSharedMemoryRegion::TakeHandleForSerialization( in TEST_F()
Dbroker.h33 base::WritableSharedMemoryRegion GetWritableSharedMemoryRegion(
Dnode_controller.h117 base::WritableSharedMemoryRegion CreateSharedBuffer(size_t num_bytes);
Dnode_controller.cc293 base::WritableSharedMemoryRegion NodeController::CreateSharedBuffer( in CreateSharedBuffer()
301 return base::WritableSharedMemoryRegion::Create(num_bytes); in CreateSharedBuffer()
Dcore.cc675 base::WritableSharedMemoryRegion::TakeHandleForSerialization( in CreateDataPipe()
/external/libchrome/mojo/public/cpp/system/
Dplatform_handle.h162 WrapWritableSharedMemoryRegion(base::WritableSharedMemoryRegion region);
170 MOJO_CPP_SYSTEM_EXPORT base::WritableSharedMemoryRegion
Dplatform_handle.cc374 base::WritableSharedMemoryRegion region) { in WrapWritableSharedMemoryRegion()
376 base::WritableSharedMemoryRegion::TakeHandleForSerialization( in WrapWritableSharedMemoryRegion()
392 base::WritableSharedMemoryRegion UnwrapWritableSharedMemoryRegion( in UnwrapWritableSharedMemoryRegion()
394 return base::WritableSharedMemoryRegion::Deserialize( in UnwrapWritableSharedMemoryRegion()
/external/libchrome/mojo/public/mojom/base/
Dshared_memory.mojom16 struct WritableSharedMemoryRegion {
/external/libchrome/ipc/
Dipc_message_utils.cc822 void ParamTraits<base::WritableSharedMemoryRegion>::Write(base::Pickle* m, in Write()
825 base::WritableSharedMemoryRegion::TakeHandleForSerialization( in Write()
830 bool ParamTraits<base::WritableSharedMemoryRegion>::Read( in Read()
838 *r = base::WritableSharedMemoryRegion::Deserialize(std::move(handle)); in Read()
842 void ParamTraits<base::WritableSharedMemoryRegion>::Log(const param_type& p, in Log()
Dipc_message_utils_unittest.cc166 typedef ::testing::Types<base::WritableSharedMemoryRegion,
Dipc_message_utils.h590 struct COMPONENT_EXPORT(IPC) ParamTraits<base::WritableSharedMemoryRegion> {
591 typedef base::WritableSharedMemoryRegion param_type;
Dipc_channel_mojo_unittest.cc1523 using RegionType = base::WritableSharedMemoryRegion;
1606 ListenerThatExpectsSharedMemoryRegion<base::WritableSharedMemoryRegion> in DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT()