/external/chromium_org/third_party/android_crazy_linker/src/src/ |
D | crazy_linker_proc_maps_unittest.cpp | 83 {0x40083000, true, PROT_READ | PROT_WRITE}, in TEST() 84 {0x40084000, true, PROT_READ | PROT_WRITE}, }; in TEST() 161 {0x40083000, 0x40084000, PROT_READ | PROT_WRITE, in TEST() 163 {0x40084000, 0x40088000, PROT_READ | PROT_WRITE, 0, NULL}, in TEST() 170 {0x40151000, 0x40152000, PROT_READ | PROT_WRITE, in TEST() 172 {0x40152000, 0x40153000, PROT_READ | PROT_WRITE, 0, NULL}, in TEST() 177 {0x40279000, 0x4027b000, PROT_READ | PROT_WRITE, in TEST() 179 {0x4027b000, 0x40289000, PROT_READ | PROT_WRITE, 0, NULL}, in TEST() 180 {0x41e6b000, 0x41e72000, PROT_READ | PROT_WRITE, 0, "[heap]"}, in TEST() 181 {0xbe91b000, 0xbe93c000, PROT_READ | PROT_WRITE, 0, "[stack]"}, in TEST()
|
D | crazy_linker_memory_mapping.h | 21 CAN_WRITE = PROT_WRITE, 22 CAN_READ_WRITE = PROT_READ | PROT_WRITE
|
D | crazy_linker_rdebug.cpp | 173 (page_prot_ & (PROT_READ | PROT_WRITE)) == (PROT_READ | PROT_WRITE)) { in MapReadWrite() 179 int new_page_prot = page_prot_ | PROT_READ | PROT_WRITE; in MapReadWrite() 251 readonly_entries_ = (prot & PROT_WRITE) == 0; in Init()
|
/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/qemu/android/utils/ |
D | mapfile.c | 191 if ((prot & (PROT_WRITE | PROT_EXEC)) == 0) { in mapfile_map() 194 } else if ((prot & (PROT_WRITE | PROT_EXEC)) == in mapfile_map() 195 (PROT_WRITE | PROT_EXEC)) { in mapfile_map() 198 } else if ((prot & PROT_WRITE) == PROT_WRITE) { in mapfile_map()
|
/external/strace/xlat/ |
D | mmap_prot.h | 10 #if defined(PROT_WRITE) || (defined(HAVE_DECL_PROT_WRITE) && HAVE_DECL_PROT_WRITE) 11 XLAT(PROT_WRITE),
|
D | mmap_prot.in | 3 PROT_WRITE
|
/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/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_posix.cc | 105 PROT_READ | PROT_WRITE, in MmapOrDie() 142 PROT_READ | PROT_WRITE, in MmapNoReserveOrDie() 160 PROT_READ | PROT_WRITE, in MmapFixedNoReserve() 176 PROT_READ | PROT_WRITE, in MmapFixedOrDie() 212 uptr p = internal_mmap(addr, size, PROT_READ | PROT_WRITE, flags, fd, offset); in MapWritableFileToMemory()
|
/external/chromium_org/v8/src/base/platform/ |
D | platform-solaris.cc | 77 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate() 108 mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fileno(file), 0); in open() 123 mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fileno(file), 0); in create() 246 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() 169 PROT_READ | PROT_WRITE, in open() 189 PROT_READ | PROT_WRITE, in create() 407 int prot = PROT_READ | PROT_WRITE; in CommitRegion() 409 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
|
D | platform-macos.cc | 58 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate() 95 PROT_READ | PROT_WRITE, in open() 115 PROT_READ | PROT_WRITE, in create() 278 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
|
D | platform-freebsd.cc | 62 int prot = PROT_READ | PROT_WRITE | (executable ? PROT_EXEC : 0); in Allocate() 93 mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fileno(file), 0); in open() 108 mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fileno(file), 0); in create() 274 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
|
D | platform-openbsd.cc | 60 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate() 91 mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fileno(file), 0); in open() 106 mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fileno(file), 0); in create() 305 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
|
D | platform-qnx.cc | 111 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in Allocate() 144 PROT_READ | PROT_WRITE, in open() 164 PROT_READ | PROT_WRITE, in create() 341 int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); in CommitRegion()
|
/external/chromium_org/components/nacl/loader/nonsfi/ |
D | irt_icache_unittest.cc | 22 mmap(NULL, sizeof(code_template), PROT_READ | PROT_WRITE | PROT_EXEC, in TEST() 49 mmap(NULL, mem_size, PROT_READ | PROT_WRITE | PROT_EXEC, in TEST()
|
/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/jpeg/ |
D | jmem-ashmem.c | 131 int err = ashmem_set_prot_region(fd, PROT_READ | PROT_WRITE); in get_ashmem() 136 void* addr = mmap(NULL, total_bytes_needed, PROT_READ | PROT_WRITE, in get_ashmem()
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
D | vsnprintf.c | 100 PROT_READ|PROT_WRITE|PROT_EXEC) == -1) 102 PROT_READ|PROT_WRITE);
|
/external/mesa3d/src/mesa/main/ |
D | vsnprintf.c | 100 PROT_READ|PROT_WRITE|PROT_EXEC) == -1) 102 PROT_READ|PROT_WRITE);
|
/external/strace/test/ |
D | mmap_offset_decode.c | 28 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, in main()
|