Searched refs:oldProtection (Results 1 – 2 of 2) sorted by relevance
/external/swiftshader/src/Common/ |
D | Memory.cpp | 116 unsigned long oldProtection; in markExecutable() local 117 VirtualProtect(memory, bytes, PAGE_EXECUTE_READ, &oldProtection); in markExecutable() 126 unsigned long oldProtection; in deallocateExecutable() local 127 VirtualProtect(memory, bytes, PAGE_READWRITE, &oldProtection); in deallocateExecutable()
|
/external/swiftshader/src/Reactor/ |
D | SubzeroReactor.cpp | 456 VirtualProtect(&buffer[0], buffer.size(), oldProtection, &exeProtection); in ~ELFMemoryStreamer() 498 VirtualProtect(&buffer[0], buffer.size(), PAGE_EXECUTE_READ, &oldProtection); in getEntry() 515 DWORD oldProtection; member in sw::ELFMemoryStreamer
|