| /src/lib/libc/compat/sys/ |
| compat_nanosleep.c | 48 __warn_references(nanosleep, 49 "warning: reference to compatibility nanosleep(); include <time.h> to generate correct reference") 52 __weak_alias(nanosleep, _nanosleep) 60 nanosleep(const struct timespec50 *ts50, struct timespec50 *rts50)
|
| /src/external/bsd/mdocml/dist/ |
| test-nanosleep.c | 12 if (nanosleep(&timeout, NULL)) { 13 perror("nanosleep");
|
| /src/lib/libc/gen/ |
| sleep.c | 53 nanosleep(&rqt, &rmt);
|
| usleep.c | 57 nanosleep(&ts, NULL);
|
| /src/external/bsd/jemalloc/dist/test/src/ |
| sleep.c | 24 nanosleep(&timeout, NULL);
|
| /src/external/bsd/jemalloc.old/dist/test/src/ |
| mq.c | 24 nanosleep(&timeout, NULL);
|
| /src/tests/lib/libc/sys/ |
| t_nanosleep.c | 56 atf_tc_set_md_var(tc, "descr", "Test that nanosleep(2) works"); 74 ATF_REQUIRE(nanosleep(&tsn, NULL) == 0); 100 "Test errors from nanosleep(2) (PR bin/14558)"); 110 ATF_REQUIRE_ERRNO(EINVAL, nanosleep(&ts, NULL) == -1); 115 ATF_REQUIRE_ERRNO(EINVAL, nanosleep(&ts, NULL) == -1); 120 ATF_REQUIRE_ERRNO(0, nanosleep(&ts, NULL) == 0); 123 ATF_REQUIRE_ERRNO(EFAULT, nanosleep((void *)-1, NULL) == -1); 129 atf_tc_set_md_var(tc, "descr", "Test signal for nanosleep(2)"); 139 * Test that a signal interrupts nanosleep(2). 159 if (nanosleep(&tsn, &tsr) != -1 [all...] |
| t_lwp_ctl.c | 61 ATF_REQUIRE(nanosleep(&ts, 0) != -1);
|
| /src/lib/libc/termios/ |
| tcsendbreak.c | 65 (void)nanosleep(&sleepytime, NULL);
|
| /src/lib/libcurses/ |
| pause.c | 56 (void)nanosleep(&ts, NULL);
|
| /src/external/apache2/llvm/dist/libcxx/include/__support/ibm/ |
| nanosleep.h | 15 inline int nanosleep(const struct timespec* __req, struct timespec* __rem) { function 16 // The nanosleep() function is not available on z/OS. Therefore, we will call
|
| /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/ |
| sleep.cc | 39 while (nanosleep(&sleep_time, &sleep_time) != 0 && errno == EINTR)
|
| /src/external/apache2/llvm/dist/llvm/utils/benchmark/src/ |
| sleep.cc | 39 while (nanosleep(&sleep_time, &sleep_time) != 0 && errno == EINTR)
|
| /src/external/gpl2/xcvs/dist/lib/ |
| timespec.h | 55 nanosleep with a conflicting one (const-less first parameter). */ 56 int nanosleep ();
|
| nanosleep.c | 1 /* Provide a replacement for the POSIX nanosleep function. 18 __RCSID("$NetBSD: nanosleep.c,v 1.2 2016/05/17 14:00:09 christos Exp $"); 27 /* Undefine nanosleep here so any prototype is not redefined to be a 29 #undef nanosleep macro
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/ |
| bp_in_thread.c | 67 nanosleep (&ts, NULL);
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/ |
| bp_in_thread.c | 67 nanosleep (&ts, NULL);
|
| /src/tests/lib/libc/gen/ |
| t_sleep.c | 100 if (nanosleep(delay, remain) == -1) 192 ATF_TC(nanosleep); variable 193 ATF_TC_HEAD(nanosleep, tc) 196 atf_tc_set_md_var(tc, "descr", "Test nanosleep(2) timing"); 200 ATF_TC_BODY(nanosleep, tc) 369 ATF_TP_ADD_TC(tp, nanosleep);
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/posix/ |
| time.d | 194 int nanosleep(const scope timespec*, timespec*); 230 int nanosleep(const scope timespec*, timespec*); 239 int nanosleep(const scope timespec*, timespec*); 269 int nanosleep(const scope timespec*, timespec*); 295 int nanosleep(const scope timespec*, timespec*); 319 int nanosleep(const scope timespec*, timespec*); 343 int nanosleep(const scope timespec*, timespec*); 367 int nanosleep(const scope timespec*, timespec*); 395 int nanosleep(const scope timespec*, timespec*); 425 int nanosleep(const scope timespec*, timespec*) [all...] |
| /src/external/bsd/libfido2/dist/regress/ |
| mock.c | 32 nanosleep(const struct timespec *rqtp, struct timespec *rmtp) function 87 if (nanosleep(&tv, NULL) == -1) 88 err(1, "nanosleep"); 121 if (nanosleep(&tv, NULL) == -1) 122 err(1, "nanosleep");
|
| /src/external/gpl3/gdb/dist/gnulib/import/ |
| time.in.h | 136 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/nanosleep.html>. */ 140 # define nanosleep rpl_nanosleep 142 _GL_FUNCDECL_RPL (nanosleep, int, 145 _GL_CXXALIAS_RPL (nanosleep, int, 149 _GL_FUNCDECL_SYS (nanosleep, int, 153 _GL_CXXALIAS_SYS (nanosleep, int, 156 _GL_CXXALIASWARN (nanosleep);
|
| /src/external/gpl3/gdb.old/dist/gnulib/import/ |
| time.in.h | 136 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/nanosleep.html>. */ 140 # define nanosleep rpl_nanosleep 142 _GL_FUNCDECL_RPL (nanosleep, int, 145 _GL_CXXALIAS_RPL (nanosleep, int, 149 _GL_FUNCDECL_SYS (nanosleep, int, 153 _GL_CXXALIAS_SYS (nanosleep, int, 156 _GL_CXXALIASWARN (nanosleep);
|
| /src/tests/fs/fifofs/ |
| t_fifo.c | 62 nanosleep(&ts, NULL); 151 nanosleep(&ts, NULL);
|
| /src/games/boggle/boggle/ |
| timer.c | 118 nanosleep(&duration, NULL);
|
| /src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/ |
| this_thread_sleep.h | 40 # include <time.h> // nanosleep 80 while (::nanosleep(&__ts, &__ts) == -1 && errno == EINTR)
|