/frameworks/compile/libbcc/lib/ExecutionEngine/OldJIT/ |
D | ContextManager.cpp | 61 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/ |
D | MemChunk.cpp | 50 PROT_READ | PROT_WRITE, in allocate() 55 PROT_READ | PROT_WRITE, in allocate()
|
/frameworks/base/libs/binder/ |
D | CursorWindow.cpp | 54 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() 60 result = ashmem_set_prot_region(ashmemFd, PROT_READ); in create() 102 void* data = ::mmap(NULL, size, PROT_READ, MAP_SHARED, dupAshmemFd, 0); in createFromParcel()
|
D | MemoryHeapBase.cpp | 60 ashmem_set_prot_region(fd, PROT_READ); in MemoryHeapBase() 128 PROT_READ|PROT_WRITE, MAP_SHARED, fd, offset); in mapfd()
|
D | ProcessState.cpp | 340 mVMStart = mmap(0, BINDER_VM_SIZE, PROT_READ, MAP_PRIVATE | MAP_NORESERVE, mDriverFD, 0); in ProcessState()
|
D | Parcel.cpp | 748 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() 756 result = ashmem_set_prot_region(fd, PROT_READ); in writeBlob() 1117 void* ptr = ::mmap(NULL, len, PROT_READ, MAP_SHARED, fd, 0); in readBlob()
|
D | IMemory.cpp | 308 int access = PROT_READ; in assertReallyMapped()
|
/frameworks/base/libs/ui/tests/ |
D | InputChannel_test.cpp | 93 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/ |
D | enable_execute_stack.c | 50 (void) mprotect((void *)startPage, length, PROT_READ | PROT_WRITE | PROT_EXEC); in __enable_execute_stack()
|
/frameworks/base/opengl/tests/angeles/ |
D | gpustate.c | 19 ptr = mmap(0, size, PROT_READ | PROT_WRITE, in map_memory()
|
/frameworks/compile/libbcc/lib/CodeGen/ |
D | CodeMemoryManager.cpp | 91 mprotect(mpCodeMem, MaxCodeSize, PROT_READ | PROT_WRITE | PROT_EXEC); in setMemoryWritable() 98 mprotect(mpCodeMem, MaxCodeSize, PROT_READ | PROT_EXEC); in setMemoryExecutable()
|
/frameworks/compile/libbcc/runtime/test/Unit/ |
D | clear_cache_test.c | 41 if ( mprotect(start, end-start, PROT_READ|PROT_WRITE|PROT_EXEC) != 0 ) in main()
|
/frameworks/compile/linkloader/include/impl/ |
D | ELFSectionBits.hxx | 51 int prot = PROT_READ; in protect()
|
/frameworks/base/core/java/android/os/ |
D | MemoryFile.java | 41 private static final int PROT_READ = 0x1; field in MemoryFile 73 mAddress = native_mmap(mFD, length, PROT_READ | PROT_WRITE); in MemoryFile()
|
/frameworks/base/core/jni/ |
D | android_database_SQLiteStatement.cpp | 180 mmap(NULL, length, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in create_ashmem_region_with_data() 201 if (ashmem_set_prot_region(fd, PROT_READ) < 0) { in create_ashmem_region_with_data()
|
/frameworks/compile/linkloader/android/ |
D | test-librsloader.c | 88 mmap(NULL, sb.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in main()
|
/frameworks/base/cmds/screencap/ |
D | screencap.cpp | 153 mapbase = mmap(0, mapsize, PROT_READ, MAP_PRIVATE, fb, 0); in main()
|
/frameworks/base/libs/utils/ |
D | FileMap.cpp | 165 prot = PROT_READ; in create()
|
/frameworks/base/libs/ui/ |
D | InputTransport.cpp | 94 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/linkloader/ |
D | main.cpp | 236 mmap(0, size, PROT_READ, MAP_PRIVATE, fd, 0)); in open_mmap_file()
|
/frameworks/base/cmds/servicemanager/ |
D | binder.c | 112 bs->mapped = mmap(NULL, mapsize, PROT_READ, MAP_PRIVATE, bs->fd, 0); in binder_open()
|