/freebsd/cddl/lib/libdtrace/ |
H A D | errno.d | 245 inline string strerror[int errno] = 246 errno == 0 ? "Success" : 247 errno == EPERM ? "Operation not permitted" : 248 errno == ENOENT ? "No such file or directory" : 249 errno == ESRCH ? "No such process" : 250 errno == EINTR ? "Interrupted system call" : 251 errno == EIO ? "Input/output error" : 252 errno == ENXIO ? "Device not configured" : 253 errno == E2BIG ? "Argument list too long" : 254 errno == ENOEXEC ? "Exec format error" : [all …]
|
/freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/ |
H A D | exceptions.py | 22 import errno 39 errno = None variable in ZFSError 46 self.errno, self.message, self.name) 48 return "[Errno %d] %s" % (self.errno, self.message) 52 self.__class__.__name__, self.errno, self.message) 57 def __init__(self, errno, name, message): argument 58 self.errno = errno 66 def __init__(self, errno): argument 67 self.errno = errno 75 self.errno = errors[0].errno [all …]
|
H A D | _error_translation.py | 31 import errno 54 if ret == errno.EINVAL: 57 if ret == errno.EEXIST: 59 if ret == errno.ENOENT: 71 if ret == errno.EINVAL: 75 if ret == errno.EXDEV: 77 if ret == errno.EEXIST: 79 if ret == errno.ENOENT: 89 if ret == errno.ESRCH: 91 if ret == errno.EINVAL: [all …]
|
/freebsd/contrib/arm-optimized-routines/math/test/testcases/directed/ |
H A D | pow.tst | 6 func=pow op1=00000000.00000000 op2=00000000.00000000 result=3ff00000.00000000 errno=0 7 func=pow op1=00000000.00000000 op2=00000000.00000001 result=00000000.00000000 errno=0 8 func=pow op1=00000000.00000000 op2=00100000.00000000 result=00000000.00000000 errno=0 9 func=pow op1=00000000.00000000 op2=1fffffff.ffffffff result=00000000.00000000 errno=0 10 func=pow op1=00000000.00000000 op2=3bdfffff.ffffffff result=00000000.00000000 errno=0 11 func=pow op1=00000000.00000000 op2=3be00000.00000000 result=00000000.00000000 errno=0 12 func=pow op1=00000000.00000000 op2=3fe00000.00000000 result=00000000.00000000 errno=0 13 func=pow op1=00000000.00000000 op2=3ff00000.00000000 result=00000000.00000000 errno=0 14 func=pow op1=00000000.00000000 op2=40000000.00000000 result=00000000.00000000 errno=0 15 func=pow op1=00000000.00000000 op2=40080000.00000000 result=00000000.00000000 errno=0 [all …]
|
H A D | log1pf.tst | 6 func=log1pf op1=7fc00001 result=7fc00001 errno=0 7 func=log1pf op1=ffc00001 result=7fc00001 errno=0 8 func=log1pf op1=7f800001 result=7fc00001 errno=0 status=i 9 func=log1pf op1=ff800001 result=7fc00001 errno=0 status=i 10 func=log1pf op1=ff810000 result=7fc00001 errno=0 status=i 11 func=log1pf op1=7f800000 result=7f800000 errno=0 14 ; The main reason seems to be the handling of errno and exceptions. 16 func=log1pf op1=00000000 result=00000000 errno=0 17 func=log1pf op1=80000000 result=80000000 errno=0 22 func=log1pf op1=00000001 result=00000001 errno=0 maybestatus=ux [all …]
|
H A D | powf.tst | 6 func=powf op1=7f800001 op2=7f800001 result=7fc00001 errno=0 status=i 7 func=powf op1=7f800001 op2=ff800001 result=7fc00001 errno=0 status=i 8 func=powf op1=7f800001 op2=7fc00001 result=7fc00001 errno=0 status=i 9 func=powf op1=7f800001 op2=ffc00001 result=7fc00001 errno=0 status=i 10 func=powf op1=7f800001 op2=7f800000 result=7fc00001 errno=0 status=i 11 func=powf op1=7f800001 op2=40800000 result=7fc00001 errno=0 status=i 12 func=powf op1=7f800001 op2=40400000 result=7fc00001 errno=0 status=i 13 func=powf op1=7f800001 op2=3f000000 result=7fc00001 errno=0 status=i 14 func=powf op1=7f800001 op2=00000000 result=7fc00001 errno=0 status=i 15 func=powf op1=7f800001 op2=80000000 result=7fc00001 errno=0 status=i [all …]
|
H A D | atan2f.tst | 6 func=atan2f op1=7f800001 op2=7f800001 result=7fc00001 errno=0 status=i 7 func=atan2f op1=7f800001 op2=ff800001 result=7fc00001 errno=0 status=i 8 func=atan2f op1=7f800001 op2=7fc00001 result=7fc00001 errno=0 status=i 9 func=atan2f op1=7f800001 op2=ffc00001 result=7fc00001 errno=0 status=i 10 func=atan2f op1=7f800001 op2=7f800000 result=7fc00001 errno=0 status=i 11 func=atan2f op1=7f800001 op2=ff800000 result=7fc00001 errno=0 status=i 12 func=atan2f op1=7f800001 op2=00000000 result=7fc00001 errno=0 status=i 13 func=atan2f op1=7f800001 op2=80000000 result=7fc00001 errno=0 status=i 14 func=atan2f op1=7f800001 op2=3f800000 result=7fc00001 errno=0 status=i 15 func=atan2f op1=7f800001 op2=bf800000 result=7fc00001 errno=0 status=i [all …]
|
H A D | atan2.tst | 6 func=atan2 op1=7ff00000.00000001 op2=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i 7 func=atan2 op1=7ff00000.00000001 op2=fff00000.00000001 result=7ff80000.00000001 errno=0 status=i 8 func=atan2 op1=7ff00000.00000001 op2=7ff00000.00000000 result=7ff80000.00000001 errno=0 status=i 9 func=atan2 op1=7ff00000.00000001 op2=fff00000.00000000 result=7ff80000.00000001 errno=0 status=i 10 func=atan2 op1=7ff00000.00000001 op2=00000000.00000000 result=7ff80000.00000001 errno=0 status=i 11 func=atan2 op1=7ff00000.00000001 op2=80000000.00000000 result=7ff80000.00000001 errno=0 status=i 12 func=atan2 op1=7ff00000.00000001 op2=3ff00000.00000000 result=7ff80000.00000001 errno=0 status=i 13 func=atan2 op1=7ff00000.00000001 op2=bff00000.00000000 result=7ff80000.00000001 errno=0 status=i 14 func=atan2 op1=fff00000.00000001 op2=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i 15 func=atan2 op1=fff00000.00000001 op2=fff00000.00000001 result=7ff80000.00000001 errno=0 status=i [all …]
|
H A D | cbrtf.tst | 6 func=cbrtf op1=7f800000 result=7f800000 errno=0 7 func=cbrtf op1=ff800000 result=ff800000 errno=0 8 func=cbrtf op1=7f800001 result=7fc00001 errno=0 status=i 9 func=cbrtf op1=7fc00001 result=7fc00001 errno=0 10 func=cbrtf op1=00000000 result=00000000 errno=0 11 func=cbrtf op1=00000001 result=26a14517.cc7 errno=0 12 func=cbrtf op1=00000002 result=26cb2ff5.29f errno=0 13 func=cbrtf op1=00000003 result=26e89768.579 errno=0 14 func=cbrtf op1=00000004 result=27000000.000 errno=0 15 func=cbrtf op1=00400000 result=2a4b2ff5.29f errno=0 [all …]
|
H A D | exp2.tst | 6 func=exp2 op1=7ff80000.00000001 result=7ff80000.00000001 errno=0 7 func=exp2 op1=fff80000.00000001 result=7ff80000.00000001 errno=0 8 func=exp2 op1=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i 9 func=exp2 op1=fff00000.00000001 result=7ff80000.00000001 errno=0 status=i 10 func=exp2 op1=7ff00000.00000000 result=7ff00000.00000000 errno=0 11 func=exp2 op1=fff00000.00000000 result=00000000.00000000 errno=0 12 func=exp2 op1=7fefffff.ffffffff result=7ff00000.00000000 errno=ERANGE status=ox 13 func=exp2 op1=ffefffff.ffffffff result=00000000.00000000 errno=ERANGE status=ux 14 func=exp2 op1=00000000.00000000 result=3ff00000.00000000 errno=0 15 func=exp2 op1=80000000.00000000 result=3ff00000.00000000 errno=0 [all …]
|
H A D | exp.tst | 6 func=exp op1=7ff80000.00000001 result=7ff80000.00000001 errno=0 7 func=exp op1=fff80000.00000001 result=7ff80000.00000001 errno=0 8 func=exp op1=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i 9 func=exp op1=fff00000.00000001 result=7ff80000.00000001 errno=0 status=i 10 func=exp op1=7ff00000.00000000 result=7ff00000.00000000 errno=0 11 func=exp op1=fff00000.00000000 result=00000000.00000000 errno=0 12 func=exp op1=7fefffff.ffffffff result=7ff00000.00000000 errno=ERANGE status=ox 13 func=exp op1=ffefffff.ffffffff result=00000000.00000000 errno=ERANGE status=ux 14 func=exp op1=00000000.00000000 result=3ff00000.00000000 errno=0 15 func=exp op1=80000000.00000000 result=3ff00000.00000000 errno=0 [all …]
|
H A D | exp2f.tst | 6 func=exp2f op1=7fc00001 result=7fc00001 errno=0 7 func=exp2f op1=ffc00001 result=7fc00001 errno=0 8 func=exp2f op1=7f800001 result=7fc00001 errno=0 status=i 9 func=exp2f op1=ff800001 result=7fc00001 errno=0 status=i 10 func=exp2f op1=7f800000 result=7f800000 errno=0 11 func=exp2f op1=7f7fffff result=7f800000 errno=ERANGE status=ox 12 func=exp2f op1=ff800000 result=00000000 errno=0 13 func=exp2f op1=ff7fffff result=00000000 errno=ERANGE status=ux 14 func=exp2f op1=00000000 result=3f800000 errno=0 15 func=exp2f op1=80000000 result=3f800000 errno=0 [all …]
|
/freebsd/tools/regression/sockets/accf_data_attach/ |
H A D | accf_data_attach.c | 74 _mod_name, strerror(errno)); in main() 86 errx(-1, "not ok 1 - socket: %s", strerror(errno)); in main() 98 if (errno != EINVAL) in main() 100 "%d (%s)", errno, strerror(errno)); in main() 113 errx(-1, "not ok 3 - bind %s", strerror(errno)); in main() 124 if (errno != EINVAL) in main() 126 errno, strerror(errno)); in main() 149 if (errno != EINVAL) in main() 151 errno, strerror(errno)); in main() 158 errx(-1, "not ok 7 - listen: %s", strerror(errno)); in main() [all …]
|
/freebsd/lib/libutil/ |
H A D | pidfile.c | 69 return (errno); in pidfile_verify() 83 return (errno); in pidfile_read_impl() 86 error = errno; /* Remember errno in case close() wants to change it. */ in pidfile_read_impl() 111 errno = pidfile_read_impl(dirfd, filename, pidptr); in pidfile_read() 112 if (errno != EAGAIN || --count == 0) in pidfile_read() 116 if (errno == EAGAIN) in pidfile_read() 118 return (errno); in pidfile_read() 142 errno = ENAMETOOLONG; in pidfile_open() 155 errno = ENAMETOOLONG; in pidfile_open() 161 error = errno; in pidfile_open() [all …]
|
/freebsd/cddl/contrib/opensolaris/lib/pyzfs/common/ |
H A D | 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 …]
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | bsd-setres_id.c | 34 errno = ENOSYS; in setresgid() 39 saved_errno = errno; in setresgid() 40 error("setregid %lu: %.100s", (u_long)rgid, strerror(errno)); in setresgid() 41 errno = saved_errno; in setresgid() 46 saved_errno = errno; in setresgid() 47 error("setegid %lu: %.100s", (u_long)egid, strerror(errno)); in setresgid() 48 errno = saved_errno; in setresgid() 52 saved_errno = errno; in setresgid() 53 error("setgid %lu: %.100s", (u_long)rgid, strerror(errno)); in setresgid() 54 errno = saved_errno; in setresgid() [all …]
|
H A D | port-solaris.c | 54 "contract: %s", __func__, strerror(errno)); in get_active_process_contract_id() 59 "status: %s", __func__, strerror(errno)); in get_active_process_contract_id() 64 __func__, strerror(errno)); in get_active_process_contract_id() 79 CT_TEMPLATE, strerror(errno)); in solaris_contract_pre_fork() 89 "(pgrponly): %s", __func__, strerror(errno)); in solaris_contract_pre_fork() 94 "fatal events: %s", __func__, strerror(errno)); in solaris_contract_pre_fork() 99 "critical events: %s", __func__, strerror(errno)); in solaris_contract_pre_fork() 104 "informative events: %s", __func__, strerror(errno)); in solaris_contract_pre_fork() 111 "template: %s", __func__, strerror(errno)); in solaris_contract_pre_fork() 132 "template: %s", __func__, strerror(errno)); in solaris_contract_post_fork_child() [all …]
|
/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/ |
H A D | bsnmptc.c | 168 syslog(LOG_ERR, "malloc failed - %s", strerror(errno)); in snmp_oct2tc() 269 syslog(LOG_ERR, "malloc failed: %s", strerror(errno)); in parse_octetstring() 348 saved_errno = errno; in snmp_date2asn_oid() 349 errno = 0; in snmp_date2asn_oid() 354 errno = saved_errno; in snmp_date2asn_oid() 364 saved_errno = errno; in snmp_date2asn_oid() 365 errno = 0; 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() [all …]
|
/freebsd/tools/regression/sockets/kqueue/ |
H A D | kqueue.c | 112 fail(errno, "kevent", socktype, "EVFILT_READ, EV_ADD"); in test_evfilt_read() 122 fail(errno, "kevent", socktype, "EVFILT_READ"); in test_evfilt_read() 135 fail(errno, "write", socktype, NULL); in test_evfilt_read() 148 fail(errno, "kevent", socktype, "EVFILT_READ"); in test_evfilt_read() 160 fail(errno, "read", socktype, NULL); in test_evfilt_read() 173 fail(errno, "kevent", socktype, "EVFILT_READ"); in test_evfilt_read() 182 fail(errno, "kevent", socktype, "EVFILT_READ, EV_DELETE"); in test_evfilt_read() 197 fail(errno, "kevent", socktype, "EVFILT_WRITE, EV_ADD"); in test_evfilt_write() 207 fail(errno, "kevent", socktype, "EVFILT_WRITE"); in test_evfilt_write() 219 if (len == -1 && errno != EAGAIN && errno != ENOBUFS) in test_evfilt_write() [all …]
|
/freebsd/contrib/openbsm/compat/ |
H A D | 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 …]
|
/freebsd/stand/efi/libefi/ |
H A D | errno.c | 31 errno_to_efi_status(int errno) in errno_to_efi_status() argument 35 switch (errno) { in errno_to_efi_status() 96 int errno; in efi_status_to_errno() local 100 errno = EPERM; in efi_status_to_errno() 104 errno = EOVERFLOW; in efi_status_to_errno() 109 errno = EIO; in efi_status_to_errno() 113 errno = EINVAL; in efi_status_to_errno() 117 errno = ESTALE; in efi_status_to_errno() 121 errno = ENXIO; in efi_status_to_errno() 125 errno = ENOENT; in efi_status_to_errno() [all …]
|
/freebsd/usr.sbin/bluetooth/bcmfw/ |
H A D | bcmfw.c | 128 path, strerror(errno), errno); in bcmfw_check_device() 135 strerror(errno), errno); in bcmfw_check_device() 168 buf, strerror(errno), errno); in bcmfw_load_firmware() 176 buf, strerror(errno), errno); in bcmfw_load_firmware() 186 md, strerror(errno), errno); in bcmfw_load_firmware() 194 md, strerror(errno), errno); in bcmfw_load_firmware() 203 name, BCMFW_BULK_EP, strerror(errno), in bcmfw_load_firmware() 204 errno); in bcmfw_load_firmware() 220 name, BCMFW_BULK_EP, strerror(errno), errno); in bcmfw_load_firmware() 226 name, BCMFW_INTR_EP, strerror(errno), errno); in bcmfw_load_firmware() [all …]
|
/freebsd/tests/sys/posixshm/ |
H A D | posixshm_test.c | 67 "mkstemp failed; errno=%d", errno); in gen_a_test_path() 69 "unlink failed; errno=%d", errno); in gen_a_test_path() 94 ATF_CHECK_MSG(error == errno, in shm_open_should_fail() 96 "errno=%d", errno, error); in shm_open_should_fail() 107 ATF_CHECK_MSG(error == errno, in shm_unlink_should_fail() 109 "errno=%d", errno, error); in shm_unlink_should_fail() 125 if (fd < 0 && errno == EEXIST) { in scribble_object() 131 atf_tc_fail("shm_open failed; errno=%d", errno); in scribble_object() 133 atf_tc_fail("ftruncate failed; errno=%d", errno); in scribble_object() 137 atf_tc_fail("mmap failed; errno=%d", errno); in scribble_object() [all …]
|
/freebsd/sys/contrib/openzfs/cmd/zed/ |
H A D | zed_conf.c | 56 zed_log_die("Failed to create conf: %s", strerror(errno)); in zed_conf_init() 71 zcp->state_file, strerror(errno)); in zed_conf_destroy() 75 if ((unlink(zcp->pid_file) < 0) && (errno != ENOENT)) in zed_conf_destroy() 78 zcp->pid_file, strerror(errno)); in zed_conf_destroy() 84 zcp->pid_file, strerror(errno)); in zed_conf_destroy() 216 strerror(errno)); in _zed_conf_parse_path() 287 errno = 0; in zed_conf_parse_opts() 289 if (errno == ERANGE || raw > INT16_MAX) { in zed_conf_parse_opts() 298 errno = 0; in zed_conf_parse_opts() 300 if (errno == ERANGE || raw > INT32_MAX) { in zed_conf_parse_opts() [all …]
|
/freebsd/tools/regression/capsicum/syscalls/ |
H A D | cap_fcntls_limit.c | 36 #include <errno.h> 64 errno = 0; in fcntl_tests_0() 66 CHECK(errno == EINVAL); in fcntl_tests_0() 92 errno = 0; in fcntl_tests_0() 94 CHECK(errno == ENOTCAPABLE); in fcntl_tests_0() 106 errno = 0; in fcntl_tests_0() 108 CHECK(errno == ENOTCAPABLE); in fcntl_tests_0() 110 errno = 0; in fcntl_tests_0() 112 CHECK(errno == ENOTCAPABLE); in fcntl_tests_0() 119 errno in fcntl_tests_0() [all...] |