/bionic/tests/ |
D | sys_ptrace_test.cpp | 119 ASSERT_EQ(0, ptrace(PTRACE_SETHBPREGS, child, -1, &address)) << strerror(errno); in set_watchpoint() 120 ASSERT_EQ(0, ptrace(PTRACE_SETHBPREGS, child, -2, &control)) << strerror(errno); in set_watchpoint() 131 ASSERT_EQ(0, ptrace(PTRACE_SETREGSET, child, NT_ARM_HW_WATCH, &iov)) << strerror(errno); in set_watchpoint() 134 …ASSERT_EQ(0, ptrace(PTRACE_POKEUSER, child, offsetof(user, u_debugreg[0]), address)) << strerror(e… in set_watchpoint() 147 …ASSERT_EQ(0, ptrace(PTRACE_POKEUSER, child, offsetof(user, u_debugreg[7]), data)) << strerror(errn… in set_watchpoint() 160 ASSERT_NE(-1, child) << strerror(errno); in run_watchpoint_test() 180 ASSERT_EQ(child, TEMP_FAILURE_RETRY(waitpid(child, &status, __WALL))) << strerror(errno); in run_watchpoint_test() 191 ASSERT_EQ(0, ptrace(PTRACE_CONT, child, nullptr, nullptr)) << strerror(errno); in run_watchpoint_test() 192 ASSERT_EQ(child, TEMP_FAILURE_RETRY(waitpid(child, &status, __WALL))) << strerror(errno); in run_watchpoint_test() 197 ASSERT_EQ(0, ptrace(PTRACE_GETSIGINFO, child, nullptr, &siginfo)) << strerror(errno); in run_watchpoint_test() [all …]
|
D | sys_socket_test.cpp | 41 GTEST_LOG_(ERROR) << "socket call failed: " << strerror(errno); in ConnectFn() 52 GTEST_LOG_(ERROR) << "connect call failed: " << strerror(errno); in ConnectFn() 67 ASSERT_NE(fd, -1) << strerror(errno); in RunTest() 75 …ASSERT_NE(-1, bind(fd, reinterpret_cast<struct sockaddr*>(&addr), sizeof(addr))) << strerror(errno… in RunTest() 77 ASSERT_NE(-1, listen(fd, 1)) << strerror(errno); in RunTest() 109 ASSERT_NE(fd_acc, -1) << strerror(errno); in TestAccept4() 131 GTEST_LOG_(ERROR) << "send call failed: " << strerror(errno); in SendMultiple() 142 ASSERT_NE(fd_acc, -1) << strerror(errno); in TestRecvMMsg() 164 << strerror(errno); in TestRecvMMsg() 201 GTEST_LOG_(ERROR) << "sendmmsg call failed: " << strerror(errno); in SendMMsg() [all …]
|
D | pthread_dlfcn_test.cpp | 61 ASSERT_NE(-1, pid) << strerror(errno); in TEST() 78 ASSERT_NE(-1, pid) << strerror(errno); in TEST() 104 ASSERT_NE(-1, pid) << strerror(errno); in TEST()
|
D | dlfcn_symlink_support.cpp | 72 ASSERT_TRUE(symlink(source_file_path.c_str(), link_path.c_str()) == 0) << strerror(errno); in create_dlfcn_test_symlink() 77 ASSERT_TRUE(unlink(path.c_str()) == 0) << strerror(errno); in remove_dlfcn_test_symlink()
|
D | sys_epoll_test.cpp | 29 ASSERT_NE(-1, epoll_fd) << strerror(errno); in TEST() 58 ASSERT_NE(-1, epoll_fd) << strerror(errno); in TEST()
|
D | ifaddrs_test.cpp | 125 ASSERT_EQ(0, ioctl(fd, SIOCGIFFLAGS, &ifr)) << if_name << ' ' << strerror(errno); in CheckAddressIsInSet() 129 ASSERT_EQ(0, ioctl(fd, request, &ifr)) << if_name << ' ' << strerror(errno); in CheckAddressIsInSet() 282 ASSERT_EQ(0, getifaddrs(&addrs)) << strerror(errno); in TEST()
|
D | sys_signalfd_test.cpp | 42 ASSERT_NE(-1, fd) << strerror(errno); in TestSignalFd()
|
/bionic/libc/bionic/ |
D | android_profiling_dynamic.cpp | 130 … async_safe_format_log(ANDROID_LOG_ERROR, "libc", "failed to create socket: %s", strerror(errno)); in HandleTracedPerfSignal() 138 strerror(errno)); in HandleTracedPerfSignal() 145 strerror(errno)); in HandleTracedPerfSignal() 151 strerror(errno)); in HandleTracedPerfSignal() 175 async_safe_format_log(ANDROID_LOG_ERROR, "libc", "failed to sendmsg: %s", strerror(errno)); in HandleTracedPerfSignal()
|
D | pthread_create.cpp | 160 "pthread_create sched_getscheduler failed: %s", strerror(errno)); in __init_thread() 165 "pthread_create sched_getparam failed: %s", strerror(errno)); in __init_thread() 182 param.sched_priority, strerror(errno)); in __init_thread() 221 mmap_size, strerror(errno)); in __allocate_thread_mapping() 230 writable_size, strerror(errno)); in __allocate_thread_mapping() 424 strerror(clone_errno)); in pthread_create()
|
D | pthread_attr.cpp | 160 async_safe_fatal("couldn't open /proc/self/stat: %s", strerror(errno)); in __get_main_stack_startstack() 165 async_safe_fatal("couldn't read /proc/self/stat: %s", strerror(errno)); in __get_main_stack_startstack() 207 async_safe_fatal("couldn't open /proc/self/maps: %s", strerror(errno)); in __pthread_attr_getstack_main_thread()
|
D | system_property_set.cpp | 278 errno, strerror(errno)); in __system_property_set() 287 key, value, errno, strerror(errno)); in __system_property_set() 296 key, value, errno, strerror(errno)); in __system_property_set()
|
D | libc_init_common.cpp | 306 async_safe_fatal("error getting old personality value: %s", strerror(errno)); in __initialize_personality() 310 async_safe_fatal("error setting PER_LINUX32 personality: %s", strerror(errno)); in __initialize_personality()
|
D | string_l.cpp | 37 return strerror(error); in strerror_l()
|
D | atexit.cpp | 164 async_safe_fatal("mprotect failed on atexit array: %s", strerror(errno)); in set_writable() 183 new_capacity_bytes, strerror(errno)); in expand_capacity()
|
/bionic/libc/tzcode/ |
D | bionic.cpp | 126 __FUNCTION__, path, (bytes_read == -1) ? strerror(errno) : "short read"); in __bionic_open_tzdata_path() 138 …fprintf(stderr, "%s: couldn't seek to index in \"%s\": %s\n", __FUNCTION__, path, strerror(errno)); in __bionic_open_tzdata_path() 164 __FUNCTION__, path, (bytes_read == -1) ? strerror(errno) : "short read"); in __bionic_open_tzdata_path() 198 __FUNCTION__, specific_zone_offset, path, strerror(errno)); in __bionic_open_tzdata_path()
|
/bionic/benchmarks/spawn/ |
D | spawn_benchmark.cpp | 47 "posix_spawn of %s failed: %s", argv[0], strerror(spawn_err)).c_str()); in BM_spawn_test() 56 static_cast<int>(child), argv[0], strerror(errno)).c_str()); in BM_spawn_test()
|
/bionic/benchmarks/ |
D | unistd_benchmark.cpp | 52 std::string err = android::base::StringPrintf("Fork failed: %s", strerror(errno)); in BM_unistd_fork_call() 58 std::string err = android::base::StringPrintf("waitpid call failed: %s", strerror(errno)); in BM_unistd_fork_call()
|
/bionic/libc/malloc_debug/ |
D | RecordData.cpp | 144 error_log("Failed to write record alloc information: %s", strerror(errno)); in Dump() 161 error_log("Cannot create record alloc file %s: %s", dump_file_.c_str(), strerror(errno)); in Dump() 179 error_log("Unable to set up record dump signal function: %s", strerror(errno)); in Initialize()
|
D | debug_disable.cpp | 47 error_log("pthread_key_create failed: %s", strerror(error)); in DebugDisableInitialize()
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | vwarn.c | 49 (void)fprintf(stderr, "%s\n", strerror(sverrno)); in vwarn()
|
D | verr.c | 49 (void)fprintf(stderr, "%s\n", strerror(sverrno)); in verr()
|
/bionic/linker/ |
D | linker_phdr.cpp | 189 DL_ERR("can't read file \"%s\": %s", name_.c_str(), strerror(errno)); in ReadElfHeader() 331 DL_ERR("\"%s\" phdr mmap failed: %s", name_.c_str(), strerror(errno)); in ReadProgramHeaders() 357 DL_ERR("\"%s\" shdr mmap failed: %s", name_.c_str(), strerror(errno)); in ReadSectionHeaders() 450 DL_ERR("\"%s\" dynamic section mmap failed: %s", name_.c_str(), strerror(errno)); in ReadDynamicSection() 463 DL_ERR("\"%s\" strtab section mmap failed: %s", name_.c_str(), strerror(errno)); in ReadDynamicSection() 698 DL_ERR("couldn't map \"%s\" segment %zd: %s", name_.c_str(), i, strerror(errno)); in LoadSegments() 724 DL_ERR("couldn't zero fill \"%s\" gap: %s", name_.c_str(), strerror(errno)); in LoadSegments()
|
D | linker_utils.cpp | 220 DL_WARN("Warning: cannot stat file \"%s\": %s (ignoring)", resolved_path, strerror(errno)); in resolve_path() 240 zip_path.c_str(), strerror(errno)); in resolve_path()
|
/bionic/libc/upstream-openbsd/android/include/ |
D | arc4random.h | 40 async_safe_fatal("getentropy failed: %s", strerror(errno)); in _getentropy_fail()
|
/bionic/benchmarks/linker_relocation/gen/ |
D | liblinker_reloc_bench_150.S | 30 CALL(strerror)
|