/external/selinux/libselinux/src/ |
D | sestatus.c | 98 if (selinux_status == MAP_FAILED) { in selinux_status_updated() 141 if (selinux_status == MAP_FAILED) { in selinux_status_getenforce() 178 if (selinux_status == MAP_FAILED) { in selinux_status_policyload() 213 if (selinux_status == MAP_FAILED) in selinux_status_deny_unknown() 276 if (selinux_status == MAP_FAILED) { in selinux_status_open() 302 selinux_status = MAP_FAILED; in selinux_status_open() 332 if (selinux_status == MAP_FAILED) in selinux_status_close()
|
/external/compiler-rt/lib/profile/ |
D | WindowsMMap.c | 35 return MAP_FAILED; in mmap() 38 return MAP_FAILED; in mmap() 40 return MAP_FAILED; in mmap() 64 return MAP_FAILED; in mmap() 78 ret = MAP_FAILED; in mmap()
|
/external/ltp/testcases/kernel/syscalls/mremap/ |
D | mremap05.c | 80 .exp_ret = MAP_FAILED, 89 .exp_ret = MAP_FAILED, 98 .exp_ret = MAP_FAILED, 131 if (p == MAP_FAILED) in get_test_area() 144 if (t->ret != MAP_FAILED) { in test_mremap() 199 if (t->ret == MAP_FAILED) in cleanup0() 207 if (t->ret == MAP_FAILED) { in cleanup1()
|
/external/libffi/testsuite/libffi.call/ |
D | ffitest.h | 45 # ifndef MAP_FAILED 46 # define MAP_FAILED -1 macro 58 # ifndef MAP_FAILED 59 # define MAP_FAILED -1 macro
|
/external/python/cpython3/Modules/_ctypes/libffi/testsuite/libffi.call/ |
D | ffitest.h | 45 # ifndef MAP_FAILED 46 # define MAP_FAILED -1 macro 58 # ifndef MAP_FAILED 59 # define MAP_FAILED -1 macro
|
/external/python/cpython2/Modules/_ctypes/libffi/testsuite/libffi.call/ |
D | ffitest.h | 45 # ifndef MAP_FAILED 46 # define MAP_FAILED -1 macro 58 # ifndef MAP_FAILED 59 # define MAP_FAILED -1 macro
|
/external/valgrind/memcheck/tests/x86-linux/ |
D | bug133694.c | 9 …*)0x200000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0)) == MAP_FAILED) in main() 21 … *)0x100000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) == MAP_FAILED) in main() 27 …mmap((void *)0x100000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) == MAP_FAILED) in main()
|
/external/valgrind/none/tests/linux/ |
D | mremap3.c | 14 if (initial_area == MAP_FAILED) in main() 23 if (area == MAP_FAILED) in main() 32 if (a2 == MAP_FAILED) { in main()
|
/external/v8/src/base/platform/ |
D | platform-solaris.cc | 61 if (mbase == MAP_FAILED) return NULL; in Allocate() 99 if (reservation == MAP_FAILED) return; in VirtualMemory() 172 if (result == MAP_FAILED) return NULL; in ReserveRegion() 180 if (MAP_FAILED == mmap(base, in CommitRegion() 198 kMmapFdOffset) != MAP_FAILED; in UncommitRegion()
|
D | platform-openbsd.cc | 64 if (mbase == MAP_FAILED) return NULL; in Allocate() 148 DCHECK(addr != MAP_FAILED); in SignalCodeMovingGC() 178 if (reservation == MAP_FAILED) return; in VirtualMemory() 251 if (result == MAP_FAILED) return NULL; in ReserveRegion() 259 if (MAP_FAILED == mmap(base, in CommitRegion() 277 kMmapFdOffset) != MAP_FAILED; in UncommitRegion()
|
D | platform-macos.cc | 65 if (mbase == MAP_FAILED) return NULL; in Allocate() 140 if (reservation == MAP_FAILED) return; in VirtualMemory() 213 if (result == MAP_FAILED) return NULL; in ReserveRegion() 223 if (MAP_FAILED == mmap(address, in CommitRegion() 241 kMmapFdOffset) != MAP_FAILED; in UncommitRegion()
|
D | platform-linux.cc | 118 if (mbase == MAP_FAILED) return NULL; in Allocate() 201 DCHECK_NE(MAP_FAILED, addr); in SignalCodeMovingGC() 223 if (reservation == MAP_FAILED) return; in VirtualMemory() 290 if (result == MAP_FAILED) return NULL; in ReserveRegion() 300 if (MAP_FAILED == mmap(base, size, prot, in CommitRegion() 312 kMmapFdOffset) != MAP_FAILED; in UncommitRegion()
|
D | platform-freebsd.cc | 66 if (mbase == MAP_FAILED) return NULL; in Allocate() 147 if (reservation == MAP_FAILED) return; in VirtualMemory() 220 if (result == MAP_FAILED) return NULL; in ReserveRegion() 228 if (MAP_FAILED == mmap(base, in CommitRegion() 246 kMmapFdOffset) != MAP_FAILED; in UncommitRegion()
|
/external/libmicrohttpd/src/microhttpd/ |
D | memorypool.c | 31 #ifndef MAP_FAILED 32 #define MAP_FAILED ((void*)-1) macro 96 pool->memory = MAP_FAILED; in MHD_pool_create() 106 pool->memory = MAP_FAILED; in MHD_pool_create() 108 if ((pool->memory == MAP_FAILED) || (pool->memory == NULL)) in MHD_pool_create()
|
/external/autotest/client/site_tests/security_mprotect/src/ |
D | prot_exec.c | 38 fd, 0)) == MAP_FAILED) in main() 44 fd, 0)) != MAP_FAILED) in main() 49 fd, 0)) == MAP_FAILED) in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
D | 28-3.c | 58 if (buf == MAP_FAILED) { in main() 80 if (buf == MAP_FAILED && errno == EBADF) { in main() 83 } else if (buf == MAP_FAILED) { in main()
|
/external/blktrace/btt/ |
D | mmap.c | 36 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/ltp/testcases/kernel/syscalls/writev/ |
D | writev06.c | 180 if (bad_addr[0] == MAP_FAILED) in setup() 185 if (good_addr[0] == MAP_FAILED) in setup() 190 if (bad_addr[1] == MAP_FAILED) in setup() 195 if (good_addr[1] == MAP_FAILED) in setup()
|
/external/ltp/testcases/kernel/hotplug/memory_hotplug/ |
D | segment.c | 150 if (segp->seg_start == MAP_FAILED) in unmap_segment() 168 segp->seg_start = MAP_FAILED; in unmap_segment() 270 if (memp == MAP_FAILED) { in map_anon_segment() 403 if (memp == MAP_FAILED) { in map_file_segment() 451 if (segp->seg_start == MAP_FAILED) { in map_shm_segment() 528 segp->seg_start = MAP_FAILED; in segment_register() 595 if (segp->seg_start != MAP_FAILED) { in show_one_segment() 737 if (segp->seg_start == MAP_FAILED) in segment_unmap() 754 segp->seg_start = MAP_FAILED; in segment_unmap() 776 if (segp->seg_start != MAP_FAILED) { in segment_map() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
D | 27-1.c | 60 if (pa == MAP_FAILED) { in main() 75 if (pa == MAP_FAILED) { in main() 82 if (pa == MAP_FAILED) { in main()
|
/external/elfutils/lib/ |
D | crc32_file.c | 53 if (mapped == MAP_FAILED && errno == ENOMEM) in crc32_file() 59 fd, 0)) == MAP_FAILED && errno == ENOMEM) in crc32_file() 62 if (mapped != MAP_FAILED) in crc32_file()
|
/external/strace/tests-mx32/ |
D | mmap.c | 67 if (MAP_FAILED == p) in main() 82 if (MAP_FAILED == addr) in main() 88 if (MAP_FAILED == p) in main()
|
/external/strace/tests-m32/ |
D | mmap.c | 67 if (MAP_FAILED == p) in main() 82 if (MAP_FAILED == addr) in main() 88 if (MAP_FAILED == p) in main()
|
/external/strace/tests/ |
D | mmap.c | 67 if (MAP_FAILED == p) in main() 82 if (MAP_FAILED == addr) in main() 88 if (MAP_FAILED == p) in main()
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
D | virtual_address_range.c | 91 if (ptr == MAP_FAILED) in validate_lower_address_hint() 108 if (ptr[i] == MAP_FAILED) { in main() 124 if (hptr[i] == MAP_FAILED) in main()
|