Home
last modified time | relevance | path

Searched refs:PageAllocator (Results 1 – 25 of 33) sorted by relevance

12

/external/v8/src/base/
Dpage-allocator.cc16 STATIC_ASSERT_ENUM(PageAllocator::kNoAccess,
18 STATIC_ASSERT_ENUM(PageAllocator::kReadWrite,
20 STATIC_ASSERT_ENUM(PageAllocator::kReadWriteExecute,
22 STATIC_ASSERT_ENUM(PageAllocator::kReadExecute,
27 size_t PageAllocator::AllocatePageSize() { in AllocatePageSize()
31 size_t PageAllocator::CommitPageSize() { return base::OS::CommitPageSize(); } in CommitPageSize()
33 void PageAllocator::SetRandomMmapSeed(int64_t seed) { in SetRandomMmapSeed()
37 void* PageAllocator::GetRandomMmapAddr() { in GetRandomMmapAddr()
41 void* PageAllocator::AllocatePages(void* address, size_t size, size_t alignment, in AllocatePages()
42 PageAllocator::Permission access) { in AllocatePages()
[all …]
Dpage-allocator.h15 class V8_BASE_EXPORT PageAllocator
16 : public NON_EXPORTED_BASE(::v8::PageAllocator) { in NON_EXPORTED_BASE() argument
18 virtual ~PageAllocator() = default; in NON_EXPORTED_BASE()
29 PageAllocator::Permission access) override; in NON_EXPORTED_BASE()
36 PageAllocator::Permission access) override; in NON_EXPORTED_BASE()
/external/google-breakpad/src/common/
Dmemory_unittest.cc40 PageAllocator allocator; in TEST()
44 PageAllocator allocator; in TEST()
54 PageAllocator allocator; in TEST()
70 PageAllocator allocator_; in TEST()
77 PageAllocator allocator_; in TEST()
92 PageAllocator allocator_; in TEST()
Dmemory.h61 class PageAllocator {
63 PageAllocator() in PageAllocator() function
70 ~PageAllocator() { in ~PageAllocator()
168 explicit PageStdAllocator(PageAllocator& allocator): allocator_(allocator) {} in PageStdAllocator()
190 PageAllocator& allocator_;
199 wasteful_vector(PageAllocator* allocator, unsigned size_hint = 16)
208 google_breakpad::PageAllocator& allocator) { in new()
/external/v8/src/
Dallocation.cc47 reinterpret_cast<v8::PageAllocator**>(page_allocator_ptr_arg); in Construct()
48 v8::PageAllocator* page_allocator = in Construct()
51 static v8::base::PageAllocator default_allocator; in Construct()
58 static base::LazyInstance<v8::PageAllocator*, InitializePageAllocator>::type
61 v8::PageAllocator* GetPageAllocator() { return page_allocator.Get(); } in GetPageAllocator()
145 PageAllocator::Permission access) { in AllocatePages()
188 PageAllocator::Permission access) { in SetPermissions()
195 AllocatePages(address, page_size, page_size, PageAllocator::kReadWrite); in AllocatePage()
216 AllocatePages(hint, alloc_size, alignment, PageAllocator::kNoAccess)); in VirtualMemory()
234 PageAllocator::Permission access) { in SetPermissions()
Dallocation.h106 PageAllocator::Permission access);
128 PageAllocator::Permission access);
130 PageAllocator::Permission access) { in SetPermissions()
194 PageAllocator::Permission access);
Dinstruction-stream.cc59 PageAllocator::kReadWrite)); in CreateOffHeapInstructionStream()
64 PageAllocator::kReadExecute)); in CreateOffHeapInstructionStream()
/external/v8/include/
Dv8-platform.h177 class PageAllocator {
179 virtual ~PageAllocator() = default;
254 virtual PageAllocator* GetPageAllocator() { in GetPageAllocator()
/external/v8/src/libplatform/
Ddefault-platform.h73 v8::PageAllocator* GetPageAllocator() override; in NON_EXPORTED_BASE()
86 std::unique_ptr<PageAllocator> page_allocator_; in NON_EXPORTED_BASE()
Ddefault-platform.cc85 page_allocator_(new v8::base::PageAllocator()), in DefaultPlatform()
251 v8::PageAllocator* DefaultPlatform::GetPageAllocator() { in GetPageAllocator()
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_dumper.h102 PageAllocator* allocator() { return &allocator_; } in allocator()
175 mutable PageAllocator allocator_;
Dminidump_writer.cc95 using google_breakpad::PageAllocator;
841 PageAllocator allocator; in WriteCPUInformation()
1014 PageAllocator allocator; in WriteCPUInformation()
/external/v8/src/x64/
Dcodegen-x64.cc35 CHECK(SetPermissions(buffer, allocated, PageAllocator::kReadExecute)); in CreateSqrtFunction()
/external/v8/src/ppc/
Dcodegen-ppc.cc44 CHECK(SetPermissions(buffer, allocated, PageAllocator::kReadExecute)); in CreateSqrtFunction()
/external/v8/src/s390/
Dcodegen-s390.cc41 CHECK(SetPermissions(buffer, allocated, PageAllocator::kReadExecute)); in CreateSqrtFunction()
/external/v8/src/base/platform/
Dplatform.h97 class PageAllocator; variable
255 friend class v8::base::PageAllocator;
/external/v8/src/heap/
Dspaces.cc152 PageAllocator::kReadWrite)) in CodeRange()
252 virtual_memory_.SetPermissions(address, length, PageAllocator::kNoAccess); in FreeRawMemory()
493 if (!SetPermissions(base, size, PageAllocator::kReadWrite)) { in CommitMemory()
555 PageAllocator::kReadWrite)) { in AllocateAlignedMemory()
612 PageAllocator::kReadExecute)); in SetReadAndExecutable()
631 PageAllocator::kReadWrite)); in SetReadAndWritable()
700 PageAllocator::kReadWriteExecute)); in Initialize()
1089 PageAllocator::kNoAccess); in AllocateChunk()
1242 if (!SetPermissions(start, size, PageAllocator::kNoAccess)) return false; in AllocateChunk()
1302 if (vm->SetPermissions(start, pre_guard_offset, PageAllocator::kReadWrite)) { in AllocateChunk()
[all …]
Dstore-buffer.cc68 PageAllocator::kReadWrite)) { in SetUp()
/external/v8/src/wasm/
Dwasm-code-manager.cc786 PageAllocator::Permission permission = FLAG_wasm_write_protect_code_memory in Commit()
787 ? PageAllocator::kReadWrite in Commit()
788 : PageAllocator::kReadWriteExecute; in Commit()
929 PageAllocator::Permission permission = in SetExecutable()
930 executable ? PageAllocator::kReadExecute : PageAllocator::kReadWrite; in SetExecutable()
Dwasm-memory.cc85 PageAllocator::kNoAccess); in TryAllocateBackingStore()
103 PageAllocator::kReadWrite); in TryAllocateBackingStore()
/external/v8/src/arm/
Dcodegen-arm.cc173 CHECK(SetPermissions(buffer, allocated, PageAllocator::kReadExecute)); in CreateMemCopyUint8Function()
262 CHECK(SetPermissions(buffer, allocated, PageAllocator::kReadExecute)); in CreateMemCopyUint16Uint8Function()
289 CHECK(SetPermissions(buffer, allocated, PageAllocator::kReadExecute)); in CreateSqrtFunction()
/external/google-breakpad/src/client/mac/handler/
Dminidump_generator.h225 mutable PageAllocator allocator_;
/external/v8/src/ia32/
Dcodegen-ia32.cc42 CHECK(SetPermissions(buffer, allocated, PageAllocator::kReadExecute)); in CreateSqrtFunction()
453 CHECK(SetPermissions(buffer, allocated, PageAllocator::kReadExecute)); in CreateMemMoveFunction()
/external/v8/src/mips/
Dcodegen-mips.cc548 CHECK(SetPermissions(buffer, allocated, PageAllocator::kReadExecute)); in CreateMemCopyUint8Function()
575 CHECK(SetPermissions(buffer, allocated, PageAllocator::kReadExecute)); in CreateSqrtFunction()
/external/v8/src/mips64/
Dcodegen-mips64.cc549 CHECK(SetPermissions(buffer, allocated, PageAllocator::kReadExecute)); in CreateMemCopyUint8Function()
576 CHECK(SetPermissions(buffer, allocated, PageAllocator::kReadExecute)); in CreateSqrtFunction()

12