Home
last modified time | relevance | path

Searched refs:SetMemoryProtection (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/angle/src/common/
H A Dsystem_utils_win32.cpp132 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 Dsystem_utils_posix.cpp380 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()