Home
last modified time | relevance | path

Searched refs:errno (Results 1051 - 1075 of 15520) sorted by relevance

1...<<41424344454647484950>>...621

/third_party/libuv/src/unix/
H A Dcore.c30 #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 Dfsstress.c534 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 Ddfx_signalhandler_exception.c28 #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 Dmonitor.cpp46 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 Dsecurity_guard_utils.cpp65 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 Dstream_session.rs137 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 Diface_tool.cpp55 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 Dmonitor.cpp46 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 Dblockaware.h189 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 Db_process.cpp61 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 Dfile_utils.cpp39 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 Darray_map_batch_ops.c4 #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 Draw_tp_test_run.c39 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 Dstacktrace_build_id.c47 "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 Dstress_reuseport_listen.c14 #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 Dstacktrace_build_id.c46 "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 Dvfs_partition.c87 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 Dconf-files.c23 #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 Dsanei_access.c45 #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 Dpseudo-tty.py3 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 Dlio_listio.c2 #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 Dlio_listio.c2 #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 Dmalloc-multi-thread-performance.c4 #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 Dintscan.c2 #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 Dintscan.c2 #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()

Completed in 14 milliseconds

1...<<41424344454647484950>>...621