Home
last modified time | relevance | path

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

/bionic/tests/
Dsys_mman_test.cpp28 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 …]
Dsys_prctl_test.cpp39 ASSERT_NE(MAP_FAILED, p); in TEST()
Ddlext_test.cpp325 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()
Dpthread_test.cpp166 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/
Dmmap.cpp47 return MAP_FAILED; in mmap64()
54 return MAP_FAILED; in mmap64()
63 if (result != MAP_FAILED && kernel_has_MADV_MERGEABLE && in mmap64()
Dmremap.cpp44 return MAP_FAILED; in mremap()
Dpthread_create.cpp76 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()
Dandroid_set_abort_message.cpp82 if (map == MAP_FAILED) { in android_set_abort_message()
Dbionic_allocator.cpp197 if (map_ptr == MAP_FAILED) { in alloc_page()
279 if (map_ptr == MAP_FAILED) { in alloc_mmap()
Datexit.cpp180 if (new_pages == MAP_FAILED) { in expand_capacity()
Dgrp_pwd_file.cpp244 if (map_result == MAP_FAILED) { in DoMmap()
Dfdsan.cpp88 if (allocation == MAP_FAILED) { in at()
/bionic/libc/include/android/
Dlegacy_sys_mman_inlines.h54 return MAP_FAILED; in mmap64()
61 return MAP_FAILED; in mmap64()
/bionic/linker/
Dlinker_cfi.cpp58 CHECK(tmp_start != MAP_FAILED); in ShadowWrite()
77 CHECK(res != MAP_FAILED); in ~ShadowWrite()
159 CHECK(p != MAP_FAILED); in MapShadow()
Dlinker_phdr.cpp528 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()
Dlinker_mapped_file_fragment.cpp64 if (map_start == MAP_FAILED) { in Map()
Dlinker_block_allocator.cpp125 CHECK(page != MAP_FAILED); in create_new_page()
/bionic/libc/upstream-openbsd/android/include/
Darc4random.h70 MAP_ANON|MAP_PRIVATE, -1, 0)) == MAP_FAILED) in _rs_allocate()
/bionic/tests/headers/posix/
Dsys_mman_h.c51 p = MAP_FAILED; in sys_mman_h()
/bionic/libc/include/sys/
Dmman.h42 #define MAP_FAILED __BIONIC_CAST(reinterpret_cast, void*, -1) macro
/bionic/libc/system_properties/
Dcontexts_serialized.cpp50 if (map_result == MAP_FAILED) { in InitializeContextNodes()
Dprop_area.cpp96 if (memory_area == MAP_FAILED) { in map_prop_area_rw()
123 if (map_result == MAP_FAILED) { in map_fd_ro()
/bionic/libc/stdio/
Dprintf_common.h543 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()