Searched refs:PROT_WRITE (Results 1 - 25 of 213) sorted by relevance

123456789

/external/valgrind/memcheck/tests/x86-linux/
H A Dbug133694.c9 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 Djava_heap_init.cc11 jptr jheap = (jptr)mmap(0, kHeapSize, PROT_READ | PROT_WRITE,
17 jheap = (jptr)mmap((void*)jheap, kHeapSize, PROT_READ | PROT_WRITE,
H A Dmap32bit.cc26 void *ptr = mmap(0, 128 << 10, PROT_READ|PROT_WRITE,
H A Dmmap_large.cc26 PROT_READ|PROT_WRITE,
/external/strace/xlat/
H A Dmmap_prot.h17 #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 Dmap_32bits.c15 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 Dmremap3.c11 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 Dallocator_mapping.cc22 void *p = mmap(hint, 4096, PROT_READ | PROT_WRITE,
/external/valgrind/none/tests/amd64/
H A Dnibz_bennee_mmap.c35 if ((p = mmap((void*)0x1F7F100000, 4096, PROT_READ|PROT_WRITE,
/external/valgrind/memcheck/tests/
H A Daddressable.c43 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 Dpointer-trace.c59 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 Dmempool.c37 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 Daio-free-ring-with-bogus-nr-pages.c18 * 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 Dregister_root_region.cc19 mmap(0, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0);
/external/kernel-headers/original/uapi/asm-generic/
H A Dmman-common.h10 #define PROT_WRITE 0x2 /* page can be written */ macro
/external/libunwind/tests/
H A Dmapper.c54 if (mmap (NULL, 1, (n & 1) ? PROT_READ : PROT_WRITE,
/external/strace/tests/
H A Dumovestr.c41 void *p = mmap(NULL, page_len * 2, PROT_READ | PROT_WRITE,
H A Dumovestr2.c40 void *p = mmap(NULL, page_len * 3, PROT_READ | PROT_WRITE,
/external/autotest/client/tests/memory_api/
H A Dmremaps.c36 mem = mmap(0, memsize, PROT_READ | PROT_WRITE,
64 mem = mmap(0, memsize, PROT_READ | PROT_WRITE,
H A Dmemory_api.c64 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 Dstackteardown.c97 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 Denable_execute_stack.c70 (void) mprotect((void *)startPage, length, PROT_READ | PROT_WRITE | PROT_EXEC);
/external/compiler-rt/test/asan/TestCases/Linux/
H A Dmincore.cc11 void *addr = mmap(nullptr, 20 * PS, PROT_READ | PROT_WRITE,
/external/compiler-rt/test/asan/TestCases/Posix/
H A Dlarge_allocator_unpoisons_on_free.cc31 char *q = (char *)mmap(p, kPageSize, PROT_READ | PROT_WRITE,
/external/compiler-rt/test/msan/Linux/
H A Dmincore.cc12 void *addr = mmap(nullptr, 20 * PS, PROT_READ | PROT_WRITE,

Completed in 871 milliseconds

123456789