Home
last modified time | relevance | path

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

12345678910>>...145

/third_party/rust/crates/rustix/src/backend/linux_raw/io/
Derrno.rs17 use linux_raw_sys::errno;
242 pub const ACCESS: Self = Self::from_errno(errno::EACCES);
244 pub const ADDRINUSE: Self = Self::from_errno(errno::EADDRINUSE);
246 pub const ADDRNOTAVAIL: Self = Self::from_errno(errno::EADDRNOTAVAIL);
248 pub const ADV: Self = Self::from_errno(errno::EADV);
250 pub const AFNOSUPPORT: Self = Self::from_errno(errno::EAFNOSUPPORT);
252 pub const AGAIN: Self = Self::from_errno(errno::EAGAIN);
254 pub const ALREADY: Self = Self::from_errno(errno::EALREADY);
256 pub const BADE: Self = Self::from_errno(errno::EBADE);
258 pub const BADF: Self = Self::from_errno(errno::EBADF);
[all …]
/third_party/node/deps/npm/node_modules/errno/
Derrno.js3 errno: -2, property
8 errno: -1, property
13 errno: 0, property
18 errno: 1, property
23 errno: 2, property
28 errno: 3, property
33 errno: 4, property
38 errno: 5, property
43 errno: 6, property
48 errno: 7, property
[all …]
Dtest.js4 , errno = require('./') variable
7 t.ok(errno.all, 'errno.all not found')
8 t.ok(errno.errno, 'errno.errno not found')
9 t.ok(errno.code, 'errno.code not found')
11 t.equal(errno.all.length, 60, 'found ' + errno.all.length + ', expected 60')
12 t.equal(errno.errno['-1'], errno.all[1], 'errno -1 not second element')
14 t.equal(errno.code['UNKNOWN'], errno.all[1], 'code UNKNOWN not second element')
16 t.equal(errno.errno[1], errno.all[3], 'errno 1 not fourth element')
18 t.equal(errno.code['EOF'], errno.all[3], 'code EOF not fourth element')
23 const Cust = errno.create('FooNotBarError')
[all …]
DREADME.md1 # node-errno
3 …ps://nodejs.org)/[io.js](https://iojs.org) error handling & reporting. Available in npm as *errno*.
5 [![npm](https://img.shields.io/npm/v/errno.svg)](https://www.npmjs.com/package/errno)
6 …ild Status](https://secure.travis-ci.org/rvagg/node-errno.png)](http://travis-ci.org/rvagg/node-er…
7 [![npm](https://img.shields.io/npm/dm/errno.svg)](https://www.npmjs.com/package/errno)
9 * [errno exposed](#errnoexposed)
13 ## errno exposed
15 …elf needing more details about Node.js errors? Me too, so *node-errno* contains the errno mappings…
17 **By errno:**
20 require('errno').errno[3]
[all …]
/third_party/optimized-routines/math/test/testcases/directed/
Dpow.tst6 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 …]
Dpowf.tst6 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 …]
Dexp.tst6 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 …]
Dexp2.tst6 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 …]
Dexp2f.tst6 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 …]
Dexpf.tst6 func=expf op1=7fc00001 result=7fc00001 errno=0
7 func=expf op1=ffc00001 result=7fc00001 errno=0
8 func=expf op1=7f800001 result=7fc00001 errno=0 status=i
9 func=expf op1=ff800001 result=7fc00001 errno=0 status=i
10 func=expf op1=7f800000 result=7f800000 errno=0
11 func=expf op1=7f7fffff result=7f800000 errno=ERANGE status=ox
12 func=expf op1=ff800000 result=00000000 errno=0
13 func=expf op1=ff7fffff result=00000000 errno=ERANGE status=ux
14 func=expf op1=00000000 result=3f800000 errno=0
15 func=expf op1=80000000 result=3f800000 errno=0
[all …]
/third_party/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_filesystem_test.c31 errno = 0; in show_prompt()
42 errno = 0; in child()
44 return errno; in child()
182 errno == EPERM) in main()
184 else if (errno == ENODEV) in main()
187 printf("BUG: %s\n", strerror(errno)); in main()
191 errno == ENOMEM) in main()
193 else if (errno == ENODEV) in main()
196 printf("BUG: %s\n", strerror(errno)); in main()
200 errno == ENOMEM) in main()
[all …]
/third_party/ltp/testcases/kernel/io/direct_io/
Ddiotest4.c104 if (errno != errnum) { in runtest_f()
106 strerror(errno)); in runtest_f()
110 errno = 0; in runtest_f()
112 if (ret >= 0 || errno != errnum) { in runtest_f()
114 msg, ret, strerror(errno)); in runtest_f()
119 if (errno != errnum) { in runtest_f()
121 strerror(errno)); in runtest_f()
125 errno = 0; in runtest_f()
127 if (ret >= 0 || errno != errnum) { in runtest_f()
129 msg, ret, strerror(errno)); in runtest_f()
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/signal/
Dsigignore.c30 errno = 0; in sigignore_0100()
32 if (result != 0 || errno != 0) { in sigignore_0100()
34 t_error("%s failed: errno = %d\n", __func__, errno); in sigignore_0100()
37 errno = 0; in sigignore_0100()
39 if (result != 0 || errno != 0) { in sigignore_0100()
41 t_error("%s failed: errno = %d\n", __func__, errno); in sigignore_0100()
45 errno = 0; in sigignore_0100()
47 if (result != 0 || errno != 0) { in sigignore_0100()
49 t_error("%s failed: errno = %d\n", __func__, errno); in sigignore_0100()
64 errno = 0; in sigignore_0200()
[all …]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
D14-1.c64 UNRESOLVED(errno, "Failed to create the named semaphore"); in main()
70 UNRESOLVED(errno, "Failed to create the named semaphore"); in main()
76 UNRESOLVED(errno, "Failed to unlink the semaphore"); in main()
83 UNRESOLVED(errno, "Failed to fork"); in main()
91 while ((ret != 0) && (errno == EINTR)); in main()
94 UNRESOLVED(errno, "Failed to post semaphore A"); in main()
100 while ((ret != 0) && (errno == EINTR)); in main()
103 UNRESOLVED(errno, "Failed to post semaphore B"); in main()
114 UNRESOLVED(errno, "Waitpid returned the wrong PID"); in main()
125 while ((ret != 0) && (errno == EINTR)); in main()
[all …]
D12-1.c65 UNRESOLVED(errno, "Failed to initialize signal set"); in main()
71 UNRESOLVED(errno, "Failed to add SIGUSR1 to signal set"); in main()
77 UNRESOLVED(errno, "Failed to add SIGUSR2 to signal set"); in main()
83 UNRESOLVED(errno, "Sigprocmask failed"); in main()
90 UNRESOLVED(errno, "failed to kill with SIGUSR1"); in main()
96 UNRESOLVED(errno, "failed to kill with SIGUSR2"); in main()
103 UNRESOLVED(errno, in main()
110 UNRESOLVED(errno, in main()
118 UNRESOLVED(errno, in main()
135 UNRESOLVED(errno, "Failed to fork"); in main()
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/misc/
Dgetpriority.c32 errno = 0; in getpriority_0100()
34 EXPECT_EQ("getpriority_0100", errno, CMPFLAG); in getpriority_0100()
37 errno = 0; in getpriority_0100()
39 EXPECT_EQ("getpriority_0100", errno, CMPFLAG); in getpriority_0100()
42 errno = 0; in getpriority_0100()
44 EXPECT_EQ("getpriority_0100", errno, CMPFLAG); in getpriority_0100()
57 errno = 0; in getpriority_0200()
61 errno = 0; in getpriority_0200()
64 EXPECT_EQ("getpriority_0200", errno, CMPFLAG); in getpriority_0200()
68 errno = 0; in getpriority_0200()
[all …]
/third_party/cups-filters/scripting/perl/
DCUPS.xs22 errno = EINVAL; in constant_PPD_M()
51 errno = EINVAL; in constant_PPD_M()
55 errno = ENOENT; in constant_PPD_M()
63 errno = EINVAL; in constant_P()
80 errno = EINVAL; in constant_P()
84 errno = ENOENT; in constant_P()
92 errno = EINVAL; in constant_H()
129 errno = EINVAL; in constant_H()
133 errno = ENOENT; in constant_H()
141 errno = EINVAL; in constant_IPP_M()
[all …]
/third_party/iowow/src/platform/unix/
Dunix.c64 return iwrc_set_errno(IW_ERROR_ERRNO, errno); in iwp_clock_get_time()
71 return iwrc_set_errno(IW_ERROR_ERRNO, errno); in iwp_clock_get_time()
99 return (errno == ENOENT) ? IW_ERROR_NOT_EXISTS : iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); in _iwp_fstat()
103 return (errno == ENOENT) ? IW_ERROR_NOT_EXISTS : iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); in _iwp_fstat()
140 if (errno != EINTR) { in iwp_flock()
141 return iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); in iwp_flock()
153 if (errno != EINTR) { in iwp_unlock()
154 return iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); in iwp_unlock()
165 return iwrc_set_errno(IW_ERROR_IO_ERRNO, errno); in iwp_closefh()
177 if (errno == EINTR) { in iwp_pread()
[all …]
/third_party/musl/libc-test/src/functional/
Dsem_open.c26 "could not open sem: %s\n", strerror(errno)); in main()
27 errno = 0; in main()
30 TEST(errno == EEXIST, in main()
31 "after reopen failure errno is \"%s\" (%d); want EEXIST (%d)\n", strerror(errno), errno, EEXIST); in main()
39 errno = 0; in main()
40 TEST(sem_wait(sem) == 0, "%s\n", strerror(errno)); in main()
41 TEST(sem_getvalue(sem2, &val) == 0, "%s\n", strerror(errno)); in main()
44 errno = 0; in main()
45 TEST(sem_trywait(sem) == -1 && errno == EAGAIN, in main()
46 …"trywait on locked sem: got errno \"%s\" (%d), want EAGAIN (%d)\n", strerror(errno), errno, EAGAIN… in main()
[all …]
/third_party/ltp/utils/sctp/func_tests/
Dtest_tcp_style.c140 if ((-1 != error) && (EINVAL != errno)) in main()
142 "error:%d, errno:%d", error, errno); in main()
149 if ((-1 != error) && (EISCONN != errno)) in main()
151 "error:%d, errno:%d", error, errno); in main()
165 if ((-1 != error) && (ECONNREFUSED != errno)) in main()
167 "error:%d, errno:%d", error, errno); in main()
180 error, errno, poll_fd.revents); in main()
191 if ((-1 != error) || (EISCONN != errno)) in main()
193 "error:%d errno:%d", error, errno); in main()
199 if ((-1 != error) && (EINVAL != errno)) in main()
[all …]
Dtest_1_to_1_socket_bind_listen.c107 if (sk != -1 || errno != EAFNOSUPPORT) in main()
109 "error:%d, errno:%d", error, errno); in main()
115 if (sk != -1 || errno != EINVAL) in main()
117 "error:%d, errno:%d", error, errno); in main()
125 "error:%d, errno:%d", error, errno); in main()
131 if (error != -1 || errno != EFAULT) in main()
133 "error:%d, errno:%d", error, errno); in main()
143 if (error != -1 || errno != EINVAL) in main()
145 "error:%d, errno:%d", error, errno); in main()
154 filename, strerror(errno)); in main()
[all …]
Dtest_1_to_1_shutdown.c114 if (error != -1 || errno != EBADF) in main()
116 "error:%d, errno:%d", error, errno); in main()
125 filename, strerror(errno)); in main()
128 err_no = errno; in main()
137 errno = 0; in main()
145 "error:%d, errno:%d", error, errno); in main()
151 if ((error != 0) || (errno != 0)) in main()
153 "error:%d, errno:%d", error, errno); in main()
162 if ((error != -1) || (errno != ENOTCONN)) in main()
164 "messages error:%d, errno:%d", error, errno); in main()
[all …]
Dtest_1_to_1_sockopt.c120 if (error != -1 || errno != EBADF) in main()
122 "descriptor error:%d, errno:%d", error, errno); in main()
131 filename, strerror(errno)); in main()
134 err_no = errno; in main()
145 if (error != -1 || errno != ENOPROTOOPT) in main()
147 "error:%d, errno:%d", error, errno); in main()
154 if (error != -1 || errno != EFAULT) in main()
156 "buffer error:%d, errno:%d", error, errno); in main()
162 if (error != -1 || errno != EOPNOTSUPP) in main()
164 "name error:%d, errno:%d", error, errno); in main()
[all …]
/third_party/libunwind/src/ptrace/
D_UPT_access_reg.c58 errno = EINVAL; in _UPT_access_reg()
77 Dprintf ("bad register %s [%u] (error: %s)\n", unw_regname(reg), reg, strerror (errno)); in _UPT_access_reg()
102 errno = 0; in _UPT_access_reg()
107 if (errno) in _UPT_access_reg()
120 errno = 0; in _UPT_access_reg()
122 if (errno) in _UPT_access_reg()
145 errno = 0; in _UPT_access_reg()
147 if (errno) in _UPT_access_reg()
157 errno = 0; in _UPT_access_reg()
160 if (errno) in _UPT_access_reg()
[all …]
/third_party/ltp/testcases/kernel/syscalls/symlink/
Dsymlink01.c653 errno = TEST_ERRNO; in creat_symlink()
658 path1, errno, strerror(errno)); in creat_symlink()
685 path1, errno, strerror(errno)); in creat_object()
698 path1, errno, strerror(errno)); in creat_object()
765 else if ((stat(path3, &statter) == -1) && (errno == ENOENT)) { in ck_both()
771 } else if ((stat(path2, &asymlink) == -1) && (errno == ENOENT)) { in ck_both()
1029 errno = TEST_ERRNO; in do_EEXIST()
1030 if ((TEST_RETURN == -1) && (errno == EEXIST)) in do_EEXIST()
1039 errno = TEST_ERRNO; in do_EEXIST()
1040 if ((TEST_RETURN == -1) && (errno == EEXIST)) { in do_EEXIST()
[all …]

12345678910>>...145