Home
last modified time | relevance | path

Searched refs:EINVAL (Results 1 – 25 of 609) sorted by relevance

12345678910>>...25

/glibc-2.36/sysdeps/pthread/
Dtst-rwlock14.c65 TEST_COMPARE (pthread_rwlock_timedrdlock (&r, &ts), EINVAL); in do_test()
66 TEST_COMPARE (pthread_rwlock_clockrdlock (&r, CLOCK_REALTIME, &ts), EINVAL); in do_test()
67 TEST_COMPARE (pthread_rwlock_clockrdlock (&r, CLOCK_MONOTONIC, &ts), EINVAL); in do_test()
68 TEST_COMPARE (pthread_rwlock_timedwrlock (&r, &ts), EINVAL); in do_test()
69 TEST_COMPARE (pthread_rwlock_clockwrlock (&r, CLOCK_REALTIME, &ts), EINVAL); in do_test()
70 TEST_COMPARE (pthread_rwlock_clockwrlock (&r, CLOCK_MONOTONIC, &ts), EINVAL); in do_test()
74 TEST_COMPARE (pthread_rwlock_timedrdlock (&r, &ts), EINVAL); in do_test()
75 TEST_COMPARE (pthread_rwlock_clockrdlock (&r, CLOCK_REALTIME, &ts), EINVAL); in do_test()
76 TEST_COMPARE (pthread_rwlock_clockrdlock (&r, CLOCK_MONOTONIC, &ts), EINVAL); in do_test()
77 TEST_COMPARE (pthread_rwlock_timedwrlock (&r, &ts), EINVAL); in do_test()
[all …]
Dtst-attr1.c71 if (e != EINVAL) in do_test()
101 if (e != EINVAL) in do_test()
131 if (e != EINVAL) in do_test()
161 if (e != EINVAL) in do_test()
191 if (e != EINVAL) in do_test()
218 if (e != EINVAL) in do_test()
248 if (e != EINVAL) in do_test()
278 if (e != EINVAL) in do_test()
Dtst-bad-schedattr.c84 if (err != EINVAL) in do_test()
87 err, strerror (err), EINVAL, strerror (EINVAL)); in do_test()
Dtst-mutex5.c91 TEST_COMPARE (pthread_mutex_timedlock (&m, &ts_timeout), EINVAL); in do_test_clock()
93 TEST_COMPARE (pthread_mutex_clocklock (&m, clockid, &ts_timeout), EINVAL); in do_test_clock()
126 support_mutex_pi_monotonic () ? ETIMEDOUT : EINVAL; in do_test()
/glibc-2.36/sysdeps/unix/sysv/linux/
Dtest-errno-linux.c156 fails |= test_wrp (EINVAL, epoll_create, -1); in do_test()
157 fails |= test_wrp (EINVAL, epoll_create1, EPOLL_CLOEXEC + 1); in do_test()
166 fails |= test_wrp2 (LIST (EINVAL, EBADF), inotify_add_watch, -1, "/", 0); in do_test()
167 fails |= test_wrp (EINVAL, mincore, (void *) -1, 0, vec); in do_test()
173 fails |= test_wrp2 (LIST (EINVAL, ENOMEM), mlock, (void *) -1, 1); in do_test()
174 fails |= test_wrp (EINVAL, nanosleep, &ts, &ts); in do_test()
184 fails |= test_wrp (EINVAL, poll, &pollfd, -1, 0); in do_test()
191 fails |= test_wrp2 (LIST (ENODEV, ENOSYS, EPERM, EINVAL), in do_test()
193 fails |= test_wrp (EINVAL, sched_getparam, -1, &sch_param); in do_test()
194 fails |= test_wrp (EINVAL, sched_getscheduler, -1); in do_test()
[all …]
Dtst-sync_file_range.c92 if (errno != EINVAL) in do_test()
100 if (errno != EINVAL) in do_test()
108 if (errno != EINVAL) in do_test()
116 if (errno != EINVAL) in do_test()
/glibc-2.36/nptl/
Dtst-cond26.c44 CLOCK_PROCESS_CPUTIME_ID, &ts), EINVAL); in do_test()
48 CLOCK_THREAD_CPUTIME_ID, &ts), EINVAL); in do_test()
55 CLOCK_REALTIME_COARSE, &ts), EINVAL); in do_test()
59 CLOCK_MONOTONIC_RAW, &ts), EINVAL); in do_test()
63 CLOCK_MONOTONIC_COARSE, &ts), EINVAL); in do_test()
67 CLOCK_BOOTTIME, &ts), EINVAL); in do_test()
72 NOT_A_VALID_CLOCK, &ts), EINVAL); in do_test()
Dtst-sem17.c43 TEST_COMPARE (errno, EINVAL); in do_test()
47 TEST_COMPARE (errno, EINVAL); in do_test()
54 TEST_COMPARE (errno, EINVAL); in do_test()
58 TEST_COMPARE (errno, EINVAL); in do_test()
62 TEST_COMPARE (errno, EINVAL); in do_test()
66 TEST_COMPARE (errno, EINVAL); in do_test()
71 TEST_COMPARE (errno, EINVAL); in do_test()
Dfutex-internal.c81 return EINVAL; in __futex_abstimed_wait_common()
109 case -EINVAL: in __futex_abstimed_wait_common()
181 err = -EINVAL; in libc_hidden_def()
192 case -EINVAL: /* This indicates either state corruption or that the kernel in libc_hidden_def()
/glibc-2.36/posix/
Dtst-mmap.c50 else if (errno != EINVAL && errno != ENOSYS) in do_test()
63 else if (errno != EINVAL && errno != ENOSYS) in do_test()
76 else if (errno != EINVAL && errno != ENOSYS) in do_test()
89 else if (errno != EINVAL && errno != ENOSYS) in do_test()
106 else if (errno != EINVAL && errno != ENOSYS) in do_test()
119 else if (errno != EINVAL && errno != ENOSYS) in do_test()
132 else if (errno != EINVAL && errno != ENOSYS) in do_test()
145 else if (errno != EINVAL && errno != ENOSYS) in do_test()
Dtest-errno.c110 fails |= test_wrp (EINVAL, access, "/", -1); in do_test()
129 fails |= test_wrp (EINVAL, getgroups, -1, 0); in do_test()
139 fails |= test_wrp (EINVAL, madvise, (void *) -1, -1, 0); in do_test()
142 fails |= test_wrp (EINVAL, mprotect, (void *) -1, pagesize, -1); in do_test()
143 fails |= test_wrp (EINVAL, msync, (void *) -1, pagesize, -1); in do_test()
144 fails |= test_wrp (EINVAL, munmap, (void *) -1, 0); in do_test()
147 fails |= test_wrp (EINVAL, readlink, "/", buf, sizeof buf); in do_test()
152 fails |= test_wrp (EINVAL, select, -1, 0, 0, 0, 0); in do_test()
/glibc-2.36/stdio-common/
Dtst-sprintf-errno.c34 errno = EINVAL; in do_test()
38 errno = EINVAL; in do_test()
76 errno = EINVAL; in do_test()
80 errno = EINVAL; in do_test()
84 errno = EINVAL; in do_test()
88 errno = EINVAL; in do_test()
/glibc-2.36/rt/
Dtst-mqueue2.c84 else if (errno != EINVAL) in do_test()
100 else if (errno != EINVAL) in do_test()
135 else if (errno != EINVAL) in do_test()
148 else if (errno != EINVAL) in do_test()
237 && (errno != EINVAL || mq_send (q, buf, 2, 5) != 0)) in do_test()
240 && (errno != EINVAL || mq_send (q, buf, 1, 4) != 0)))) in do_test()
253 else if (errno != EINVAL) in do_test()
266 else if (errno != EINVAL) in do_test()
307 if (rets == -1 && errno == EINVAL) in do_test()
338 if (rets == -1 && errno == EINVAL) in do_test()
[all …]
Dtimer_settime.c39 __set_errno (EINVAL); in timer_settime()
46 __set_errno (EINVAL); in timer_settime()
67 __set_errno (EINVAL); in timer_settime()
/glibc-2.36/string/
Dtst-strerror.c37 TEST_COMPARE_STRING (strerror (EINVAL), "Invalid argument"); in do_test()
42 TEST_COMPARE_STRING (strerror_r (EINVAL, buffer, 8), in do_test()
54 TEST_COMPARE_STRING (strerror_l (EINVAL, l), "Argumento inv\303\241lido"); in do_test()
59 TEST_COMPARE_STRING (strerror (EINVAL), "Argumento inv\303\241lido"); in do_test()
64 TEST_COMPARE_STRING (strerror_r (EINVAL, buffer, 8), in do_test()
/glibc-2.36/misc/
Dtst-preadvwritev2-common.c79 TEST_COMPARE (errno, EINVAL); in do_test_with_invalid_iov()
81 TEST_COMPARE (errno, EINVAL); in do_test_with_invalid_iov()
86 TEST_VERIFY (errno == EINVAL || errno == ENOTSUP); in do_test_with_invalid_iov()
88 TEST_VERIFY (errno == EINVAL || errno == ENOTSUP); in do_test_with_invalid_iov()
97 TEST_VERIFY (errno == EINVAL || errno == ENOTSUP); in do_test_with_invalid_iov()
99 TEST_VERIFY (errno == EINVAL || errno == ENOTSUP); in do_test_with_invalid_iov()
/glibc-2.36/stdlib/
Dtst-environ.c179 if (setenv (NULL, "val", 1) >= 0 || errno != EINVAL) in do_test()
186 if (setenv ("", "val", 0) >= 0 || errno != EINVAL) in do_test()
193 if (setenv ("var=val", "val", 1) >= 0 || errno != EINVAL) in do_test()
204 if (unsetenv (NULL) >= 0 || errno != EINVAL) in do_test()
212 if (unsetenv ("") >= 0 || errno != EINVAL) in do_test()
219 if (unsetenv ("x=y") >= 0 || errno != EINVAL) in do_test()
Dstrfmon_l.c173 __set_errno (EINVAL); in __vstrfmon_l_internal()
183 __set_errno (EINVAL); in __vstrfmon_l_internal()
192 __set_errno (EINVAL); in __vstrfmon_l_internal()
243 __set_errno (EINVAL); in __vstrfmon_l_internal()
260 __set_errno (EINVAL); in __vstrfmon_l_internal()
308 __set_errno (EINVAL); in __vstrfmon_l_internal()
/glibc-2.36/login/
Dtst-grantpt.c67 if (ret != -1 || err != EINVAL) in test_einval()
70 printf ("grantpt(): expected: return = %d, errno = %d\n", -1, EINVAL); in test_einval()
75 TEST_COMPARE (errno, EINVAL); in test_einval()
98 TEST_COMPARE (errno, EINVAL); in test_not_ptmx()
101 TEST_COMPARE (errno, EINVAL); in test_not_ptmx()
/glibc-2.36/localedata/tests-mbwc/
Ddat_strcoll.c96 /*expect*/ { EINVAL,0,0, },
101 /*expect*/ { EINVAL,0,0, },
140 /*expect*/ { EINVAL,0,0, },
145 /*expect*/ { EINVAL,0,0, },
/glibc-2.36/sysdeps/nptl/
Dfutex-internal.h109 return EINVAL; in futex_supports_pshared()
156 case -EINVAL: /* Either due to wrong alignment or due to the timeout not in futex_wait()
216 case -EINVAL: /* Could be either due to incorrect alignment (a bug in in futex_wake()
280 case -EINVAL: /* Either due to wrong alignment or due to the timeout not in futex_unlock_pi()
327 if (err == EINVAL || err == ETIMEDOUT || err == EOVERFLOW) in __futex_clocklock64()
/glibc-2.36/hurd/
Dhurdlock.c51 return EINVAL; in __lll_abstimed_wait()
62 return EINVAL; in __lll_abstimed_wait_intr()
73 return EINVAL; in __lll_abstimed_xwait()
85 return EINVAL; in __lll_abstimed_lock()
95 return EINVAL; in __lll_abstimed_lock()
171 return EINVAL; in __lll_robust_abstimed_lock()
/glibc-2.36/termios/
Dtcsetattr.c35 __set_errno (EINVAL); in tcsetattr()
45 __set_errno (EINVAL); in tcsetattr()
53 __set_errno (EINVAL); in tcsetattr()
/glibc-2.36/libio/
Dbug-fseek.c58 else if (errno != EINVAL) in do_test()
82 else if (errno != EINVAL) in do_test()
111 else if (errno != EINVAL) in do_test()
/glibc-2.36/malloc/
Dtst-posix_memalign.c81 if (ret != EINVAL) in do_test()
99 if (ret != EINVAL) in do_test()
104 if (ret != EINVAL) in do_test()

12345678910>>...25