Searched refs:errno (Results 1 – 23 of 23) sorted by relevance
/stdlib/ |
A D | tst-environ.c | 178 errno = 0; in do_test() 179 if (setenv (NULL, "val", 1) >= 0 || errno != EINVAL) in do_test() 185 errno = 0; in do_test() 186 if (setenv ("", "val", 0) >= 0 || errno != EINVAL) in do_test() 192 errno = 0; in do_test() 203 errno = 0; in do_test() 204 if (unsetenv (NULL) >= 0 || errno != EINVAL) in do_test() 211 errno = 0; in do_test() 212 if (unsetenv ("") >= 0 || errno != EINVAL) in do_test() 218 errno = 0; in do_test() [all …]
|
A D | test-canon.c | 129 errno = 0; in do_test() 130 if (realpath (NULL, buf) != NULL || errno != EINVAL) in do_test() 139 errno = 0; in do_test() 140 if (realpath ("/", NULL) != NULL || errno != EINVAL) in do_test() 148 errno = 0; in do_test() 149 if (realpath ("", buf) != NULL || errno != ENOENT) in do_test() 186 if (!tests[i].out && errno != tests[i].error) in do_test() 189 argv[0], i, tests[i].error, errno); in do_test()
|
A D | test-bz22786.c | 68 TEST_VERIFY (errno == ENOMEM || errno == ENAMETOOLONG); in do_test()
|
A D | test-canon2.c | 69 errno = 0; in do_test() 72 return canon != NULL || errno != ELOOP; in do_test()
|
A D | errno.h | 38 # define errno (*__errno_location ()) macro
|
A D | tst-setcontext3.c | 104 if (errno == ENOSYS) in do_test() 130 printf ("FAIL: setcontext returned with %d and errno of %d.\n", ret, errno); in do_test()
|
A D | tst-thread-quick_exit.cc | 58 errno = ret; in do_test()
|
A D | tst-strtoll.c | 324 errno = 0; in do_test() 326 save_errno = errno; in do_test() 357 errno = 0; in do_test() 359 save_errno = errno; in do_test()
|
A D | tst-strtod-underflow.c | 142 errno = 0; in test_in_one_mode() 144 int got_errno = errno; in test_in_one_mode() 158 else if (this_expect_underflow != (errno == ERANGE)) in test_in_one_mode()
|
A D | test-dlclose-exit-race.c | 84 errno = value; in main()
|
A D | tst-getrandom.c | 44 && errno == EAGAIN) in test_length() 214 if (errno != EIO) in test_getentropy() 226 if (getrandom (NULL, 0, 0) == -1 && errno == ENOSYS) in do_test()
|
A D | bug-getcontext.c | 46 printf("\ngetcontext failed, errno: %d.\n", errno); in do_test()
|
A D | tst-strtol.c | 549 errno = 0; in do_test() 551 save_errno = errno; in do_test() 582 errno = 0; in do_test() 584 save_errno = errno; in do_test()
|
A D | tst-makecontext2.c | 50 if (errno == ENOSYS) in do_test()
|
A D | tst-makecontext3.c | 128 if (errno == ENOSYS) in main() 147 errno = 0; in main() 168 if (errno == ENOSYS) in main()
|
A D | tst-strtod.c | 97 errno = 0; in do_test() 99 save_errno = errno; in do_test()
|
A D | setenv.c | 31 # if !defined errno && !defined HAVE_ERRNO_DECL 32 extern int errno; 34 # define __set_errno(ev) ((errno) = (ev))
|
A D | canonicalize.c | 103 return __stat (file, &st) == 0 || errno == EOVERFLOW; in file_accessible() 172 int err = errno; in get_path_max() 241 if (errno != ERANGE) in realpath_stk() 390 : errno == EINVAL)) in realpath_stk()
|
A D | tst-makecontext.c | 87 if (errno == ENOSYS) in do_test()
|
A D | tst-setcontext.c | 155 if (errno == ENOSYS) in main()
|
A D | Makefile | 28 errno.h sys/errno.h bits/errno.h bits/types/error_t.h \
|
A D | msort.c | 220 int save = errno; in __qsort_r()
|
A D | strtol_l.c | 32 # define __set_errno(Val) errno = (Val)
|
Completed in 38 milliseconds