Searched refs:SetMemoryProtection (Results 1 – 2 of 2) sorted by relevance
/aosp_15_r20/external/angle/src/common/ |
H A D | system_utils_win32.cpp | 132 bool SetMemoryProtection(uintptr_t start, size_t size, DWORD protections) in SetMemoryProtection() function 209 return SetMemoryProtection(start, size, PAGE_READONLY); in ProtectMemory() 215 return SetMemoryProtection(start, size, PAGE_READWRITE); in UnprotectMemory()
|
H A D | system_utils_posix.cpp | 380 bool SetMemoryProtection(uintptr_t start, size_t size, int protections) in SetMemoryProtection() function 461 return SetMemoryProtection(start, size, PROT_READ); in ProtectMemory() 467 return SetMemoryProtection(start, size, PROT_READ | PROT_WRITE); in UnprotectMemory()
|