Searched defs:prot (Results 1 - 5 of 5) sorted by relevance
/frameworks/compile/linkloader/include/impl/ |
H A D | ELFSectionBits.hxx | 51 int prot = PROT_READ; local 54 prot |= PROT_WRITE; 58 prot |= PROT_EXEC; 61 return chunk.protect(prot);
|
/frameworks/compile/linkloader/lib/ |
H A D | MemChunk.cpp | 80 bool MemChunk::protect(int prot) { argument 82 int ret = mprotect((void *)buf, buf_size, prot); 88 if (prot & PROT_EXEC) {
|
/frameworks/native/libs/utils/ |
H A D | FileMap.cpp | 134 int prot, flags, adjust; local 165 prot = PROT_READ; 167 prot |= PROT_WRITE; 169 ptr = mmap(NULL, adjLength, prot, flags, fd, adjOffset);
|
/frameworks/base/core/jni/ |
H A D | android_os_MemoryFile.cpp | 47 jint length, jint prot) 50 jint result = (jint)mmap(NULL, length, prot, MAP_SHARED, fd, 0); 46 android_os_MemoryFile_mmap(JNIEnv* env, jobject clazz, jobject fileDescriptor, jint length, jint prot) argument
|
/frameworks/compile/mclinker/lib/Support/ |
H A D | FileHandle.cpp | 232 int prot, flag; local 235 prot = PROT_READ; 240 prot = PROT_WRITE; 245 prot = PROT_READ | PROT_WRITE; 254 pMemBuffer = ::mmap(NULL, pLength, prot, flag, m_Handler, pStartOffset);
|
Completed in 404 milliseconds