Home
last modified time | relevance | path

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

12345678910>>...135

/netbsd-src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
H A Dfileio.c88 errno = 0; in test_open()
90 printf ("open 1: ret = %d, errno = %d %s\n", ret, errno, in test_open()
97 errno = 0; in test_open()
99 printf ("open 2: ret = %d, errno = %d %s\n", ret, errno, in test_open()
100 strerrno (errno)); in test_open()
105 errno = 0; in test_open()
107 printf ("open 3: ret = %d, errno = %d %s\n", ret, errno, in test_open()
108 strerrno (errno)); in test_open()
113 errno = 0; in test_open()
115 printf ("open 4: ret = %d, errno = %d %s\n", ret, errno, in test_open()
[all …]
/netbsd-src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
H A Dfileio.c88 errno = 0; in test_open()
90 printf ("open 1: ret = %d, errno = %d %s\n", ret, errno, in test_open()
97 errno = 0; in test_open()
99 printf ("open 2: ret = %d, errno = %d %s\n", ret, errno, in test_open()
100 strerrno (errno)); in test_open()
105 errno = 0; in test_open()
107 printf ("open 3: ret = %d, errno = %d %s\n", ret, errno, in test_open()
108 strerrno (errno)); in test_open()
113 errno = 0; in test_open()
115 printf ("open 4: ret = %d, errno = %d %s\n", ret, errno, in test_open()
[all …]
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Dw32sock.h47 errno = EBADF; in set_winsock_errno()
50 errno = ENOMEM; in set_winsock_errno()
53 errno = EINVAL; in set_winsock_errno()
56 errno = ENAMETOOLONG; in set_winsock_errno()
59 errno = ENOTEMPTY; in set_winsock_errno()
62 errno = EWOULDBLOCK; in set_winsock_errno()
65 errno = EINPROGRESS; in set_winsock_errno()
68 errno = EALREADY; in set_winsock_errno()
71 errno = ENOTSOCK; in set_winsock_errno()
74 errno = EDESTADDRREQ; in set_winsock_errno()
[all …]
H A Drename.c66 errno = ENOENT; in rpl_rename()
74 errno = EINVAL; in rpl_rename()
83 errno = EINVAL; in rpl_rename()
99 if (errno != ENOENT || (!S_ISDIR (src_st.st_mode) && dst_slash)) in rpl_rename()
107 errno = S_ISDIR (dst_st.st_mode) ? EISDIR : ENOTDIR; in rpl_rename()
149 errno = ENOMEM; in rpl_rename()
161 errno = EINVAL; in rpl_rename()
200 errno = ENOENT; in rpl_rename()
205 errno = EACCES; in rpl_rename()
209 errno = ENOMEM; in rpl_rename()
[all …]
H A Dfdopendir.c88 int saved_errno = errno; in fdopendir()
92 errno = saved_errno; in fdopendir()
107 int saved_errno = errno; in fdopendir()
112 openat_save_fail (errno); in fdopendir()
114 saved_errno = errno; in fdopendir()
116 errno = saved_errno; in fdopendir()
139 if (dupfd < 0 && errno == EMFILE) in fdopendir_with_dup()
150 saved_errno = errno; in fdopendir_with_dup()
156 saved_errno = errno; in fdopendir_with_dup()
161 openat_save_fail (fd1 < 0 ? errno : EBADF); in fdopendir_with_dup()
[all …]
/netbsd-src/lib/libm/src/
H A Dk_standard.c108 errno = EDOM; in __kernel_standard()
113 errno = EDOM; in __kernel_standard()
124 errno = EDOM; in __kernel_standard()
129 errno = EDOM; in __kernel_standard()
146 errno = EDOM; in __kernel_standard()
159 errno = ERANGE; in __kernel_standard()
161 errno = ERANGE; in __kernel_standard()
174 errno = ERANGE; in __kernel_standard()
176 errno = ERANGE; in __kernel_standard()
189 errno = ERANGE; in __kernel_standard()
[all …]
/netbsd-src/external/cddl/osnet/dist/lib/pyzfs/common/
H A Dutil.py29 import errno
35 errno.ECANCELED = 47
36 errno.ENOTSUP = 48
74 self.errno = eno
89 errno.EPERM: _("permission denied"),
90 errno.ECANCELED:
92 errno.EINTR: _("signal received"),
93 errno.EIO: _("I/O error"),
94 errno.ENOENT: _("dataset does not exist"),
95 errno.ENOSPC: _("out of space"),
[all …]
/netbsd-src/external/mpl/dhcp/dist/server/
H A Ddb.c65 errno = 0; in write_binding_scope()
69 if (errno) in write_binding_scope()
76 errno = 0; in write_binding_scope()
79 if (errno) in write_binding_scope()
82 errno = 0; in write_binding_scope()
85 if (errno) in write_binding_scope()
119 errno = 0;
121 if (errno) {
204 errno = 0;
210 if (errno)
[all …]
/netbsd-src/external/gpl2/xcvs/dist/src/
H A Dmkmodules.c794 error (1, errno, "Failed to save current directory."); in mkmodules()
797 error (1, errno, "cannot chdir to %s", dir); in mkmodules()
826 && !existence_error (errno)) in mkmodules()
827 error (0, errno, "cannot remove %s", temp); in mkmodules()
846 && !existence_error (errno)) in mkmodules()
847 error (0, errno, "cannot remove %s", temp); in mkmodules()
896 && !existence_error (errno)) in mkmodules()
897 error (0, errno, "cannot remove %s", temp); in mkmodules()
903 error (0, errno, "cannot read %s", CVSROOTADM_CHECKOUTLIST); in mkmodules()
905 error (0, errno, "cannot close %s", CVSROOTADM_CHECKOUTLIST); in mkmodules()
[all …]
H A Dfilesubr.c58 error (1, errno, "cannot symlink %s to %s", source, to); in copy_file()
75 error (1, errno, "cannot open %s for copying", from); in copy_file()
77 error (1, errno, "cannot fstat %s", from); in copy_file()
79 error (1, errno, "cannot create %s for copying", to); in copy_file()
91 if (errno == EINTR) in copy_file()
94 error (1, errno, "cannot read file %s for copying", from); in copy_file()
100 error (1, errno, "cannot write file %s for copying", to); in copy_file()
106 error (0, errno, "cannot close %s", from); in copy_file()
108 error (1, errno, "cannot close %s", to); in copy_file()
270 errno = EACCES; in isaccessible()
[all …]
H A Drun.c199 rerrno = errno; in run_exec()
200 error (0, errno, "cannot open %s for reading (prog %s)", in run_exec()
206 rerrno = errno; in run_exec()
207 error (0, errno, "cannot open %s for writing (prog %s)", in run_exec()
215 rerrno = errno; in run_exec()
216 error (0, errno, "cannot open %s for writing (prog %s)", in run_exec()
277 error (0, errno, "cannot set egid to gid"); in run_exec()
284 error (0, errno, "cannot exec %s", run_argv[0]); in run_exec()
289 rerrno = errno; in run_exec()
329 while ((w = waitpid (pid, &status, 0)) == -1 && errno == EINTR) in run_exec()
[all …]
/netbsd-src/external/gpl2/xcvs/dist/lib/
H A Dopenat.c74 error (exit_failure, errno, in rpl_openat()
79 saved_errno = errno; in rpl_openat()
81 errno = saved_errno; in rpl_openat()
86 saved_errno = errno; in rpl_openat()
89 error (exit_failure, errno, in rpl_openat()
94 errno = saved_errno; in rpl_openat()
116 error (exit_failure, errno, in fdopendir()
121 saved_errno = errno; in fdopendir()
123 errno = saved_errno; in fdopendir()
128 saved_errno = errno; in fdopendir()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11/
H A Dfutex.cc123 __glibcxx_assert(ret == 0 || errno == EINTR || errno == EAGAIN); in _M_futex_wait_until()
145 __glibcxx_assert(errno == EINTR || errno == EAGAIN in _M_futex_wait_until()
146 || errno == ETIMEDOUT || errno == ENOSYS); in _M_futex_wait_until()
147 if (errno == ETIMEDOUT) in _M_futex_wait_until()
149 if (errno == ENOSYS) in _M_futex_wait_until()
177 __glibcxx_assert(errno == EINTR || errno == EAGAIN in _M_futex_wait_until()
178 || errno == ETIMEDOUT); in _M_futex_wait_until()
179 if (errno == ETIMEDOUT) in _M_futex_wait_until()
199 __glibcxx_assert(ret == 0 || errno == EINTR || errno == EAGAIN); in _M_futex_wait_until_steady()
221 __glibcxx_assert(errno == EINTR || errno == EAGAIN in _M_futex_wait_until_steady()
[all …]
/netbsd-src/external/bsd/libbind/dist/nameser/
H A Dns_name.c114 errno = EMSGSIZE; in ns_name_ntop()
119 errno = EMSGSIZE; in ns_name_ntop()
125 errno = EMSGSIZE; /*%< XXX */ in ns_name_ntop()
129 errno = EMSGSIZE; in ns_name_ntop()
137 errno = EINVAL; in ns_name_ntop()
142 errno = EMSGSIZE; in ns_name_ntop()
152 errno = EMSGSIZE; in ns_name_ntop()
159 errno = EMSGSIZE; in ns_name_ntop()
168 errno = EMSGSIZE; in ns_name_ntop()
177 errno = EMSGSIZE; in ns_name_ntop()
[all …]
/netbsd-src/lib/libc/nameser/
H A Dns_name.c120 errno = EMSGSIZE; in ns_name_ntop()
125 errno = EMSGSIZE; in ns_name_ntop()
131 errno = EMSGSIZE; /*%< XXX */ in ns_name_ntop()
135 errno = EMSGSIZE; in ns_name_ntop()
143 errno = EINVAL; in ns_name_ntop()
148 errno = EMSGSIZE; in ns_name_ntop()
158 errno = EMSGSIZE; in ns_name_ntop()
165 errno = EMSGSIZE; in ns_name_ntop()
174 errno = EMSGSIZE; in ns_name_ntop()
183 errno = EMSGSIZE; in ns_name_ntop()
[all …]
/netbsd-src/external/mpl/dhcp/dist/common/
H A Dns_name.c71 errno = EMSGSIZE; in MRns_name_len()
78 errno = EMSGSIZE; in MRns_name_len()
111 errno = EMSGSIZE; in MRns_name_ntop()
116 errno = EMSGSIZE; in MRns_name_ntop()
122 errno = EMSGSIZE; in MRns_name_ntop()
129 errno = EMSGSIZE; in MRns_name_ntop()
136 errno = EMSGSIZE; in MRns_name_ntop()
145 errno = EMSGSIZE; in MRns_name_ntop()
154 errno = EMSGSIZE; in MRns_name_ntop()
160 errno = EMSGSIZE; in MRns_name_ntop()
[all …]
/netbsd-src/external/bsd/openldap/dist/libraries/libldap/
H A Dthr_pth.c74 return *thread == NULL ? errno : 0; in ldap_pvt_thread_create()
85 return pth_join( thread, thread_return ) ? 0 : errno; in ldap_pvt_thread_join()
91 return pth_raise( thread, signo ) ? 0 : errno; in ldap_pvt_thread_kill()
97 return pth_yield(NULL) ? 0 : errno; in ldap_pvt_thread_yield()
103 return( pth_cond_init( cond ) ? 0 : errno ); in ldap_pvt_thread_cond_init()
109 return( pth_cond_notify( cond, 0 ) ? 0 : errno ); in ldap_pvt_thread_cond_signal()
115 return( pth_cond_notify( cond, 1 ) ? 0 : errno ); in ldap_pvt_thread_cond_broadcast()
122 return( pth_cond_await( cond, mutex, NULL ) ? 0 : errno ); in ldap_pvt_thread_cond_wait()
134 return( pth_mutex_init( mutex ) ? 0 : errno ); in ldap_pvt_thread_mutex_init()
153 return( pth_mutex_acquire( mutex, 0, NULL ) ? 0 : errno ); in ldap_pvt_thread_mutex_lock()
[all …]
/netbsd-src/tests/lib/libc/sys/
H A Dt_mlock.c73 strerror(errno)); in ATF_TC_BODY()
78 buf, page - i, strerror(errno), err1?"failed":"ok"); in ATF_TC_BODY()
100 errno = 0; in ATF_TC_BODY()
103 errno = 0; in ATF_TC_BODY()
106 errno = 0; in ATF_TC_BODY()
109 errno = 0; in ATF_TC_BODY()
112 errno = 0; in ATF_TC_BODY()
115 errno = 0; in ATF_TC_BODY()
126 errno = 0; in ATF_TC_BODY()
136 errno, strerror(errno)); in ATF_TC_BODY()
[all …]
/netbsd-src/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/
H A Dstriconv.c76 if (errno == E2BIG) in mem_cd_iconv()
78 else if (errno == EINVAL) in mem_cd_iconv()
90 errno = EILSEQ; in mem_cd_iconv()
120 errno = ENOMEM; in mem_cd_iconv()
148 if (errno == EINVAL) in mem_cd_iconv()
160 errno = EILSEQ; in mem_cd_iconv()
201 int saved_errno = errno; in str_cd_iconv()
203 errno = saved_errno; in str_cd_iconv()
215 errno = ENOMEM; in str_cd_iconv()
244 errno = ENOMEM; in str_cd_iconv()
[all …]
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgettextpo/
H A Dstriconv.c76 if (errno == E2BIG) in mem_cd_iconv()
78 else if (errno == EINVAL) in mem_cd_iconv()
90 errno = EILSEQ; in mem_cd_iconv()
120 errno = ENOMEM; in mem_cd_iconv()
148 if (errno == EINVAL) in mem_cd_iconv()
160 errno = EILSEQ; in mem_cd_iconv()
201 int saved_errno = errno; in str_cd_iconv()
203 errno = saved_errno; in str_cd_iconv()
215 errno = ENOMEM; in str_cd_iconv()
244 errno = ENOMEM; in str_cd_iconv()
[all …]
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dstriconv.c76 if (errno == E2BIG) in mem_cd_iconv()
78 else if (errno == EINVAL) in mem_cd_iconv()
90 errno = EILSEQ; in mem_cd_iconv()
120 errno = ENOMEM; in mem_cd_iconv()
148 if (errno == EINVAL) in mem_cd_iconv()
160 errno = EILSEQ; in mem_cd_iconv()
201 int saved_errno = errno; in str_cd_iconv()
203 errno = saved_errno; in str_cd_iconv()
215 errno = ENOMEM; in str_cd_iconv()
244 errno = ENOMEM; in str_cd_iconv()
[all …]
/netbsd-src/lib/libc/posix1e/
H A Dacl_set.c63 errno = EINVAL; in acl_set_file()
68 errno = EINVAL; in acl_set_file()
84 errno = EINVAL; in acl_set_link_np()
89 errno = EINVAL; in acl_set_link_np()
115 errno = EINVAL; in acl_set_fd_np()
120 errno = EINVAL; in acl_set_fd_np()
140 errno = EINVAL; in acl_set_permset()
146 errno = EINVAL; in acl_set_permset()
150 errno = EINVAL; in acl_set_permset()
170 errno = EINVAL; in acl_set_qualifier()
[all …]
/netbsd-src/external/mit/libuv/dist/src/unix/
H A Dtcp.c54 return UV__ERR(errno); in new_socket()
59 return UV__ERR(errno); in new_socket()
90 return UV__ERR(errno); in maybe_new_socket()
103 return UV__ERR(errno); in maybe_new_socket()
165 return UV__ERR(errno); in uv__tcp_bind()
177 if (errno == EOPNOTSUPP) in uv__tcp_bind()
180 return UV__ERR(errno); in uv__tcp_bind()
186 errno = 0; in uv__tcp_bind()
188 if (err == -1 && errno != EADDRINUSE) { in uv__tcp_bind()
189 if (errno == EAFNOSUPPORT) in uv__tcp_bind()
[all …]
/netbsd-src/tests/kernel/
H A Dt_mqueue.c31 "mq_send 1 failed: %d", errno); in send_msgs()
35 "mq_send 2 failed: %d", errno); in send_msgs()
39 "mq_send 3 failed: %d", errno); in send_msgs()
43 "mq_send 4 failed: %d", errno); in send_msgs()
47 "mq_send 5 failed: %d", errno); in send_msgs()
51 "mq_send 6 failed: %d", errno); in send_msgs()
63 errno); in receive_msgs()
70 "mq_receive 1 failed: %d", errno); in receive_msgs()
75 "mq_receive 2 failed: %d", errno); in receive_msgs()
80 "mq_receive 3 failed: %d", errno); in receive_msgs()
[all …]
/netbsd-src/external/bsd/libbind/dist/isc/
H A Dev_connects.c49 (errno != EAFNOSUPPORT && errno != EOPNOTSUPP) ? -1 : ( \
93 int save = errno; in evListen()
96 errno = save; in evListen()
125 int save = errno; in evConnect()
128 errno = save; in evConnect()
133 errno != EWOULDBLOCK && in evConnect()
134 errno != EAGAIN && in evConnect()
135 errno != EINPROGRESS) { in evConnect()
136 int save = errno; in evConnect()
140 errno = save; in evConnect()
[all …]

12345678910>>...135