/third_party/cups-filters/backend/ |
H A D | serial.c | 225 if (errno == EBUSY) in main() 581 if (errno != EAGAIN && errno != EINTR) in main() 667 if (errno != EAGAIN && errno != EINTR && errno != ENOTTY) in main() 761 if (errno != EAGAIN && errno != EINTR) in drain_output() 789 if (errno != ENOSPC && errno ! in drain_output() [all...] |
/third_party/ltp/testcases/kernel/security/tomoyo/ |
H A D | tomoyo_new_file_test.c | 30 int error = errno; in show_result() 56 errno = 0; in create2() 64 errno = 0; in mkdir2() 72 errno = 0; in unlink2() 80 errno = 0; in rmdir2() 88 errno = 0; in mkfifo2() 160 if (write(pipe_fd[1], &errno, sizeof(errno)) == -1) in stage_file_test() 168 errno = error; in stage_file_test() 177 if (write(pipe_fd[1], &errno, sizeo in stage_file_test() [all...] |
/third_party/ltp/testcases/kernel/syscalls/sendmsg/ |
H A D | sendmsg01.c | 26 * Verify that sendmsg() returns the proper errno for various failure cases 35 #include <errno.h> 98 int experrno; /* expected errno */ 404 " %ld (expected %d), errno %d (expected" in main() 432 strerror(errno)); in start_server() 437 strerror(errno)); in start_server() 442 strerror(errno)); in start_server() 451 strerror(errno)); in start_server() 456 strerror(errno)); in start_server() 471 strerror(errno)); in start_server() [all...] |
/third_party/node/deps/uv/src/unix/ |
H A D | process.c | 28 #include <errno.h> 114 while (pid == -1 && errno == EINTR); in uv__wait_children() 122 if (errno != ECHILD) in uv__wait_children() 238 while (n == -1 && errno == EINTR); in uv__write_int() 247 uv__write_int(error_fd, UV__ERR(errno)); in uv__write_errno() 824 return UV__ERR(errno); in uv__spawn_and_init_child_fork() 909 while (r == -1 && errno == EINTR); in uv__spawn_and_init_child() 916 while (err == -1 && errno == EINTR); in uv__spawn_and_init_child() 919 } else if (r == -1 && errno == EPIPE) { in uv__spawn_and_init_child() 923 while (err == -1 && errno in uv__spawn_and_init_child() [all...] |
H A D | kqueue.c | 27 #include <errno.h> 54 return UV__ERR(errno); in uv__kqueue_init() 101 rc = UV__ERR(errno); in uv__io_check_fd() 262 if (errno != EINTR) in uv__io_poll() 316 if (errno != EBADF && errno != ENOENT) in uv__io_poll() 342 if (errno != ENOENT) in uv__io_poll() 358 if (errno != ENOENT) in uv__io_poll() 372 if (errno != ENOENT) in uv__io_poll() 534 return UV__ERR(errno); in uv_fs_event_start() [all...] |
/third_party/skia/third_party/externals/harfbuzz/util/ |
H A D | hb-subset.cc | 140 fail (false, "Failed to write output: %s", strerror (errno)); in write_file() 197 errno = 0; in parse_gids() 199 if (s[0] == '-' || errno || s == p) in parse_gids() 210 if (s[0] == '-' || errno || s == p) in parse_gids() 367 errno = 0; in parse_unicodes() 369 if (errno || s == p) in parse_unicodes() 380 if (s[0] == '-' || errno || s == p) in parse_unicodes() 444 errno = 0; in parse_nameids() 446 if (errno || s == p) in parse_nameids() 497 errno in parse_name_languages() [all...] |
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
H A D | map.c | 5 #include <errno.h> 667 strerror(errno)); in do_show_subset() 711 if (errno == ENOENT) in do_show() 713 p_err("can't get next map: %s%s", strerror(errno), in do_show() 714 errno == EINVAL ? " -- kernel too old?" : ""); in do_show() 720 if (errno == ENOENT) in do_show() 723 id, strerror(errno)); in do_show() 729 p_err("can't get map info: %s", strerror(errno)); in do_show() 744 return errno == ENOENT ? 0 : -1; in do_show() 752 print_entry_error(map_info, key, errno); in dump_map_elem() [all...] |
H A D | struct_ops.c | 4 #include <errno.h> 141 if (errno == ENOENT) in get_next_struct_ops_map() 143 p_err("can't get next map: %s", strerror(errno)); in get_next_struct_ops_map() 149 if (errno == ENOENT) in get_next_struct_ops_map() 152 id, strerror(errno)); in get_next_struct_ops_map() 158 p_err("can't get map info: %s", strerror(errno)); in get_next_struct_ops_map() 256 p_err("can't get map by id (%lu): %s", id, strerror(errno)); in do_one_id() 268 p_err("can't get map info: %s", strerror(errno)); in do_one_id() 452 info->id, strerror(errno)); in __do_unregister() 542 bpf_map__name(map), strerror(errno)); in do_register() [all...] |
/third_party/backends/backend/pixma/ |
H A D | pixma_bjnp.c | 98 #include <errno.h> 643 strerror (errno))); in bjnp_setup_udp_socket() 652 strerror (errno))); in bjnp_setup_udp_socket() 706 && (errno == EINTR) && (attempt++ < BJNP_MAX_SELECT_ATTEMPTS) in udp_command() 713 result == 0 ? "timed out" : strerror (errno))); in udp_command() 721 strerror (errno))); in udp_command() 905 strerror (errno))); in create_broadcast_socket() 918 strerror (errno))); in create_broadcast_socket() 931 strerror (errno))); in create_broadcast_socket() 943 strerror (errno))); in create_broadcast_socket() [all...] |
/third_party/ntfs-3g/libntfs-3g/ |
H A D | security.c | 39 #include <errno.h> 177 * On success return the converted string and on failure return NULL with errno 186 errno = EINVAL; in ntfs_guid_to_mbs() 206 errno = EINVAL; in ntfs_guid_to_mbs() 219 * string and on failure return -1 with errno set to the error code. 226 errno = EINVAL; in ntfs_sid_to_mbs_size() 285 * On success return the converted string and on failure return NULL with errno 300 errno = EINVAL; in ntfs_sid_to_mbs() 350 i = errno; in ntfs_sid_to_mbs() 353 errno in ntfs_sid_to_mbs() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/cgroup/ |
H A D | cgroup_util.c | 5 #include <errno.h> 280 if (ret && errno == EBUSY) { in cg_destroy() 286 if (ret && errno == ENOENT) in cg_destroy() 352 if (pid < 0 && (errno == ENOSYS || errno == E2BIG)) in clone_into_cgroup() 359 errno = ENOSYS; in clone_into_cgroup() 373 if (errno == EINTR) in clone_reap() 403 int _e_ = errno; \ 405 errno = _e_; \ 438 if (pid < 0 && errno ! in cg_run_nowait() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | uffd-common.c | 53 return -errno; in anon_allocate_area() 87 return -errno; in hugetlb_allocate_area() 94 return -errno; in hugetlb_allocate_area() 144 return -errno; in shmem_allocate_area() 154 return -errno; in shmem_allocate_area() 413 if (errno == EAGAIN || errno == EINTR) in uffd_read_msg() 513 if (errno == EINTR || errno == EAGAIN) in uffd_poll_thread() 673 return -errno; in uffd_get_features() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | xdp_hw_metadata.c | 148 error(res, errno, "Error with clock_gettime()"); in gettime() 206 error(1, errno, "recvmsg"); in verify_skb_metadata() 252 errno = 0; in verify_metadata() 255 ret, errno, bpf_obj->bss->pkts_skip, in verify_metadata() 319 error(1, errno, "socket"); in rxq_num() 323 error(1, errno, "ioctl(SIOCETHTOOL)"); in rxq_num() 340 error(1, errno, "socket"); in hwtstamp_ioctl() 344 error(1, errno, "ioctl(%d)", op); in hwtstamp_ioctl() 404 error(1, errno, "setsockopt(SO_TIMESTAMPING)"); in timestamping_enable() 459 error(1, errno, "start_serve in main() [all...] |
/third_party/libuv/src/unix/ |
H A D | thread.c | 27 #include <errno.h> 210 r = errno; in uv_thread_setaffinity() 238 r = errno; in uv_thread_getaffinity() 273 return UV__ERR(errno); in uv_thread_getcpu() 618 return UV__ERR(errno); in uv__sem_init() 640 while (r == -1 && errno == EINTR); in uv__sem_wait() 652 while (r == -1 && errno == EINTR); in uv__sem_trywait() 655 if (errno == EAGAIN) in uv__sem_trywait() 797 errno = 0; in uv_cond_wait() 804 if (errno in uv_cond_wait() [all...] |
/third_party/libuv/test/ |
H A D | test-poll.c | 22 #include <errno.h> 94 return errno == EAGAIN in got_eagain() 95 || errno == EINPROGRESS in got_eagain() 97 || errno == EWOULDBLOCK; in got_eagain() 141 ASSERT(r == 0 || errno == ECONNRESET); in close_socket() 229 while (r == -1 && errno == EINTR); 251 while (r == -1 && errno == EINTR); 314 while (r == -1 && errno == EINTR); 338 while (r == -1 && errno == EINTR); 356 while (r == -1 && errno [all...] |
/third_party/ltp/lib/ |
H A D | tst_device.c | 11 #include <errno.h> 104 switch (errno) { in tst_find_free_loopdev() 133 if (errno != ENXIO) in tst_find_free_loopdev() 250 if (ret && (errno == ENXIO)) in tst_detach_device_by_fd() 253 if (ret && (errno != EBUSY)) { in tst_detach_device_by_fd() 256 dev, tst_strerrno(errno)); in tst_detach_device_by_fd() 396 err = errno; in tst_umount() 404 errno = err; in tst_umount() 420 errno = err; in tst_umount() 562 if (errno in tst_find_backing_dev() [all...] |
/third_party/ntfs-3g/libfuse-lite/ |
H A D | mount.c | 20 #include <errno.h> 342 while(((rv = recvmsg(fd, &msg, 0)) == -1) && errno == EINTR); in receive_fd() 500 mnt, strerror(errno)); in fuse_mount_sys() 512 if (errno == ENODEV || errno == ENOENT) in fuse_mount_sys() 517 strerror(errno)); in fuse_mount_sys() 550 if (res == -1 && errno == EINVAL && mo->subtype) { in fuse_mount_sys() 568 if (errno == EPERM) { in fuse_mount_sys() 571 int errno_save = errno; in fuse_mount_sys() 572 if (mo->blkdev && errno in fuse_mount_sys() [all...] |
/third_party/musl/porting/liteos_a/kernel/src/internal/ |
H A D | floatscan.c | 6 #include <errno.h> 134 errno = EINVAL; in decfloat() 146 errno = ERANGE; in decfloat() 150 errno = ERANGE; in decfloat() 308 errno = ERANGE; in decfloat() 389 errno = ERANGE; in hexfloat() 393 errno = ERANGE; in hexfloat() 421 if (!y) errno = ERANGE; in hexfloat() 481 errno = EINVAL; in __floatscan() 493 errno in __floatscan() [all...] |
/third_party/musl/porting/liteos_m/kernel/src/internal/ |
H A D | floatscan.c | 6 #include <errno.h>
134 errno = EINVAL;
in decfloat() 146 errno = ERANGE;
in decfloat() 150 errno = ERANGE;
in decfloat() 308 errno = ERANGE;
in decfloat() 389 errno = ERANGE;
in hexfloat() 393 errno = ERANGE;
in hexfloat() 421 if (!y) errno = ERANGE;
in hexfloat() 481 errno = EINVAL;
in __floatscan() 493 errno in __floatscan() [all...] |
/third_party/musl/porting/uniproton/kernel/src/internal/ |
H A D | floatscan.c | 6 #include <errno.h>
134 errno = EINVAL;
in decfloat() 146 errno = ERANGE;
in decfloat() 150 errno = ERANGE;
in decfloat() 308 errno = ERANGE;
in decfloat() 389 errno = ERANGE;
in hexfloat() 393 errno = ERANGE;
in hexfloat() 421 if (!y) errno = ERANGE;
in hexfloat() 481 errno = EINVAL;
in __floatscan() 493 errno in __floatscan() [all...] |
/third_party/musl/src/internal/ |
H A D | floatscan.c | 6 #include <errno.h> 134 errno = EINVAL; in decfloat() 146 errno = ERANGE; in decfloat() 150 errno = ERANGE; in decfloat() 308 errno = ERANGE; in decfloat() 389 errno = ERANGE; in hexfloat() 393 errno = ERANGE; in hexfloat() 421 if (!y) errno = ERANGE; in hexfloat() 481 errno = EINVAL; in __floatscan() 493 errno in __floatscan() [all...] |
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
H A D | fcntl16.c | 47 #include <errno.h> 310 tst_resm(TFAIL, "Test case %d, child %d, errno = %d", in dochild() 311 test + 1, kid, errno); in dochild() 318 tst_resm(TFAIL, "Test case %d, child %d, errno = %d", in dochild() 319 test + 1, kid, errno); in dochild() 325 if (errno == EINTR && parent_flag) { in dochild() 334 tst_resm(TFAIL, "Test case %d, errno = %d", test + 1, in dochild() 335 errno); in dochild() 467 tst_resm(TFAIL, "Test case %d, errno = %d", test + 1, in run_test() 468 errno); in run_test() [all...] |
/third_party/libfuse/lib/ |
H A D | mount.c | 23 #include <errno.h> 244 while(((rv = recvmsg(fd, &msg, 0)) == -1) && errno == EINTR); in receive_fd() 467 mnt, strerror(errno)); in fuse_mount_sys() 473 if (errno == ENODEV || errno == ENOENT) in fuse_mount_sys() 477 devname, strerror(errno)); in fuse_mount_sys() 509 if (res == -1 && errno == ENODEV && mo->subtype) { in fuse_mount_sys() 526 if (errno == EPERM) { in fuse_mount_sys() 529 int errno_save = errno; in fuse_mount_sys() 530 if (mo->blkdev && errno in fuse_mount_sys() [all...] |
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/ |
H A D | s-c1.c | 40 #include <errno.h> 122 while ((ret == -1) && (errno == EINTR)); in threaded() 124 UNRESOLVED(errno, "Failed to wait for the semaphore"); in threaded() 169 UNRESOLVED(errno, "Not enough memory for thread storage"); in main() 241 UNRESOLVED(errno, in main() 282 while ((ret == -1) && (errno == EINTR)); in main() 284 UNRESOLVED(errno, in main() 293 UNRESOLVED(errno, in main() 304 (errno, in main() 545 UNRESOLVED(errno, "Unabl in parse_measure() [all...] |
/third_party/selinux/libselinux/utils/ |
H A D | sefcontext_compile.c | 2 #include <errno.h> 44 filename, strerror(errno)); in process_file() 336 fprintf(stderr, "%s: could not stat: %s: %s\n", argv[0], path, strerror(errno)); in main() 346 argv[0], policy_file, strerror(errno)); in main() 361 fprintf(stderr, "%s: calloc failed: %s\n", argv[0], strerror(errno)); in main() 380 fprintf(stderr, "%s: calloc failed: %s\n", argv[0], strerror(errno)); in main() 413 fprintf(stderr, "%s: malloc failed: %s\n", argv[0], strerror(errno)); in main() 425 fprintf(stderr, "%s: mkstemp %s failed: %s\n", argv[0], tmp, strerror(errno)); in main() 431 fprintf(stderr, "%s: fchmod %s failed: %s\n", argv[0], tmp, strerror(errno)); in main() 443 fprintf(stderr, "%s: rename %s -> %s failed: %s\n", argv[0], tmp, stack_path, strerror(errno)); in main() [all...] |