/external/valgrind/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()
|
D | dw4.c | 65 p = mmap( 0, 16 * 1024, PROT_READ|PROT_WRITE, in main() 80 q = mmap(NULL, 100, PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0); in main()
|
/external/valgrind/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/autotest/client/tests/memory_api/ |
D | memory_api.c | 64 mem = mmap(0, memsize, PROT_READ | PROT_WRITE, in main() 89 PROT_READ | PROT_WRITE)) { in main() 136 mem = mmap(0, memsize, PROT_READ | PROT_WRITE, in main()
|
D | mremaps.c | 36 mem = mmap(0, memsize, PROT_READ | PROT_WRITE, in main() 64 mem = mmap(0, memsize, PROT_READ | PROT_WRITE, in main()
|
/external/valgrind/none/tests/amd64-linux/ |
D | map_32bits.c | 15 PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_32BIT, in main() 34 PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, in main()
|
/external/compiler-rt/test/tsan/ |
D | java_heap_init.cc | 11 jptr jheap = (jptr)mmap(0, kHeapSize, PROT_READ | PROT_WRITE, in main() 17 jheap = (jptr)mmap((void*)jheap, kHeapSize, PROT_READ | PROT_WRITE, in main()
|
/external/valgrind/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/strace/xlat/ |
D | mmap_prot.h | 17 #if defined(PROT_WRITE) || (defined(HAVE_DECL_PROT_WRITE) && HAVE_DECL_PROT_WRITE) 18 XLAT(PROT_WRITE),
|
D | mmap_prot.in | 3 PROT_WRITE
|
/external/valgrind/helgrind/tests/ |
D | stackteardown.c | 97 stack = mmap(NULL, sz, PROT_READ|PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, in main() 100 stack = mmap(NULL, sz, PROT_READ|PROT_WRITE, MAP_PRIVATE | MAP_ANON, in main()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_posix.cc | 118 PROT_READ | PROT_WRITE, in MmapOrDie() 142 PROT_READ | PROT_WRITE, in MmapNoReserveOrDie() 156 PROT_READ | PROT_WRITE, in MmapFixedOrDie() 230 uptr p = internal_mmap(addr, size, PROT_READ | PROT_WRITE, flags, fd, offset); in MapWritableFileToMemory()
|
/external/v8/src/base/platform/ |
D | platform-aix.cc | 67 int prot = PROT_READ | PROT_WRITE | (executable ? PROT_EXEC : 0); in Allocate() 221 int prot = PROT_READ | PROT_WRITE; in CommitRegion() 223 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
|
D | platform-linux.cc | 136 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate() 352 int prot = PROT_READ | PROT_WRITE; in CommitRegion() 354 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
|
D | platform-solaris.cc | 57 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate() 178 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
|
/external/mesa3d/src/mesa/main/ |
D | vsnprintf.c | 100 PROT_READ|PROT_WRITE|PROT_EXEC) == -1) 102 PROT_READ|PROT_WRITE);
|
/external/jemalloc/src/ |
D | pages.c | 36 ret = mmap(addr, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, in pages_map() 130 int prot = commit ? (PROT_READ | PROT_WRITE) : PROT_NONE; in pages_commit_impl()
|
/external/google-breakpad/src/common/ |
D | memory.h | 119 void *a = sys_mmap(NULL, page_size_ * num_pages, PROT_READ | PROT_WRITE, in GetNPages() 122 void *a = sys_mmap2(NULL, page_size_ * num_pages, PROT_READ | PROT_WRITE, in GetNPages()
|
/external/autotest/client/tests/rmaptest/src/ |
D | rmap-test.c | 207 PROT_READ|PROT_WRITE, in main() 221 p = mmap(0, vmasize * pagesize, PROT_READ|PROT_WRITE, in main()
|
/external/compiler-rt/test/msan/ |
D | allocator_mapping.cc | 22 void *p = mmap(hint, 4096, PROT_READ | PROT_WRITE, in A()
|
/external/fio/ |
D | mutex.c | 81 PROT_READ | PROT_WRITE, in fio_mutex_init() 216 PROT_READ | PROT_WRITE, in fio_rwlock_init()
|
/external/valgrind/none/tests/amd64/ |
D | nibz_bennee_mmap.c | 35 if ((p = mmap((void*)0x1F7F100000, 4096, PROT_READ|PROT_WRITE, in main()
|