Home
last modified time | relevance | path

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

/external/swiftshader/src/Common/
DMemory.cpp116 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/
DSubzeroReactor.cpp456 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