/external/valgrind/memcheck/tests/x86-linux/ |
H A D | bug133694.c | 9 if ((a1 = mmap((void *)0x200000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0)) == MAP_FAILED) 21 if (mmap((void *)0x100000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) == MAP_FAILED) 27 if (mmap((void *)0x100000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) == MAP_FAILED)
|
/external/compiler-rt/test/tsan/ |
H A D | java_heap_init.cc | 11 jptr jheap = (jptr)mmap(0, kHeapSize, PROT_READ | PROT_WRITE, 17 jheap = (jptr)mmap((void*)jheap, kHeapSize, PROT_READ | PROT_WRITE,
|
H A D | map32bit.cc | 26 void *ptr = mmap(0, 128 << 10, PROT_READ|PROT_WRITE,
|
H A D | mmap_large.cc | 26 PROT_READ|PROT_WRITE,
|
/external/strace/xlat/ |
H A D | mmap_prot.h | 17 #if defined(PROT_WRITE) || (defined(HAVE_DECL_PROT_WRITE) && HAVE_DECL_PROT_WRITE) 18 XLAT(PROT_WRITE),
|
/external/valgrind/none/tests/amd64-linux/ |
H A D | map_32bits.c | 15 PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_32BIT, 34 PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
|
/external/valgrind/none/tests/linux/ |
H A D | mremap3.c | 11 void *initial_area = mmap((void *)0x10000000, 40960, PROT_READ|PROT_WRITE, 21 void *area = mmap(initial_area, 4096, PROT_READ|PROT_WRITE,
|
/external/compiler-rt/test/msan/ |
H A D | allocator_mapping.cc | 22 void *p = mmap(hint, 4096, PROT_READ | PROT_WRITE,
|
/external/valgrind/none/tests/amd64/ |
H A D | nibz_bennee_mmap.c | 35 if ((p = mmap((void*)0x1F7F100000, 4096, PROT_READ|PROT_WRITE,
|
/external/valgrind/memcheck/tests/ |
H A D | addressable.c | 43 char *m = mm(0, pgsz * 5, PROT_READ|PROT_WRITE); 57 char *m = mm(0, pgsz * 5, PROT_READ|PROT_WRITE); 67 char *m = mm(0, pgsz * 5, PROT_READ|PROT_WRITE); 69 mprotect(m, pgsz, PROT_WRITE); 80 char *m = mm(0, pgsz * 5, PROT_READ|PROT_WRITE);
|
H A D | pointer-trace.c | 59 map = mmap(0, stepsize * 2, PROT_WRITE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0); 66 map = mmap(0, stepsize * 2, PROT_WRITE|PROT_READ, MAP_PRIVATE, fd, 0);
|
H A D | mempool.c | 37 p = (pool *)mmap(0, sizeof(pool), PROT_READ|PROT_WRITE|PROT_EXEC, 40 PROT_READ|PROT_WRITE|PROT_EXEC, 59 PROT_READ|PROT_WRITE|PROT_EXEC,
|
/external/autotest/client/tests/aio_dio_bugs/src/ |
H A D | aio-free-ring-with-bogus-nr-pages.c | 18 * PROT_READ|PROT_WRITE, MAP_ANON|MAP_PRIVATE, 50 map = mmap(NULL, 100, PROT_WRITE, MAP_ANONYMOUS|MAP_PRIVATE,
|
/external/compiler-rt/test/lsan/TestCases/ |
H A D | register_root_region.cc | 19 mmap(0, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0);
|
/external/kernel-headers/original/uapi/asm-generic/ |
H A D | mman-common.h | 10 #define PROT_WRITE 0x2 /* page can be written */ macro
|
/external/libunwind/tests/ |
H A D | mapper.c | 54 if (mmap (NULL, 1, (n & 1) ? PROT_READ : PROT_WRITE,
|
/external/strace/tests/ |
H A D | umovestr.c | 41 void *p = mmap(NULL, page_len * 2, PROT_READ | PROT_WRITE,
|
H A D | umovestr2.c | 40 void *p = mmap(NULL, page_len * 3, PROT_READ | PROT_WRITE,
|
/external/autotest/client/tests/memory_api/ |
H A D | mremaps.c | 36 mem = mmap(0, memsize, PROT_READ | PROT_WRITE, 64 mem = mmap(0, memsize, PROT_READ | PROT_WRITE,
|
H A D | memory_api.c | 64 mem = mmap(0, memsize, PROT_READ | PROT_WRITE, 89 PROT_READ | PROT_WRITE)) { 136 mem = mmap(0, memsize, PROT_READ | PROT_WRITE,
|
/external/valgrind/helgrind/tests/ |
H A D | stackteardown.c | 97 stack = mmap(NULL, sz, PROT_READ|PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, 100 stack = mmap(NULL, sz, PROT_READ|PROT_WRITE, MAP_PRIVATE | MAP_ANON,
|
/external/compiler-rt/lib/builtins/ |
H A D | enable_execute_stack.c | 70 (void) mprotect((void *)startPage, length, PROT_READ | PROT_WRITE | PROT_EXEC);
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
H A D | mincore.cc | 11 void *addr = mmap(nullptr, 20 * PS, PROT_READ | PROT_WRITE,
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
H A D | large_allocator_unpoisons_on_free.cc | 31 char *q = (char *)mmap(p, kPageSize, PROT_READ | PROT_WRITE,
|
/external/compiler-rt/test/msan/Linux/ |
H A D | mincore.cc | 12 void *addr = mmap(nullptr, 20 * PS, PROT_READ | PROT_WRITE,
|