/external/valgrind/memcheck/tests/ |
D | pointer-trace.c | 54 map = mmap(0, stepsize * 2, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0); in main() 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() 72 map = mmap(0, 256*1024, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANONYMOUS, -1, 0); in main()
|
D | mempool.c | 38 MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in make_pool() 41 MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in make_pool() 60 MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in push()
|
D | mempool2.c | 41 MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in make_pool() 44 MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in make_pool() 63 MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in push()
|
D | dw4.c | 66 MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 ); in main() 80 q = mmap(NULL, 100, PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0); in main()
|
/external/valgrind/none/tests/amd64/ |
D | nibz_bennee_mmap.c | 36 MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0)) == (void *)-1) in main() 47 MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)) == (void *)-1) in main() 53 MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)) == (void *)-1) 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/v8/src/base/platform/ |
D | platform-solaris.cc | 58 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate() 95 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, in VirtualMemory() 167 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, in ReserveRegion() 182 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, in CommitRegion() 195 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE | MAP_FIXED, in UncommitRegion()
|
D | platform-openbsd.cc | 61 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate() 144 void* addr = mmap(NULL, size, PROT_READ | PROT_EXEC, MAP_PRIVATE, in SignalCodeMovingGC() 173 MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, in VirtualMemory() 245 MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, in ReserveRegion() 260 MAP_PRIVATE | MAP_ANON | MAP_FIXED, in CommitRegion() 273 MAP_PRIVATE | MAP_ANON | MAP_NORESERVE | MAP_FIXED, in UncommitRegion()
|
D | platform-macos.cc | 62 MAP_PRIVATE | MAP_ANON, in Allocate() 135 MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, in VirtualMemory() 207 MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, in ReserveRegion() 224 MAP_PRIVATE | MAP_ANON | MAP_FIXED, in CommitRegion() 237 MAP_PRIVATE | MAP_ANON | MAP_NORESERVE | MAP_FIXED, in UncommitRegion()
|
D | platform-freebsd.cc | 62 void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); in Allocate() 142 MAP_PRIVATE | MAP_ANON, in VirtualMemory() 214 MAP_PRIVATE | MAP_ANON, in ReserveRegion() 229 MAP_PRIVATE | MAP_ANON | MAP_FIXED, in CommitRegion() 242 MAP_PRIVATE | MAP_ANON | MAP_FIXED, in UncommitRegion()
|
D | platform-linux.cc | 138 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate() 230 MAP_PRIVATE, fileno(f), 0); in SignalCodeMovingGC() 257 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, in VirtualMemory() 335 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, in ReserveRegion() 359 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, in CommitRegion() 373 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE | MAP_FIXED, in UncommitRegion()
|
D | platform-qnx.cc | 112 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate() 199 MAP_PRIVATE | MAP_ANONYMOUS | MAP_LAZY, in VirtualMemory() 271 MAP_PRIVATE | MAP_ANONYMOUS | MAP_LAZY, in ReserveRegion() 286 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, in CommitRegion() 300 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED | MAP_LAZY, in UncommitRegion()
|
/external/elfutils/lib/ |
D | crc32_file.c | 52 void *mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, fd, 0); in crc32_file() 58 && (mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, in crc32_file() 75 } while (mmap (mapped, mapsize, PROT_READ, MAP_FIXED|MAP_PRIVATE, in crc32_file()
|
/external/libchrome/sandbox/linux/seccomp-bpf/ |
D | syscall_unittest.cc | 185 MAP_PRIVATE | MAP_ANONYMOUS, in TEST() 197 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, in TEST() 214 kMMapNr, (void*)NULL, 8192L, PROT_READ, MAP_PRIVATE, fd, 0L))); in TEST() 220 MAP_PRIVATE, in TEST()
|
/external/valgrind/none/tests/ |
D | map_unaligned.c | 10 if ( ( p1 = mmap( 0, 4096, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0 ) ) == MAP_FAILED ) in main() 25 …if ( ( p2 = mmap( p1 + 1, 4096, PROT_READ, MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, -1, 0 ) ) == M… in main()
|
/external/autotest/client/tests/aio_dio_bugs/src/ |
D | aio-free-ring-with-bogus-nr-pages.c | 46 map = mmap(NULL, 100, PROT_READ, MAP_ANONYMOUS|MAP_PRIVATE, in main() 50 map = mmap(NULL, 100, PROT_WRITE, MAP_ANONYMOUS|MAP_PRIVATE, 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 | 12 MAP_ANON | MAP_PRIVATE, -1, 0); in main() 18 MAP_ANON | MAP_PRIVATE, -1, 0); in main()
|
/external/valgrind/none/tests/linux/ |
D | mremap3.c | 12 MAP_ANONYMOUS|MAP_PRIVATE,0,0); in main() 22 MAP_ANONYMOUS|MAP_PRIVATE,0,0); in main()
|
/external/autotest/client/tests/memory_api/ |
D | mremaps.c | 37 MAP_PRIVATE | MAP_ANONYMOUS, in main() 65 MAP_PRIVATE | MAP_ANONYMOUS, in main()
|
/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/google-breakpad/src/common/linux/ |
D | memory_mapped_file.cc | 92 void* data = sys_mmap(NULL, file_len, PROT_READ, MAP_PRIVATE, fd, offset); in Map() 100 NULL, file_len, PROT_READ, MAP_PRIVATE, fd, offset >> 12); in Map()
|
/external/libunwind/src/coredump/ |
D | _UCD_elf_map_image.c | 41 … ei->image = mmap(NULL, phdr->p_memsz, PROT_READ, MAP_PRIVATE, ui->coredump_fd, phdr->p_offset); in CD_elf_map_image() 63 ei->image = mmap(NULL, phdr->backing_filesize, PROT_READ, MAP_PRIVATE, phdr->backing_fd, 0); in CD_elf_map_image()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_posix.cc | 119 MAP_PRIVATE | MAP_ANON, -1, 0); in MmapOrDie() 143 MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, in MmapNoReserveOrDie() 157 MAP_PRIVATE | MAP_ANON | MAP_FIXED, in MmapFixedOrDie() 223 uptr map = internal_mmap(nullptr, *buff_size, PROT_READ, MAP_PRIVATE, fd, 0); in MapFileToMemory()
|
/external/strace/xlat/ |
D | mmap_flags.h | 18 #if defined(MAP_PRIVATE) || (defined(HAVE_DECL_MAP_PRIVATE) && HAVE_DECL_MAP_PRIVATE) 19 XLAT(MAP_PRIVATE),
|