/bionic/tests/ |
D | sys_mman_test.cpp | 28 ASSERT_NE(MAP_FAILED, map); in TEST() 34 ASSERT_NE(MAP_FAILED, map); in TEST() 42 ASSERT_EQ(MAP_FAILED, map); in TEST() 49 ASSERT_EQ(MAP_FAILED, map); in TEST() 63 ASSERT_NE(MAP_FAILED, map); in TEST() 78 ASSERT_NE(MAP_FAILED, map); in TEST() 114 ASSERT_NE(MAP_FAILED, map); in TEST() 122 ASSERT_NE(MAP_FAILED, map); in TEST() 150 ASSERT_NE(MAP_FAILED, map); in TEST() 158 ASSERT_NE(MAP_FAILED, map); in TEST() [all …]
|
D | sys_prctl_test.cpp | 39 ASSERT_NE(MAP_FAILED, p); in TEST()
|
D | dlext_test.cpp | 325 ASSERT_TRUE(start != MAP_FAILED); in TEST_F() 349 ASSERT_TRUE(start != MAP_FAILED); in TEST_F() 360 ASSERT_TRUE(start != MAP_FAILED); in TEST_F() 393 ASSERT_TRUE(start != MAP_FAILED); in TEST_F() 404 ASSERT_TRUE(start != MAP_FAILED); in TEST_F() 421 ASSERT_TRUE(start != MAP_FAILED); in TEST_F() 441 ASSERT_TRUE(start != MAP_FAILED); in SetUp() 2051 ASSERT_TRUE(reinterpret_cast<void*>(reserved_addr) != MAP_FAILED); in TEST() 2059 ASSERT_TRUE(map != MAP_FAILED); in TEST()
|
D | pthread_test.cpp | 166 ASSERT_NE(MAP_FAILED, stack); in TEST() 1850 ASSERT_NE(MAP_FAILED, sig_stack); in TEST() 2839 if (page == MAP_FAILED) break; in TEST()
|
/bionic/libc/bionic/ |
D | mmap.cpp | 47 return MAP_FAILED; in mmap64() 54 return MAP_FAILED; in mmap64() 63 if (result != MAP_FAILED && kernel_has_MADV_MERGEABLE && in mmap64()
|
D | mremap.cpp | 44 return MAP_FAILED; in mremap()
|
D | pthread_create.cpp | 76 if (allocation == MAP_FAILED) { in __allocate_temp_bionic_tls() 90 if (stack_base != MAP_FAILED) { in __init_alternate_signal_stack() 217 if (space == MAP_FAILED) { in __allocate_thread_mapping()
|
D | android_set_abort_message.cpp | 82 if (map == MAP_FAILED) { in android_set_abort_message()
|
D | bionic_allocator.cpp | 197 if (map_ptr == MAP_FAILED) { in alloc_page() 279 if (map_ptr == MAP_FAILED) { in alloc_mmap()
|
D | atexit.cpp | 180 if (new_pages == MAP_FAILED) { in expand_capacity()
|
D | grp_pwd_file.cpp | 244 if (map_result == MAP_FAILED) { in DoMmap()
|
D | fdsan.cpp | 88 if (allocation == MAP_FAILED) { in at()
|
/bionic/libc/include/android/ |
D | legacy_sys_mman_inlines.h | 54 return MAP_FAILED; in mmap64() 61 return MAP_FAILED; in mmap64()
|
/bionic/linker/ |
D | linker_cfi.cpp | 58 CHECK(tmp_start != MAP_FAILED); in ShadowWrite() 77 CHECK(res != MAP_FAILED); in ~ShadowWrite() 159 CHECK(p != MAP_FAILED); in MapShadow()
|
D | linker_phdr.cpp | 528 if (mmap_ptr == MAP_FAILED) { in ReserveWithAlignmentPadding() 548 if (mmap_ptr == MAP_FAILED) { in ReserveWithAlignmentPadding() 564 if (mmap_ptr == MAP_FAILED) { in ReserveWithAlignmentPadding() 697 if (seg_addr == MAP_FAILED) { in LoadSegments() 723 if (zeromap == MAP_FAILED) { in LoadSegments() 903 if (map == MAP_FAILED) { in phdr_table_serialize_gnu_relro() 942 if (temp_mapping == MAP_FAILED) { in phdr_table_map_gnu_relro() 989 if (map == MAP_FAILED) { in phdr_table_map_gnu_relro()
|
D | linker_mapped_file_fragment.cpp | 64 if (map_start == MAP_FAILED) { in Map()
|
D | linker_block_allocator.cpp | 125 CHECK(page != MAP_FAILED); in create_new_page()
|
/bionic/libc/upstream-openbsd/android/include/ |
D | arc4random.h | 70 MAP_ANON|MAP_PRIVATE, -1, 0)) == MAP_FAILED) in _rs_allocate()
|
/bionic/tests/headers/posix/ |
D | sys_mman_h.c | 51 p = MAP_FAILED; in sys_mman_h()
|
/bionic/libc/include/sys/ |
D | mman.h | 42 #define MAP_FAILED __BIONIC_CAST(reinterpret_cast, void*, -1) macro
|
/bionic/libc/system_properties/ |
D | contexts_serialized.cpp | 50 if (map_result == MAP_FAILED) { in InitializeContextNodes()
|
D | prop_area.cpp | 96 if (memory_area == MAP_FAILED) { in map_prop_area_rw() 123 if (map_result == MAP_FAILED) { in map_fd_ro()
|
/bionic/libc/stdio/ |
D | printf_common.h | 543 if (*argtable == MAP_FAILED) return -1; in __find_arguments() 654 if (*typetable == MAP_FAILED) return -1; in __grow_type_table() 660 if (new_table == MAP_FAILED) return -1; in __grow_type_table()
|