/external/bison/m4/ |
D | mmap-anon.m4 | 9 # - On Linux, AIX, OSF/1, Solaris, Cygwin, Interix, Haiku, both MAP_ANONYMOUS 11 # - On HP-UX, only MAP_ANONYMOUS exists. 18 dnl Persuade glibc <sys/mman.h> to define MAP_ANONYMOUS. 26 # Try to allow MAP_ANONYMOUS. 29 AC_MSG_CHECKING([for MAP_ANONYMOUS]) 32 #ifdef MAP_ANONYMOUS 44 [AC_DEFINE([MAP_ANONYMOUS], [MAP_ANON], definition 45 [Define to a substitute value for mmap()'s MAP_ANONYMOUS flag.]) 51 [Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
|
/external/valgrind/main/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/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/strace/xlat/ |
D | mmap_flags.h | 13 #if defined(MAP_ANONYMOUS) || (defined(HAVE_DECL_MAP_ANONYMOUS) && HAVE_DECL_MAP_ANONYMOUS) 14 XLAT(MAP_ANONYMOUS), 80 #if defined(MAP_ANON) && (!defined(MAP_ANONYMOUS) || MAP_ANON != MAP_ANONYMOUS)
|
D | mmap_flags.in | 4 MAP_ANONYMOUS 45 #if defined(MAP_ANON) && (!defined(MAP_ANONYMOUS) || MAP_ANON != MAP_ANONYMOUS)
|
/external/libunwind/tests/ |
D | mapper.c | 39 #if !defined(MAP_ANONYMOUS) && defined(MAP_ANON) 40 # define MAP_ANONYMOUS MAP_ANON macro 55 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, in main()
|
/external/chromium_org/third_party/mesa/src/src/mapi/mapi/ |
D | u_execmem.c | 59 #ifndef MAP_ANONYMOUS 60 #define MAP_ANONYMOUS MAP_ANON macro 82 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in init_map()
|
/external/mesa3d/src/mapi/mapi/ |
D | u_execmem.c | 59 #ifndef MAP_ANONYMOUS 60 #define MAP_ANONYMOUS MAP_ANON macro 82 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in init_map()
|
/external/llvm/autoconf/m4/ |
D | header_mmap_anonymous.m4 | 6 [AC_CACHE_CHECK(for MAP_ANONYMOUS vs. MAP_ANON, 13 [[mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);]])], 19 …AC_DEFINE([HAVE_MMAP_ANONYMOUS],[1],[Define if mmap() uses MAP_ANONYMOUS to map anonymous pages, o…
|
/external/valgrind/main/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() 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()
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
D | execmem.c | 55 #ifndef MAP_ANONYMOUS 56 #define MAP_ANONYMOUS MAP_ANON macro 84 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in init_heap()
|
/external/mesa3d/src/mesa/main/ |
D | execmem.c | 55 #ifndef MAP_ANONYMOUS 56 #define MAP_ANONYMOUS MAP_ANON macro 84 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in init_heap()
|
/external/valgrind/main/tests/ |
D | sys_mman.h | 6 # define MAP_ANONYMOUS MAP_ANON macro 25 ptr = mmap(0, pagesz, PROT_READ, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); in get_unmapped_page()
|
/external/valgrind/main/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/valgrind/main/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/chromium_org/v8/src/base/platform/ |
D | platform-qnx.cc | 113 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate() 258 MAP_PRIVATE | MAP_ANONYMOUS | MAP_LAZY, in VirtualMemory() 330 MAP_PRIVATE | MAP_ANONYMOUS | MAP_LAZY, in ReserveRegion() 345 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, in CommitRegion() 359 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED | MAP_LAZY, in UncommitRegion()
|
D | platform-solaris.cc | 163 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, in VirtualMemory() 235 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, in ReserveRegion() 250 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, in CommitRegion() 263 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE | MAP_FIXED, in UncommitRegion()
|
D | platform-linux.cc | 138 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate() 315 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, in VirtualMemory() 390 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE, in ReserveRegion() 414 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, in CommitRegion() 428 MAP_PRIVATE | MAP_ANONYMOUS | MAP_NORESERVE | MAP_FIXED, in UncommitRegion()
|
/external/chromium_org/components/nacl/loader/nonsfi/ |
D | nonsfi_sandbox_unittest.cc | 346 MAP_ANONYMOUS | MAP_SHARED, -1, 0); in DoAllowedAnonymousMmap() 362 MAP_ANONYMOUS | MAP_POPULATE, -1, 0); in BPF_DEATH_TEST_C() 370 MAP_ANONYMOUS, -1, 0); in BPF_DEATH_TEST_C() 377 mmap(NULL, getpagesize(), PROT_EXEC, MAP_ANONYMOUS, -1, 0); in BPF_DEATH_TEST_C() 384 mmap(NULL, getpagesize(), PROT_READ | PROT_EXEC, MAP_ANONYMOUS, -1, 0); in BPF_DEATH_TEST_C() 391 mmap(NULL, getpagesize(), PROT_WRITE | PROT_EXEC, MAP_ANONYMOUS, -1, 0); in BPF_DEATH_TEST_C() 399 MAP_ANONYMOUS, -1, 0); in BPF_DEATH_TEST_C()
|
D | irt_icache_unittest.cc | 23 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST() 50 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in TEST()
|
/external/mesa3d/src/gallium/auxiliary/rtasm/ |
D | rtasm_execmem.c | 41 #define MAP_ANONYMOUS MAP_ANON macro 80 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in init_heap()
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/rtasm/ |
D | rtasm_execmem.c | 41 #define MAP_ANONYMOUS MAP_ANON macro 80 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in init_heap()
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
D | PageAllocator.cpp | 47 #ifndef MAP_ANONYMOUS 48 #define MAP_ANONYMOUS MAP_ANON macro 98 ret = mmap(addr, len, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in systemAllocPages()
|