Home
last modified time | relevance | path

Searched refs:errno (Results 1 – 25 of 1742) sorted by relevance

12345678910>>...70

/external/fdlibm/
Dk_standard.c104 errno = EDOM;
109 errno = EDOM;
118 errno = EDOM;
123 errno = EDOM;
134 errno = EDOM;
139 errno = EDOM;
151 errno = ERANGE;
153 errno = ERANGE;
165 errno = ERANGE;
167 errno = ERANGE;
[all …]
/external/libdaemon/libdaemon/
Ddfork.c125 daemon_log(LOG_ERR, "dup(): %s", strerror(errno)); in move_fd_up()
148 daemon_log(LOG_ERR, "sigemptyset() failed: %s", strerror(errno)); in daemon_fork()
153 daemon_log(LOG_ERR, "sigaddset() failed: %s", strerror(errno)); in daemon_fork()
158 daemon_log(LOG_ERR, "sigaction() failed: %s", strerror(errno)); in daemon_fork()
163 daemon_log(LOG_ERR, "sigprocmask() failed: %s", strerror(errno)); in daemon_fork()
165 saved_errno = errno; in daemon_fork()
167 errno = saved_errno; in daemon_fork()
173 daemon_log(LOG_ERR, "pipe() failed: %s", strerror(errno)); in daemon_fork()
175 saved_errno = errno; in daemon_fork()
178 errno = saved_errno; in daemon_fork()
[all …]
Ddpid.c85 if (enable && errno == EBADF) { in lock_file()
92 daemon_log(LOG_WARNING, "fcntl(F_SETLKW) failed: %s", strerror(errno)); in lock_file()
109 errno = EINVAL; in daemon_pid_file_is_running()
115 if (errno != ENOENT) in daemon_pid_file_is_running()
116 daemon_log(LOG_WARNING, "Failed to open PID file: %s", strerror(errno)); in daemon_pid_file_is_running()
126 int saved_errno = errno; in daemon_pid_file_is_running()
127 daemon_log(LOG_WARNING, "read(): %s", strerror(errno)); in daemon_pid_file_is_running()
129 errno = saved_errno; in daemon_pid_file_is_running()
136 errno = 0; in daemon_pid_file_is_running()
140 if (errno != 0 || !e || *e || (long) pid != lpid) { in daemon_pid_file_is_running()
[all …]
Ddexec.c63 daemon_log(LOG_ERR, "pipe() failed: %s", strerror(errno)); in daemon_execv()
68 daemon_log(LOG_ERR, "fork() failed: %s", strerror(errno)); in daemon_execv()
70 saved_errno = errno; in daemon_execv()
73 errno = saved_errno; in daemon_execv()
83 daemon_log(LOG_ERR, "dup2: %s", strerror(errno)); in daemon_execv()
89 daemon_log(LOG_ERR, "dup2: %s", strerror(errno)); in daemon_execv()
125 daemon_log(LOG_ERR, "execv(%s) failed: %s", prog, strerror(errno)); in daemon_execv()
146 if (errno == EINTR) in daemon_execv()
149 daemon_log(LOG_ERR, "select() failed: %s", strerror(errno)); in daemon_execv()
151 saved_errno = errno; in daemon_execv()
[all …]
Ddsignal.c44 int saved_errno = errno; in _sigfunc()
46 errno = saved_errno; in _sigfunc()
53 daemon_log(LOG_ERR, "pipe(): %s", strerror(errno)); in _init()
74 daemon_log(LOG_ERR, "sigemptyset(): %s", strerror(errno)); in daemon_signal_install()
79 daemon_log(LOG_ERR, "sigaddset(): %s", strerror(errno)); in daemon_signal_install()
84 daemon_log(LOG_ERR, "sigprocmask(): %s", strerror(errno)); in daemon_signal_install()
94 daemon_log(LOG_ERR, "sigaction(%s, ...) failed: %s", strsignal(s), strerror(errno)); in daemon_signal_install()
124 int saved_errno = errno; in daemon_signal_done()
134 errno = saved_errno; in daemon_signal_done()
146 if (errno == EAGAIN) in daemon_signal_next()
[all …]
/external/dbus/dbus/
Ddbus-file-unix.c73 dbus_set_error (error, _dbus_error_from_errno (errno), in _dbus_file_get_contents()
76 _dbus_strerror (errno)); in _dbus_file_get_contents()
84 dbus_set_error (error, _dbus_error_from_errno (errno), in _dbus_file_get_contents()
87 _dbus_strerror (errno)); in _dbus_file_get_contents()
90 _dbus_strerror (errno)); in _dbus_file_get_contents()
118 dbus_set_error (error, _dbus_error_from_errno (errno), in _dbus_file_get_contents()
121 _dbus_strerror (errno)); in _dbus_file_get_contents()
124 _dbus_strerror (errno)); in _dbus_file_get_contents()
219 dbus_set_error (error, _dbus_error_from_errno (errno), in _dbus_string_save_to_file()
221 _dbus_strerror (errno)); in _dbus_string_save_to_file()
[all …]
Dsd-daemon.c61 errno = 0; in sd_listen_fds()
64 if (errno != 0) { in sd_listen_fds()
65 r = -errno; in sd_listen_fds()
85 errno = 0; in sd_listen_fds()
88 if (errno != 0) { in sd_listen_fds()
89 r = -errno; in sd_listen_fds()
102 r = -errno; in sd_listen_fds()
110 r = -errno; in sd_listen_fds()
135 return -errno; in sd_is_fifo()
146 if (errno == ENOENT || errno == ENOTDIR) in sd_is_fifo()
[all …]
/external/autotest/client/tests/rtc/src/
Drtctest.c58 exit(errno); in main()
66 if (errno == ENOTTY) { in main()
72 exit(errno); in main()
83 exit(errno); in main()
102 exit(errno); in main()
108 exit(errno); in main()
119 exit(errno); in main()
127 exit(errno); in main()
149 if (errno == ENOTTY) { in main()
155 exit(errno); in main()
[all …]
/external/libunwind/src/ptrace/
D_UPT_access_reg.c61 errno = 0; in _UPT_access_reg()
66 if (errno) in _UPT_access_reg()
79 errno = 0; in _UPT_access_reg()
81 if (errno) in _UPT_access_reg()
104 errno = 0; in _UPT_access_reg()
106 if (errno) in _UPT_access_reg()
116 errno = 0; in _UPT_access_reg()
119 if (errno) in _UPT_access_reg()
128 errno = 0; in _UPT_access_reg()
130 if (errno) in _UPT_access_reg()
[all …]
/external/dhcpcd-6.8.2/
Dif-sun.c61 errno = ENOTSUP; in if_openlinksocket()
69 errno = ENOTSUP; in if_getssid()
85 errno = ENOTSUP; in if_openrawsocket()
94 errno = ENOTSUP; in if_sendrawpacket()
103 errno = ENOTSUP; in if_readrawpacket()
113 errno = ENOTSUP; in if_address()
121 errno = ENOTSUP; in if_route()
131 errno = ENOTSUP; in if_address6()
139 errno = ENOTSUP; in if_route6()
149 errno = ENOTSUP; in if_addrflags6()
[all …]
Dauth.c120 errno = EINVAL; in dhcp_auth_validate()
126 errno = ERANGE; in dhcp_auth_validate()
138 errno = EINVAL; in dhcp_auth_validate()
150 errno = EPERM; in dhcp_auth_validate()
162 errno = EPERM; in dhcp_auth_validate()
167 errno = EPERM; in dhcp_auth_validate()
185 errno = EINVAL; in dhcp_auth_validate()
194 errno = EINVAL; in dhcp_auth_validate()
209 errno = EINVAL; in dhcp_auth_validate()
238 errno = EINVAL; in dhcp_auth_validate()
[all …]
/external/libselinux/src/
Davc_internal.c109 } while (rc < 0 && errno == EINTR); in avc_netlink_receive()
112 errno = EWOULDBLOCK; in avc_netlink_receive()
117 avc_prefix, errno); in avc_netlink_receive()
144 errno = EBADFD; in avc_netlink_receive()
171 errno = -err->error; in avc_netlink_process()
173 "%s: netlink error: %d\n", avc_prefix, errno); in avc_netlink_process()
188 avc_prefix, rc, errno); in avc_netlink_process()
206 avc_prefix, rc, errno); in avc_netlink_process()
229 errno = 0; in avc_netlink_check_nb()
232 if (errno == EWOULDBLOCK) in avc_netlink_check_nb()
[all …]
/external/selinux/libselinux/src/
Davc_internal.c109 } while (rc < 0 && errno == EINTR); in avc_netlink_receive()
112 errno = EWOULDBLOCK; in avc_netlink_receive()
117 avc_prefix, errno); in avc_netlink_receive()
144 errno = EBADFD; in avc_netlink_receive()
171 errno = -err->error; in avc_netlink_process()
173 "%s: netlink error: %d\n", avc_prefix, errno); in avc_netlink_process()
188 avc_prefix, rc, errno); in avc_netlink_process()
206 avc_prefix, rc, errno); in avc_netlink_process()
229 errno = 0; in avc_netlink_check_nb()
232 if (errno == EWOULDBLOCK) in avc_netlink_check_nb()
[all …]
/external/avahi/avahi-core/
Dsocket.c136 …vahi_log_warn("%s failed: %s", join ? "IP_ADD_MEMBERSHIP" : "IP_DROP_MEMBERSHIP", strerror(errno)); in avahi_mdns_mcast_join_ipv4()
160 …_log_warn("%s failed: %s", join ? "IPV6_ADD_MEMBERSHIP" : "IPV6_DROP_MEMBERSHIP", strerror(errno)); in avahi_mdns_mcast_join_ipv6()
172 avahi_log_warn("SO_REUSEADDR failed: %s", strerror(errno)); in reuseaddr()
179 avahi_log_warn("SO_REUSEPORT failed: %s", strerror(errno)); in reuseaddr()
195 if (errno != EADDRINUSE) { in bind_with_warn()
196 avahi_log_warn("bind() failed: %s", strerror(errno)); in bind_with_warn()
208 avahi_log_warn("bind() failed: %s", strerror(errno)); in bind_with_warn()
230 avahi_log_warn("IP_PKTINFO failed: %s", strerror(errno)); in ipv4_pktinfo()
238 avahi_log_warn("IP_RECVINTERFACE failed: %s", strerror(errno)); in ipv4_pktinfo()
244 avahi_log_warn("IP_RECVIF failed: %s", strerror(errno)); in ipv4_pktinfo()
[all …]
/external/avahi/avahi-daemon/
Dchroot.c142 avahi_log_error("sendmsg() failed: %s", strerror(errno)); in send_fd()
182 avahi_log_error("recvmsg() failed: %s", strerror(errno)); in recv_fd()
188 errno = EINVAL; in recv_fd()
194 errno = EINVAL; in recv_fd()
226 avahi_log_error(__FILE__": read() failed: %s", strerror(errno)); in helper_main()
252 avahi_log_error(__FILE__": open() failed: %s", strerror(errno)); in helper_main()
255 avahi_log_error(__FILE__": write() failed: %s\n", strerror(errno)); in helper_main()
277 avahi_log_error(__FILE__": write() failed: %s\n", strerror(errno)); in helper_main()
306 avahi_log_error("socketpair() failed: %s", strerror(errno)); in avahi_chroot_helper_start()
313 avahi_log_error(__FILE__": fork() failed: %s", strerror(errno)); in avahi_chroot_helper_start()
[all …]
Dsd-daemon.c66 errno = 0; in sd_listen_fds()
69 if (errno != 0) { in sd_listen_fds()
70 r = -errno; in sd_listen_fds()
90 errno = 0; in sd_listen_fds()
93 if (errno != 0) { in sd_listen_fds()
94 r = -errno; in sd_listen_fds()
107 r = -errno; in sd_listen_fds()
115 r = -errno; in sd_listen_fds()
140 return -errno; in sd_is_fifo()
151 if (errno == ENOENT || errno == ENOTDIR) in sd_is_fifo()
[all …]
/external/valgrind/memcheck/tests/
Dwritev1.c37 f_name, errno); in main()
41 nbytes, errno); in main()
45 fprintf(stderr, "close failed: errno = %d\n", errno); in main()
51 f_name, errno); in main()
57 if (errno == EFAULT) in main()
60 fprintf(stderr, "Expected EFAULT, got %d\n", errno); in main()
69 if (errno == EINVAL) in main()
72 fprintf(stderr, "expected errno = EINVAL, got %d\n", errno); in main()
77 if (errno == EINVAL) in main()
80 fprintf(stderr, "expected errno = EINVAL, got %d\n", errno); in main()
/external/wpa_supplicant_8/src/drivers/
Dlinux_ioctl.c30 ret = errno ? -errno : -999; in linux_set_iface_flags()
32 ifname, strerror(errno)); in linux_set_iface_flags()
47 ret = errno ? -errno : -999; in linux_set_iface_flags()
50 ifname, dev_up ? "UP" : "DOWN", strerror(errno)); in linux_set_iface_flags()
70 ret = errno ? -errno : -999; in linux_iface_up()
72 ifname, strerror(errno)); in linux_iface_up()
88 ifname, strerror(errno)); in linux_get_ifhwaddr()
114 ifname, strerror(errno)); in linux_set_ifhwaddr()
140 brname, strerror(errno)); in linux_br_add()
152 brname, strerror(errno)); in linux_br_del()
[all …]
/external/libpcap/
Dpcap-bpf.c351 "BIOCROTZBUF: %s", strerror(errno)); in pcap_next_zbuf()
371 if (r < 0 && errno == EINTR) { in pcap_next_zbuf()
379 "select: %s", strerror(errno)); in pcap_next_zbuf()
398 "BIOCROTZBUF: %s", strerror(errno)); in pcap_next_zbuf()
462 (errno != EACCES || (fd = open(device, O_RDONLY)) == -1)) { in bpf_open()
463 if (errno == EACCES) in bpf_open()
468 "(cannot open device) %s: %s", device, pcap_strerror(errno)); in bpf_open()
491 if (fd == -1 && errno == EACCES) in bpf_open()
493 } while (fd < 0 && errno == EBUSY); in bpf_open()
499 switch (errno) { in bpf_open()
[all …]
/external/bison/lib/
Dfcntl.c64 errno = EINVAL; in dupfd()
72 errno = EBADF; in dupfd()
93 errno = EMFILE; in dupfd()
101 errno = EMFILE; in dupfd()
127 int saved_errno = errno; in dupfd()
138 errno = saved_errno; in dupfd()
190 errno = EINVAL; in rpl_fcntl()
203 int saved_errno = errno; in rpl_fcntl()
206 errno = saved_errno; in rpl_fcntl()
236 if (0 <= result || errno != EINVAL) in rpl_fcntl()
[all …]
Ddup2.c55 errno = EBADF; in ms_windows_dup2()
65 errno = EBADF; in ms_windows_dup2()
75 errno = EBADF; in ms_windows_dup2()
106 if (result == -1 && errno == EMFILE) in rpl_dup2()
107 errno = EBADF; in rpl_dup2()
129 int e = errno; in dupfd()
131 errno = e; in dupfd()
153 if (result == -1 && (errno == EMFILE || errno == EINVAL)) in dup2()
154 errno = EBADF; in dup2()
/external/dnsmasq/src/
Dlog.c80 send_event(errfd, EVENT_LOG_ERR, errno); in log_start()
99 ret = errno; in log_start()
179 if (errno == EINTR) in log_write()
182 if (errno == EAGAIN) in log_write()
185 if (errno == ENOBUFS) in log_write()
196 if (errno == EPIPE) in log_write()
201 else if (errno == ECONNREFUSED || in log_write()
202 errno == ENOTCONN || in log_write()
203 errno == EDESTADDRREQ || in log_write()
204 errno == ECONNRESET) in log_write()
[all …]
/external/selinux/policycoreutils/sestatus/
Dsestatus.c74 errno = 0; in pidof()
76 if (errno || pid == 0 || pid == self) in pidof()
232 printf("unknown (%s)\n", strerror(errno)); in main()
249 printf("error (%s)\n", strerror(errno)); in main()
255 printf("malloc error (%s)\n", strerror(errno)); in main()
271 printf("error (%s)\n", strerror(errno)); in main()
284 printf("unknown (%s)\n", strerror(errno)); in main()
302 printf("error (%s)\n", strerror(errno)); in main()
315 printf("error (%s)\n", strerror(errno)); in main()
329 printf("error (%s)\n", strerror(errno)); in main()
[all …]
/external/libusb/libusb/os/
Dlinux_usbfs.c210 usbi_dbg("monotonic clock doesn't work, errno %d", errno); in find_monotonic_clock()
290 "open %s failed ret=%d errno=%d", filename, fd, errno); in __open_sysfs_attr()
313 usbi_err(DEVICE_CTX(dev), "read failed, ret=%d errno=%d", fd, errno); in sysfs_get_device_descriptor()
363 "read bConfigurationValue failed ret=%d errno=%d", r, errno); in sysfs_get_active_config()
402 usbi_err(ctx, "read failed ret=%d errno=%d", r, errno); in seek_to_next_config()
413 usbi_err(ctx, "seek failed ret=%d errno=%d", off, errno); in seek_to_next_config()
450 off, errno); in sysfs_get_active_config_descriptor()
460 usbi_err(DEVICE_CTX(dev), "seek failed, ret=%d errno=%d", off, errno); in sysfs_get_active_config_descriptor()
471 fd, errno); in sysfs_get_active_config_descriptor()
498 fd, errno); in sysfs_get_active_config_descriptor()
[all …]
/external/libdaemon/examples/
Dtestd.c45 daemon_log(LOG_ERR, "Failed to reset all signal handlers: %s", strerror(errno)); in main()
51 daemon_log(LOG_ERR, "Failed to unblock all signals: %s", strerror(errno)); in main()
66 daemon_log(LOG_WARNING, "Failed to kill daemon: %s", strerror(errno)); in main()
95 … daemon_log(LOG_ERR, "Could not recieve return value from daemon process: %s", strerror(errno)); in main()
108 daemon_log(LOG_ERR, "Failed to close all file descriptors: %s", strerror(errno)); in main()
117 daemon_log(LOG_ERR, "Could not create PID file (%s).", strerror(errno)); in main()
124 daemon_log(LOG_ERR, "Could not register signal handlers (%s).", strerror(errno)); in main()
149 if (errno == EINTR) in main()
152 daemon_log(LOG_ERR, "select(): %s", strerror(errno)); in main()
162 daemon_log(LOG_ERR, "daemon_signal_next() failed: %s", strerror(errno)); in main()

12345678910>>...70