Home
last modified time | relevance | path

Searched refs:kWritable (Results 1 – 14 of 14) sorted by relevance

/external/libchrome/base/memory/
Dplatform_shared_memory_region_posix.cc97 case Mode::kWritable: in Take()
118 (mode_ == Mode::kWritable ? handle_.readonly_fd.is_valid() : true); in IsValid()
125 CHECK_NE(mode_, Mode::kWritable) in Duplicate()
142 CHECK_EQ(mode_, Mode::kWritable) in ConvertToReadOnly()
154 CHECK_EQ(mode_, Mode::kWritable) in ConvertToUnsafe()
240 if (mode == Mode::kWritable) { in Create()
286 if (mode == Mode::kWritable) in CheckPlatformHandlePermissionsCorrespondToMode()
Dplatform_shared_memory_region_mac.cc54 CHECK_NE(mode_, Mode::kWritable) in Duplicate()
77 CHECK_EQ(mode_, Mode::kWritable) in ConvertToReadOnly()
120 CHECK_EQ(mode_, Mode::kWritable) in ConvertToUnsafe()
Dplatform_shared_memory_region_unittest.cc83 EXPECT_EQ(region.GetMode(), PlatformSharedMemoryRegion::Mode::kWritable); in TEST_F()
93 EXPECT_EQ(region.GetMode(), PlatformSharedMemoryRegion::Mode::kWritable); in TEST_F()
240 EXPECT_TRUE(check(region, Mode::kWritable)); in TEST_F()
246 EXPECT_FALSE(check(region, Mode::kWritable)); in TEST_F()
Dplatform_shared_memory_region.cc15 return Create(Mode::kWritable, size); in CreateWritable()
Dwritable_shared_memory_region.cc89 subtle::PlatformSharedMemoryRegion::Mode::kWritable); in WritableSharedMemoryRegion()
Dplatform_shared_memory_region.h89 kWritable, // WritableSharedMemoryRegion enumerator
/external/libchrome/mojo/core/
Dshared_buffer_dispatcher.cc170 mode = base::subtle::PlatformSharedMemoryRegion::Mode::kWritable; in Deserialize()
235 base::subtle::PlatformSharedMemoryRegion::Mode::kWritable) { in DuplicateBufferHandle()
252 base::subtle::PlatformSharedMemoryRegion::Mode::kWritable) { in DuplicateBufferHandle()
318 base::subtle::PlatformSharedMemoryRegion::Mode::kWritable) { in StartSerialize()
336 case base::subtle::PlatformSharedMemoryRegion::Mode::kWritable: in EndSerialize()
358 base::subtle::PlatformSharedMemoryRegion::Mode::kWritable) { in EndSerialize()
Dplatform_shared_memory_mapping.cc44 : Type::kWritable), in PlatformSharedMemoryMapping()
75 base::subtle::PlatformSharedMemoryRegion::Mode::kWritable); in PlatformSharedMemoryMapping()
Dplatform_shared_memory_mapping.h34 kWritable, enumerator
Dbroker_posix.cc138 base::subtle::PlatformSharedMemoryRegion::Mode::kWritable, in GetWritableSharedMemoryRegion()
Dbroker_win.cc152 base::subtle::PlatformSharedMemoryRegion::Mode::kWritable, in GetWritableSharedMemoryRegion()
Dcore.cc1078 mode = base::subtle::PlatformSharedMemoryRegion::Mode::kWritable; in WrapPlatformSharedMemoryRegion()
1151 case base::subtle::PlatformSharedMemoryRegion::Mode::kWritable: in UnwrapPlatformSharedMemoryRegion()
1173 base::subtle::PlatformSharedMemoryRegion::Mode::kWritable) { in UnwrapPlatformSharedMemoryRegion()
/external/libchrome/mojo/public/cpp/system/
Dplatform_handle.cc46 case base::subtle::PlatformSharedMemoryRegion::Mode::kWritable: in WrapPlatformSharedMemoryRegion()
79 base::subtle::PlatformSharedMemoryRegion::Mode::kWritable) { in WrapPlatformSharedMemoryRegion()
166 mode = base::subtle::PlatformSharedMemoryRegion::Mode::kWritable; in UnwrapPlatformSharedMemoryRegion()
/external/libchrome/ipc/
Dipc_message_utils.cc912 base::subtle::PlatformSharedMemoryRegion::Mode::kWritable) { in Write()
977 if (mode == base::subtle::PlatformSharedMemoryRegion::Mode::kWritable) { in Read()