Home
last modified time | relevance | path

Searched refs:MAP_FAILED (Results 1 – 25 of 44) sorted by relevance

12

/external/libffi/testsuite/libffi.special/
Dffitestcxx.h26 # ifndef MAP_FAILED
27 # define MAP_FAILED -1 macro
39 # ifndef MAP_FAILED
40 # define MAP_FAILED -1 macro
77 if (page == MAP_FAILED) in allocate_mmap()
/external/libffi/testsuite/libffi.call/
Dffitest.h26 # ifndef MAP_FAILED
27 # define MAP_FAILED -1 macro
39 # ifndef MAP_FAILED
40 # define MAP_FAILED -1 macro
77 if (page == (void *) MAP_FAILED) in allocate_mmap()
/external/blktrace/btt/
Dmmap.c36 static void *cur_map = MAP_FAILED;
83 if (cur_map != MAP_FAILED) in move_map()
93 if (cur_map == MAP_FAILED) { in move_map()
125 if (cur_map != MAP_FAILED) in cleanup_ifile()
/external/v8/src/
Dplatform-openbsd.cc149 if (mbase == MAP_FAILED) { in Allocate()
306 if (0 == munmap(address(), size())) address_ = MAP_FAILED; in ~VirtualMemory()
312 return address_ != MAP_FAILED; in IsReserved()
318 if (MAP_FAILED == mmap(address, size, prot, in Commit()
332 kMmapFd, kMmapFdOffset) != MAP_FAILED; in Uncommit()
Dplatform-solaris.cc144 if (mbase == MAP_FAILED) { in Allocate()
280 if (0 == munmap(address(), size())) address_ = MAP_FAILED; in ~VirtualMemory()
286 return address_ != MAP_FAILED; in IsReserved()
292 if (MAP_FAILED == mmap(address, size, prot, in Commit()
306 kMmapFd, kMmapFdOffset) != MAP_FAILED; in Uncommit()
Dplatform-macos.cc143 if (mbase == MAP_FAILED) { in Allocate()
334 if (0 == munmap(address(), size())) address_ = MAP_FAILED; in ~VirtualMemory()
340 return address_ != MAP_FAILED; in IsReserved()
346 if (MAP_FAILED == mmap(address, size, prot, in Commit()
360 kMmapFd, kMmapFdOffset) != MAP_FAILED; in Uncommit()
Dplatform-freebsd.cc150 if (mbase == MAP_FAILED) { in Allocate()
333 if (0 == munmap(address(), size())) address_ = MAP_FAILED; in ~VirtualMemory()
339 return address_ != MAP_FAILED; in IsReserved()
345 if (MAP_FAILED == mmap(address, size, prot, in Commit()
359 kMmapFd, kMmapFdOffset) != MAP_FAILED; in Uncommit()
Dplatform-linux.cc219 if (mbase == MAP_FAILED) { in Allocate()
426 if (0 == munmap(address(), size())) address_ = MAP_FAILED; in ~VirtualMemory()
432 return address_ != MAP_FAILED; in IsReserved()
438 if (MAP_FAILED == mmap(address, size, prot, in Commit()
452 kMmapFd, kMmapFdOffset) != MAP_FAILED; in Uncommit()
/external/icu4c/common/
Dumapfile.c48 # ifndef MAP_FAILED
49 # define MAP_FAILED ((void*)-1) macro
191 if(data==MAP_FAILED) { in uprv_mapFile()
402 if(data==MAP_FAILED) { in uprv_mapFile()
/external/chromium/third_party/icu/source/common/
Dumapfile.c67 # ifndef MAP_FAILED
68 # define MAP_FAILED ((void*)-1) macro
218 if(data==MAP_FAILED) { in uprv_mapFile()
426 if(data==MAP_FAILED) { in uprv_mapFile()
/external/stlport/src/details/
Dfstream_unistd.cpp72 #ifndef MAP_FAILED /* MMAP failure return code */
73 # define MAP_FAILED -1 macro
321 if (base != (void*)MAP_FAILED) { in _M_mmap()
/external/qemu/distrib/sdl-1.2.12/src/audio/dma/
DSDL_dmaaudio.c46 #ifndef MAP_FAILED
47 #define MAP_FAILED ((Uint8 *)-1) macro
425 if ( dma_buf == MAP_FAILED ) { in DMA_OpenAudio()
/external/e2fsprogs/lib/ext2fs/tdb/patches/
Dreplace-includes51 +#ifndef MAP_FAILED
52 +#define MAP_FAILED ((void *)-1)
/external/webkit/JavaScriptCore/wtf/
DTCSystemAlloc.cpp182 if (result == reinterpret_cast<void*>(MAP_FAILED)) { in TryMmap()
313 if (result == reinterpret_cast<void*>(MAP_FAILED)) { in TryDevMem()
447 …ASSERT_UNUSED(newAddress, newAddress == start || newAddress == reinterpret_cast<void*>(MAP_FAILED)… in TCMalloc_SystemRelease()
/external/bluetooth/bluez/src/
Dtextfile.c218 if (!map || map == MAP_FAILED) { in write_key()
332 if (!map || map == MAP_FAILED) { in read_key()
427 if (!map || map == MAP_FAILED) { in textfile_foreach()
Doui.c73 if (!map || map == MAP_FAILED) { in ouitocomp()
/external/oprofile/libdb/
Ddb_manage.c83 if (new_map == MAP_FAILED) in odb_grow_hashtable()
229 if (data->base_memory == MAP_FAILED) { in odb_open()
/external/skia/src/core/
DSkMMapStream.cpp32 if (MAP_FAILED == addr) in SkMMAPStream()
/external/webkit/JavaScriptCore/jit/
DExecutableAllocatorPosix.cpp48 if (allocation == MAP_FAILED) in systemAlloc()
/external/elfutils/libelf/
Delf_update.c52 if (unlikely (elf->map_address == MAP_FAILED)) in write_file()
/external/bluetooth/glib/gio/xdgmime/
Dxdgmimecache.c71 #ifndef MAP_FAILED
72 #define MAP_FAILED ((void *) -1) macro
131 if (buffer == MAP_FAILED) in _xdg_mime_cache_new_from_file()
/external/chromium/base/third_party/xdg_mime/
Dxdgmimecache.c73 #ifndef MAP_FAILED
74 #define MAP_FAILED ((void *) -1) macro
133 if (buffer == MAP_FAILED) in _xdg_mime_cache_new_from_file()
/external/webkit/JavaScriptCore/interpreter/
DRegisterFile.h178 if (m_buffer == MAP_FAILED) { in RegisterFile()
/external/qemu/
Dosdep.c175 if (ptr == MAP_FAILED) {
/external/qemu/android/utils/
Dmapfile.c227 if (mapped_at == MAP_FAILED) { in mapfile_map()

12