Home
last modified time | relevance | path

Searched refs:WritableSharedMemoryMapping (Results 1 – 20 of 20) sorted by relevance

/external/libchrome/base/memory/
Dshared_memory_mapping.cc105 WritableSharedMemoryMapping::WritableSharedMemoryMapping() = default;
106 WritableSharedMemoryMapping::WritableSharedMemoryMapping(
107 WritableSharedMemoryMapping&&) = default;
108 WritableSharedMemoryMapping& WritableSharedMemoryMapping::operator=(
109 WritableSharedMemoryMapping&&) = default;
110 WritableSharedMemoryMapping::WritableSharedMemoryMapping( in WritableSharedMemoryMapping() function in base::WritableSharedMemoryMapping
Dshared_memory_mapping.h113 class BASE_EXPORT WritableSharedMemoryMapping : public SharedMemoryMapping {
116 WritableSharedMemoryMapping();
119 WritableSharedMemoryMapping(WritableSharedMemoryMapping&&);
120 WritableSharedMemoryMapping& operator=(WritableSharedMemoryMapping&&);
127 friend WritableSharedMemoryMapping MapAtForTesting(
134 WritableSharedMemoryMapping(void* address,
139 DISALLOW_COPY_AND_ASSIGN(WritableSharedMemoryMapping);
Dwritable_shared_memory_region.h27 using MappingType = WritableSharedMemoryMapping;
75 WritableSharedMemoryMapping Map() const;
81 WritableSharedMemoryMapping MapAt(off_t offset, size_t size) const;
Dunsafe_shared_memory_region.h31 using MappingType = WritableSharedMemoryMapping;
74 WritableSharedMemoryMapping Map() const;
80 WritableSharedMemoryMapping MapAt(off_t offset, size_t size) const;
Dunsafe_shared_memory_region.cc45 WritableSharedMemoryMapping UnsafeSharedMemoryRegion::Map() const { in Map()
49 WritableSharedMemoryMapping UnsafeSharedMemoryRegion::MapAt(off_t offset, in MapAt()
59 return WritableSharedMemoryMapping(memory, size, mapped_size, in MapAt()
Dshared_memory_region_unittest.cc45 WritableSharedMemoryMapping rw_mapping_;
105 this->rw_mapping_ = WritableSharedMemoryMapping(); in TYPED_TEST()
110 this->rw_mapping_ = WritableSharedMemoryMapping(); in TYPED_TEST()
161 WritableSharedMemoryMapping rw_mapping; in TYPED_TEST()
170 rw_mapping = WritableSharedMemoryMapping(); in TYPED_TEST()
187 WritableSharedMemoryMapping rw_mapping; in TYPED_TEST()
Dwritable_shared_memory_region.cc61 WritableSharedMemoryMapping WritableSharedMemoryRegion::Map() const { in Map()
65 WritableSharedMemoryMapping WritableSharedMemoryRegion::MapAt( in MapAt()
76 return WritableSharedMemoryMapping(memory, size, mapped_size, in MapAt()
Dplatform_shared_memory_region_unittest.cc31 WritableSharedMemoryMapping mapping = MapForTesting(&region); in TEST_F()
158 WritableSharedMemoryMapping mapping = in TEST_F()
174 WritableSharedMemoryMapping mapping = MapAtForTesting(&region, offset, size); in TEST_F()
210 WritableSharedMemoryMapping ro_mapping = MapForTesting(&region); in TEST_F()
Dref_counted_memory_unittest.cc97 WritableSharedMemoryMapping rw_mapping = std::move(region.mapping); in TEST()
111 WritableSharedMemoryMapping rw_mapping = std::move(region.mapping); in TEST()
Dread_only_shared_memory_region.h110 WritableSharedMemoryMapping mapping;
Dread_only_shared_memory_region.cc26 WritableSharedMemoryMapping mapping(memory_ptr, size, mapped_size, in Create()
/external/libchrome/base/test/
Dtest_shared_memory_util.h31 WritableSharedMemoryMapping MapAtForTesting(
36 WritableSharedMemoryMapping MapForTesting(
40 std::pair<SharedMemoryRegionType, WritableSharedMemoryMapping>
43 WritableSharedMemoryMapping mapping = region.Map(); in CreateMappedRegion()
51 std::pair<ReadOnlySharedMemoryRegion, WritableSharedMemoryMapping>
Dtest_shared_memory_util.cc162 WritableSharedMemoryMapping MapForTesting( in MapForTesting()
167 WritableSharedMemoryMapping MapAtForTesting( in MapAtForTesting()
176 return WritableSharedMemoryMapping(memory, size, mapped_size, in MapAtForTesting()
181 std::pair<ReadOnlySharedMemoryRegion, WritableSharedMemoryMapping>
/external/libchrome/mojo/core/
Dplatform_shared_memory_mapping.cc69 mapping_ = std::make_unique<base::WritableSharedMemoryMapping>( in PlatformSharedMemoryMapping()
80 mapping_ = std::make_unique<base::WritableSharedMemoryMapping>( in PlatformSharedMemoryMapping()
Ddata_pipe_producer_dispatcher.h101 base::WritableSharedMemoryMapping ring_buffer_mapping_;
Ddata_pipe_consumer_dispatcher.h105 base::WritableSharedMemoryMapping ring_buffer_mapping_;
Ddata_pipe_producer_dispatcher.cc421 ring_buffer_mapping_ = base::WritableSharedMemoryMapping(); in CloseNoLock()
Ddata_pipe_consumer_dispatcher.cc460 ring_buffer_mapping_ = base::WritableSharedMemoryMapping(); in CloseNoLock()
/external/libchrome/ipc/
Dipc_message_utils_unittest.cc175 base::WritableSharedMemoryMapping pre_mapping; in TYPED_TEST()
Dipc_channel_mojo_unittest.cc1575 base::WritableSharedMemoryMapping mapping; in TYPED_TEST()