Searched refs:MemoryPermission (Results 1 – 8 of 8) sorted by relevance
/external/v8/src/base/platform/ |
D | platform-fuchsia.cc | 19 uint32_t GetProtectionFromMemoryPermission(OS::MemoryPermission access) { in GetProtectionFromMemoryPermission() 21 case OS::MemoryPermission::kNoAccess: in GetProtectionFromMemoryPermission() 22 case OS::MemoryPermission::kNoAccessWillJitLater: in GetProtectionFromMemoryPermission() 24 case OS::MemoryPermission::kRead: in GetProtectionFromMemoryPermission() 26 case OS::MemoryPermission::kReadWrite: in GetProtectionFromMemoryPermission() 28 case OS::MemoryPermission::kReadWriteExecute: in GetProtectionFromMemoryPermission() 30 case OS::MemoryPermission::kReadExecute: in GetProtectionFromMemoryPermission() 44 OS::MemoryPermission access) { in Allocate() 124 bool OS::SetPermissions(void* address, size_t size, MemoryPermission access) { in SetPermissions()
|
D | platform-cygwin.cc | 33 DWORD GetProtectionFromMemoryPermission(OS::MemoryPermission access) { in GetProtectionFromMemoryPermission() 35 case OS::MemoryPermission::kNoAccess: in GetProtectionFromMemoryPermission() 36 case OS::MemoryPermission::kNoAccessWillJitLater: in GetProtectionFromMemoryPermission() 38 case OS::MemoryPermission::kRead: in GetProtectionFromMemoryPermission() 40 case OS::MemoryPermission::kReadWrite: in GetProtectionFromMemoryPermission() 42 case OS::MemoryPermission::kReadWriteExecute: in GetProtectionFromMemoryPermission() 44 case OS::MemoryPermission::kReadExecute: in GetProtectionFromMemoryPermission() 100 MemoryPermission access) { in Allocate() 107 DWORD flags = (access == OS::MemoryPermission::kNoAccess) in Allocate() 165 bool OS::SetPermissions(void* address, size_t size, MemoryPermission access) { in SetPermissions() [all …]
|
D | platform-starboard.cc | 130 void* Allocate(void* address, size_t size, OS::MemoryPermission access) { in Allocate() 133 case OS::MemoryPermission::kNoAccess: in Allocate() 136 case OS::MemoryPermission::kReadWrite: in Allocate() 185 MemoryPermission access) { in Allocate() 228 bool OS::SetPermissions(void* address, size_t size, MemoryPermission access) { in SetPermissions() 231 case OS::MemoryPermission::kNoAccess: in SetPermissions() 234 case OS::MemoryPermission::kRead: in SetPermissions() 236 case OS::MemoryPermission::kReadWrite: in SetPermissions() 239 case OS::MemoryPermission::kReadExecute: in SetPermissions()
|
D | platform-posix.cc | 125 int GetProtectionFromMemoryPermission(OS::MemoryPermission access) { in GetProtectionFromMemoryPermission() 127 case OS::MemoryPermission::kNoAccess: in GetProtectionFromMemoryPermission() 128 case OS::MemoryPermission::kNoAccessWillJitLater: in GetProtectionFromMemoryPermission() 130 case OS::MemoryPermission::kRead: in GetProtectionFromMemoryPermission() 132 case OS::MemoryPermission::kReadWrite: in GetProtectionFromMemoryPermission() 134 case OS::MemoryPermission::kReadWriteExecute: in GetProtectionFromMemoryPermission() 136 case OS::MemoryPermission::kReadExecute: in GetProtectionFromMemoryPermission() 144 int GetFlagsForMemoryPermission(OS::MemoryPermission access, in GetFlagsForMemoryPermission() 148 if (access == OS::MemoryPermission::kNoAccess) { in GetFlagsForMemoryPermission() 157 if (access == OS::MemoryPermission::kNoAccessWillJitLater) { in GetFlagsForMemoryPermission() [all …]
|
D | platform.h | 170 enum class MemoryPermission { enum 284 MemoryPermission access); 287 MemoryPermission access); 298 MemoryPermission access);
|
D | platform-win32.cc | 752 DWORD GetProtectionFromMemoryPermission(OS::MemoryPermission access) { in GetProtectionFromMemoryPermission() 754 case OS::MemoryPermission::kNoAccess: in GetProtectionFromMemoryPermission() 755 case OS::MemoryPermission::kNoAccessWillJitLater: in GetProtectionFromMemoryPermission() 757 case OS::MemoryPermission::kRead: in GetProtectionFromMemoryPermission() 759 case OS::MemoryPermission::kReadWrite: in GetProtectionFromMemoryPermission() 761 case OS::MemoryPermission::kReadWriteExecute: in GetProtectionFromMemoryPermission() 765 case OS::MemoryPermission::kReadExecute: in GetProtectionFromMemoryPermission() 802 MemoryPermission access) { in Allocate() 809 DWORD flags = (access == OS::MemoryPermission::kNoAccess) in Allocate() 869 bool OS::SetPermissions(void* address, size_t size, MemoryPermission access) { in SetPermissions() [all …]
|
/external/v8/src/base/ |
D | page-allocator.cc | 21 base::OS::MemoryPermission::kNoAccess); 23 base::OS::MemoryPermission::kReadWrite); 25 base::OS::MemoryPermission::kReadWriteExecute); 27 base::OS::MemoryPermission::kReadExecute); 29 base::OS::MemoryPermission::kNoAccessWillJitLater); 56 static_cast<base::OS::MemoryPermission>(access)); in AllocatePages() 109 base::OS::AllocateShared(size, base::OS::MemoryPermission::kReadWrite); in AllocateSharedPages() 113 ptr, size, base::OS::MemoryPermission::kReadWrite); in AllocateSharedPages() 146 address, size, static_cast<base::OS::MemoryPermission>(access)); in SetPermissions()
|
/external/swiftshader/src/Reactor/ |
D | ExecutableMemory.hpp | 26 enum MemoryPermission enum
|