Home
last modified time | relevance | path

Searched refs:errno (Results 1 – 23 of 23) sorted by relevance

/stdlib/
A Dtst-environ.c178 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 Dtest-canon.c129 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 Dtest-bz22786.c68 TEST_VERIFY (errno == ENOMEM || errno == ENAMETOOLONG); in do_test()
A Dtest-canon2.c69 errno = 0; in do_test()
72 return canon != NULL || errno != ELOOP; in do_test()
A Derrno.h38 # define errno (*__errno_location ()) macro
A Dtst-setcontext3.c104 if (errno == ENOSYS) in do_test()
130 printf ("FAIL: setcontext returned with %d and errno of %d.\n", ret, errno); in do_test()
A Dtst-thread-quick_exit.cc58 errno = ret; in do_test()
A Dtst-strtoll.c324 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 Dtst-strtod-underflow.c142 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 Dtest-dlclose-exit-race.c84 errno = value; in main()
A Dtst-getrandom.c44 && 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 Dbug-getcontext.c46 printf("\ngetcontext failed, errno: %d.\n", errno); in do_test()
A Dtst-strtol.c549 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 Dtst-makecontext2.c50 if (errno == ENOSYS) in do_test()
A Dtst-makecontext3.c128 if (errno == ENOSYS) in main()
147 errno = 0; in main()
168 if (errno == ENOSYS) in main()
A Dtst-strtod.c97 errno = 0; in do_test()
99 save_errno = errno; in do_test()
A Dsetenv.c31 # if !defined errno && !defined HAVE_ERRNO_DECL
32 extern int errno;
34 # define __set_errno(ev) ((errno) = (ev))
A Dcanonicalize.c103 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 Dtst-makecontext.c87 if (errno == ENOSYS) in do_test()
A Dtst-setcontext.c155 if (errno == ENOSYS) in main()
A DMakefile28 errno.h sys/errno.h bits/errno.h bits/types/error_t.h \
A Dmsort.c220 int save = errno; in __qsort_r()
A Dstrtol_l.c32 # define __set_errno(Val) errno = (Val)

Completed in 38 milliseconds