/third_party/libuv/src/unix/ |
H A D | core.c | 30 #include <errno.h> 134 return UV__ERR(errno); in uv_clock_gettime() 252 return UV__ERR(errno); in uv__socket_sockopt() 277 * value is -1 and the errno is EINPROGRESS. Degrade the value to 1. in uv__getiovmax() 527 if (errno != EINVAL) in uv__socket() 528 return UV__ERR(errno); in uv__socket() 533 return UV__ERR(errno); in uv__socket() 584 while (peerfd == -1 && errno == EINTR); in uv__accept() 587 return UV__ERR(errno); in uv__accept() 644 saved_errno = errno; in uv__close_nocheckstdio() [all...] |
/third_party/ltp/testcases/kernel/fs/fsstress/ |
H A D | fsstress.c | 534 fd, errno); in main() 601 if (rval >= 0 || errno != ENAMETOOLONG) in attr_list_path() 620 if (rval >= 0 || errno != ENAMETOOLONG) in attr_remove_path() 640 if (rval >= 0 || errno != ENAMETOOLONG) in attr_set_path() 674 if (rval >= 0 || errno != ENAMETOOLONG) in creat_path() 928 if (rval >= 0 || errno != ENAMETOOLONG) in lchown_path() 949 if (rval >= 0 || errno != ENAMETOOLONG) in link_path() 1000 if (rval >= 0 || errno != ENAMETOOLONG) in lstat64_path() 1034 if (rval >= 0 || errno != ENAMETOOLONG) in mkdir_path() 1052 if (rval >= 0 || errno ! in mknod_path() [all...] |
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/ |
H A D | dfx_signalhandler_exception.c | 28 #include "errno.h" 54 DFXLOGE("Failed to create a socket, errno(%{public}d).", errno); in ConnectSocket() 67 DFXLOGE("setsockopt SO_RCVTIMEO error, errno(%{public}d).", errno); in ConnectSocket() 80 DFXLOGE("Failed to connect to faultloggerd socket, errno = %{public}d.", errno); in ConnectSocket() 94 DFXLOGE("Failed to read expected length, nread: %{public}zd, errno(%{public}d).", nread, errno); in CheckReadResp() 115 DFXLOGE("Failed to write request message to socket, errno( in ReportException() [all...] |
/base/msdp/device_status/intention/services/device_manager/src/ |
H A D | monitor.cpp | 46 FI_HILOGE("Epoll hangup, errno:%{public}s", strerror(errno)); in Dispatch() 83 FI_HILOGE("close inotify fd failed, error:%{public}s, inotifyFd_:%{public}d", strerror(errno), inotifyFd_); in Disable() 94 FI_HILOGE("Initializing inotify, errno:%{public}s", strerror(errno)); in OpenConnection() 105 FI_HILOGE("Watching (\'%{public}s\') failed, errno:%{public}s", DEV_INPUT_PATH.c_str(), strerror(errno)); in EnableReceiving() 121 } while ((numRead < 0) && (errno == EINVAL) && in ReceiveDevice() 125 FI_HILOGE("Reading failed, errno:%{public}s", strerror(errno)); in ReceiveDevice() [all...] |
/base/security/security_guard/frameworks/common/utils/src/ |
H A D | security_guard_utils.cpp | 65 errno = 0;
in StrToLL() 67 if ((errno == ERANGE && (value == LLONG_MAX || value == LLONG_MIN)) || (errno != 0 && value == 0)) {
in StrToLL() 87 errno = 0;
in StrToULL() 89 if ((errno == ERANGE && value == ULLONG_MAX) || (errno != 0 && value == 0)) {
in StrToULL()
|
/base/sensors/sensor/rust/utils/socket_ipc_rust_ffi/src/ |
H A D | stream_session.rs | 137 let errno = unsafe { in session_send_msg() 141 if errno == libc::EAGAIN || errno == libc::EINTR || errno == libc::EWOULDBLOCK { in session_send_msg() 143 error!(LOG_LABEL, "Continue for errno EAGAIN|EINTR|EWOULDBLOCK, errno:{}", errno); in session_send_msg() 146 error!(LOG_LABEL, "Send return failed,error:{} fd:{}", errno, self.fd); in session_send_msg()
|
/drivers/peripheral/wlan/chip/hdi_service/ |
H A D | iface_tool.cpp | 55 HDF_LOGE("Could not read interface state for %{public}s, %{public}s", ifName, strerror(errno)); in GetIfState() 65 HDF_LOGE("Failed to open socket to set up/down state %{public}s", strerror(errno)); in GetUpState() 79 HDF_LOGE("Failed to open socket to set up/down state %{public}s", strerror(errno)); in SetUpState() 96 HDF_LOGE("Could not set interface flags for %{public}s, %{public}s", ifName, strerror(errno)); in SetUpState() 119 HDF_LOGE("Failed to open socket to set MAC address %{public}s", strerror(errno)); in SetMacAddress() 134 ifName, strerror(errno)); in SetMacAddress()
|
/foundation/multimodalinput/input/intention/services/device_manager/src/ |
H A D | monitor.cpp | 46 FI_HILOGE("Epoll hangup, errno:%{public}s", strerror(errno)); in Dispatch() 83 FI_HILOGE("close inotify fd failed, error:%{public}s, inotifyFd_:%{public}d", strerror(errno), inotifyFd_); in Disable() 94 FI_HILOGE("Initializing inotify, errno:%{public}s", strerror(errno)); in OpenConnection() 105 FI_HILOGE("Watching (\'%{public}s\') failed, errno:%{public}s", DEV_INPUT_PATH.c_str(), strerror(errno)); in EnableReceiving() 121 } while ((numRead < 0) && (errno == EINVAL) && in ReceiveDevice() 125 FI_HILOGE("Reading failed, errno:%{public}s", strerror(errno)); in ReceiveDevice() [all...] |
/foundation/resourceschedule/ffrt/src/eu/ |
H A D | blockaware.h | 189 return (rc == 0) ? 0 : errno; in BlockawareInit() 196 return (rc == 0) ? 0 : errno; in BlockawareRegister() 203 return (rc == 0) ? 0 : errno; in BlockawareUnregister() 240 return (rc == 0) ? 0 : errno; in BlockawareWaitCond() 246 return (rc == 0) ? 0 : errno; in BlockawareWake() 253 return (rc >= 0) ? rc : -errno; in BlockawareMonitorfd()
|
/foundation/filemanagement/app_file_service/utils/src/b_process/ |
H A D | b_process.cpp | 61 throw BError(BError::Codes::UTILS_INVAL_PROCESS_ARG, generic_category().message(errno)); in WaitForChild() 88 throw BError(BError::Codes::UTILS_INTERRUPTED_PROCESS, generic_category().message(errno)); in ExecuteCmd() 98 throw BError(BError::Codes::UTILS_INTERRUPTED_PROCESS, generic_category().message(errno)); in ExecuteCmd() 100 exit((execvp(argv[0], const_cast<char **>(argv.data())) == -1) ? errno : 0); in ExecuteCmd() 106 throw BError(BError::Codes::UTILS_INVAL_PROCESS_ARG, generic_category().message(errno)); in ExecuteCmd() 110 throw BError(errno); in ExecuteCmd()
|
/foundation/filemanagement/dfs_service/utils/dentry/src/ |
H A D | file_utils.cpp | 39 return -errno; in ReadFile() 46 LOGE("read failed, errno %{public}d, fd=%{public}d", errno, fd); in ReadFile() 67 return -errno; in WriteFile() 74 LOGE("write failed, errno %{public}d, fd=%{public}d", errno, fd); in WriteFile() 93 LOGE("fcntl set F_WRLCK failed: %{public}d", errno); in FileRangeLock() 111 LOGE("fcntl F_UNLCK failed: %{public}d", errno); in ~FileRangeLock()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/map_tests/ |
H A D | array_map_batch_ops.c | 4 #include <errno.h> 27 CHECK(err, "bpf_map_update_batch()", "error:%s\n", strerror(errno)); in map_batch_update() 69 "bpf_create_map_xattr()", "error:%s\n", strerror(errno)); in test_array_map_batch_ops() 75 strerror(errno)); in test_array_map_batch_ops() 101 CHECK((err && errno != ENOENT), "lookup with steps", in test_array_map_batch_ops() 102 "error: %s\n", strerror(errno)); in test_array_map_batch_ops()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | raw_tp_test_run.c | 39 if (CHECK(comm_fd < 0, "open /proc/self/comm", "err %d\n", errno)) in test_raw_tp_test_run() 43 CHECK(err < 0, "task rename", "err %d", errno); in test_raw_tp_test_run() 58 CHECK(err < 0, "test_run", "err %d\n", errno); in test_raw_tp_test_run() 69 CHECK(err < 0, "test_run_opts", "err %d\n", errno); in test_raw_tp_test_run() 80 CHECK(err != -1 || errno != ENXIO, in test_raw_tp_test_run() 88 CHECK(err != -1 || errno != EINVAL, in test_raw_tp_test_run()
|
H A D | stacktrace_build_id.c | 47 "err %d errno %d\n", err, errno)) in test_stacktrace_build_id() 52 "err %d errno %d\n", err, errno)) in test_stacktrace_build_id() 58 "err %d errno %d\n", err, errno)) in test_stacktrace_build_id() 63 "err %d, errno %d\n", err, errno)) in test_stacktrace_build_id() 71 "err %d, errno %d\n", err, errno)) in test_stacktrace_build_id() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | stress_reuseport_listen.c | 14 #include <errno.h> 40 error(1, errno, "cannot alloc array of lfds"); in bind_reuseport_sock6() 47 error(1, errno, in bind_reuseport_sock6() 53 error(1, errno, in bind_reuseport_sock6() 60 error(1, errno, "bind(lfds[%u,%u])", i, j); in bind_reuseport_sock6() 89 error(1, errno, "listen(lfds[%d])", i); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | stacktrace_build_id.c | 46 "err %d errno %d\n", err, errno)) in test_stacktrace_build_id() 51 "err %d errno %d\n", err, errno)) in test_stacktrace_build_id() 58 "err %d errno %d\n", err, errno)) in test_stacktrace_build_id() 63 "err %d, errno %d\n", err, errno)) in test_stacktrace_build_id() 69 "err %d, errno %d\n", err, errno)) in test_stacktrace_build_id() [all...] |
/kernel/uniproton/src/fs/vfs/ |
H A D | vfs_partition.c | 87 errno = -EEXIST; in OsAddDevice() 93 errno = -EFAULT; in OsAddDevice() 99 errno = -ENOMEM; in OsAddDevice() 107 errno = -ENOMEM; in OsAddDevice() 116 errno = -ENOMEM; in OsAddDevice() 144 errno = EBUSY; in PRT_PartitionFormat()
|
/third_party/eudev/src/shared/ |
H A D | conf-files.c | 23 #include <errno.h> 60 if (errno == ENOENT) in files_add() 62 return -errno; in files_add() 70 errno = 0; in files_add() 72 if (!de && errno != 0) in files_add() 73 return -errno; in files_add()
|
/third_party/backends/sanei/ |
H A D | sanei_access.c | 45 #include <errno.h> 101 fn, strerror(errno)); in get_lock_status() 114 if( errno == ESRCH ) { in get_lock_status() 118 DBG( 1, "does_process_exist: kill failed: %s\n", strerror(errno)); in get_lock_status() 181 if (errno == EEXIST) { in sanei_access_lock() 200 fn, strerror(errno)); in sanei_access_lock()
|
/third_party/node/tools/ |
H A D | pseudo-tty.py | 3 import errno namespace 20 if e.errno != errno.EIO: 41 if e.errno != errno.EIO: 93 if e[0] != errno.EINTR:
|
/third_party/musl/src/aio/ |
H A D | lio_listio.c | 2 #include <errno.h> 31 errno = EIO; in lio_wait() 77 errno = EINVAL; in lio_listio() 83 errno = EAGAIN; in lio_listio() 105 errno = EAGAIN; in lio_listio() 136 errno = EAGAIN; in lio_listio()
|
/third_party/musl/porting/liteos_a/user/src/aio/ |
H A D | lio_listio.c | 2 #include <errno.h> 31 errno = EIO; in lio_wait() 78 errno = EINVAL; in lio_listio() 84 errno = EAGAIN; in lio_listio() 106 errno = EAGAIN; in lio_listio() 137 errno = EAGAIN; in lio_listio()
|
/third_party/musl/libc-test/src/regression/ |
H A D | malloc-multi-thread-performance.c | 4 #include <errno.h> 36 t_error("Set CPU affinity of thread %d failure, ERROR:%s\n", *val, strerror(errno)); in func() 49 *val = errno; in func() 72 t_error("Init pthread attribute failed: %s\n", strerror(errno)); in main() 81 t_error("Create pthread %u failed: %s\n", i, strerror(errno)); in main() 90 t_error("Join thread %u failed: %s\n", i, strerror(errno)); in main()
|
/third_party/musl/porting/liteos_m/kernel/src/internal/ |
H A D | intscan.c | 2 #include <errno.h> 33 errno = EINVAL; in __intscan() 60 errno = EINVAL; in __intscan() 84 errno = ERANGE; in __intscan() 92 errno = ERANGE; in __intscan() 95 errno = ERANGE; in __intscan()
|
/third_party/musl/porting/uniproton/kernel/src/internal/ |
H A D | intscan.c | 2 #include <errno.h> 33 errno = EINVAL; in __intscan() 60 errno = EINVAL; in __intscan() 84 errno = ERANGE; in __intscan() 92 errno = ERANGE; in __intscan() 95 errno = ERANGE; in __intscan()
|