/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/ |
H A D | 17-1.c | 8 * errno to EINVAL. 14 #include <errno.h> 39 if (sigprocmask(r, &set, NULL) != -1 || errno != EINVAL) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_delete/ |
H A D | 1-2.c | 14 * with errno==EINVAL. 23 #include <errno.h> 54 if (errno == EINVAL) { in main() 58 printf("errno!=EINVAL after a timer_delete()\n"); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_gettime/speculative/ |
H A D | 6-3.c | 8 * Test to see if timer_gettime() sets errno = EINVAL when timerid = 19 #include <errno.h> 41 if (EINVAL == errno) { in main() 42 printf("fcn returned -1 and errno==EINVAL\n"); in main() 45 printf("fcn returned -1 but errno!=EINVAL\n"); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/speculative/ |
H A D | 12-2.c | 8 * Test to see if timer_settime() sets errno = EINVAL timerid != a timer ID 18 #include <errno.h> 46 if (EINVAL == errno) { in main() 47 printf("fcn returned -1 and errno==EINVAL\n"); in main() 50 printf("fcn returned -1 but errno!=EINVAL\n"); in main()
|
H A D | 12-3.c | 8 * Test to see if timer_settime() sets errno = EINVAL when timerid = 19 #include <errno.h> 48 if (EINVAL == errno) { in main() 49 printf("fcn returned -1 and errno==EINVAL\n"); in main() 52 printf("fcn returned -1 but errno!=EINVAL\n"); in main()
|
H A D | 12-1.c | 8 * Test to see if timer_settime() sets errno = EINVAL if no timers have been 14 #include <errno.h> 31 if (EINVAL == errno) { in main() 32 printf("fcn returned -1 and errno==EINVAL\n"); in main() 35 printf("fcn returned -1, but errno!=EINVAL\n"); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/exit/exit_gtest/ |
H A D | exit_quick_exit_test.cpp | 1 #include <errno.h> 27 if (errno != EINTR) { in HWTEST_F()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | epoll_create1.c | 25 #include <errno.h> 49 errno = 0; in epoll_create1_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/manual/unistd/ |
H A D | tcgetpgrp.c | 16 #include <errno.h> 29 errno = 0; in tcgetpgrp_handler()
|
H A D | tcsetpgrp.c | 16 #include <errno.h> 29 errno = 0; in tcgetpgrp_handler()
|
/third_party/musl/compat/time32/ |
H A D | ftime32.c | 3 #include <errno.h> 17 errno = EOVERFLOW; in __ftime32()
|
/third_party/musl/libc-test/src/functional/ |
H A D | sched_setscheduler.c | 3 #include <errno.h>
7 #define TEST(c) ((!c) ? 1 : (t_error(#c" failed: %s" ,strerror(errno)),0))
|
/third_party/musl/libc-test/src/functionalext/supplement/stat/ |
H A D | mkfifo.c | 16 #include <errno.h> 47 EXPECT_EQ("mkfifo_0200", errno, EEXIST); in mkfifo_0200()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | fsync.c | 66 errno = 0; in fsync_0300() 69 EXPECT_EQ("fsync_0300", errno, EBADF); in fsync_0300()
|
H A D | pause.c | 16 #include <errno.h> 47 EXPECT_EQ("pause_0100", errno, EINTR); in pause_0100()
|
H A D | link.c | 48 EXPECT_EQ("link_0200", errno, EEXIST); in link_0200() 61 EXPECT_EQ("link_0300", errno, EFAULT); in link_0300()
|
H A D | ttyname_r.c | 21 #include <errno.h> 52 if (result != errno) { in ttyname_r_0200() 53 t_error("%s ttyname_r error get result is %d are not want errno\n", __func__, result); in ttyname_r_0200()
|
/third_party/node/deps/uv/src/unix/ |
H A D | random-getrandom.c | 78 } while (n == -1 && errno == EINTR); in uv__random_getrandom() 81 return UV__ERR(errno); in uv__random_getrandom()
|
H A D | random-getentropy.c | 51 return UV__ERR(errno); in uv__random_getentropy() 54 return UV__ERR(errno); in uv__random_getentropy()
|
/third_party/popt/tests/ |
H A D | test3.c | 1 #include <errno.h> 20 printf ("cannot read file %s. errno=%s\n", argv[f], in main() 21 strerror(errno)); in main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | Errno.h | 1 //===- llvm/Support/Errno.h - Portable+convenient errno handling -*- C++ -*-===// 9 // This file declares some portable and convenient functions to deal with errno. 23 /// Returns a string representation of the errno value, using whatever 25 /// immediately after the function that set errno, or errno may have been 29 /// Like the no-argument version above, but uses \p errnum instead of errno. 37 errno = 0; in F() 39 } while (Res == Fail && errno == EINTR); in F()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | Errno.cpp | 1 //===- Errno.cpp - errno support --------------------------------*- C++ -*-===//
10 // This file implements the errno wrappers.
20 #include <errno.h>
33 return StrError(errno);
in StrError()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | Errno.cpp | 1 //===- Errno.cpp - errno support --------------------------------*- C++ -*-===// 9 // This file implements the errno wrappers. 19 #include <errno.h> 32 return StrError(errno); in StrError()
|
/third_party/selinux/libselinux/utils/ |
H A D | getpidprevcon.c | 5 #include <errno.h> 26 fprintf(stderr, "%s: getpidprevcon() failed: %s\n", argv[0], strerror(errno)); in main()
|
H A D | getpidcon.c | 5 #include <errno.h> 26 fprintf(stderr, "%s: getpidcon() failed: %s\n", argv[0], strerror(errno)); in main()
|