Home
last modified time | relevance | path

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

/bionic/tests/
Dsys_mman_test.cpp27 ASSERT_NE(MAP_FAILED, map); in TEST()
33 ASSERT_NE(MAP_FAILED, map); in TEST()
41 ASSERT_EQ(MAP_FAILED, map); in TEST()
48 ASSERT_EQ(MAP_FAILED, map); in TEST()
62 ASSERT_NE(MAP_FAILED, map); in TEST()
77 ASSERT_NE(MAP_FAILED, map); in TEST()
113 ASSERT_NE(MAP_FAILED, map); in TEST()
121 ASSERT_NE(MAP_FAILED, map); in TEST()
149 ASSERT_NE(MAP_FAILED, map); in TEST()
157 ASSERT_NE(MAP_FAILED, map); in TEST()
[all …]
Ddlext_test.cpp257 ASSERT_TRUE(start != MAP_FAILED); in TEST_F()
275 ASSERT_TRUE(start != MAP_FAILED); in TEST_F()
287 ASSERT_TRUE(start != MAP_FAILED); in TEST_F()
305 ASSERT_TRUE(start != MAP_FAILED); in TEST_F()
326 ASSERT_TRUE(start != MAP_FAILED); in SetUp()
Dpthread_test.cpp166 ASSERT_NE(MAP_FAILED, stack); in TEST()
/bionic/libc/bionic/
Dgetentropy_linux.c433 { 17, MAP_FAILED }, { 3, MAP_FAILED }, in getentropy_fallback()
434 { 11, MAP_FAILED }, { 2, MAP_FAILED }, in getentropy_fallback()
435 { 5, MAP_FAILED }, { 3, MAP_FAILED }, in getentropy_fallback()
436 { 7, MAP_FAILED }, { 1, MAP_FAILED }, in getentropy_fallback()
437 { 57, MAP_FAILED }, { 3, MAP_FAILED }, in getentropy_fallback()
438 { 131, MAP_FAILED }, { 1, MAP_FAILED }, in getentropy_fallback()
447 if (mm[m].p != MAP_FAILED) { in getentropy_fallback()
477 if (mm[m].p != MAP_FAILED) in getentropy_fallback()
479 mm[m].p = MAP_FAILED; in getentropy_fallback()
Dmmap.cpp45 return MAP_FAILED; in mmap64()
51 if (result != MAP_FAILED && kernel_has_MADV_MERGEABLE && is_private_anonymous) { in mmap64()
Ddlmalloc.c52 if (map == MAP_FAILED) { in named_anonymous_mmap()
Dpthread_create.cpp73 if (stack_base != MAP_FAILED) { in __init_alternate_signal_stack()
126 if (space == MAP_FAILED) { in __create_thread_mapped_space()
Dsystem_properties.cpp213 if (memory_area == MAP_FAILED) { in map_prop_area_rw()
244 if (map_result == MAP_FAILED) { in map_fd_ro()
Dlibc_logging.cpp668 if (map == MAP_FAILED) { in android_set_abort_message()
Dmalloc_debug_qemu.cpp618 if (qtrace == MAP_FAILED) { in malloc_debug_initialize()
/bionic/libc/upstream-openbsd/android/include/
Darc4random.h76 MAP_ANON|MAP_PRIVATE, -1, 0)) == MAP_FAILED) in _rs_allocate()
80 MAP_ANON|MAP_PRIVATE, -1, 0)) == MAP_FAILED) { in _rs_allocate()
/bionic/libc/include/sys/
Dmman.h41 #define MAP_FAILED ((void *)-1) macro
/bionic/linker/
Dlinker_phdr.cpp245 if (mmap_result == MAP_FAILED) { in ReadProgramHeader()
343 if (start == MAP_FAILED) { in ReserveAddressSpace()
401 if (seg_addr == MAP_FAILED) { in LoadSegments()
426 if (zeromap == MAP_FAILED) { in LoadSegments()
603 if (map == MAP_FAILED) { in phdr_table_serialize_gnu_relro()
640 if (temp_mapping == MAP_FAILED) { in phdr_table_map_gnu_relro()
688 if (map == MAP_FAILED) { in phdr_table_map_gnu_relro()
Dlinker_allocator.h80 if (ptr == MAP_FAILED) {
Dlinker_block_allocator.cpp101 if (page == MAP_FAILED) { in create_new_page()
Dlinker_allocator.cpp194 if (map_ptr == MAP_FAILED) { in alloc_page()
242 if (map_ptr == MAP_FAILED) { in alloc_mmap()
/bionic/libc/stdlib/
Datexit.c96 if (p == MAP_FAILED) in __cxa_atexit()
205 if (p == MAP_FAILED) in __atexit_register_cleanup()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dvfwprintf.c1352 if (*argtable == MAP_FAILED) in __find_arguments()
1466 if (*typetable == MAP_FAILED) in __grow_type_table()
1472 if (new == MAP_FAILED) in __grow_type_table()
Dvfprintf.c1378 if (*argtable == MAP_FAILED) in __find_arguments()
1500 if (*typetable == MAP_FAILED) in __grow_type_table()
1506 if (new == MAP_FAILED) in __grow_type_table()