Home
last modified time | relevance | path

Searched refs:prot (Results 1 – 5 of 5) sorted by relevance

/frameworks/rs/cpu_ref/linkloader/include/impl/
DELFSectionBits.hxx55 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/
DMemChunk.cpp104 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/
DFileSystem.inc168 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/
Dandroid_os_MemoryFile.cpp47 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/
DMemChunk.h47 bool protect(int prot);