Home
last modified time | relevance | path

Searched refs:errno (Results 1701 - 1725 of 14919) sorted by relevance

1...<<61626364656667686970>>...597

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dvlan_ifconfig.c26 "failed: %s", __func__, strerror(errno)); in ifconfig_helper()
36 __func__, if_name, strerror(errno)); in ifconfig_helper()
49 __func__, if_name, up, strerror(errno)); in ifconfig_helper()
/third_party/ffmpeg/libavdevice/
H A Dv4l2.c167 err = AVERROR(errno); in device_open()
174 err = AVERROR(errno); in device_open()
218 res = AVERROR(errno); in device_init()
335 ret = AVERROR(errno); in list_standards()
359 res = AVERROR(errno); in mmap_init()
388 res = AVERROR(errno); in mmap_init()
405 res = AVERROR(errno); in mmap_init()
419 res = AVERROR(errno); in enqueue_buffer()
516 while ((res = v4l2_ioctl(s->fd, VIDIOC_DQBUF, &buf)) < 0 && (errno == EINTR)); in mmap_read_frame()
518 if (errno in mmap_read_frame()
[all...]
H A Dfbdev_dec.c86 ret = AVERROR(errno); in fbdev_read_header()
94 ret = AVERROR(errno); in fbdev_read_header()
101 ret = AVERROR(errno); in fbdev_read_header()
123 ret = AVERROR(errno); in fbdev_read_header()
176 while (nanosleep(&ts, &ts) < 0 && errno == EINTR); in fbdev_read_packet()
185 "Error refreshing variable info: %s\n", av_err2str(AVERROR(errno))); in fbdev_read_packet()
/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Dinput_method_ext_seccomp_test.cpp123 std::cout << "signal failed:" << strerror(errno) << std::endl; in CheckSyscall()
126 std::cout << "signal failed:" << strerror(errno) << std::endl; in CheckSyscall()
136 std::cout << "fork failed:" << strerror(errno) << std::endl; in CheckSyscall()
140 if (errno == EAGAIN) { in CheckSyscall()
143 std::cout << "sigtimedwait failed:" << strerror(errno) << std::endl; in CheckSyscall()
148 std::cout << "waitpid failed:" << strerror(errno) << std::endl; in CheckSyscall()
/kernel/linux/linux-5.10/arch/um/drivers/
H A Dmconsole_user.c7 #include <errno.h>
160 return -errno; in mconsole_reply_len()
189 err = -errno; in mconsole_notify()
191 "errno = %d\n", errno); in mconsole_notify()
214 err = -errno; in mconsole_notify()
216 "errno = %d\n", errno); in mconsole_notify()
/kernel/linux/linux-5.10/tools/testing/selftests/x86/
H A Dtest_vdso.c17 #include <errno.h>
225 if (errno == EINVAL) { in test_one_clock_gettime()
234 printf("[WARN]\t clock_gettime(%d) syscall returned error %d\n", clock, errno); in test_one_clock_gettime()
243 printf("[FAIL]\tvDSO returned %d, syscall errno=%d\n", in test_one_clock_gettime()
244 vdso_ret, errno); in test_one_clock_gettime()
290 printf("[FAIL]\tsys_gettimeofday failed (%d)\n", errno); in test_gettimeofday()
299 printf("[FAIL]\tvDSO returned %d, syscall errno=%d\n", in test_gettimeofday()
300 vdso_ret, errno); in test_gettimeofday()
/kernel/linux/linux-6.6/arch/um/drivers/
H A Dmconsole_user.c7 #include <errno.h>
160 return -errno; in mconsole_reply_len()
189 err = -errno; in mconsole_notify()
191 "errno = %d\n", errno); in mconsole_notify()
214 err = -errno; in mconsole_notify()
216 "errno = %d\n", errno); in mconsole_notify()
/kernel/linux/linux-5.10/tools/iio/
H A Diio_event_monitor.c19 #include <errno.h>
318 ret = -errno; in main()
325 ret = -errno; in main()
338 ret = -errno; in main()
345 if (errno == EAGAIN) { in main()
349 ret = -errno; in main()
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dperf-record.c2 #include <errno.h>
24 if (errno == EINVAL && nrcpus < (1024 << 8)) { in sched__get_first_possible_cpu()
117 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD()
128 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD()
139 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD()
151 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD()
/kernel/linux/linux-5.10/tools/testing/selftests/android/ion/
H A Dionutils.c5 #include <errno.h>
65 __func__, strerror(errno)); in ion_export_buffer_fd()
76 __func__, strerror(errno)); in ion_export_buffer_fd()
102 __func__, strerror(errno)); in ion_export_buffer_fd()
121 __func__, strerror(errno)); in ion_export_buffer_fd()
174 __func__, strerror(errno)); in ion_import_buffer_fd()
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dperf-record.c2 #include <errno.h>
24 if (errno == EINVAL && nrcpus < (1024 << 8)) { in sched__get_first_possible_cpu()
117 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD()
128 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD()
139 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD()
151 str_error_r(errno, sbuf, sizeof(sbuf))); in test__PERF_RECORD()
/kernel/linux/linux-6.6/tools/testing/selftests/proc/
H A Dproc-empty-vm.c28 #include <errno.h>
143 fprintf(stderr, "fork, errno %d\n", errno); in vsyscall()
209 if (errno == ENOENT) { in test_proc_pid_numa_maps()
232 if (errno == ENOENT) { in test_proc_pid_smaps()
288 if (errno == ENOENT) { in test_proc_pid_smaps_rollup()
338 if (errno == EPERM) { in main()
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/aarch64/
H A Dhypercalls.c11 #include <errno.h>
185 reg_info->reg, errno); in test_fw_regs_before_vm_start()
197 TEST_ASSERT(ret != 0 && errno == EINVAL, in test_fw_regs_before_vm_start()
199 errno, reg_info->reg); in test_fw_regs_before_vm_start()
225 * the expected errno. in test_fw_regs_after_vm_start()
228 TEST_ASSERT(ret != 0 && errno == EBUSY, in test_fw_regs_after_vm_start()
230 errno, reg_info->reg); in test_fw_regs_after_vm_start()
/test/xts/hats/kernel/syscalls/process/processid/
H A DProcessApiTest.cpp108 * @tc.desc : clone flag invalid failed errno EINVAL.
115 errno = 0; in HWTEST_F()
119 EXPECT_EQ(errno, EINVAL); in HWTEST_F()
158 errno = 0; in HWTEST_F()
165 EXPECT_EQ(errno, EFAULT); in HWTEST_F()
197 * @tc.desc : execveat invalid flags -1 failed errno EINVAL.
213 errno = 0; in HWTEST_F()
216 EXPECT_EQ(errno, EINVAL); in HWTEST_F()
/third_party/ffmpeg/libavfilter/
H A Df_zmq.c60 "Could not create ZMQ context: %s\n", zmq_strerror(errno)); in init()
67 "Could not create ZMQ socket: %s\n", zmq_strerror(errno)); in init()
74 zmq->bind_address, zmq_strerror(errno)); in init()
126 "Could not initialize receive message: %s\n", zmq_strerror(errno)); in recv_msg()
131 if (errno != EAGAIN) in recv_msg()
133 "Could not receive message: %s\n", zmq_strerror(errno)); in recv_msg()
/third_party/fsverity-utils/programs/
H A Dutils.c14 #include <errno.h>
76 do_error_msg(format, va, errno); in error_msg_errno()
196 errno = EIO; in raw_pwrite()
239 errno = 0; in read_callback()
241 return errno ? -errno : -EIO; in read_callback()
/third_party/libwebsockets/lib/misc/
H A Dgetifaddrs.c38 #include <errno.h>
103 if (ioctl(fd, siocgifconf, &ifconf) < 0 && errno != EINVAL) { in getifaddrs2()
104 ret = errno; in getifaddrs2()
140 ret = errno; in getifaddrs2()
183 errno = ret; in getifaddrs2()
192 errno = ENXIO; in getifaddrs()
/third_party/libunwind/libunwind/src/s390x/
H A DGinit.c34 #include <errno.h>
123 while ( errno == EINTR ); in write_validate()
125 int valid_read = (bytes > 0 || errno == EAGAIN || errno == EWOULDBLOCK); in write_validate()
137 while ( errno == EINTR ); in write_validate()
190 errno == EAGAIN) {} in tdep_init_mem_validate()
/third_party/ltp/include/
H A Dtst_test_macros.h12 errno = 0; \
14 TST_ERR = errno; \
19 errno = 0; \
21 TST_ERR = errno; \
32 errno = 0; \
34 TST_ERR = errno; \
/third_party/ltp/testcases/kernel/controllers/freezer/
H A Dvfork.c36 #include <errno.h>
126 if ((rc == -1) && (errno != EINTR)) in sleepy_time()
274 if ((errno == EAGAIN) || (errno == EINTR)) in send_mutex()
293 if ((errno == EAGAIN) || (errno == EINTR)) in await_mutex()
/third_party/ltp/lib/
H A Dtst_af_alg.c7 #include <errno.h>
21 if (errno == EAFNOSUPPORT) in tst_alg_create()
35 if (errno == ELIBBAD && tst_fips_enabled()) { in tst_alg_bind_addr()
41 if (errno == ENOENT) { in tst_alg_bind_addr()
90 retval = errno; in tst_try_alg()
118 errno = ret; in tst_have_alg()
/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()

Completed in 15 milliseconds

1...<<61626364656667686970>>...597