/openbsd/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/ |
H A D | fileio.c | 77 errno = 0; in test_open() 84 errno = 0; in test_open() 91 errno = 0; in test_open() 98 errno = 0; in test_open() 105 errno = 0; in test_open() 127 errno = 0; in test_write() 140 errno = 0; in test_write() 145 errno = 0; in test_write() 165 errno = 0; in test_read() 182 errno = 0; in test_read() [all …]
|
/openbsd/regress/sys/kern/pledge/generic/ |
H A D | test_tty.c | 39 _exit(errno); in test_request_tty() 44 _exit(errno); in test_request_tty() 48 _exit(errno); in test_request_tty() 53 _exit(errno); in test_request_tty() 58 _exit(errno); in test_request_tty() 62 _exit(errno); in test_request_tty() 66 _exit(errno); in test_request_tty() 71 _exit(errno); in test_request_tty() 76 _exit(errno); in test_request_tty() 80 _exit(errno); in test_request_tty() [all …]
|
/openbsd/regress/lib/libpthread/errno/ |
H A D | errno.c | 64 ASSERTe(errno, == EXDEV); in act_handler() 69 ASSERTe(errno, == EXDEV); in act_handler() 75 ASSERTe(errno, == EXDEV); in act_handler() 85 t1_errno = &errno; in tmain() 90 errno = EXDEV; in tmain() 121 main_errno = &errno; in main() 127 errno = 0; in main() 130 ASSERT(errno == 0); in main() 149 ASSERTe(errno, == EBADF); in main() 154 ASSERTe(errno, == EBADF); in main() [all …]
|
/openbsd/lib/librthread/ |
H A D | rthread_sem.c | 106 errno = EINVAL; in sem_init() 111 errno = EPERM; in sem_init() 147 errno = ENOSPC; in sem_init() 165 errno = EINVAL; in sem_destroy() 173 errno = EBUSY; in sem_destroy() 192 errno = EINVAL; in sem_getvalue() 207 errno = EINVAL; in sem_post() 230 errno = EINVAL; in sem_wait() 239 errno = error; in sem_wait() 298 errno = EAGAIN; in sem_trywait() [all …]
|
H A D | rthread_sem_compat.c | 118 errno = EINVAL; in sem_init() 123 errno = EPERM; in sem_init() 159 errno = ENOSPC; in sem_init() 178 errno = EINVAL; in sem_destroy() 186 errno = EBUSY; in sem_destroy() 205 errno = EINVAL; in sem_getvalue() 222 errno = EINVAL; in sem_post() 245 errno = EINVAL; in sem_wait() 254 errno = r; in sem_wait() 311 errno = r; in sem_trywait() [all …]
|
/openbsd/gnu/usr.bin/cvs/src/ |
H A D | mkmodules.c | 433 && !existence_error (errno)) 548 if (errno != EEXIST) in make_tempfile() 740 dir1_errno = errno; 742 pag1_errno = errno; 744 db1_errno = errno; 748 dir2_errno = errno; 751 pag2_errno = errno; 754 db2_errno = errno; 758 dir3_errno = errno; 761 pag3_errno = errno; [all …]
|
H A D | filesubr.c | 83 if (errno == EINTR) 334 if (!(errno == EEXIST 497 errno = 0; 532 errno = 0; 534 if (errno != 0) 538 errno = save_errno; 778 errno = save_errno; 1049 retval = errno; 1059 errno = 0; 1070 if (errno != 0) [all …]
|
H A D | run.c | 149 rerrno = errno; 156 rerrno = errno; 165 rerrno = errno; 229 rerrno = errno; 274 if (w == -1 && errno != EINTR) 282 rerrno = errno; 346 errno = rerrno; 410 error (1, errno, "cannot create pipe"); 427 error (1, errno, "cannot fork"); 443 error (1, errno, "cannot close pipe"); [all …]
|
/openbsd/regress/lib/libc/sys/ |
H A D | t_mlock.c | 101 errno = 0; in ATF_TC_BODY() 104 errno = 0; in ATF_TC_BODY() 107 errno = 0; in ATF_TC_BODY() 114 errno = 0; in ATF_TC_BODY() 117 errno = 0; in ATF_TC_BODY() 120 errno = 0; in ATF_TC_BODY() 136 errno = 0; in ATF_TC_BODY() 147 errno, strerror(errno)); in ATF_TC_BODY() 153 errno, strerror(errno)); in ATF_TC_BODY() 209 buf, i, sta, errno, strerror(errno)); in ATF_TC_BODY() [all …]
|
H A D | t_access.c | 71 errno = 0; in ATF_TC_BODY() 74 ATF_REQUIRE(errno == EACCES); in ATF_TC_BODY() 97 errno = 0; in ATF_TC_BODY() 100 ATF_REQUIRE(errno == EFAULT); in ATF_TC_BODY() 102 errno = 0; in ATF_TC_BODY() 105 ATF_REQUIRE(errno == EFAULT); in ATF_TC_BODY() 118 errno = 0; in ATF_TC_BODY() 121 ATF_REQUIRE(errno == EINVAL); in ATF_TC_BODY() 136 errno = 0; in ATF_TC_BODY() 165 errno = 0; in ATF_TC_BODY() [all …]
|
/openbsd/gnu/lib/libstdc++/libstdc++/config/locale/generic/ |
H A D | c_locale.cc | 53 errno = 0; in __convert_to_v() 70 errno = 0; in __convert_to_v() 88 errno = 0; in __convert_to_v() 105 errno = 0; in __convert_to_v() 126 errno = 0; in __convert_to_v() 134 errno = ERANGE; in __convert_to_v() 137 errno = ERANGE; in __convert_to_v() 140 errno = ERANGE; in __convert_to_v() 166 errno = 0; in __convert_to_v() 189 errno = 0; in __convert_to_v() [all …]
|
/openbsd/gnu/usr.bin/cvs/windows-NT/ |
H A D | filesubr.c | 71 if (errno == EINTR) 274 if (errno != ENOENT) 298 if (errno != EEXIST 302 && errno != EACCESS 307 && errno != EACCES 368 errno = EINVAL; in readlink() 388 save_errno = errno; 402 errno = save_errno; 479 if (errno == EISDIR || errno == EACCES || errno == ENOENT) 505 && (errno == ENOTEMPTY || errno == EACCES)) [all …]
|
/openbsd/gnu/usr.bin/binutils/gdb/ |
H A D | infptrace.c | 75 errno = 0; in call_ptrace() 111 errno = 0; in call_ptrace() 122 if (errno) in call_ptrace() 219 errno = 0; in child_resume() 233 errno = 0; in attach() 253 errno = 0; in detach() 491 errno = 0; in child_xfer_memory() 494 if (errno) in child_xfer_memory() 502 if (errno) in child_xfer_memory() 511 errno = 0; in child_xfer_memory() [all …]
|
/openbsd/gnu/usr.bin/perl/dist/Carp/t/ |
H A D | errno.t | 11 my($m, $errno, $exterr); 17 $errno = 0+$!; $exterr = 0+$^E; 19 is $errno, 69; 25 $errno = 0+$!; $exterr = 0+$^E; 27 is $errno, 69; 33 $m = $errno = $exterr = undef; 37 is $errno, 69; 41 $m = $errno = $exterr = undef; 45 is $errno, 69; 57 is $errno, 69; [all …]
|
/openbsd/gnu/usr.bin/cvs/os2/ |
H A D | filesubr.c | 67 if (errno == EINTR) 229 if (! existence_error (errno)) 268 if (errno != EEXIST 270 && errno != EACCES 342 errno = EINVAL; in readlink() 398 if (errno == EACCES) 440 if (errno == EACCES) 508 if (errno == EINTR) 907 errno = EACCES; in os2_chdir() 916 errno = ENODEV; in os2_chdir() [all …]
|
/openbsd/usr.bin/ssh/ |
H A D | atomicio.c | 57 if (errno == EINTR) { in atomicio6() 60 errno = EINTR; in atomicio6() 64 } else if (errno == EAGAIN || errno == EWOULDBLOCK) { in atomicio6() 70 errno = EPIPE; in atomicio6() 75 errno = EINTR; in atomicio6() 103 errno = EINVAL; in atomiciov6() 118 errno = EINTR; in atomiciov6() 122 } else if (errno == EAGAIN || errno == EWOULDBLOCK) { in atomiciov6() 128 errno = EPIPE; in atomiciov6() 141 errno = EFAULT; in atomiciov6() [all …]
|
H A D | sshpty.c | 52 error("openpty: %.100s", strerror(errno)); in pty_allocate() 86 error("setsid: %.100s", strerror(errno)); in pty_make_controlling_tty() 105 error("%.100s: %.100s", tty, strerror(errno)); in pty_make_controlling_tty() 113 strerror(errno)); in pty_make_controlling_tty() 156 strerror(errno)); in pty_setowner() 160 if (errno == EROFS && in pty_setowner() 164 strerror(errno)); in pty_setowner() 168 strerror(errno)); in pty_setowner() 174 if (errno == EROFS && in pty_setowner() 177 tty, (u_int)mode, strerror(errno)); in pty_setowner() [all …]
|
/openbsd/gnu/usr.bin/cvs/emx/ |
H A D | filesubr.c | 58 error (1, errno, "cannot fstat %s", from); 73 if (errno == EINTR) 93 error (0, errno, "cannot close %s", from); 95 error (1, errno, "cannot close %s", to); 242 error (1, errno, "cannot open %s", name); 276 if (! existence_error (errno)) 300 if (errno != EEXIST) 463 if (errno == ENOTEMPTY 464 || errno == EEXIST 533 if (errno == EINTR) [all …]
|
/openbsd/usr.bin/rsync/ |
H A D | mktemp.c | 88 errno = EINVAL; in mktemp_internalat() 97 errno = EINVAL; in mktemp_internalat() 102 errno = EINVAL; in mktemp_internalat() 136 if (errno != EEXIST) in mktemp_internalat() 153 errno = EINVAL; in mktemp_internalat() 167 errno = EINVAL; in mktemp_internalat() 174 errno = EINVAL; in mktemp_internalat() 180 errno = EINVAL; in mktemp_internalat() 191 saved_errno = errno; in mktemp_internalat() 193 errno = saved_errno; in mktemp_internalat() [all …]
|
/openbsd/sbin/unwind/libunbound/util/ |
H A D | tube.c | 67 errno = err; in tube_create() 76 errno = err; in tube_create() 85 errno = err; in tube_create() 173 if(errno != EAGAIN && errno != EINTR) { in tube_handle_listen() 204 if(errno != EAGAIN && errno != EINTR) { in tube_handle_listen() 245 if(errno != EAGAIN && errno != EINTR) { in tube_handle_write() 262 if(errno != EAGAIN && errno != EINTR) { in tube_handle_write() 298 if(errno==EINTR || errno==EAGAIN) in tube_write_msg() 345 if(errno==EINTR || errno==EAGAIN) in tube_read_msg() 451 if(errno == EAGAIN || errno == EINTR) in tube_wait_timeout() [all …]
|
/openbsd/usr.sbin/unbound/util/ |
H A D | tube.c | 67 errno = err; in tube_create() 76 errno = err; in tube_create() 85 errno = err; in tube_create() 173 if(errno != EAGAIN && errno != EINTR) { in tube_handle_listen() 204 if(errno != EAGAIN && errno != EINTR) { in tube_handle_listen() 245 if(errno != EAGAIN && errno != EINTR) { in tube_handle_write() 262 if(errno != EAGAIN && errno != EINTR) { in tube_handle_write() 298 if(errno==EINTR || errno==EAGAIN) in tube_write_msg() 345 if(errno==EINTR || errno==EAGAIN) in tube_read_msg() 451 if(errno == EAGAIN || errno == EINTR) in tube_wait_timeout() [all …]
|
/openbsd/gnu/lib/libstdc++/libstdc++/config/locale/gnu/ |
H A D | c_locale.cc | 51 errno = 0; in __convert_to_v() 53 if (__sanity != __s && *__sanity == '\0' && errno != ERANGE) in __convert_to_v() 69 errno = 0; in __convert_to_v() 71 if (__sanity != __s && *__sanity == '\0' && errno != ERANGE) in __convert_to_v() 87 errno = 0; in __convert_to_v() 89 if (__sanity != __s && *__sanity == '\0' && errno != ERANGE) in __convert_to_v() 105 errno = 0; in __convert_to_v() 108 if (__sanity != __s && *__sanity == '\0' && errno != ERANGE) in __convert_to_v() 124 errno = 0; in __convert_to_v() 141 errno = 0; in __convert_to_v() [all …]
|
/openbsd/regress/sys/kern/realpath/ |
H A D | realpath3.c | 65 errno = EINVAL; in realpath3() 70 errno = ENOENT; in realpath3() 85 errno = ENOTDIR; in realpath3() 89 serrno = errno; in realpath3() 119 errno = ENAMETOOLONG; in realpath3() 179 errno = ENAMETOOLONG; in realpath3() 184 switch (errno) { in realpath3() 190 errno = serrno; in realpath3() 198 errno = EINVAL; in realpath3() 201 errno = ENAMETOOLONG; in realpath3() [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/IO-Compress/lib/IO/Uncompress/ |
H A D | AnyUncompress.pm | 102 return $self->saveErrorString(undef, $errstr, $errno) 125 return $self->saveErrorString(undef, $errstr, $errno) 145 my ($obj, $errstr, $errno) = 148 return $self->saveErrorString(undef, $errstr, $errno) 163 return $self->saveErrorString(undef, $errstr, $errno) 177 my ($obj, $errstr, $errno) = IO::Uncompress::Adapter::LZO::mkUncompObject(); 179 return $self->saveErrorString(undef, $errstr, $errno) 193 my ($obj, $errstr, $errno) = IO::Uncompress::Adapter::Lzf::mkUncompObject(); 195 return $self->saveErrorString(undef, $errstr, $errno) 211 return $self->saveErrorString(undef, $errstr, $errno) [all …]
|
/openbsd/lib/libpcap/ |
H A D | pcap-bpf.c | 59 pcap_strerror(errno)); in pcap_stats() 94 switch (errno) { in pcap_read() 118 pcap_strerror(errno)); in pcap_read() 208 if (errno == EACCES) in bpf_open() 215 pcap_strerror(errno)); in bpf_open() 244 if (errno != EINVAL) { in get_dlt_list() 303 strerror(errno)); in pcap_cleanup_bpf() 313 strerror(errno)); in pcap_cleanup_bpf() 331 strerror(errno)); in pcap_cleanup_bpf() 383 pcap_strerror(errno)); in check_setif_failure() [all …]
|