Home
last modified time | relevance | path

Searched refs:MAP_FAILED (Results 1 – 21 of 21) 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.cpp301 ASSERT_TRUE(start != MAP_FAILED); in TEST_F()
325 ASSERT_TRUE(start != MAP_FAILED); in TEST_F()
336 ASSERT_TRUE(start != MAP_FAILED); in TEST_F()
353 ASSERT_TRUE(start != MAP_FAILED); in TEST_F()
370 ASSERT_TRUE(start != MAP_FAILED); in TEST_F()
396 ASSERT_TRUE(start != MAP_FAILED); in TEST_F()
400 ASSERT_TRUE(new_addr != MAP_FAILED); in TEST_F()
415 ASSERT_TRUE(start != MAP_FAILED); in SetUp()
1661 ASSERT_TRUE(reinterpret_cast<void*>(reserved_addr) != MAP_FAILED); in TEST()
1669 ASSERT_TRUE(map != MAP_FAILED); in TEST()
Dpthread_test.cpp161 ASSERT_NE(MAP_FAILED, stack); in TEST()
1446 ASSERT_NE(MAP_FAILED, sig_stack); 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()
Dgetentropy_linux.c421 { 17, MAP_FAILED }, { 3, MAP_FAILED }, in getentropy_fallback()
422 { 11, MAP_FAILED }, { 2, MAP_FAILED }, in getentropy_fallback()
423 { 5, MAP_FAILED }, { 3, MAP_FAILED }, in getentropy_fallback()
424 { 7, MAP_FAILED }, { 1, MAP_FAILED }, in getentropy_fallback()
425 { 57, MAP_FAILED }, { 3, MAP_FAILED }, in getentropy_fallback()
426 { 131, MAP_FAILED }, { 1, MAP_FAILED }, in getentropy_fallback()
435 if (mm[m].p != MAP_FAILED) { in getentropy_fallback()
465 if (mm[m].p != MAP_FAILED) in getentropy_fallback()
467 mm[m].p = MAP_FAILED; in getentropy_fallback()
Dmremap.cpp44 return MAP_FAILED; in mremap()
Dandroid_set_abort_message.cpp61 if (map == MAP_FAILED) { in android_set_abort_message()
Dpthread_create.cpp62 if (allocation == MAP_FAILED) { in __init_tls()
82 if (stack_base != MAP_FAILED) { in __init_alternate_signal_stack()
136 if (space == MAP_FAILED) { in __create_thread_mapped_space()
Dsystem_properties.cpp256 if (memory_area == MAP_FAILED) { in map_prop_area_rw()
283 if (map_result == MAP_FAILED) { in map_fd_ro()
/bionic/libc/include/sys/
Dmman.h41 #define MAP_FAILED __BIONIC_CAST(reinterpret_cast, void*, -1) macro
/bionic/libc/upstream-openbsd/android/include/
Darc4random.h80 MAP_ANON|MAP_PRIVATE, -1, 0)) == MAP_FAILED) in _rs_allocate()
/bionic/linker/
Dlinker_mapped_file_fragment.cpp64 if (map_start == MAP_FAILED) { in Map()
Dlinker_cfi.cpp58 CHECK(tmp_start != MAP_FAILED); in ShadowWrite()
76 CHECK(res != MAP_FAILED); in ~ShadowWrite()
159 CHECK(p != MAP_FAILED); in MapShadow()
Dlinker_phdr.cpp512 if (mmap_ptr == MAP_FAILED) { in ReserveAligned()
523 if (mmap_ptr == MAP_FAILED) { in ReserveAligned()
654 if (seg_addr == MAP_FAILED) { in LoadSegments()
680 if (zeromap == MAP_FAILED) { in LoadSegments()
859 if (map == MAP_FAILED) { in phdr_table_serialize_gnu_relro()
896 if (temp_mapping == MAP_FAILED) { in phdr_table_map_gnu_relro()
944 if (map == MAP_FAILED) { in phdr_table_map_gnu_relro()
Dlinker_allocator.h92 if (ptr == MAP_FAILED) {
Dlinker_block_allocator.cpp122 if (page == MAP_FAILED) { in create_new_page()
Dlinker_allocator.cpp205 if (map_ptr == MAP_FAILED) { in alloc_page()
250 if (map_ptr == MAP_FAILED) { in alloc_mmap()
/bionic/libc/stdlib/
Datexit.c100 if (p == MAP_FAILED) in __cxa_atexit()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dvfprintf.c1385 if (*argtable == MAP_FAILED) in __find_arguments()
1507 if (*typetable == MAP_FAILED) in __grow_type_table()
1513 if (new == MAP_FAILED) in __grow_type_table()
Dvfwprintf.c1342 if (*argtable == MAP_FAILED) in __find_arguments()
1456 if (*typetable == MAP_FAILED) in __grow_type_table()
1462 if (new == MAP_FAILED) in __grow_type_table()