/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/strace/xlat/ |
D | mmap_flags.h | 2 #if defined(MAP_ANON) && (!defined(MAP_ANONYMOUS) || MAP_ANON != MAP_ANONYMOUS) 24 #if defined(MAP_ANONYMOUS) || (defined(HAVE_DECL_MAP_ANONYMOUS) && HAVE_DECL_MAP_ANONYMOUS) 25 XLAT(MAP_ANONYMOUS), 91 #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/libmicrohttpd/src/microhttpd/ |
D | memorypool.c | 28 #if defined(MAP_ANON) && !defined(MAP_ANONYMOUS) 29 #define MAP_ANONYMOUS MAP_ANON macro 94 #if defined(MAP_ANONYMOUS) || defined(_WIN32) in MHD_pool_create() 98 #if defined(MAP_ANONYMOUS) && !defined(_WIN32) in MHD_pool_create() 100 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in MHD_pool_create() 142 #if defined(MAP_ANONYMOUS) && !defined(_WIN32) in MHD_pool_destroy()
|
/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/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/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/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/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/v8/src/base/platform/ |
D | platform-solaris.cc | 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-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()
|
D | platform-linux.cc | 138 void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate() 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-aix.cc | 68 void* mbase = mmapHelper(msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in Allocate() 142 mmapHelper(request_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, kMmapFd, in VirtualMemory() 208 void* result = mmapHelper(size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, in ReserveRegion()
|
/external/valgrind/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/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/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/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/google-breakpad/src/common/ |
D | memory.h | 49 #define MAP_ANONYMOUS MAP_ANON macro 120 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in GetNPages() 123 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in GetNPages()
|