Home
last modified time | relevance | path

Searched refs:PROT_WRITE (Results 1 – 16 of 16) sorted by relevance

/frameworks/compile/libbcc/lib/ExecutionEngine/OldJIT/
DContextManager.cpp61 PROT_READ | PROT_WRITE | PROT_EXEC, in allocateContext()
81 void *result = mmap(0, ContextSize, PROT_READ | PROT_WRITE | PROT_EXEC, in allocateContext()
125 PROT_READ | PROT_WRITE | PROT_EXEC, in allocateContext()
/frameworks/compile/linkloader/lib/
DMemChunk.cpp50 PROT_READ | PROT_WRITE, in allocate()
55 PROT_READ | PROT_WRITE, in allocate()
/frameworks/base/libs/ui/tests/
DInputChannel_test.cpp93 PROT_READ | PROT_WRITE, MAP_SHARED, serverChannel->getAshmemFd(), 0)); in TEST_F()
95 PROT_READ | PROT_WRITE, MAP_SHARED, clientChannel->getAshmemFd(), 0)); in TEST_F()
/frameworks/compile/libbcc/runtime/lib/
Denable_execute_stack.c50 (void) mprotect((void *)startPage, length, PROT_READ | PROT_WRITE | PROT_EXEC); in __enable_execute_stack()
/frameworks/base/opengl/tests/angeles/
Dgpustate.c19 ptr = mmap(0, size, PROT_READ | PROT_WRITE, in map_memory()
/frameworks/compile/libbcc/runtime/test/Unit/
Dclear_cache_test.c41 if ( mprotect(start, end-start, PROT_READ|PROT_WRITE|PROT_EXEC) != 0 ) in main()
/frameworks/compile/linkloader/include/impl/
DELFSectionBits.hxx54 prot |= PROT_WRITE; in protect()
/frameworks/base/core/java/android/os/
DMemoryFile.java42 private static final int PROT_WRITE = 0x2; field in MemoryFile
73 mAddress = native_mmap(mFD, length, PROT_READ | PROT_WRITE); in MemoryFile()
/frameworks/base/libs/binder/
DCursorWindow.cpp54 result = ashmem_set_prot_region(ashmemFd, PROT_READ | PROT_WRITE); in create()
56 void* data = ::mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, ashmemFd, 0); in create()
DMemoryHeapBase.cpp128 PROT_READ|PROT_WRITE, MAP_SHARED, fd, offset); in mapfd()
DIMemory.cpp310 access |= PROT_WRITE; in assertReallyMapped()
DParcel.cpp748 int result = ashmem_set_prot_region(fd, PROT_READ | PROT_WRITE); in writeBlob()
752 void* ptr = ::mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in writeBlob()
/frameworks/base/libs/utils/
DFileMap.cpp167 prot |= PROT_WRITE; in create()
/frameworks/base/libs/ui/
DInputTransport.cpp94 result = ashmem_set_prot_region(serverAshmemFd, PROT_READ | PROT_WRITE); in openInputChannelPair()
230 PROT_READ | PROT_WRITE, MAP_SHARED, ashmemFd, 0)); in initialize()
570 PROT_READ | PROT_WRITE, MAP_SHARED, ashmemFd, 0)); in initialize()
/frameworks/compile/libbcc/lib/CodeGen/
DCodeMemoryManager.cpp91 mprotect(mpCodeMem, MaxCodeSize, PROT_READ | PROT_WRITE | PROT_EXEC); in setMemoryWritable()
/frameworks/base/core/jni/
Dandroid_database_SQLiteStatement.cpp180 mmap(NULL, length, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in create_ashmem_region_with_data()