Home
last modified time | relevance | path

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

12345678910>>...61

/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/openssh/openbsd-compat/
Dbsd-setres_id.c36 errno = ENOSYS; in setresgid()
41 saved_errno = errno; in setresgid()
42 error("setregid %u: %.100s", rgid, strerror(errno)); in setresgid()
43 errno = saved_errno; in setresgid()
48 saved_errno = errno; in setresgid()
49 error("setegid %u: %.100s", (u_int)egid, strerror(errno)); in setresgid()
50 errno = saved_errno; in setresgid()
54 saved_errno = errno; in setresgid()
55 error("setgid %u: %.100s", rgid, strerror(errno)); in setresgid()
56 errno = saved_errno; in setresgid()
[all …]
Dport-solaris.c57 "contract: %s", __func__, strerror(errno)); in get_active_process_contract_id()
62 "status: %s", __func__, strerror(errno)); in get_active_process_contract_id()
67 __func__, strerror(errno)); in get_active_process_contract_id()
82 CT_TEMPLATE, strerror(errno)); in solaris_contract_pre_fork()
92 "(pgrponly): %s", __func__, strerror(errno)); in solaris_contract_pre_fork()
97 "fatal events: %s", __func__, strerror(errno)); in solaris_contract_pre_fork()
102 "critical events: %s", __func__, strerror(errno)); in solaris_contract_pre_fork()
107 "informative events: %s", __func__, strerror(errno)); in solaris_contract_pre_fork()
114 "template: %s", __func__, strerror(errno)); in solaris_contract_pre_fork()
135 "template: %s", __func__, strerror(errno)); in solaris_contract_post_fork_child()
[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/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/openssh/
Dsshpty.c72 error("openpty: %.100s", strerror(errno)); in pty_allocate()
95 error("chown %.100s 0 0 failed: %.100s", tty, strerror(errno)); in pty_release()
97 error("chmod %.100s 0666 failed: %.100s", tty, strerror(errno)); in pty_release()
110 error("setsid: %.100s", strerror(errno)); in pty_make_controlling_tty()
127 error("%.100s: %.100s", tty, strerror(errno)); in pty_make_controlling_tty()
141 error("setsid: %.100s", strerror(errno)); in pty_make_controlling_tty()
156 error("ioctl(TIOCSCTTY): %.100s", strerror(errno)); in pty_make_controlling_tty()
160 error("SETPGRP %s",strerror(errno)); in pty_make_controlling_tty()
164 error("%.100s: %.100s", tty, strerror(errno)); in pty_make_controlling_tty()
172 strerror(errno)); in pty_make_controlling_tty()
[all …]
Duidswap.c93 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid()
98 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid()
107 strerror(errno)); in temporarily_use_uid()
111 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid()
116 fatal("getgroups: %.100s", strerror(errno)); in temporarily_use_uid()
123 fatal("setgroups: %.100s", strerror(errno)); in temporarily_use_uid()
127 debug("setgid %u: %.100s", (u_int) getegid(), strerror(errno)); in temporarily_use_uid()
130 debug("setuid %u: %.100s", (u_int) geteuid(), strerror(errno)); in temporarily_use_uid()
134 strerror(errno)); in temporarily_use_uid()
137 strerror(errno)); in temporarily_use_uid()
[all …]
Datomicio.c68 if (errno == EINTR) in atomicio6()
70 if (errno == EAGAIN || errno == EWOULDBLOCK) { in atomicio6()
78 errno = EPIPE; in atomicio6()
83 errno = EINTR; in atomicio6()
111 errno = EINVAL; in atomiciov6()
125 if (errno == EINTR) in atomiciov6()
127 if (errno == EAGAIN || errno == EWOULDBLOCK) { in atomiciov6()
135 errno = EPIPE; in atomiciov6()
148 errno = EFAULT; in atomiciov6()
158 errno = EINTR; in atomiciov6()
Dsandbox-capsicum.c77 __func__, strerror(errno)); in ssh_sandbox_child()
81 __func__, strerror(errno)); in ssh_sandbox_child()
85 __func__, strerror(errno)); in ssh_sandbox_child()
89 if (cap_rights_limit(STDIN_FILENO, &rights) < 0 && errno != ENOSYS) in ssh_sandbox_child()
91 if (cap_rights_limit(STDOUT_FILENO, &rights) < 0 && errno != ENOSYS) in ssh_sandbox_child()
93 if (cap_rights_limit(STDERR_FILENO, &rights) < 0 && errno != ENOSYS) in ssh_sandbox_child()
98 errno != ENOSYS) in ssh_sandbox_child()
102 errno != ENOSYS) in ssh_sandbox_child()
104 if (cap_enter() < 0 && errno != ENOSYS) in ssh_sandbox_child()
/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/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/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/bison/lib/
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()
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 …]
/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/elfutils/src/libdwfl/
Dlinux-pid-attach.c92 int saved_errno = errno; in __libdwfl_ptrace_attach()
94 errno = saved_errno; in __libdwfl_ptrace_attach()
103 int saved_errno = errno; in __libdwfl_ptrace_attach()
105 errno = saved_errno; in __libdwfl_ptrace_attach()
123 errno = 0; in pid_memory_read()
125 return errno == 0; in pid_memory_read()
138 errno = 0; in pid_memory_read()
140 if (errno != 0) in pid_memory_read()
166 errno = 0; in pid_next_thread()
170 if (errno != 0) in pid_next_thread()
[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/libpcap/
Dpcap-bpf.c355 "BIOCROTZBUF: %s", strerror(errno)); in pcap_next_zbuf()
375 if (r < 0 && errno == EINTR) { in pcap_next_zbuf()
383 "select: %s", strerror(errno)); in pcap_next_zbuf()
402 "BIOCROTZBUF: %s", strerror(errno)); in pcap_next_zbuf()
466 (errno != EACCES || (fd = open(device, O_RDONLY)) == -1)) { in bpf_open()
467 if (errno == EACCES) in bpf_open()
472 "(cannot open device) %s: %s", device, pcap_strerror(errno)); in bpf_open()
495 if (fd == -1 && errno == EACCES) in bpf_open()
497 } while (fd < 0 && errno == EBUSY); in bpf_open()
503 switch (errno) { in bpf_open()
[all …]
/external/fio/engines/
Dsplice.c48 if (errno == ENODATA || errno == EAGAIN) in fio_splice_read_old()
51 return -errno; in fio_splice_read_old()
59 return -errno; in fio_splice_read_old()
89 td_verror(td, errno, "mmap io_u"); in fio_splice_read()
110 if (errno == ENODATA || errno == EAGAIN) in fio_splice_read()
113 td_verror(td, errno, "splice-from-fd"); in fio_splice_read()
124 if (errno == EFAULT && in fio_splice_read()
133 if (errno == EBADF) { in fio_splice_read()
137 td_verror(td, errno, "vmsplice"); in fio_splice_read()
154 td_verror(td, errno, "munnap io_u"); in fio_splice_read()
[all …]
/external/boringssl/src/crypto/
Ddirectory_posix.c44 errno = 0; in readdir_r()
49 if (errno) { in readdir_r()
65 errno = EINVAL; in OPENSSL_DIR_read()
69 errno = 0; in OPENSSL_DIR_read()
73 errno = ENOMEM; in OPENSSL_DIR_read()
80 int save_errno = errno; /* Probably not needed, but I'm paranoid */ in OPENSSL_DIR_read()
83 errno = save_errno; in OPENSSL_DIR_read()
104 errno = EINVAL; in OPENSSL_DIR_end()
/external/tinycompress/
Dcompress.c108 errno = e; in oops()
136 oops(compress, errno, "cant read version"); in get_compress_version()
192 oops(&bad_compress, errno, "cannot get device caps"); in _is_codec_type_supported()
230 oops(&bad_compress, errno, "cannot allocate compress object"); in compress_open()
256 oops(&bad_compress, errno, "cannot open device '%s'", fn); in compress_open()
261 oops(compress, errno, "cannot get device caps"); in compress_open()
276 oops(compress, errno, "codec not supported\n"); in compress_open()
285 oops(&bad_compress, errno, "cannot set device"); in compress_open()
324 return oops(compress, errno, "cannot get avail"); in compress_get_hpointer()
344 return oops(compress, errno, "cannot get tstamp"); in compress_get_tstamp()
[all …]
/external/iproute2/ip/
Dipnetns.c37 errno = ENOSYS; in setns()
113 netns_name, etc_name, strerror(errno)); in bind_etc()
142 strerror(errno)); in netns_exec()
147 strerror(errno)); in netns_exec()
152 fprintf(stderr, "unshare failed: %s\n", strerror(errno)); in netns_exec()
157 fprintf(stderr, "umount of /sys failed: %s\n", strerror(errno)); in netns_exec()
161 fprintf(stderr, "mount of /sys failed: %s\n",strerror(errno)); in netns_exec()
170 cmd, strerror(errno)); in netns_exec()
189 netns_path, strerror(errno)); in netns_delete()
224 netns_path, strerror(errno)); in netns_add()
[all …]
/external/ppp/pppd/
Dsys-linux.c304 if (errno != EIO) in modify_flags()
319 fatal("Couldn't create IP socket: %m(%d)", errno); in sys_init()
324 sock6_fd = -errno; /* save errno for later */ in sys_init()
391 if ( ! ok_error (errno) ) in set_kdebugflag()
411 if ( ! ok_error ( errno )) in tty_establish_ppp()
431 if ( ! ok_error (errno) ) { in tty_establish_ppp()
447 if (ioctl(tty_fd, TIOCSETD, &tty_disc) < 0 && !ok_error(errno)) in tty_establish_ppp()
513 if (ok_error (errno)) in generic_establish_ppp()
528 if ( ! ok_error (errno)) in generic_establish_ppp()
570 if ( ! ok_error (errno)) in tty_disestablish_ppp()
[all …]
/external/lldb/source/Utility/
DPseudoTerminal.cpp96 ::strerror_r (errno, error_str, error_len); in OpenFirstAvailableMaster()
104 ::strerror_r (errno, error_str, error_len); in OpenFirstAvailableMaster()
113 ::strerror_r (errno, error_str, error_len); in OpenFirstAvailableMaster()
151 ::strerror_r (errno, error_str, error_len); in OpenSlave()
186 ::strerror_r (errno, error_str, error_len); in GetSlaveName()
229 ::strerror_r (errno, error_str, error_len); in Fork()
247 ::strerror_r (errno, error_str, error_len); in Fork()
254 ::strerror_r (errno, error_str, error_len); in Fork()
260 ::strerror_r (errno, error_str, error_len); in Fork()
266 ::strerror_r (errno, error_str, error_len); in Fork()

12345678910>>...61