Home
last modified time | relevance | path

Searched refs:strerror (Results 1 – 25 of 54) sorted by relevance

123

/bionic/tests/
Dsys_socket_test.cpp39 GTEST_LOG_(ERROR) << "socket call failed: " << strerror(errno); in ConnectFn()
50 GTEST_LOG_(ERROR) << "connect call failed: " << strerror(errno); in ConnectFn()
65 ASSERT_NE(fd, -1) << strerror(errno); in RunTest()
73 …ASSERT_NE(-1, bind(fd, reinterpret_cast<struct sockaddr*>(&addr), sizeof(addr))) << strerror(errno… in RunTest()
75 ASSERT_NE(-1, listen(fd, 1)) << strerror(errno); in RunTest()
107 ASSERT_NE(fd_acc, -1) << strerror(errno); in TestAccept4()
129 GTEST_LOG_(ERROR) << "send call failed: " << strerror(errno); in SendMultiple()
140 ASSERT_NE(fd_acc, -1) << strerror(errno); in TestRecvMMsg()
162 << strerror(errno); in TestRecvMMsg()
199 GTEST_LOG_(ERROR) << "sendmmsg call failed: " << strerror(errno); in SendMMsg()
[all …]
Dsys_epoll_test.cpp27 ASSERT_NE(-1, epoll_fd) << strerror(errno); in TEST()
45 ASSERT_NE(-1, epoll_fd) << strerror(errno); in TEST()
Dpthread_dlfcn_test.cpp56 ASSERT_NE(-1, pid) << strerror(errno); in TEST()
73 ASSERT_NE(-1, pid) << strerror(errno); in TEST()
Dstdlib_test.cpp322 ASSERT_NE(-1, pid) << strerror(errno); in TEST()
348 ASSERT_NE(-1, pid) << strerror(errno); in TEST()
362 ASSERT_NE(-1, pid) << strerror(errno); in TEST()
Difaddrs_test.cpp123 ASSERT_EQ(0, ioctl(fd, SIOCGIFFLAGS, &ifr)) << if_name << ' ' << strerror(errno); in CheckAddressIsInSet()
127 ASSERT_EQ(0, ioctl(fd, request, &ifr)) << if_name << ' ' << strerror(errno); in CheckAddressIsInSet()
Dsignal_test.cpp402 << "rt_tgsigqueueinfo failed: " << strerror(errno) << error_msg; in TEST()
409 << "rt_tgsigqueueinfo failed: " << strerror(errno) << error_msg; in TEST()
/bionic/libc/private/
DWriteProtected.h76 strerror(errno)); in mutate()
81 strerror(errno)); in mutate()
/bionic/linker/
Ddebugger.cpp196 strerror(errno)); in have_siginfo()
203 strerror(errno)); in have_siginfo()
221 "pthread_mutex_trylock failed: %s", strerror(ret)); in send_debuggerd_packet()
229 strerror(errno)); in send_debuggerd_packet()
252 strerror(errno)); in send_debuggerd_packet()
297 strerror(errno)); in debuggerd_signal_handler()
Dlinker_phdr.cpp187 DL_ERR("can't read file \"%s\": %s", name_.c_str(), strerror(errno)); in ReadElfHeader()
281 DL_ERR("\"%s\" phdr mmap failed: %s", name_.c_str(), strerror(errno)); in ReadProgramHeaders()
304 DL_ERR("\"%s\" shdr mmap failed: %s", name_.c_str(), strerror(errno)); in ReadSectionHeaders()
347 DL_ERR("\"%s\" dynamic section mmap failed: %s", name_.c_str(), strerror(errno)); in ReadDynamicSection()
360 DL_ERR("\"%s\" strtab section mmap failed: %s", name_.c_str(), strerror(errno)); in ReadDynamicSection()
527 DL_ERR("couldn't map \"%s\" segment %zd: %s", name_.c_str(), i, strerror(errno)); in LoadSegments()
553 DL_ERR("couldn't zero fill \"%s\" gap: %s", name_.c_str(), strerror(errno)); in LoadSegments()
/bionic/tools/relocation_packer/src/
Dmain.cc99 LOG(ERROR) << file << ": " << strerror(errno); in main()
110 LOG(ERROR) << file << ": failed to read elf header:" << strerror(errno); in main()
115 LOG(ERROR) << file << ": lseek to 0 failed:" << strerror(errno); in main()
Delf_file_unittest.cc126 << "Invalid file length: " << strerror(errno); in RunUnpackRelocationsTestFor()
162 << "Invalid file length: " << strerror(errno); in RunPackRelocationsTestFor()
/bionic/libc/bionic/
Dstrerror.cpp36 char* strerror(int error_number) { in strerror() function
Dpthread_create.cpp106 "pthread_create sched_setscheduler call failed: %s", strerror(errno)); in __init_thread()
124 mmap_size, strerror(errno)); in __create_thread_mapped_space()
133 stack_guard_size, strerror(errno)); in __create_thread_mapped_space()
267 …__libc_format_log(ANDROID_LOG_WARN, "libc", "pthread_create failed: clone failed: %s", strerror(er… in pthread_create()
Derror.cpp53 fprintf(stderr, ": %s", strerror(error)); in __error_tail()
Dlibc_init_common.cpp290 __libc_fatal("error getting old personality value: %s", strerror(errno)); in __initialize_personality()
294 __libc_fatal("error setting PER_LINUX32 personality: %s", strerror(errno)); in __initialize_personality()
Dpthread_attr.cpp120 __libc_fatal("couldn't open /proc/self/stat: %s", strerror(errno)); in __get_main_stack_startstack()
125 __libc_fatal("couldn't read /proc/self/stat: %s", strerror(errno)); in __get_main_stack_startstack()
Dsyslog.cpp90 size_t n = strlcpy(dst, strerror(caller_errno), dst_len); in vsyslog()
Dlocale.cpp192 return strerror(error); in strerror_l()
/bionic/libc/upstream-openbsd/lib/libc/gen/
Dvwarn.c50 (void)fprintf(stderr, "%s\n", strerror(sverrno)); in vwarn()
Dverr.c51 (void)fprintf(stderr, "%s\n", strerror(sverrno)); in verr()
/bionic/libc/malloc_debug/
Ddebug_disable.cpp48 error_log("pthread_key_create failed: %s", strerror(error)); in DebugDisableInitialize()
DBacktraceData.cpp72 error_log("Unable to set up backtrace signal enable function: %s", strerror(errno)); in Initialize()
/bionic/tests/libs/
Dbionic_tests_zipalign.cpp148 fprintf(stderr, "Unable to create '%s': %s\n", argv[3], strerror(errno)); in main()
/bionic/libstdc++/include/
Dcstring55 using ::strerror;
/bionic/benchmarks/
Dproperty_benchmark.cpp52 android_data, strerror(errno)); in LocalPropertyTestState()

123