Lines Matching refs:SetPermissions
151 if (!reservation.SetPermissions(base, reserved_area, in CodeRange()
252 virtual_memory_.SetPermissions(address, length, PageAllocator::kNoAccess); in FreeRawMemory()
493 if (!SetPermissions(base, size, PageAllocator::kReadWrite)) { in CommitMemory()
554 if (reservation.SetPermissions(base, commit_size, in AllocateAlignedMemory()
611 CHECK(SetPermissions(protect_start, protect_size, in SetReadAndExecutable()
630 CHECK(SetPermissions(unprotect_start, unprotect_size, in SetReadAndWritable()
699 CHECK(SetPermissions(area_start, area_size, in Initialize()
1088 reservation->SetPermissions(chunk->area_end_, page_size, 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()
1304 if (vm->SetPermissions(pre_guard_page, page_size, in AllocateChunk()
1307 if (vm->SetPermissions(code_area, commit_size - pre_guard_offset, in AllocateChunk()
1310 if (vm->SetPermissions(post_guard_page, page_size, in AllocateChunk()
1315 vm->SetPermissions(code_area, commit_size, PageAllocator::kNoAccess); in AllocateChunk()
1318 vm->SetPermissions(start, pre_guard_offset, PageAllocator::kNoAccess); in AllocateChunk()
3345 CHECK(SetPermissions(page->address() + area_start_offset, in AllocateChunk()