Home
last modified time | relevance | path

Searched refs:errno (Results 626 - 650 of 6653) sorted by relevance

1...<<21222324252627282930>>...267

/third_party/musl/porting/liteos_a/user/src/aio/
H A Dlio_listio.c2 #include <errno.h>
31 errno = EIO; in lio_wait()
78 errno = EINVAL; in lio_listio()
84 errno = EAGAIN; in lio_listio()
106 errno = EAGAIN; in lio_listio()
137 errno = EAGAIN; in lio_listio()
/third_party/musl/libc-test/src/regression/
H A Dmalloc-multi-thread-performance.c4 #include <errno.h>
36 t_error("Set CPU affinity of thread %d failure, ERROR:%s\n", *val, strerror(errno)); in func()
49 *val = errno; in func()
72 t_error("Init pthread attribute failed: %s\n", strerror(errno)); in main()
81 t_error("Create pthread %u failed: %s\n", i, strerror(errno)); in main()
90 t_error("Join thread %u failed: %s\n", i, strerror(errno)); in main()
/third_party/musl/porting/liteos_m/kernel/src/internal/
H A Dintscan.c2 #include <errno.h>
33 errno = EINVAL; in __intscan()
60 errno = EINVAL; in __intscan()
84 errno = ERANGE; in __intscan()
92 errno = ERANGE; in __intscan()
95 errno = ERANGE; in __intscan()
/third_party/musl/porting/uniproton/kernel/src/internal/
H A Dintscan.c2 #include <errno.h>
33 errno = EINVAL; in __intscan()
60 errno = EINVAL; in __intscan()
84 errno = ERANGE; in __intscan()
92 errno = ERANGE; in __intscan()
95 errno = ERANGE; in __intscan()
/third_party/musl/porting/liteos_a/kernel/src/internal/
H A Dintscan.c2 #include <errno.h>
33 errno = EINVAL; in __intscan()
60 errno = EINVAL; in __intscan()
84 errno = ERANGE; in __intscan()
92 errno = ERANGE; in __intscan()
95 errno = ERANGE; in __intscan()
/third_party/musl/src/internal/
H A Dintscan.c2 #include <errno.h>
33 errno = EINVAL; in __intscan()
60 errno = EINVAL; in __intscan()
84 errno = ERANGE; in __intscan()
92 errno = ERANGE; in __intscan()
95 errno = ERANGE; in __intscan()
/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl18.c38 #include <errno.h>
84 if (errno == EFAULT) { in main()
85 tst_resm(TPASS, "Test F_GETLK: for errno EFAULT PASSED"); in main()
87 tst_resm(TFAIL, "Test F_GETLK: for errno EFAULT FAILED"); in main()
107 if (errno == EFAULT) { in main()
108 tst_resm(TPASS, "Test F_GETLK: for errno EFAULT PASSED"); in main()
110 tst_resm(TFAIL, "Test F_GETLK: for errno EFAULT FAILED"); in main()
132 "errno: %d", errno); in main()
138 if (errno in main()
[all...]
H A Dfcntl07.c43 #include <errno.h>
111 /* the ONLY reason to do this is to get the errno printed out */ in verify_cloexec()
113 TCID, TCID, pidname, strerror(errno), errno); in verify_cloexec()
207 if (rc == -1 && errno == EBADF) in test_open()
210 fprintf(stderr, "fcntl() returned %i, errno %s(%i)\n", in test_open()
211 rc, tst_strerrno(errno), errno); in test_open()
/third_party/ltp/testcases/kernel/syscalls/setsid/
H A Dsetsid01.c36 #include <errno.h>
113 strerror(errno)); in main()
160 tst_resm(TFAIL, "setpgid(0,0) failed: %s", strerror(errno)); in do_child_1()
178 tst_resm(TFAIL, "setpgid failed, errno :%d", errno); in do_child_1()
184 if (errno == EPERM) { in do_child_1()
186 "errno to EPERM"); in do_child_1()
189 "return %d", -1, errno); in do_child_1()
/third_party/ltp/testcases/kernel/syscalls/getrlimit/
H A Dgetrlimit03.c158 errno = 0; in run()
160 errno_u64 = errno; in run()
162 errno = 0; in run()
164 errno_ul = errno; in run()
178 errno = 0; in run()
180 errno_l = errno; in run()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
H A D14-1.c30 #include <errno.h>
53 printf("Error at open(): %s\n", strerror(errno)); in main()
60 printf("Error at write(): %s\n", strerror(errno)); in main()
68 printf("Error at mmap: %s\n", strerror(errno)); in main()
76 printf("Error at 1st stat(): %s\n", strerror(errno)); in main()
98 printf("Error at stat(): %s\n", strerror(errno)); in main()
H A D3-1.c31 #include <errno.h>
71 printf("Error at open(): %s\n", strerror(errno)); in main()
82 printf("Error at write(), fd: %s\n", strerror(errno)); in main()
88 printf("Error at write(), fd1: %s\n", strerror(errno)); in main()
97 printf("Error at mmap: %s\n", strerror(errno)); in main()
112 printf("Error at 2nd mmap: %s\n", strerror(errno)); in main()
/third_party/node/deps/v8/src/base/platform/
H A Dsemaphore.cc13 #include <errno.h>
66 FATAL("Error when signaling semaphore, errno: %d", errno);
77 DCHECK_EQ(EINTR, errno);
93 // sem_timedwait in glibc prior to 2.3.4 returns the errno instead of -1.
94 errno = result;
98 if (result == -1 && errno == ETIMEDOUT) {
104 DCHECK_EQ(EINTR, errno);
/third_party/mesa3d/src/util/
H A Dos_file.c9 #include <errno.h>
59 if (errno != EINVAL) in os_dupfd_cloexec()
103 ret = -errno; in readN()
136 /* errno set by open() */ in os_read_file()
150 errno = -ENOMEM; in os_read_file()
161 errno = -ENOMEM; in os_read_file()
181 errno = -ENOMEM; in os_read_file()
/third_party/musl/libc-test/src/functional/
H A Dipc_sem.c4 #include <errno.h>
19 t_error("%s failed: %s\n", #f, strerror(errno)); \
52 errno = 0; in inc()
53 if (semget(k, 1, IPC_CREAT|IPC_EXCL|0666) != -1 || errno != EEXIST) in inc()
54 t_error("semget(IPC_CREAT|IPC_EXCL) should have failed with EEXIST, got %s\n", strerror(errno)); in inc()
115 t_error("fork failed: %s\n", strerror(errno)); in main()
H A Dutime64.c2 #include <errno.h>
24 TEST(utimensat(AT_FDCWD, "/dev/null/invalid", ((struct timespec[2]){{.tv_nsec=UTIME_OMIT},{.tv_nsec=UTIME_OMIT}}), 0)==0 || errno==ENOTDIR, in main()
25 "%s\n", strerror(errno)); in main()
26 TEST(__futimens_time64(-1, ((struct timespec[2]){{.tv_nsec=UTIME_OMIT},{.tv_nsec=UTIME_OMIT}}))==0 || errno==EBADF, in main()
27 "%s\n", strerror(errno)); in main()
66 if (TEST(__futimens_time64(fd, ((struct timespec[2]){{.tv_sec=1LL<<32},{.tv_sec=1LL<<32}})) == 0, "%s\n", strerror(errno))) { in main()
H A Dutime.c2 #include <errno.h>
21 TEST(utimensat(AT_FDCWD, "/dev/null/invalid", ((struct timespec[2]){{.tv_nsec=UTIME_OMIT},{.tv_nsec=UTIME_OMIT}}), 0)==0 || errno==ENOTDIR, in main()
22 "%s\n", strerror(errno)); in main()
23 TEST(futimens(-1, ((struct timespec[2]){{.tv_nsec=UTIME_OMIT},{.tv_nsec=UTIME_OMIT}}))==0 || errno==EBADF, in main()
24 "%s\n", strerror(errno)); in main()
63 if (TEST(futimens(fd, ((struct timespec[2]){{.tv_sec=1LL<<32},{.tv_sec=1LL<<32}})) == 0, "%s\n", strerror(errno))) { in main()
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
H A Dwcstoull.c16 #include <errno.h>
22 #define TEST(r, f, x, m) (errno = 0, msg = #f, ((r) = (f)) == (x) || (t_error("%s failed (" m ")\n", #f, r, x), 0))
91 TEST2(i, errno, ERANGE, "missing errno %d != %d"); in wcstoull_0500()
107 TEST2(i, errno, 0, "spurious errno %d != %d"); in wcstoull_0600()
123 TEST2(i, errno, 0, "spurious errno %d != %d"); in wcstoull_0700()
139 TEST2(i, errno, 0, "spurious errno in wcstoull_0800()
[all...]
/third_party/toybox/toys/other/
H A Dacpi.c48 errno = 0; in acpi_callback()
92 errno = 0; in temp_callback()
95 if ((0 < (temp = read_int_at(dfd, "temp"))) || !errno) { in temp_callback()
112 errno = 0; in cool_callback()
121 if (readfile(TT.cpath, toybuf, 256) && !errno) { in cool_callback()
125 if (errno) in cool_callback()
/third_party/python/Mac/Tools/
H A Dpythonw.c26 #include <errno.h>
99 if ((errno = posix_spawnattr_init(spawnattr)) != 0) { in setup_spawnattr()
147 if ((errno = posix_spawnattr_setflags(spawnattr, flags)) != 0) { in setup_spawnattr()
184 errno = EINVAL; in main()
193 errno = EINVAL; in main()
197 errno = EINVAL; in main()
/third_party/rust/crates/rustix/tests/thread/
H A Dprctl.rs83 let errno = r.raw_os_error(); in test_secure_computing_mode()
84 assert!(errno == libc::ENODEV || errno == libc::EINVAL); in test_secure_computing_mode()
101 let errno = r.raw_os_error(); in test_core_scheduling_cookie()
102 assert!(errno == libc::ENODEV || errno == libc::EINVAL); in test_core_scheduling_cookie()
/third_party/selinux/libsepol/utils/
H A Dsepol_check_access.c1 #include <errno.h>
29 fprintf(stderr, "Can't open policy %s: %s\n", argv[1], strerror(errno)); in main()
33 fprintf(stderr, "Error while processing policy %s: %s\n", argv[1], strerror(errno)); in main()
63 fprintf(stderr, "Failed to allocate memory: %s\n", strerror(errno)); in main()
71 fprintf(stderr, "Invalid permission %s for security class %s: %s\n", perm, argv[4], strerror(errno)); in main()
87 fprintf(stderr, "Failed to compute av decision: %s\n", strerror(errno)); in main()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dvlan_ioctl.c33 "failed: %s", __func__, strerror(errno)); in vlan_rem()
44 "%s", __func__, if_name, strerror(errno)); in vlan_rem()
79 "failed: %s", __func__, strerror(errno)); in vlan_add()
117 __func__, if_request.device1, strerror(errno)); in vlan_add()
137 __func__, strerror(errno)); in vlan_set_name_type()
148 __func__, name_type, strerror(errno)); in vlan_set_name_type()
/third_party/vulkan-loader/loader/
H A Ddirent_on_windows.c12 #include <errno.h>
13 #include <io.h> /* _findfirst and _findnext set errno iff they return -1 */
58 errno = ENOMEM; in opendir()
61 errno = EINVAL; in opendir()
81 errno = EBADF; in closedir()
96 errno = EBADF; in readdir()
108 errno = EBADF; in rewinddir()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dvlan_ioctl.c33 "failed: %s", __func__, strerror(errno)); in vlan_rem()
44 "%s", __func__, if_name, strerror(errno)); in vlan_rem()
79 "failed: %s", __func__, strerror(errno)); in vlan_add()
117 __func__, if_request.device1, strerror(errno)); in vlan_add()
137 __func__, strerror(errno)); in vlan_set_name_type()
148 __func__, name_type, strerror(errno)); in vlan_set_name_type()

Completed in 9 milliseconds

1...<<21222324252627282930>>...267