Home
last modified time | relevance | path

Searched refs:kReadOnly (Results 1 – 25 of 41) sorted by relevance

12

/external/libchrome/base/memory/
Dplatform_shared_memory_region_posix.cc89 case Mode::kReadOnly: in Take()
146 mode_ = Mode::kReadOnly; in ConvertToReadOnly()
174 bool write_allowed = mode_ != Mode::kReadOnly; in MapAt()
203 CHECK_NE(mode, Mode::kReadOnly) << "Creating a region in read-only mode will " in Create()
282 mode == Mode::kReadOnly ? O_RDONLY : O_RDWR)) { in CheckPlatformHandlePermissionsCorrespondToMode()
307 bool expected_read_only = mode == Mode::kReadOnly; in CheckPlatformHandlePermissionsCorrespondToMode()
Dplatform_shared_memory_region_android.cc98 mode_ = Mode::kReadOnly; in ConvertToReadOnly()
125 bool write_allowed = mode_ != Mode::kReadOnly; in MapAt()
150 CHECK_NE(mode, Mode::kReadOnly) << "Creating a region in read-only mode will " in Create()
183 bool expected_read_only = mode == Mode::kReadOnly; in CheckPlatformHandlePermissionsCorrespondToMode()
Dplatform_shared_memory_region_unittest.cc85 EXPECT_EQ(region.GetMode(), PlatformSharedMemoryRegion::Mode::kReadOnly); in TEST_F()
105 EXPECT_EQ(region.GetMode(), PlatformSharedMemoryRegion::Mode::kReadOnly); in TEST_F()
241 EXPECT_FALSE(check(region, Mode::kReadOnly)); in TEST_F()
245 EXPECT_TRUE(check(region, Mode::kReadOnly)); in TEST_F()
254 EXPECT_FALSE(check(region2, Mode::kReadOnly)); in TEST_F()
269 PlatformSharedMemoryRegion::Mode::kReadOnly, kRegionSize), in TEST_F()
Dplatform_shared_memory_region.h88 kReadOnly, // ReadOnlySharedMemoryRegion enumerator
219 Mode mode_ = Mode::kReadOnly;
Dread_only_shared_memory_region.cc93 subtle::PlatformSharedMemoryRegion::Mode::kReadOnly); in ReadOnlySharedMemoryRegion()
/external/libchrome/mojo/core/
Dplatform_shared_memory_mapping.cc42 base::subtle::PlatformSharedMemoryRegion::Mode::kReadOnly in PlatformSharedMemoryMapping()
43 ? Type::kReadOnly in PlatformSharedMemoryMapping()
54 if (type_ == Type::kReadOnly) { in PlatformSharedMemoryMapping()
Dshared_buffer_dispatcher.cc167 mode = base::subtle::PlatformSharedMemoryRegion::Mode::kReadOnly; in Deserialize()
243 base::subtle::PlatformSharedMemoryRegion::Mode::kReadOnly); in DuplicateBufferHandle()
249 base::subtle::PlatformSharedMemoryRegion::Mode::kReadOnly) { in DuplicateBufferHandle()
332 case base::subtle::PlatformSharedMemoryRegion::Mode::kReadOnly: in EndSerialize()
Dplatform_shared_memory_mapping.h33 kReadOnly, enumerator
Dshared_buffer_unittest.cc250 base::subtle::PlatformSharedMemoryRegion::Mode::kReadOnly); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
312 base::subtle::PlatformSharedMemoryRegion::Mode::kReadOnly); in TEST_F()
/external/libbrillo/brillo/dbus/
Dexported_property_set.h60 kReadOnly, enumerator
94 Access access_mode_{Access::kReadOnly};
200 if (GetAccessMode() == ExportedPropertyBase::Access::kReadOnly) { in SetValue()
/external/skqp/include/gpu/
DGrSurface.h72 bool readOnly() const { return fSurfaceFlags & GrInternalSurfaceFlags::kReadOnly; } in readOnly()
91 fSurfaceFlags |= GrInternalSurfaceFlags::kReadOnly; in setReadOnly()
/external/skia/src/gpu/
DGrTextureProxy.cpp38 fSurfaceFlags |= GrInternalSurfaceFlags::kReadOnly; in GrTextureProxy()
64 fSurfaceFlags |= GrInternalSurfaceFlags::kReadOnly; in GrTextureProxy()
84 fSurfaceFlags |= GrInternalSurfaceFlags::kReadOnly; in GrTextureProxy()
DGrSurface.h78 bool readOnly() const { return fSurfaceFlags & GrInternalSurfaceFlags::kReadOnly; } in readOnly()
114 fSurfaceFlags |= GrInternalSurfaceFlags::kReadOnly; in setReadOnly()
DGrTextureRenderTargetProxy.cpp191 SkASSERT(!(proxyFlags & GrInternalSurfaceFlags::kReadOnly)); in onValidateSurface()
192 SkASSERT(!(surfaceFlags & GrInternalSurfaceFlags::kReadOnly)); in onValidateSurface()
DGrAHardwareBufferImageGenerator.cpp188 GrInternalSurfaceFlags::kReadOnly, SkBackingFit::kExact, SkBudgeted::kNo, in makeView()
/external/skia/src/gpu/dawn/
DGrDawnBuffer.cpp39 fMappable = Mappable::kReadOnly; in GrDawnBuffer()
44 if (fMappable == Mappable::kNot || fMappable == Mappable::kReadOnly) { in GrDawnBuffer()
DGrDawnBuffer.h41 kReadOnly, enumerator
/external/pigweed/pw_kvs/
Dflash_memory.cc69 if (permission_ == PartitionPermission::kReadOnly) { in Erase()
87 if (permission_ == PartitionPermission::kReadOnly) { in Write()
/external/skqp/src/gpu/
DGrTextureRenderTargetProxy.cpp133 SkASSERT(!(proxyFlags & GrInternalSurfaceFlags::kReadOnly)); in onValidateSurface()
134 SkASSERT(!(surfaceFlags & GrInternalSurfaceFlags::kReadOnly)); in onValidateSurface()
DGrBackendTextureImageGenerator.cpp185 format, desc, fSurfaceOrigin, mipMapped, GrInternalSurfaceFlags::kReadOnly, in onGenerateTexture()
/external/libchrome/base/test/
Dtest_shared_memory_util.cc139 if (region.GetMode() != subtle::PlatformSharedMemoryRegion::Mode::kReadOnly) { in CheckReadOnlyPlatformSharedMemoryRegionForTesting()
142 subtle::PlatformSharedMemoryRegion::Mode::kReadOnly) in CheckReadOnlyPlatformSharedMemoryRegionForTesting()
/external/pdfium/constants/
Dannotation_flags.h18 constexpr uint32_t kReadOnly = 1 << 6; variable
Dform_flags.h13 constexpr uint32_t kReadOnly = 1 << 0; variable
/external/libchrome/mojo/public/cpp/system/
Dplatform_handle.cc43 case base::subtle::PlatformSharedMemoryRegion::Mode::kReadOnly: in WrapPlatformSharedMemoryRegion()
163 mode = base::subtle::PlatformSharedMemoryRegion::Mode::kReadOnly; in UnwrapPlatformSharedMemoryRegion()
256 if (protection == UnwrappedSharedMemoryHandleProtection::kReadOnly) { in WrapSharedMemoryHandle()
312 ? UnwrappedSharedMemoryHandleProtection::kReadOnly in UnwrapSharedMemoryHandle()
Dplatform_handle.h76 kReadOnly, enumerator

12