Home
last modified time | relevance | path

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

/bionic/tests/
Dsys_mman_test.cpp32 ASSERT_NE(MAP_FAILED, map); in TEST()
38 ASSERT_NE(MAP_FAILED, map); in TEST()
46 ASSERT_EQ(MAP_FAILED, map); in TEST()
53 ASSERT_EQ(MAP_FAILED, map); in TEST()
67 ASSERT_NE(MAP_FAILED, map); in TEST()
82 ASSERT_NE(MAP_FAILED, map); in TEST()
118 ASSERT_NE(MAP_FAILED, map); in TEST()
126 ASSERT_NE(MAP_FAILED, map); in TEST()
154 ASSERT_NE(MAP_FAILED, map); in TEST()
162 ASSERT_NE(MAP_FAILED, map); in TEST()
[all …]
Dsys_prctl_test.cpp40 ASSERT_NE(MAP_FAILED, p); in TEST()
Ddlext_test.cpp327 ASSERT_TRUE(start != MAP_FAILED); in TEST_F()
351 ASSERT_TRUE(start != MAP_FAILED); in TEST_F()
362 ASSERT_TRUE(start != MAP_FAILED); in TEST_F()
395 ASSERT_TRUE(start != MAP_FAILED); in TEST_F()
406 ASSERT_TRUE(start != MAP_FAILED); in TEST_F()
423 ASSERT_TRUE(start != MAP_FAILED); in TEST_F()
442 ASSERT_TRUE(start != MAP_FAILED); in SetUp()
2048 ASSERT_TRUE(reinterpret_cast<void*>(reserved_addr) != MAP_FAILED); in TEST()
2061 ASSERT_TRUE(map != MAP_FAILED); in TEST()
Dpthread_test.cpp171 ASSERT_NE(MAP_FAILED, stack); in TEST()
1929 ASSERT_NE(MAP_FAILED, sig_stack); in TEST()
2946 if (page == MAP_FAILED) break; in TEST()
/bionic/libc/bionic/
Dlegacy_32_bit_support.cpp122 return MAP_FAILED; in mmap64()
130 return MAP_FAILED; in mmap64()
150 return MAP_FAILED; in mremap()
Dandroid_set_abort_message.cpp89 if (map == MAP_FAILED) { in android_set_abort_message()
Dpthread_create.cpp80 if (allocation == MAP_FAILED) { in __allocate_temp_bionic_tls()
99 if (stack_base != MAP_FAILED) { in __init_alternate_signal_stack()
230 if (space == MAP_FAILED) { in __allocate_thread_mapping()
Dandroid_crash_detail.cpp79 if (map == MAP_FAILED) { in android_crash_detail_register()
Dbionic_allocator.cpp194 if (map_ptr == MAP_FAILED) { in alloc_page()
275 if (map_ptr == MAP_FAILED) { in alloc_mmap()
Datexit.cpp199 if (new_pages == MAP_FAILED) { in expand_capacity()
Dgrp_pwd_file.cpp244 if (map_result == MAP_FAILED) { in DoMmap()
Dfdsan.cpp89 if (allocation == MAP_FAILED) { in at()
/bionic/linker/
Dlinker_cfi.cpp58 CHECK(tmp_start != MAP_FAILED); in ShadowWrite()
77 CHECK(res != MAP_FAILED); in ~ShadowWrite()
158 CHECK(p != MAP_FAILED); in MapShadow()
Dlinker_mapped_file_fragment.cpp65 if (map_start == MAP_FAILED) { in Map()
Dlinker_phdr.cpp591 if (mmap_ptr == MAP_FAILED) { in ReserveWithAlignmentPadding()
611 if (mmap_ptr == MAP_FAILED) { in ReserveWithAlignmentPadding()
627 if (mmap_ptr == MAP_FAILED) { in ReserveWithAlignmentPadding()
895 if (seg_addr == MAP_FAILED) { in LoadSegments()
956 if (zeromap == MAP_FAILED) { in LoadSegments()
1225 if (map == MAP_FAILED) { in phdr_table_serialize_gnu_relro()
1264 if (temp_mapping == MAP_FAILED) { in phdr_table_map_gnu_relro()
1311 if (map == MAP_FAILED) { in phdr_table_map_gnu_relro()
Dlinker_block_allocator.cpp123 CHECK(page != MAP_FAILED); in create_new_page()
/bionic/benchmarks/
Dsyscall_mm_benchmark.cpp53 if (addr == MAP_FAILED) { in MmapBenchmarkImpl()
90 if (area == MAP_FAILED) { in MmapFixedBenchmark()
268 if (addr == MAP_FAILED) { in MadviseBenchmark()
349 if (addr == MAP_FAILED) { in MprotectBenchmarkWithMmapAnon()
405 if (addr == MAP_FAILED) { in MprotectBenchmarkWithMmapFile()
/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.h43 #define MAP_FAILED __BIONIC_CAST(reinterpret_cast, void*, -1) macro
/bionic/libc/system_properties/
Dcontexts_serialized.cpp51 if (map_result == MAP_FAILED) { in InitializeContextNodes()
Dprop_area.cpp100 if (memory_area == MAP_FAILED) { in map_prop_area_rw()
127 if (map_result == MAP_FAILED) { in map_fd_ro()
/bionic/libc/stdio/
Dprintf_common.h568 if (*argtable == MAP_FAILED) return -1; in __find_arguments()
679 if (*typetable == MAP_FAILED) return -1; in __grow_type_table()
685 if (new_table == MAP_FAILED) return -1; in __grow_type_table()
/bionic/tests/libs/
Dstack_tagging_helper.cpp196 if (altstack_start == MAP_FAILED) { in SigAltStackScoped()