/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | sysinfo.c | 16 #include <errno.h> 77 if (errno != EFAULT) { in sysinfo_0200() 78 t_error("%s failed: errno = %d\n", __func__, errno); in sysinfo_0200()
|
/third_party/musl/libc-test/src/functional/ |
H A D | fdopen.c | 1 #include <errno.h> 9 errno = 0; \ 11 t_error("%s failed (errno = %d)\n", #c, errno); \
|
/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
H A D | uname.c | 16 #include <errno.h> 80 if (errno != EFAULT) { in uname_0200() 81 t_error("%s failed: errno = %d\n", __func__, errno); in uname_0200()
|
/third_party/musl/libc-test/src/functionalext/supplement/passwd/ |
H A D | getgrgid_r.c | 16 #include <errno.h> 28 errno = 0; in getgrgid_r_0100() 40 if (errno != 0) { in getgrgid_r_0100() 41 t_error("%s errno should be zero\n", __func__); in getgrgid_r_0100()
|
H A D | getgrnam_r.c | 16 #include <errno.h> 28 errno = 0; in getgrnam_r_0100() 40 if (errno != 0) { in getgrnam_r_0100() 41 t_error("%s errno should be zero\n", __func__); in getgrnam_r_0100()
|
/third_party/node/deps/uv/src/unix/ |
H A D | random-devurandom.c | 45 return UV__ERR(errno); in uv__random_readpath() 56 while (n == -1 && errno == EINTR); in uv__random_readpath() 60 return UV__ERR(errno); in uv__random_readpath()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | vlan_ifconfig.c | 26 "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/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | vlan_ifconfig.c | 26 "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()
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | mconsole_user.c | 7 #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 D | test_vdso.c | 17 #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 D | mconsole_user.c | 7 #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 D | iio_event_monitor.c | 19 #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 D | perf-record.c | 2 #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 D | ionutils.c | 5 #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 D | perf-record.c | 2 #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 D | proc-empty-vm.c | 28 #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 D | hypercalls.c | 11 #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()
|
/third_party/ffmpeg/libavdevice/ |
H A D | fbdev_dec.c | 86 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()
|
/third_party/ffmpeg/libavfilter/ |
H A D | f_zmq.c | 60 "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 D | utils.c | 14 #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 D | getifaddrs.c | 38 #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 D | Ginit.c | 34 #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 D | tst_test_macros.h | 12 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 D | vfork.c | 36 #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 D | tst_af_alg.c | 7 #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()
|