/bionic/tests/ |
D | sys_ptrace_test.cpp | 121 ASSERT_EQ(0, ptrace(PTRACE_SETHBPREGS, child, -1, &address)) << strerror(errno); in set_watchpoint() 122 ASSERT_EQ(0, ptrace(PTRACE_SETHBPREGS, child, -2, &control)) << strerror(errno); in set_watchpoint() 133 ASSERT_EQ(0, ptrace(PTRACE_SETREGSET, child, NT_ARM_HW_WATCH, &iov)) << strerror(errno); in set_watchpoint() 136 …ASSERT_EQ(0, ptrace(PTRACE_POKEUSER, child, offsetof(user, u_debugreg[0]), address)) << strerror(e… in set_watchpoint() 149 …ASSERT_EQ(0, ptrace(PTRACE_POKEUSER, child, offsetof(user, u_debugreg[7]), data)) << strerror(errn… in set_watchpoint() 162 ASSERT_NE(-1, child) << strerror(errno); in run_watchpoint_test() 182 ASSERT_EQ(child, TEMP_FAILURE_RETRY(waitpid(child, &status, __WALL))) << strerror(errno); in run_watchpoint_test() 193 ASSERT_EQ(0, ptrace(PTRACE_CONT, child, nullptr, nullptr)) << strerror(errno); in run_watchpoint_test() 194 ASSERT_EQ(child, TEMP_FAILURE_RETRY(waitpid(child, &status, __WALL))) << strerror(errno); in run_watchpoint_test() 199 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() 204 GTEST_LOG_(ERROR) << "sendmmsg call failed: " << strerror(errno); in SendMMsg() [all …]
|
D | pidfd_test.cpp | 49 ASSERT_NE(-1, pidfd.get()) << strerror(errno); in TEST() 68 ASSERT_NE(-1, self.get()) << strerror(errno); in TEST() 72 ASSERT_NE(-1, dup.get()) << strerror(errno); in TEST() 86 ASSERT_NE(-1, self.get()) << strerror(errno); in TEST_F() 90 ASSERT_EQ(0, rc) << strerror(errno); in TEST_F()
|
D | sys_epoll_test.cpp | 68 ASSERT_EQ(0, rc) << strerror(errno); in TEST() 98 ASSERT_EQ(0, rc) << strerror(errno); in TEST() 116 ASSERT_EQ(0, rc) << strerror(errno); in TEST() 130 ASSERT_NE(-1, epoll_fd) << strerror(errno); in TEST()
|
D | sys_uio_test.cpp | 84 ASSERT_EQ(5, write_fn(tf.fd, ios, 1, 5, 0)) << strerror(errno); in TestPreadV2PwriteV2() 88 ASSERT_EQ(5, write_fn(tf.fd, ios, 1, 0, 0)) << strerror(errno); in TestPreadV2PwriteV2() 91 ASSERT_EQ(5, read_fn(tf.fd, ios, 1, 5, 0)) << strerror(errno); in TestPreadV2PwriteV2() 93 ASSERT_EQ(5, read_fn(tf.fd, ios, 1, 0, 0)) << strerror(errno); in TestPreadV2PwriteV2()
|
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 | fdtrack_test.cpp | 203 ASSERT_NE(-1, fd) << strerror(errno); \ 239 ASSERT_NE(-1, rc) << strerror(errno); 247 ASSERT_NE(-1, pidfd_self) << strerror(errno); 253 ASSERT_NE(-1, rc) << strerror(errno); 310 CHECK_NE(-1, bind(listener, reinterpret_cast<sockaddr*>(&addr), addrlen)) << strerror(errno); in CreateListener()
|
D | sys_signalfd_test.cpp | 42 ASSERT_NE(-1, fd) << strerror(errno); in TestSignalFd()
|
/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()
|
D | syscall_mm_benchmark.cpp | 54 state.SkipWithError(android::base::StringPrintf("mmap failed: %s", strerror(errno)).c_str()); in MmapBenchmarkImpl() 68 android::base::StringPrintf("munmap failed: %s", strerror(errno)).c_str()); in MmapBenchmarkImpl() 91 state.SkipWithError(android::base::StringPrintf("mmap failed: %s", strerror(errno)).c_str()); in MmapFixedBenchmark() 98 state.SkipWithError(android::base::StringPrintf("munmap failed: %s", strerror(errno)).c_str()); in MmapFixedBenchmark() 109 android::base::StringPrintf("failed to create a temporary file: %s", strerror(errno)) in MmapFileBenchmark() 116 android::base::StringPrintf("ftruncate failed: %s", strerror(errno)).c_str()); in MmapFileBenchmark() 269 state.SkipWithError(android::base::StringPrintf("mmap failed: %s", strerror(errno)).c_str()); in MadviseBenchmark() 283 state.SkipWithError(android::base::StringPrintf("munmap failed: %s", strerror(errno)).c_str()); in MadviseBenchmark()
|
/bionic/linker/ |
D | linker_crt_pad_segment_test.cpp | 59 EXPECT_GE(fd.get(), 0) << "Failed to open " << path << ": " << strerror(errno); in GetPadSegment() 63 << "Failed to stat " << path << ": " << strerror(errno); in GetPadSegment()
|
/bionic/libc/tzcode/ |
D | bionic.cpp | 145 __FUNCTION__, path, (bytes_read == -1) ? strerror(errno) : "short read"); in __bionic_open_tzdata_path() 157 …fprintf(stderr, "%s: couldn't seek to index in \"%s\": %s\n", __FUNCTION__, path, strerror(errno)); in __bionic_open_tzdata_path() 183 __FUNCTION__, path, (bytes_read == -1) ? strerror(errno) : "short read"); in __bionic_open_tzdata_path() 229 __FUNCTION__, specific_zone_offset, path, strerror(errno)); in __bionic_open_tzdata_path()
|
/bionic/libc/malloc_debug/ |
D | RecordData.cpp | 144 error_log("Cannot create record alloc file %s: %s", dump_file_.c_str(), strerror(errno)); in WriteEntries() 150 error_log("Failed to write record alloc information: %s", strerror(errno)); in WriteEntries() 170 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()
|
D | LogAllocatorStats.cpp | 61 error_log("Unable to set up log allocator stats signal function: %s", strerror(errno)); in Initialize()
|
D | Unreachable.cpp | 70 error_log("Unable to set up check unreachable signal function: %s", strerror(errno)); in Initialize()
|
/bionic/libc/bionic/ |
D | string_l.cpp | 37 return strerror(error); in strerror_l()
|
D | strerror.cpp | 93 char* strerror(int error_number) { in strerror() function
|
/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/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)
|
/bionic/libc/private/ |
D | WriteProtected.h | 93 async_safe_fatal("WriteProtected mprotect %x failed: %s", prot, strerror(errno)); in set_protection()
|