Home
last modified time | relevance | path

Searched refs:SetPermissions (Results 1 – 24 of 24) sorted by relevance

/external/v8/src/base/
Dbounded-page-allocator.cc43 CHECK(page_allocator_->SetPermissions(reinterpret_cast<void*>(address), size, in AllocatePages()
57 CHECK(page_allocator_->SetPermissions(reinterpret_cast<void*>(address), size, in AllocatePagesAt()
77 CHECK(page_allocator_->SetPermissions(ptr, size, in ReserveForSharedMemoryMapping()
88 CHECK(page_allocator_->SetPermissions(raw_address, size, in FreePages()
122 return page_allocator_->SetPermissions(reinterpret_cast<void*>(free_address), in ReleasePages()
126 bool BoundedPageAllocator::SetPermissions(void* address, size_t size, in SetPermissions() function in v8::base::BoundedPageAllocator
131 return page_allocator_->SetPermissions(address, size, access); in SetPermissions()
Dpage-allocator.cc112 bool success = base::OS::SetPermissions( in AllocateSharedPages()
143 bool PageAllocator::SetPermissions(void* address, size_t size, in SetPermissions() function in v8::base::PageAllocator
145 return base::OS::SetPermissions( in SetPermissions()
Dpage-allocator.h45 bool SetPermissions(void* address, size_t size, in NON_EXPORTED_BASE()
Dbounded-page-allocator.h70 bool SetPermissions(void* address, size_t size, Permission access) override;
/external/v8/src/heap/
Dmemory-allocator.cc110 if (!reservation.SetPermissions(base, reserved_area, in InitializeCodePageAllocator()
302 if (!reservation->SetPermissions(base, size, PageAllocator::kReadWrite)) { in CommitMemory()
311 if (!reservation->SetPermissions(reservation->address(), size, in UncommitMemory()
339 if (reservation.SetPermissions(base, commit_size, in AllocateAlignedMemory()
510 reservation->SetPermissions(chunk->area_end(), page_size, in PartialFreeMemory()
756 if (vm->SetPermissions(start, pre_guard_offset, PageAllocator::kReadWrite)) { in CommitExecutableMemory()
758 if (vm->SetPermissions(pre_guard_page, page_size, in CommitExecutableMemory()
761 if (vm->SetPermissions(code_area, commit_size - pre_guard_offset, in CommitExecutableMemory()
764 if (vm->SetPermissions(post_guard_page, page_size, in CommitExecutableMemory()
769 vm->SetPermissions(code_area, commit_size, PageAllocator::kNoAccess); in CommitExecutableMemory()
[all …]
Dmemory-chunk.cc64 CHECK(reservation_.SetPermissions(protect_start, protect_size, permission)); in DecrementWriteUnprotectCounterAndMaybeSetPermissions()
92 CHECK(reservation_.SetPermissions(unprotect_start, unprotect_size, in SetReadAndWritable()
145 CHECK(chunk->reservation_.SetPermissions( in Initialize()
Dread-only-spaces.cc328 CHECK(SetPermissions(page_allocator, chunk->address(), chunk->size(), in SetPermissionsForPages()
/external/v8/src/utils/
Dallocation.h142 V8_WARN_UNUSED_RESULT bool SetPermissions(v8::PageAllocator* page_allocator,
145 inline bool SetPermissions(v8::PageAllocator* page_allocator, Address address, in SetPermissions() function
147 return SetPermissions(page_allocator, reinterpret_cast<void*>(address), size, in SetPermissions()
229 V8_EXPORT_PRIVATE bool SetPermissions(Address address, size_t size,
Dallocation.cc198 bool SetPermissions(v8::PageAllocator* page_allocator, void* address, in SetPermissions() function
201 return page_allocator->SetPermissions(address, size, access); in SetPermissions()
244 bool VirtualMemory::SetPermissions(Address address, size_t size, in SetPermissions() function in v8::internal::VirtualMemory
248 v8::internal::SetPermissions(page_allocator_, address, size, access); in SetPermissions()
/external/v8/src/sanitizer/
Dlsan-page-allocator.h46 bool SetPermissions(void* address, size_t size, in SetPermissions() function
48 return page_allocator_->SetPermissions(address, size, access); in SetPermissions()
/external/v8/src/heap/cppgc/
Dpage-memory.cc17 CHECK(allocator->SetPermissions(page_memory.writeable_region().base(), in Unprotect()
28 CHECK(allocator->SetPermissions(page_memory.overall_region().base(), in Unprotect()
38 CHECK(allocator->SetPermissions(page_memory.writeable_region().base(), in Protect()
45 CHECK(allocator->SetPermissions(page_memory.overall_region().base(), in Protect()
Dgc-info-table.cc87 CHECK(page_allocator_->SetPermissions(current_table_end, table_size_delta, in Resize()
93 CHECK(page_allocator_->SetPermissions(read_only_table_end_, read_only_delta, in Resize()
Dcaged-heap.cc54 CHECK(platform_allocator->SetPermissions( in CagedHeap()
/external/v8/src/init/
Disolate-allocator.cc180 CHECK(reservation_.SetPermissions(committed_region_address, in CommitPagesForIsolate()
/external/v8/src/base/platform/
Dplatform-fuchsia.cc124 bool OS::SetPermissions(void* address, size_t size, MemoryPermission access) { in SetPermissions() function in v8::base::OS
Dplatform-cygwin.cc165 bool OS::SetPermissions(void* address, size_t size, MemoryPermission access) { in SetPermissions() function in v8::base::OS
Dplatform.h297 V8_WARN_UNUSED_RESULT static bool SetPermissions(void* address, size_t size,
Dplatform-starboard.cc228 bool OS::SetPermissions(void* address, size_t size, MemoryPermission access) { in SetPermissions() function in v8::base::OS
Dplatform-posix.cc412 bool OS::SetPermissions(void* address, size_t size, MemoryPermission access) { in SetPermissions() function in v8::base::OS
Dplatform-win32.cc869 bool OS::SetPermissions(void* address, size_t size, MemoryPermission access) { in SetPermissions() function in v8::base::OS
/external/v8/src/snapshot/embedded/
Dembedded-data.cc93 CHECK(SetPermissions(page_allocator, allocated_code_bytes, in CreateOffHeapInstructionStream()
97 CHECK(SetPermissions(page_allocator, allocated_data_bytes, in CreateOffHeapInstructionStream()
/external/v8/include/
Dv8-platform.h440 virtual bool SetPermissions(void* address, size_t length,
/external/v8/src/objects/
Dbacking-store.cc377 SetPermissions(GetPlatformPageAllocator(), buffer_start, byte_length, in TryAllocateWasmMemory()
528 if (!i::SetPermissions(GetPlatformPageAllocator(), buffer_start_, in GrowWasmMemoryInPlace()
/external/v8/src/wasm/
Dwasm-code-manager.cc717 if (!SetPermissions(page_allocator, vmem.address(), vmem.size(), in SetExecutable()
730 if (!SetPermissions(page_allocator, region.begin(), region_size, in SetExecutable()
1623 if (!SetPermissions(GetPlatformPageAllocator(), region.begin(), region.size(), in Commit()
1644 CHECK(allocator->SetPermissions(reinterpret_cast<void*>(region.begin()), in Decommit()
1677 SetPermissions(GetPlatformPageAllocator(), mem.address(), mem.size(), in TryAllocate()