Home
last modified time | relevance | path

Searched refs:MAP_ANONYMOUS (Results 1 – 25 of 100) sorted by relevance

1234

/external/bison/m4/
Dmmap-anon.m49 # - 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/
Dmmap_flags.h2 #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)
Dmmap_flags.in4 MAP_ANONYMOUS
45 #if defined(MAP_ANON) && (!defined(MAP_ANONYMOUS) || MAP_ANON != MAP_ANONYMOUS)
/external/libmicrohttpd/src/microhttpd/
Dmemorypool.c28 #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/
Dnibz_bennee_mmap.c36 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/
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/libunwind/tests/
Dmapper.c39 #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/
Du_execmem.c59 #ifndef MAP_ANONYMOUS
60 #define MAP_ANONYMOUS MAP_ANON macro
82 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in init_map()
/external/llvm/autoconf/m4/
Dheader_mmap_anonymous.m46 [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/
Dpointer-trace.c54 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()
Dmempool.c38 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()
Dmempool2.c41 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/
Dexecmem.c55 #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/
Dplatform-solaris.cc95 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()
Dplatform-qnx.cc112 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()
Dplatform-linux.cc138 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()
Dplatform-aix.cc68 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/
Dsys_mman.h6 # 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/
Dmap_unaligned.c10 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/
Daio-free-ring-with-bogus-nr-pages.c46 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/
Dmap_32bits.c15 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/
Dmremap3.c12 MAP_ANONYMOUS|MAP_PRIVATE,0,0); in main()
22 MAP_ANONYMOUS|MAP_PRIVATE,0,0); in main()
/external/autotest/client/tests/memory_api/
Dmremaps.c37 MAP_PRIVATE | MAP_ANONYMOUS, in main()
65 MAP_PRIVATE | MAP_ANONYMOUS, in main()
/external/mesa3d/src/gallium/auxiliary/rtasm/
Drtasm_execmem.c41 #define MAP_ANONYMOUS MAP_ANON macro
80 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in init_heap()
/external/google-breakpad/src/common/
Dmemory.h49 #define MAP_ANONYMOUS MAP_ANON macro
120 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in GetNPages()
123 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in GetNPages()

1234