Home
last modified time | relevance | path

Searched refs:errno (Results 1526 - 1550 of 14177) sorted by relevance

1...<<61626364656667686970>>...568

/third_party/musl/src/network/
H A Dns_parse.c2 #include <errno.h>
76 errno = EMSGSIZE; in ns_initparse()
100 errno = EMSGSIZE; in ns_skiprr()
156 errno = ENODEV; in ns_parserr()
159 errno = EMSGSIZE; in ns_parserr()
168 if (r < 0) errno = EMSGSIZE; in ns_name_uncompress()
/third_party/ninja/src/
H A Dtest.cc23 #include <errno.h>
204 Fatal("chdir: %s", strerror(errno)); in CreateAndEnter()
212 Fatal("mkdtemp: %s", strerror(errno)); in CreateAndEnter()
217 Fatal("chdir: %s", strerror(errno)); in CreateAndEnter()
226 Fatal("chdir: %s", strerror(errno)); in Cleanup()
234 Fatal("system: %s", strerror(errno)); in Cleanup()
/third_party/ltp/testcases/kernel/pty/
H A Dpty01.c27 #include <errno.h>
120 * XXX: the errno printout might be garbage, but better to be in test1()
222 errno = 0; in test2()
345 i, MASTERCLONE, strerror(errno)); in test5()
350 i, strerror(errno)); in test5()
356 i, strerror(errno)); in test5()
362 i, strerror(errno)); in test5()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/
H A D4-2.c39 #include <errno.h>
214 UNRESOLVED(errno, in main()
229 UNRESOLVED(errno, "Memory allocation failed"); in main()
243 UNRESOLVED(errno, "mmap failed"); in main()
340 UNRESOLVED(errno, "[parent] Fork failed"); in main()
376 UNRESOLVED(errno, "Waitpid failed"); in main()
H A D2-1.c44 #include <errno.h>
180 UNRESOLVED(errno, in main()
195 UNRESOLVED(errno, "Memory allocation failed"); in main()
209 UNRESOLVED(errno, "mmap failed"); in main()
321 UNRESOLVED(errno, "[parent] Fork failed"); in main()
357 UNRESOLVED(errno, "Waitpid failed"); in main()
H A D1-2.c41 #include <errno.h>
213 UNRESOLVED(errno, in main()
228 UNRESOLVED(errno, "Memory allocation failed"); in main()
242 UNRESOLVED(errno, "mmap failed"); in main()
358 UNRESOLVED(errno, "[parent] Fork failed"); in main()
394 UNRESOLVED(errno, "Waitpid failed"); in main()
/third_party/pulseaudio/src/pulsecore/
H A Dlock-autospawn.c24 #include <errno.h>
174 if (errno == EAGAIN) in ping()
177 pa_assert(errno == EINTR); in ping()
195 pa_assert(errno == EINTR); in wait_for_ping()
198 pa_assert(errno == EAGAIN); in wait_for_ping()
210 pa_assert(errno == EAGAIN); in empty_pipe()
H A Ddatabase-tdb.c26 #include <errno.h>
83 errno = 0; in tdb_open_cloexec()
87 if (errno != EINVAL) in tdb_open_cloexec()
91 errno = 0; in tdb_open_cloexec()
113 if (errno == 0) in pa_database_open_internal()
114 errno = EIO; in pa_database_open_internal()
/third_party/selinux/libselinux/src/
H A Dmapping.c5 #include <errno.h>
52 errno = EINVAL; in selinux_set_mapping()
132 errno = EINVAL; in unmap_class()
156 errno = EINVAL; in unmap_perm()
178 errno = EINVAL; in map_class()
199 errno = EINVAL; in map_perm()
/kernel/linux/linux-5.10/arch/um/drivers/
H A Dxterm.c10 #include <errno.h>
116 err = -errno; in xterm_open()
117 printk(UM_KERN_ERR "xterm_open : mkstemp failed, errno = %d\n", in xterm_open()
118 errno); in xterm_open()
123 err = -errno; in xterm_open()
124 printk(UM_KERN_ERR "xterm_open : unlink failed, errno = %d\n", in xterm_open()
125 errno); in xterm_open()
134 "errno = %d\n", -fd); in xterm_open()
143 "errno = %d\n", -err); in xterm_open()
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/
H A Docteon_main.h166 * errno -EINTR: user abort the command.
167 * errno -ETIME: user spefified timeout value has been expired.
168 * errno -EBUSY: the response of the request does not return in
189 int errno = 0; in wait_for_sc_completion_timeout() local
204 errno = -ETIME; in wait_for_sc_completion_timeout()
209 errno = -EINTR; in wait_for_sc_completion_timeout()
214 errno = -EBUSY; in wait_for_sc_completion_timeout()
217 return errno; in wait_for_sc_completion_timeout()
/kernel/linux/linux-5.10/tools/testing/selftests/ptrace/
H A Dpeeksiginfo.c6 #include <errno.h>
74 if (ret != -1 || errno != EINVAL) { in check_error_paths()
76 " errno %d (expected %d): %m\n", in check_error_paths()
77 ret, errno, EINVAL); in check_error_paths()
92 if (ret != -1 && errno != EFAULT) { in check_error_paths()
94 " errno %d (expected %d): %m\n", in check_error_paths()
95 ret, errno, EFAULT); in check_error_paths()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/benchmarks/
H A Dfork.c11 #include <errno.h>
143 errno = rc; in bench_thread()
154 errno = rc; in bench_thread()
163 errno = rc; in bench_thread()
169 errno = rc; in bench_thread()
/kernel/linux/linux-5.10/tools/testing/selftests/exec/
H A Dnon-regular.c2 #include <errno.h>
26 ASSERT_EQ(errno, ENOENT) { in rm()
105 if (errno == EPERM) in setup_node()
166 EXPECT_EQ(errno, variant->expected); in TEST_F()
193 EXPECT_EQ(errno, EACCES); in TEST_F()
/kernel/linux/linux-5.10/tools/testing/selftests/futex/functional/
H A Dfutex_requeue_pi_signal_restart.c19 #include <errno.h>
104 if (!requeued.val || errno != EWOULDBLOCK) { in waiterfn()
106 res, strerror(errno)); in waiterfn()
152 error("sigaction\n", errno); in main()
194 error("FUTEX_CMP_REQUEUE_PI failed\n", errno); in main()
/kernel/linux/linux-6.6/arch/um/drivers/
H A Dxterm.c10 #include <errno.h>
117 err = -errno; in xterm_open()
118 printk(UM_KERN_ERR "xterm_open : mkstemp failed, errno = %d\n", in xterm_open()
119 errno); in xterm_open()
124 err = -errno; in xterm_open()
125 printk(UM_KERN_ERR "xterm_open : unlink failed, errno = %d\n", in xterm_open()
126 errno); in xterm_open()
135 "errno = %d\n", -fd); in xterm_open()
144 "errno = %d\n", -err); in xterm_open()
/kernel/linux/linux-5.10/samples/connector/
H A Ducon.c24 #include <errno.h>
73 strerror(errno), errno); in netlink_send()
131 argv[1], strerror(errno)); in main()
198 if (errno != EINTR) { in main()
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dmmap-basic.c2 #include <errno.h>
66 cpus->map[0], str_error_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap()
96 str_error_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap()
105 pr_debug("failed to mmap events: %d (%s)\n", errno, in test__basic_mmap()
106 str_error_r(errno, sbuf, sizeof(sbuf))); in test__basic_mmap()
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/liquidio/
H A Docteon_main.h166 * errno -EINTR: user abort the command.
167 * errno -ETIME: user spefified timeout value has been expired.
168 * errno -EBUSY: the response of the request does not return in
189 int errno = 0; in wait_for_sc_completion_timeout() local
204 errno = -ETIME; in wait_for_sc_completion_timeout()
209 errno = -EINTR; in wait_for_sc_completion_timeout()
214 errno = -EBUSY; in wait_for_sc_completion_timeout()
217 return errno; in wait_for_sc_completion_timeout()
/kernel/linux/linux-6.6/tools/testing/selftests/futex/functional/
H A Dfutex_requeue_pi_signal_restart.c19 #include <errno.h>
104 if (!requeued.val || errno != EWOULDBLOCK) { in waiterfn()
106 res, strerror(errno)); in waiterfn()
152 error("sigaction\n", errno); in main()
194 error("FUTEX_CMP_REQUEUE_PI failed\n", errno); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/exec/
H A Dnon-regular.c2 #include <errno.h>
26 ASSERT_EQ(errno, ENOENT) { in rm()
105 if (errno == EPERM) in setup_node()
166 EXPECT_EQ(errno, variant->expected); in TEST_F()
193 EXPECT_EQ(errno, EACCES); in TEST_F()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/benchmarks/
H A Dfork.c11 #include <errno.h>
143 errno = rc; in bench_thread()
154 errno = rc; in bench_thread()
163 errno = rc; in bench_thread()
169 errno = rc; in bench_thread()
/kernel/linux/linux-6.6/tools/testing/selftests/ptrace/
H A Dpeeksiginfo.c6 #include <errno.h>
74 if (ret != -1 || errno != EINVAL) { in check_error_paths()
76 " errno %d (expected %d): %m\n", in check_error_paths()
77 ret, errno, EINVAL); in check_error_paths()
92 if (ret != -1 && errno != EFAULT) { in check_error_paths()
94 " errno %d (expected %d): %m\n", in check_error_paths()
95 ret, errno, EFAULT); in check_error_paths()
/kernel/liteos_m/kal/posix/src/
H A Dpoll.c98 errno = EINVAL; in QueryFds()
105 errno = EBADF; in QueryFds()
112 errno = -ret; in QueryFds()
190 errno = ETIMEDOUT; in PollTimedWait()
206 errno = EINVAL; in poll()
/kernel/linux/linux-6.6/tools/bpf/bpftool/
H A Dperf.c9 #include <errno.h>
37 strerror(errno)); in has_perf_query_support()
42 * the expected errno is ENOTSUPP in has_perf_query_support()
44 errno = 0; in has_perf_query_support()
49 if (errno == 524 /* ENOTSUPP */) { in has_perf_query_support()
55 p_err("perf_query_support: %s", strerror(errno)); in has_perf_query_support()

Completed in 12 milliseconds

1...<<61626364656667686970>>...568