Searched refs:prot (Results 1 – 5 of 5) sorted by relevance
/frameworks/rs/cpu_ref/linkloader/include/impl/ |
D | ELFSectionBits.hxx | 55 int prot = PROT_READ; in protect() local 58 prot |= PROT_WRITE; in protect() 62 prot |= PROT_EXEC; in protect() 65 return chunk.protect(prot); in protect()
|
/frameworks/rs/cpu_ref/linkloader/lib/ |
D | MemChunk.cpp | 104 bool MemChunk::protect(int prot) { in protect() argument 106 int ret = mprotect((void *)buf, buf_size, prot); in protect() 112 if (prot & PROT_EXEC) { in protect()
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
D | FileSystem.inc | 168 int prot, flag; 171 prot = PROT_READ; 176 prot = PROT_WRITE; 181 prot = PROT_READ | PROT_WRITE; 190 pMemBuffer = ::mmap(NULL, pLength, prot, flag, m_Handler, pStartOffset);
|
/frameworks/base/core/jni/ |
D | android_os_MemoryFile.cpp | 47 jint length, jint prot) in android_os_MemoryFile_mmap() argument 50 void* result = mmap(NULL, length, prot, MAP_SHARED, fd, 0); in android_os_MemoryFile_mmap()
|
/frameworks/rs/cpu_ref/linkloader/include/ |
D | MemChunk.h | 47 bool protect(int prot);
|