Home
last modified time | relevance | path

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

123

/external/v8/src/heap/
Dsetup-heap-internal.cc141 : AllocationType::kReadOnly); in AllocateMap()
157 AllocateRaw(Map::kSize, AllocationType::kReadOnly); in AllocatePartialMap()
259 AllocateRaw(FixedArray::SizeFor(0), AllocationType::kReadOnly); in CreateInitialMaps()
268 AllocateRaw(WeakFixedArray::SizeFor(0), AllocationType::kReadOnly); in CreateInitialMaps()
278 AllocationType::kReadOnly); in CreateInitialMaps()
289 Allocate(roots.null_map(), AllocationType::kReadOnly); in CreateInitialMaps()
297 Allocate(roots.undefined_map(), AllocationType::kReadOnly); in CreateInitialMaps()
305 Allocate(roots.the_hole_map(), AllocationType::kReadOnly); in CreateInitialMaps()
325 Allocate(roots.enum_cache_map(), AllocationType::kReadOnly); in CreateInitialMaps()
335 if (!AllocateRaw(size, AllocationType::kReadOnly).To(&obj)) return false; in CreateInitialMaps()
[all …]
/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_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_mac.cc112 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()
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.h59 kReadOnly, enumerator
93 Access access_mode_{Access::kReadOnly};
199 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/include/gpu/
DGrSurface.h82 bool readOnly() const { return fSurfaceFlags & GrInternalSurfaceFlags::kReadOnly; } in readOnly()
118 fSurfaceFlags |= GrInternalSurfaceFlags::kReadOnly; in setReadOnly()
/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/skia/src/gpu/
DGrTextureRenderTargetProxy.cpp167 SkASSERT(!(proxyFlags & GrInternalSurfaceFlags::kReadOnly)); in onValidateSurface()
168 SkASSERT(!(surfaceFlags & GrInternalSurfaceFlags::kReadOnly)); in onValidateSurface()
DGrAHardwareBufferImageGenerator.cpp183 GrMipMapsStatus::kNotAllocated, GrInternalSurfaceFlags::kReadOnly, SkBackingFit::kExact, in makeView()
DGrBackendTextureImageGenerator.cpp205 mipMapped, mipMapsStatus, GrInternalSurfaceFlags::kReadOnly, SkBackingFit::kExact, in onGenerateTexture()
DGrSurfaceProxy.h245 bool readOnly() const { return fSurfaceFlags & GrInternalSurfaceFlags::kReadOnly; } in readOnly()
/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
/external/pdfium/constants/
Dannotation_flags.h18 constexpr uint32_t kReadOnly = 1 << 6; variable
Dform_flags.h13 constexpr uint32_t kReadOnly = 1 << 0; variable
/external/v8/src/objects/
Dordered-hash-table.h291 Isolate* isolate, AllocationType allocation = AllocationType::kReadOnly);
320 Isolate* isolate, AllocationType allocation = AllocationType::kReadOnly);
778 Isolate* isolate, AllocationType allocation = AllocationType::kReadOnly);

123