/external/valgrind/main/memcheck/tests/ |
D | addressable.c | 43 char *m = mm(0, pgsz * 5, PROT_READ|PROT_WRITE); in test2() 57 char *m = mm(0, pgsz * 5, PROT_READ|PROT_WRITE); in test3() 67 char *m = mm(0, pgsz * 5, PROT_READ|PROT_WRITE); in test4() 69 mprotect(m, pgsz, PROT_WRITE); in test4() 80 char *m = mm(0, pgsz * 5, PROT_READ|PROT_WRITE); in test5()
|
D | mempool.c | 37 p = (pool *)mmap(0, sizeof(pool), PROT_READ|PROT_WRITE|PROT_EXEC, in make_pool() 40 PROT_READ|PROT_WRITE|PROT_EXEC, in make_pool() 59 PROT_READ|PROT_WRITE|PROT_EXEC, in push()
|
D | pointer-trace.c | 59 map = mmap(0, stepsize * 2, PROT_WRITE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0); in main() 66 map = mmap(0, stepsize * 2, PROT_WRITE|PROT_READ, MAP_PRIVATE, fd, 0); in main()
|
D | mempool2.c | 40 p = (pool *)mmap(0, sizeof(pool), PROT_READ|PROT_WRITE|PROT_EXEC, in make_pool() 43 PROT_READ|PROT_WRITE|PROT_EXEC, in make_pool() 62 PROT_READ|PROT_WRITE|PROT_EXEC, in push()
|
/external/valgrind/main/memcheck/tests/x86-linux/ |
D | bug133694.c | 9 …if ((a1 = mmap((void *)0x200000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, … in main() 21 …if (mmap((void *)0x100000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0)… in main() 27 …if (mmap((void *)0x100000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) == MAP_FA… in main()
|
/external/openssh/openbsd-compat/ |
D | xmmap.c | 54 address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_ANON|MAP_SHARED, in xmmap() 57 address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_SHARED, in xmmap() 76 address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_SHARED, in xmmap()
|
/external/qemu/android/utils/ |
D | mapfile.c | 193 if ((prot & (PROT_WRITE | PROT_EXEC)) == 0) { in mapfile_map() 196 } else if ((prot & (PROT_WRITE | PROT_EXEC)) == in mapfile_map() 197 (PROT_WRITE | PROT_EXEC)) { in mapfile_map() 200 } else if ((prot & PROT_WRITE) == PROT_WRITE) { in mapfile_map()
|
D | mapfile.h | 30 #define PROT_WRITE 0x2 macro
|
/external/valgrind/main/none/tests/linux/ |
D | mremap3.c | 11 void *initial_area = mmap((void *)0x10000000, 40960, PROT_READ|PROT_WRITE, in main() 21 void *area = mmap(initial_area, 4096, PROT_READ|PROT_WRITE, in main()
|
/external/libffi/testsuite/libffi.call/ |
D | ffitest.h | 69 page = mmap (NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, in allocate_mmap() 73 page = mmap (NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, in allocate_mmap()
|
/external/libffi/testsuite/libffi.special/ |
D | ffitestcxx.h | 69 page = mmap (NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, in allocate_mmap() 73 page = mmap (NULL, size, PROT_READ | PROT_WRITE | PROT_EXEC, in allocate_mmap()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_posix.cc | 58 PROT_READ | PROT_WRITE, in MmapOrDie() 91 PROT_READ | PROT_WRITE, in MmapFixedNoReserve() 105 PROT_READ | PROT_WRITE, in MmapFixedOrDie()
|
/external/webkit/Source/WebKit2/Platform/unix/ |
D | SharedMemoryUnix.cpp | 139 void* data = mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fileDescriptor, 0); in create() 161 return PROT_READ | PROT_WRITE; in accessModeMMap() 165 return PROT_READ | PROT_WRITE; in accessModeMMap()
|
/external/webkit/Source/JavaScriptCore/wtf/ |
D | PageAllocationAligned.cpp | 45 protection |= PROT_WRITE; in allocate() 50 …mentMask, flags, MEMORY_OBJECT_NULL, 0, FALSE, protection, PROT_READ | PROT_WRITE | PROT_EXEC, VM_… in allocate()
|
D | TCSystemAlloc.cpp | 180 PROT_READ | PROT_WRITE, in TryMmap() 312 void *result = mmap(0, size + extra, PROT_READ | PROT_WRITE, in TryDevMem() 446 …void* newAddress = mmap(start, length, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_F… in TCMalloc_SystemRelease()
|
/external/jpeg/ |
D | jmem-ashmem.c | 129 int err = ashmem_set_prot_region(fd, PROT_READ | PROT_WRITE); in get_ashmem() 133 info->addr = mmap(NULL, total_bytes_needed, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0); in get_ashmem()
|
/external/qemu/distrib/jpeg-6b/ |
D | jmem-ashmem.c | 128 int err = ashmem_set_prot_region(fd, PROT_READ | PROT_WRITE); in get_ashmem() 132 info->addr = mmap(NULL, total_bytes_needed, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0); in get_ashmem()
|
/external/compiler-rt/SDKs/linux/usr/include/sys/ |
D | mman.h | 23 #define PROT_WRITE 0x2 macro
|
/external/valgrind/main/none/tests/amd64/ |
D | nibz_bennee_mmap.c | 35 if ((p = mmap((void*)0x1F7F100000, 4096, PROT_READ|PROT_WRITE, in main()
|
/external/kernel-headers/original/asm-generic/ |
D | mman-common.h | 10 #define PROT_WRITE 0x2 /* page can be written */ macro
|
/external/compiler-rt/lib/ |
D | enable_execute_stack.c | 56 (void) mprotect((void *)startPage, length, PROT_READ | PROT_WRITE | PROT_EXEC); in __enable_execute_stack()
|
/external/kernel-headers/original/asm-mips/ |
D | mman.h | 19 #define PROT_WRITE 0x02 /* page can be written */ macro
|
/external/skia/src/images/ |
D | SkImageRef_ashmem.cpp | 93 int err = ashmem_set_prot_region(fd, PROT_READ | PROT_WRITE); in allocPixelRef() 101 addr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0); in allocPixelRef()
|
/external/valgrind/main/memcheck/tests/linux/ |
D | stack_switch.c | 40 …if ( ( stack = mmap( NULL, 2* STACK_SIZE, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 )… in main()
|
/external/compiler-rt/lib/asan/lit_tests/ |
D | dlclose-test.cc | 78 PROT_READ | PROT_WRITE, in main()
|