Home
last modified time | relevance | path

Searched refs:PROT_WRITE (Results 1 – 25 of 230) sorted by relevance

12345678910

/external/chromium_org/third_party/android_crazy_linker/src/src/
Dcrazy_linker_proc_maps_unittest.cpp83 {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()
Dcrazy_linker_memory_mapping.h21 CAN_WRITE = PROT_WRITE,
22 CAN_READ_WRITE = PROT_READ | PROT_WRITE
Dcrazy_linker_rdebug.cpp173 (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/
Daddressable.c43 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()
Dmempool.c37 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()
Dpointer-trace.c59 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()
Dmempool2.c40 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/
Dbug133694.c9 …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/
Dmapfile.c191 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/
Dmmap_prot.h10 #if defined(PROT_WRITE) || (defined(HAVE_DECL_PROT_WRITE) && HAVE_DECL_PROT_WRITE)
11 XLAT(PROT_WRITE),
Dmmap_prot.in3 PROT_WRITE
/external/valgrind/main/none/tests/linux/
Dmremap3.c11 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/
Dsanitizer_posix.cc105 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/
Dplatform-solaris.cc77 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()
Dplatform-linux.cc136 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()
Dplatform-macos.cc58 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()
Dplatform-freebsd.cc62 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()
Dplatform-openbsd.cc60 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()
Dplatform-qnx.cc111 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/
Dirt_icache_unittest.cc22 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/
Djmem-ashmem.c128 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/
Djmem-ashmem.c131 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/
Dvsnprintf.c100 PROT_READ|PROT_WRITE|PROT_EXEC) == -1)
102 PROT_READ|PROT_WRITE);
/external/mesa3d/src/mesa/main/
Dvsnprintf.c100 PROT_READ|PROT_WRITE|PROT_EXEC) == -1)
102 PROT_READ|PROT_WRITE);
/external/strace/test/
Dmmap_offset_decode.c28 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, in main()

12345678910