Home
last modified time | relevance | path

Searched refs:ConvertToReadOnly (Results 1 – 9 of 9) sorted by relevance

/external/libchrome/base/memory/
Dplatform_shared_memory_region_unittest.cc35 EXPECT_FALSE(region.ConvertToReadOnly()); in TEST_F()
73 region.ConvertToReadOnly(); in TEST_F()
84 ASSERT_TRUE(region.ConvertToReadOnly()); in TEST_F()
104 EXPECT_TRUE(region.ConvertToReadOnly()); in TEST_F()
186 ASSERT_TRUE(region.ConvertToReadOnly()); in TEST_F()
209 ASSERT_TRUE(region.ConvertToReadOnly()); in TEST_F()
244 ASSERT_TRUE(region.ConvertToReadOnly()); in TEST_F()
298 EXPECT_DEATH_IF_SUPPORTED(region.ConvertToReadOnly(), kErrorRegex); in TEST_F()
313 EXPECT_TRUE(region.ConvertToReadOnly()); in TEST_F()
314 EXPECT_DEATH_IF_SUPPORTED(region.ConvertToReadOnly(), kErrorRegex); in TEST_F()
[all …]
Dplatform_shared_memory_region_mac.cc69 bool PlatformSharedMemoryRegion::ConvertToReadOnly() { in ConvertToReadOnly() function in base::subtle::PlatformSharedMemoryRegion
70 return ConvertToReadOnly(nullptr); in ConvertToReadOnly()
73 bool PlatformSharedMemoryRegion::ConvertToReadOnly(void* mapped_addr) { in ConvertToReadOnly() function in base::subtle::PlatformSharedMemoryRegion
Dwritable_shared_memory_region.cc36 ReadOnlySharedMemoryRegion WritableSharedMemoryRegion::ConvertToReadOnly( in ConvertToReadOnly() function in base::WritableSharedMemoryRegion
39 if (!handle.ConvertToReadOnly()) in ConvertToReadOnly()
Dread_only_shared_memory_region.cc29 handle.ConvertToReadOnly(memory_ptr); in Create()
31 handle.ConvertToReadOnly(); in Create()
Dplatform_shared_memory_region.h167 bool ConvertToReadOnly();
173 bool ConvertToReadOnly(void* mapped_addr);
Dwritable_shared_memory_region.h51 static ReadOnlySharedMemoryRegion ConvertToReadOnly(
Dplatform_shared_memory_region_posix.cc138 bool PlatformSharedMemoryRegion::ConvertToReadOnly() { in ConvertToReadOnly() function in base::subtle::PlatformSharedMemoryRegion
Dshared_memory_region_unittest.cc235 WritableSharedMemoryRegion::ConvertToReadOnly(std::move(region)); in GetConvertedToReadOnlyRegion()
/external/libchrome/mojo/core/
Dshared_buffer_dispatcher.cc237 base::WritableSharedMemoryRegion::ConvertToReadOnly( in DuplicateBufferHandle()