/external/libchrome/base/memory/ |
D | platform_shared_memory_region_posix.cc | 89 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()
|
D | platform_shared_memory_region_unittest.cc | 85 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()
|
D | platform_shared_memory_region_mac.cc | 112 mode_ = Mode::kReadOnly; in ConvertToReadOnly() 139 bool write_allowed = mode_ != Mode::kReadOnly; in MapAt() 171 CHECK_NE(mode, Mode::kReadOnly) << "Creating a region in read-only mode will " in Create() 213 bool expected_read_only = mode == Mode::kReadOnly; in CheckPlatformHandlePermissionsCorrespondToMode()
|
D | platform_shared_memory_region.h | 88 kReadOnly, // ReadOnlySharedMemoryRegion enumerator 219 Mode mode_ = Mode::kReadOnly;
|
D | read_only_shared_memory_region.cc | 93 subtle::PlatformSharedMemoryRegion::Mode::kReadOnly); in ReadOnlySharedMemoryRegion()
|
/external/libchrome/mojo/core/ |
D | platform_shared_memory_mapping.cc | 42 base::subtle::PlatformSharedMemoryRegion::Mode::kReadOnly in PlatformSharedMemoryMapping() 43 ? Type::kReadOnly in PlatformSharedMemoryMapping() 54 if (type_ == Type::kReadOnly) { in PlatformSharedMemoryMapping()
|
D | shared_buffer_dispatcher.cc | 167 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()
|
D | platform_shared_memory_mapping.h | 33 kReadOnly, enumerator
|
D | shared_buffer_unittest.cc | 250 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/ |
D | exported_property_set.h | 59 kReadOnly, enumerator 93 Access access_mode_{Access::kReadOnly}; 199 if (GetAccessMode() == ExportedPropertyBase::Access::kReadOnly) { in SetValue()
|
/external/skqp/include/gpu/ |
D | GrSurface.h | 72 bool readOnly() const { return fSurfaceFlags & GrInternalSurfaceFlags::kReadOnly; } in readOnly() 91 fSurfaceFlags |= GrInternalSurfaceFlags::kReadOnly; in setReadOnly()
|
/external/skia/include/gpu/ |
D | GrSurface.h | 86 bool readOnly() const { return fSurfaceFlags & GrInternalSurfaceFlags::kReadOnly; } in readOnly() 105 fSurfaceFlags |= GrInternalSurfaceFlags::kReadOnly; in setReadOnly()
|
/external/libchrome/base/test/ |
D | test_shared_memory_util.cc | 139 if (region.GetMode() != subtle::PlatformSharedMemoryRegion::Mode::kReadOnly) { in CheckReadOnlyPlatformSharedMemoryRegionForTesting() 142 subtle::PlatformSharedMemoryRegion::Mode::kReadOnly) in CheckReadOnlyPlatformSharedMemoryRegionForTesting()
|
/external/skia/src/gpu/ |
D | GrTextureRenderTargetProxy.cpp | 133 SkASSERT(!(proxyFlags & GrInternalSurfaceFlags::kReadOnly)); in onValidateSurface() 134 SkASSERT(!(surfaceFlags & GrInternalSurfaceFlags::kReadOnly)); in onValidateSurface()
|
D | GrAHardwareBufferImageGenerator.cpp | 188 GrInternalSurfaceFlags::kReadOnly, SkBackingFit::kExact, SkBudgeted::kNo); in makeProxy()
|
D | GrBackendTextureImageGenerator.cpp | 184 format, desc, fSurfaceOrigin, mipMapped, GrInternalSurfaceFlags::kReadOnly, in onGenerateTexture()
|
/external/skqp/src/gpu/ |
D | GrTextureRenderTargetProxy.cpp | 133 SkASSERT(!(proxyFlags & GrInternalSurfaceFlags::kReadOnly)); in onValidateSurface() 134 SkASSERT(!(surfaceFlags & GrInternalSurfaceFlags::kReadOnly)); in onValidateSurface()
|
D | GrBackendTextureImageGenerator.cpp | 185 format, desc, fSurfaceOrigin, mipMapped, GrInternalSurfaceFlags::kReadOnly, in onGenerateTexture()
|
D | GrSurfaceProxy.cpp | 78 fSurfaceFlags |= GrInternalSurfaceFlags::kReadOnly; in GrSurfaceProxy()
|
/external/libchrome/mojo/public/cpp/system/ |
D | platform_handle.cc | 43 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()
|
D | platform_handle.h | 76 kReadOnly, enumerator
|
/external/skqp/include/private/ |
D | GrSurfaceProxy.h | 370 bool readOnly() const { return fSurfaceFlags & GrInternalSurfaceFlags::kReadOnly; } in readOnly()
|
D | GrTypesPriv.h | 871 kReadOnly = 1 << 1, enumerator 873 kTextureMask = kReadOnly,
|
/external/skia/include/private/ |
D | GrSurfaceProxy.h | 372 bool readOnly() const { return fSurfaceFlags & GrInternalSurfaceFlags::kReadOnly; } in readOnly()
|
D | GrTypesPriv.h | 781 kReadOnly = 1 << 1, enumerator 783 kTextureMask = kReadOnly,
|