| /NextBSD/cddl/contrib/opensolaris/lib/pyzfs/common/ |
| HD | util.py | 29 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 …]
|
| /NextBSD/tests/sys/posixshm/ |
| HD | posixshm_test.c | 61 "mkstemp failed; errno=%d", errno); in gen_test_path() 63 "unlink failed; errno=%d", errno); in gen_test_path() 76 ATF_CHECK_MSG(error == errno, in shm_open_should_fail() 78 "errno=%d", errno, error); in shm_open_should_fail() 89 ATF_CHECK_MSG(error == errno, in shm_unlink_should_fail() 91 "errno=%d", errno, error); in shm_unlink_should_fail() 107 if (fd < 0 && errno == EEXIST) { in scribble_object() 113 atf_tc_fail("shm_open failed; errno=%d", errno); in scribble_object() 115 atf_tc_fail("ftruncate failed; errno=%d", errno); in scribble_object() 120 atf_tc_fail("mmap failed; errno=%d", errno); in scribble_object() [all …]
|
| /NextBSD/lib/libmach/test/kqueue_tests/ |
| HD | kqueue_tests.c | 66 if ( errno != EEXIST ) { in create_random_name() 68 __FUNCTION__, errno, strerror( errno ) ); in create_random_name() 81 if ( errno == ENOENT ) { in create_random_name() 86 __FUNCTION__, errno, strerror( errno ) ); in create_random_name() 176 …tf( "kevent call from consumer thread failed with error %d - \"%s\" \n", errno, strerror( errno) ); in kmsg_consumer_thread() 196 …ent call to re-enable machport events failed with error %d - \"%s\" \n", errno, strerror( errno) ); in kmsg_consumer_thread() 235 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); in kqueue_tests() 251 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) ); in kqueue_tests() 257 printf( "socketpair failed with errno %d - %s \n", errno, strerror( errno ) ); in kqueue_tests() 264 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) ); in kqueue_tests() [all …]
|
| /NextBSD/crypto/openssh/openbsd-compat/ |
| HD | bsd-setres_id.c | 36 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 …]
|
| /NextBSD/usr.bin/mach-tests/kqueue-tests/ |
| HD | kqueue-tests.c | 66 if ( errno != EEXIST ) { in create_random_name() 68 __FUNCTION__, errno, strerror( errno ) ); in create_random_name() 81 if ( errno == ENOENT ) { in create_random_name() 86 __FUNCTION__, errno, strerror( errno ) ); in create_random_name() 176 …tf( "kevent call from consumer thread failed with error %d - \"%s\" \n", errno, strerror( errno) ); in kmsg_consumer_thread() 196 …ent call to re-enable machport events failed with error %d - \"%s\" \n", errno, strerror( errno) ); in kmsg_consumer_thread() 235 printf( "vm_allocate failed with error %d - \"%s\" \n", errno, strerror( errno) ); in kqueue_tests() 251 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) ); in kqueue_tests() 257 printf( "socketpair failed with errno %d - %s \n", errno, strerror( errno ) ); in kqueue_tests() 264 printf( "fork failed with errno %d - %s \n", errno, strerror( errno ) ); in kqueue_tests() [all …]
|
| /NextBSD/lib/libutil/ |
| HD | pidfile.c | 64 return (errno); in pidfile_verify() 78 return (errno); in pidfile_read() 81 error = errno; /* Remember errno in case close() wants to change it. */ in pidfile_read() 116 errno = ENAMETOOLONG; in pidfile_open() 129 if (errno == EWOULDBLOCK) { in pidfile_open() 131 errno = EEXIST; in pidfile_open() 137 errno = pidfile_read(pfh->pf_path, in pidfile_open() 139 if (errno != EAGAIN || --count == 0) in pidfile_open() 143 if (errno == EAGAIN) in pidfile_open() 145 if (errno == 0 || errno == EAGAIN) in pidfile_open() [all …]
|
| /NextBSD/tools/regression/sockets/kqueue/ |
| HD | kqueue.c | 114 fail(errno, "kevent", socktype, "EVFILT_READ, EV_ADD"); in test_evfilt_read() 124 fail(errno, "kevent", socktype, "EVFILT_READ"); in test_evfilt_read() 137 fail(errno, "write", socktype, NULL); in test_evfilt_read() 150 fail(errno, "kevent", socktype, "EVFILT_READ"); in test_evfilt_read() 162 fail(errno, "read", socktype, NULL); in test_evfilt_read() 175 fail(errno, "kevent", socktype, "EVFILT_READ"); in test_evfilt_read() 184 fail(errno, "kevent", socktype, "EVFILT_READ, EV_DELETE"); in test_evfilt_read() 199 fail(errno, "kevent", socktype, "EVFILT_WRITE, EV_ADD"); in test_evfilt_write() 209 fail(errno, "kevent", socktype, "EVFILT_WRITE"); in test_evfilt_write() 221 if (len == -1 && errno != EAGAIN && errno != ENOBUFS) in test_evfilt_write() [all …]
|
| /NextBSD/contrib/openbsm/compat/ |
| HD | pidfile.h | 64 return (errno); in pidfile_verify() 78 return (errno); in pidfile_read() 81 error = errno; /* Remember errno in case close() wants to change it. */ in pidfile_read() 118 errno = ENAMETOOLONG; in pidfile_open() 135 if (errno == EWOULDBLOCK && pidptr != NULL) { in pidfile_open() 140 errno = pidfile_read(pfh->pf_path, pidptr); in pidfile_open() 141 if (errno != EAGAIN || --count == 0) in pidfile_open() 145 if (errno == EAGAIN) in pidfile_open() 147 if (errno == 0 || errno == EAGAIN) in pidfile_open() 148 errno = EEXIST; in pidfile_open() [all …]
|
| /NextBSD/tools/regression/sockets/accf_data_attach/ |
| HD | accf_data_attach.c | 75 errx(-1, "not ok 1 - socket: %s", strerror(errno)); in main() 87 if (errno != EINVAL) in main() 89 "%d (%s)", errno, strerror(errno)); in main() 101 errx(-1, "not ok 3 - bind %s", strerror(errno)); in main() 112 if (errno != EINVAL) in main() 114 errno, strerror(errno)); in main() 137 if (errno != EINVAL) in main() 139 errno, strerror(errno)); in main() 146 errx(-1, "not ok 7 - listen: %s", strerror(errno)); in main() 158 if (errno != EINVAL) in main() [all …]
|
| /NextBSD/usr.sbin/bluetooth/hcseriald/ |
| HD | hcseriald.c | 106 strerror(errno), errno); in main() 115 p, strerror(errno), errno); in main() 127 strerror(errno), errno); in main() 133 strerror(errno), errno); in main() 139 strerror(errno), errno); in main() 169 device, strerror(errno), errno); in open_device() 177 device, strerror(errno), errno); in open_device() 192 device, strerror(errno), errno); in open_device() 200 device, strerror(errno), errno); in open_device() 206 device, strerror(errno), errno); in open_device() [all …]
|
| /NextBSD/usr.sbin/bluetooth/bcmfw/ |
| HD | bcmfw.c | 127 path, strerror(errno), errno); in bcmfw_check_device() 134 strerror(errno), errno); in bcmfw_check_device() 167 buf, strerror(errno), errno); in bcmfw_load_firmware() 175 buf, strerror(errno), errno); in bcmfw_load_firmware() 185 md, strerror(errno), errno); in bcmfw_load_firmware() 193 md, strerror(errno), errno); in bcmfw_load_firmware() 202 name, BCMFW_BULK_EP, strerror(errno), in bcmfw_load_firmware() 203 errno); in bcmfw_load_firmware() 219 name, BCMFW_BULK_EP, strerror(errno), errno); in bcmfw_load_firmware() 225 name, BCMFW_INTR_EP, strerror(errno), errno); in bcmfw_load_firmware() [all …]
|
| /NextBSD/sys/boot/efi/libefi/ |
| HD | errno.c | 36 int errno; in efi_status_to_errno() local 40 errno = EPERM; in efi_status_to_errno() 44 errno = EOVERFLOW; in efi_status_to_errno() 49 errno = EIO; in efi_status_to_errno() 53 errno = EINVAL; in efi_status_to_errno() 57 errno = ESTALE; in efi_status_to_errno() 61 errno = ENXIO; in efi_status_to_errno() 65 errno = ENOENT; in efi_status_to_errno() 69 errno = ENOMEM; in efi_status_to_errno() 73 errno = ENODEV; in efi_status_to_errno() [all …]
|
| /NextBSD/usr.sbin/bsnmpd/tools/libbsnmptools/ |
| HD | bsnmptc.c | 170 syslog(LOG_ERR, "malloc failed - %s", strerror(errno)); in snmp_oct2tc() 272 syslog(LOG_ERR,"malloc failed: %s", strerror(errno)); in parse_octetstring() 349 saved_errno = errno; in snmp_date2asn_oid() 350 errno = 0; in snmp_date2asn_oid() 355 errno = saved_errno; in snmp_date2asn_oid() 365 saved_errno = errno; in snmp_date2asn_oid() 367 if (errno != 0) in snmp_date2asn_oid() 370 errno = saved_errno; in snmp_date2asn_oid() 378 saved_errno = errno; in snmp_date2asn_oid() 380 if (errno != 0) in snmp_date2asn_oid() [all …]
|
| /NextBSD/tools/regression/capsicum/syscalls/ |
| HD | cap_fcntls_limit.c | 68 errno = 0; in fcntl_tests_0() 70 CHECK(errno == EINVAL); in fcntl_tests_0() 96 errno = 0; in fcntl_tests_0() 98 CHECK(errno == ENOTCAPABLE); in fcntl_tests_0() 110 errno = 0; in fcntl_tests_0() 112 CHECK(errno == ENOTCAPABLE); in fcntl_tests_0() 114 errno = 0; in fcntl_tests_0() 116 CHECK(errno == ENOTCAPABLE); in fcntl_tests_0() 123 errno = 0; in fcntl_tests_0() 125 CHECK(errno == ENOTCAPABLE); in fcntl_tests_0() [all …]
|
| /NextBSD/contrib/openbsm/libbsm/ |
| HD | bsm_wrappers.c | 77 if (errno == ENOSYS) in audit_submit() 79 error = errno; in audit_submit() 81 strerror(errno)); in audit_submit() 82 errno = error; in audit_submit() 89 error = errno; in audit_submit() 91 strerror(errno)); in audit_submit() 92 errno = error; in audit_submit() 101 if (error < 0 && errno == ENOSYS) { in audit_submit() 104 error = errno; in audit_submit() 106 strerror(errno)); in audit_submit() [all …]
|
| /NextBSD/lib/libc/nameser/ |
| HD | ns_name.c | 114 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 …]
|
| /NextBSD/tools/regression/capsicum/libcapsicum/ |
| HD | sysctl.c | 208 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation() 212 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation() 275 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation() 279 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation() 283 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation() 286 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation() 313 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation() 319 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation() 323 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation() 347 CHECK(cap_limit_set(capsysctl, limits) == -1 && errno == ENOTCAPABLE); in test_operation() [all …]
|
| /NextBSD/usr.sbin/bluetooth/rfcomm_pppd/ |
| HD | rfcomm_pppd.c | 171 strerror(errno), errno); in main() 178 strerror(errno), errno); in main() 193 strerror(errno), errno); in main() 199 strerror(errno), errno); in main() 205 strerror(errno), errno); in main() 214 strerror(errno), errno); in main() 228 strerror(errno), errno); in main() 234 strerror(errno), errno); in main() 330 "on socket. %s (%d)", strerror(errno), in main() 331 errno); in main() [all …]
|
| /NextBSD/tests/sys/aio/ |
| HD | aio_test.c | 104 "failed to set SIGALRM handler: %s", strerror(errno)); in aio_timeout_start() 113 "failed to reset SIGALRM handler to default: %s", strerror(errno)); in aio_timeout_stop() 192 error = errno; in aio_cleanup() 194 errno = error; in aio_cleanup() 218 if (errno == EINTR) { in aio_write_test() 225 atf_tc_fail("aio_write failed: %s", strerror(errno)); in aio_write_test() 230 if (errno == EINTR) { in aio_write_test() 237 atf_tc_fail("aio_waitcomplete failed: %s", strerror(errno)); in aio_write_test() 271 if (errno == EINTR) { in aio_read_test() 278 atf_tc_fail("aio_read failed: %s", strerror(errno)); in aio_read_test() [all …]
|
| /NextBSD/lib/libc/posix1e/ |
| HD | acl_set.c | 58 errno = EINVAL; in acl_set_file() 63 errno = EINVAL; in acl_set_file() 79 errno = EINVAL; in acl_set_link_np() 84 errno = EINVAL; in acl_set_link_np() 110 errno = EINVAL; in acl_set_fd_np() 115 errno = EINVAL; in acl_set_fd_np() 135 errno = EINVAL; in acl_set_permset() 141 errno = EINVAL; in acl_set_permset() 145 errno = EINVAL; in acl_set_permset() 165 errno = EINVAL; in acl_set_qualifier() [all …]
|
| /NextBSD/tools/regression/netinet/tcpdrop/ |
| HD | tcpdrop.c | 79 error = errno; in tcp_server() 81 errno = error; in tcp_server() 93 error = errno; in tcp_server() 95 errno = error; in tcp_server() 110 } else if (errno != EPIPE) { in tcp_server() 111 error = errno; in tcp_server() 113 errno = error; in tcp_server() 134 error = errno; in tcp_client() 136 errno = error; in tcp_client() 147 error = errno; in tcp_client() [all …]
|
| /NextBSD/contrib/apr/locks/unix/ |
| HD | proc_mutex.c | 49 return errno; in proc_mutex_posix_cleanup() 119 } while (psem == (sem_t *)SEM_FAILED && errno == EINTR); in proc_mutex_posix_create() 121 if (errno == ENAMETOOLONG) { in proc_mutex_posix_create() 125 return errno; in proc_mutex_posix_create() 129 } while (psem == (sem_t *)SEM_FAILED && errno == EINTR); in proc_mutex_posix_create() 133 return errno; in proc_mutex_posix_create() 151 } while (rc < 0 && errno == EINTR); in proc_mutex_posix_acquire() 153 return errno; in proc_mutex_posix_acquire() 165 } while (rc < 0 && errno == EINTR); in proc_mutex_posix_tryacquire() 167 if (errno == EAGAIN) { in proc_mutex_posix_tryacquire() [all …]
|
| /NextBSD/contrib/netbsd-tests/kernel/ |
| HD | t_mqueue.c | 37 "mq_send 1 failed: %d", errno); in send_msgs() 41 "mq_send 2 failed: %d", errno); in send_msgs() 45 "mq_send 3 failed: %d", errno); in send_msgs() 49 "mq_send 4 failed: %d", errno); in send_msgs() 53 "mq_send 5 failed: %d", errno); in send_msgs() 57 "mq_send 6 failed: %d", errno); in send_msgs() 69 errno); in receive_msgs() 76 "mq_receive 1 failed: %d", errno); in receive_msgs() 81 "mq_receive 2 failed: %d", errno); in receive_msgs() 86 "mq_receive 3 failed: %d", errno); in receive_msgs() [all …]
|
| /NextBSD/lib/libc/gen/ |
| HD | __xuname.c | 61 oerrno = errno; in __xuname() 63 if (errno == ENOMEM) in __xuname() 64 errno = oerrno; in __xuname() 74 oerrno = errno; in __xuname() 76 if (errno == ENOMEM) in __xuname() 77 errno = oerrno; in __xuname() 89 oerrno = errno; in __xuname() 91 if (errno == ENOMEM) in __xuname() 92 errno = oerrno; in __xuname() 110 oerrno = errno; in __xuname() [all …]
|
| /NextBSD/sbin/launchd/ |
| HD | ipc.c | 85 launchd_syslog(LOG_WARNING, "unlink(\"%s\"): %s", sockpath, strerror(errno)); in ipc_clean_up() 87 launchd_syslog(LOG_WARNING, "rmdir(\"%s\"): %s", sockdir, strerror(errno)); in ipc_clean_up() 112 if (errno == EROFS) { in ipc_server_init() 114 } else if (errno == EEXIST) { in ipc_server_init() 118 errno = EEXIST; in ipc_server_init() 119 launchd_syslog(LOG_ERR, "mkdir(\"%s\"): %s", LAUNCHD_SOCK_PREFIX, strerror(errno)); in ipc_server_init() 123 launchd_syslog(LOG_ERR, "mkdir(\"%s\"): %s", ourdir, strerror(errno)); in ipc_server_init() 130 …launchd_syslog(LOG_ERR, "Could not create critical directory \"%s\": %s", ourdir, strerror(errno)); in ipc_server_init() 136 if (unlink(sun.sun_path) == -1 && errno != ENOENT) { in ipc_server_init() 137 if (errno != EROFS) { in ipc_server_init() [all …]
|