Searched defs:errno (Results 1 - 25 of 51) sorted by relevance

123

/freebsd-head/lib/libc/gen/
H A Derrno.c32 int errno; variable
/freebsd-head/stand/efi/libefi/
H A Derrno.c34 errno_to_efi_status(int errno) argument
38 switch (errno) {
99 int errno; local
103 errno = EPERM;
107 errno = EOVERFLOW;
112 errno = EIO;
116 errno = EINVAL;
120 errno = ESTALE;
124 errno = ENXIO;
128 errno
[all...]
/freebsd-head/lib/libthr/sys/
H A Dthr_error.c44 #undef errno macro
45 extern int errno;
58 return (&errno);
/freebsd-head/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_errno.h11 // Defines errno to avoid including errno.h and its dependencies into sensitive
13 // It's ok to use errno.h directly when your file already depend on other system
37 #define errno (*__errno_location()) macro
/freebsd-head/cddl/contrib/opensolaris/lib/pyzfs/common/
H A Dholds.py30 import errno namespace
75 raise zfs.util.ZFSError(errno.ENOENT, _("no matching datasets"))
H A Duserspace.py32 import errno namespace
H A Dutil.py29 import errno namespace
35 errno.ECANCELED = 47
36 errno.ENOTSUP = 48
62 errno -- the error number (eg, from ioctl(2))."""
64 __slots__ = "why", "task", "errno"
69 eno -- the error number (errno)
74 self.errno = eno
89 errno.EPERM: _("permission denied"),
90 errno.ECANCELED:
92 errno
[all...]
H A Ddataset.py31 import errno namespace
122 e = zfs.util.ZFSError(errno.EINVAL,
216 raise zfs.util.ZFSError(errno.EINVAL,
223 if not recursive or e.errno != errno.ENOENT:
233 if e.errno != errno.ENOENT:
H A Dallow.py35 import errno namespace
252 raise zfs.util.ZFSError(errno.EINVAL, permname,
/freebsd-head/cddl/contrib/opensolaris/cmd/pyzfs/
H A Dpyzfs.py38 import errno namespace
70 import errno namespace
73 if e.errno == errno.EPIPE:
/freebsd-head/lib/libc/tests/gen/
H A Dftw_test.c36 #include <errno.h>
87 "realpath failed; errno=%d", errno); local
90 ATF_REQUIRE_MSG(fd != -1, "open failed; errno=%d", errno);
93 "mkdirat failed; errno=%d", errno);
96 "symlinkat failed; errno=%d", errno);
101 "nftw FTW_PHYS failed; errno
[all...]
/freebsd-head/contrib/netbsd-tests/kernel/
H A Dt_mqueue.c12 #include <errno.h>
35 "mq_send 1 failed: %d", errno); local
39 "mq_send 2 failed: %d", errno); local
43 "mq_send 3 failed: %d", errno); local
47 "mq_send 4 failed: %d", errno); local
51 "mq_send 5 failed: %d", errno); local
55 "mq_send 6 failed: %d", errno); local
67 errno); local
74 "mq_receive 1 failed: %d", errno); local
79 "mq_receive 2 failed: %d", errno); local
84 "mq_receive 3 failed: %d", errno); local
89 "mq_receive 4 failed: %d", errno); local
94 "mq_receive 5 failed: %d", errno); local
99 "mq_receive 6 failed: %d", errno); local
[all...]
/freebsd-head/stand/libsa/
H A Dglobals.c37 int errno; /* our old friend */ variable
/freebsd-head/lib/libc/tests/net/
H A Dether_test.c33 #include <errno.h>
52 "ether_line failed; errno=%d", errno); local
95 ATF_REQUIRE_MSG(ep != NULL, "ether_aton_r failed; errno=%d", errno);
/freebsd-head/contrib/netbsd-tests/lib/libc/sys/
H A Dt_nanosleep.c38 #include <errno.h>
118 errno = 0;
123 errno = 0;
128 errno = 0;
131 errno = 0;
166 errno = 0;
171 if (errno != EINTR)
223 errno = 0;
226 "errno=%d ts=%0.9f should be <= last tso=%0.9f\n",
227 errno, local
[all...]
/freebsd-head/lib/libthr/thread/
H A Dthr_rtld.c46 #undef errno macro
47 extern int errno;
103 errsave = errno; \
110 errno = errsave; \
199 /* force to resolve errno() PLT */
/freebsd-head/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/
H A D_constants.py22 import errno namespace
28 ECHRNG = errno.ENXIO
30 ETIME = errno.ETIMEDOUT
32 ECHRNG = errno.ECHRNG
33 ECKSUM = errno.EBADE
34 ETIME = errno.ETIME
/freebsd-head/usr.sbin/lpr/common_source/
H A Dnet.c58 #include <errno.h>
122 if (errno != EAGAIN) {
139 error = errno;
141 errno = error;
148 if (errno == EADDRINUSE) {
152 if (errno == ECONNREFUSED)
189 int ncommonaddrs, errno; local
209 if ((errno = getaddrinfo(lclhost, NULL, &hints, &local_res)) != 0) {
212 lclhost, gai_strerror(errno));
221 if ((errno
[all...]
/freebsd-head/contrib/googletest/googletest/test/
H A Dgoogletest-json-output-unittest.py34 import errno namespace
509 if e.errno != errno.ENOENT:
H A Dgtest_xml_output_unittest.py35 import errno namespace
270 if e.errno != errno.ENOENT:
/freebsd-head/sys/contrib/zlib/
H A Dzutil.c141 * errno. We define it as a global variable to simplify porting.
144 int errno = 0; variable
/freebsd-head/tests/sys/opencrypto/
H A Dblake2_test.c46 #include <errno.h>
118 "alg %d keylen %zu, errno=%d (%s)", alg, klen, errno, local
119 strerror(errno));
H A Dcryptotest.py36 import errno namespace
129 if e.errno != errno.EOPNOTSUPP:
138 if e.errno != errno.EINVAL:
158 if e.errno != errno.EINVAL:
234 if e.errno != errno.EOPNOTSUPP:
268 if e.errno !
[all...]
/freebsd-head/contrib/bc/tests/
H A Drandmath.py30 import os, errno namespace
/freebsd-head/contrib/file/python/
H A Dmagic.py146 is set. A call to errno() will return the numeric error code.
154 flag is set. A call to errno() will return the numeric error code.
162 is set. A call to errno() will return the numeric error code.
225 def errno(self): member in class:Magic
229 an OS error code. Use the errno module or os.strerror() can be used

Completed in 152 milliseconds

123