Home
last modified time | relevance | path

Searched refs:mmap (Results 1 – 25 of 33) sorted by relevance

12

/ndk/tests/abcc/jni/mman-win32/
Dtest.c16 void* map = mmap(NULL, 1024, PROT_READ | PROT_WRITE, in test_anon_map_readwrite()
36 void* map = mmap(NULL, 1024, PROT_READ, in test_anon_map_readonly()
56 void* map = mmap(NULL, 1024, PROT_WRITE, in test_anon_map_writeonly()
76 void* map = mmap(NULL, 1024, PROT_READ, in test_anon_map_readonly_nowrite()
101 void* map = mmap(NULL, 1024, PROT_READ | PROT_WRITE, MAP_PRIVATE, o, 0); in test_file_map_readwrite()
136 void* map = mmap(NULL, map_size, PROT_READ | PROT_WRITE, MAP_PRIVATE, o, 0); in test_file_map_mlock_munlock()
186 void* map = mmap(NULL, map_size, PROT_READ | PROT_WRITE, MAP_PRIVATE, o, 0); in test_file_map_msync()
Dmman.h44 void* mmap(void *addr, size_t len, int prot, int flags, int fildes, off_t off);
Dmman.c59 void* mmap(void *addr, size_t len, int prot, int flags, int fildes, off_t off) in mmap() function
/ndk/sources/host-tools/sed-4.2.1/m4/
Dmmap-anon.m41 # mmap-anon.m4 serial 8
7 # Detect how mmap can be used to create anonymous (not file-backed) memory
25 # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
28 AC_CHECK_FUNC([mmap], [gl_have_mmap=yes], [gl_have_mmap=no])
49 [Define to a substitute value for mmap()'s MAP_ANONYMOUS flag.])
55 [Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
Dmemchr.m456 (char *) mmap (NULL, 2 * pagesize, PROT_READ | PROT_WRITE,
Dgnulib-comp.m4405 m4/mmap-anon.m4
/ndk/tests/device/test-stlport/unit/
Dmap_test.cpp79 typedef multimap<char, int, less<char> > mmap; in mmap1() typedef
80 mmap m; in mmap1()
90 mmap::iterator i = m.find('X'); // Find first match. in mmap1()
121 typedef multimap<int, char, less<int> > mmap; in mmap2() typedef
132 mmap m(array + 0, array + 6); in mmap2()
133 mmap::iterator i; in mmap2()
157 typedef multimap<int, char, less<int> > mmap; in iterators() typedef
158 typedef mmap::value_type pair_type; in iterators()
176 mmap m(array+0, array + 6); in iterators()
179 mmap::iterator ite(m.begin()); in iterators()
[all …]
Dhash_test.cpp116 typedef hash_multimap<char, int, hash<char>,equal_to<char> > mmap; in hmmap1() typedef
117 mmap m; in hmmap1()
126 mmap::iterator i = m.find('X'); // Find first match. in hmmap1()
143 mmap::iterator ite(m.begin()); in hmmap1()
144 mmap::const_iterator cite(m.begin()); in hmmap1()
/ndk/tests/device/test-gnustl-full/unit/
Dmap_test.cpp79 typedef multimap<char, int, less<char> > mmap; in mmap1() typedef
80 mmap m; in mmap1()
90 mmap::iterator i = m.find('X'); // Find first match. in mmap1()
121 typedef multimap<int, char, less<int> > mmap; in mmap2() typedef
132 mmap m(array + 0, array + 6); in mmap2()
133 mmap::iterator i; in mmap2()
157 typedef multimap<int, char, less<int> > mmap; in iterators() typedef
158 typedef mmap::value_type pair_type; in iterators()
176 mmap m(array+0, array + 6); in iterators()
179 mmap::iterator ite(m.begin()); in iterators()
[all …]
Dhash_test.cpp116 typedef hash_multimap<char, int, hash<char>,equal_to<char> > mmap; in hmmap1() typedef
117 mmap m; in hmmap1()
126 mmap::iterator i = m.find('X'); // Find first match. in hmmap1()
143 mmap::iterator ite(m.begin()); in hmmap1()
144 mmap::const_iterator cite(m.begin()); in hmmap1()
/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_ashmem_unittest.cpp22 void* map = ::mmap(NULL, in TEST()
Dcrazy_linker_memory_mapping.h43 map_ = ::mmap(address, size_, static_cast<int>(prot), flags, fd, 0); in Allocate()
Dcrazy_linker_system.cpp46 return ::mmap(address, length, prot, flags, fd_, offset); in Map()
Dcrazy_linker_elf_loader.cpp204 void* start = mmap(addr, load_size_, PROT_NONE, mmap_flags, -1, 0); in ReserveAddressSpace()
327 void* zeromap = mmap((void*)seg_file_end, in LoadSegments()
Dcrazy_linker_elf_relro.cpp43 void* new_map = ::mmap(addr, in SwapPagesFromFd()
Dcrazy_linker_system_mock.cpp236 void* map = mmap(address, length, PROT_WRITE, MAP_ANONYMOUS, -1, 0); in Map()
/ndk/sources/host-tools/ndk-stack/elff/
Dmapfile.c226 mmap(0, map_size, PROT_READ, MAP_SHARED, (int)(ptrdiff_t)handle, map_offset); in mapfile_map()
/ndk/sources/android/crazy_linker/
DDESIGN.TXT37 - No need to care about kernel interfaces. Everything uses mmap() and simple
77 memory with mmap().
/ndk/sources/cxx-stl/stlport/src/details/
Dfstream_unistd.cpp62 # define MMAP mmap
/ndk/sources/cxx-stl/gabi++/src/
Dcxxabi.cc155 void* new_slab = mmap(NULL, kSlabSize, PROT_READ|PROT_WRITE, in AllocateSlab()
/ndk/tests/abcc/jni/
DAbcc.cpp79 buf = (unsigned char *) mmap (NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in readWrapper()
/ndk/sources/host-tools/make-3.81/
Dconfig.ami75 /* Define if you have a working `mmap' system call. */
/ndk/sources/host-tools/sed-4.2.1/sed/
DMakefile.in62 $(top_srcdir)/m4/mkstemp.m4 $(top_srcdir)/m4/mmap-anon.m4 \
/ndk/sources/third_party/googletest/googletest/src/
Dgtest-death-test.cc1057 void* const stack = mmap(NULL, stack_size, PROT_READ | PROT_WRITE, in ExecDeathTestSpawnChild()
/ndk/sources/host-tools/sed-4.2.1/
Dconfig_h.in347 /* Define to 1 if mmap()'s MAP_ANONYMOUS flag is available after including
552 /* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */

12