/bionic/libc/arch-arm64/syscalls/ |
nanosleep.S | 5 ENTRY(nanosleep) function 14 END(nanosleep)
|
/bionic/libc/arch-arm/syscalls/ |
nanosleep.S | 5 ENTRY(nanosleep) function 16 END(nanosleep)
|
/bionic/libc/arch-mips/syscalls/ |
nanosleep.S | 5 ENTRY(nanosleep) function 19 END(nanosleep)
|
/bionic/libc/arch-x86_64/syscalls/ |
nanosleep.S | 5 ENTRY(nanosleep) function 15 END(nanosleep)
|
/external/strace/tests/ |
nanosleep.test | 3 # Check nanosleep syscall decoding. 9 syscalls=nanosleep,setitimer
|
restart_syscall.test | 3 # Check how "resuming interrupted nanosleep" works. 9 syscalls=nanosleep,restart_syscall
|
nanosleep.c | 56 if (nanosleep(&req.ts, NULL)) 58 printf("nanosleep({%jd, %jd}, NULL) = 0\n", 61 if (!nanosleep(NULL, &rem.ts)) 63 printf("nanosleep(NULL, %p) = -1 EFAULT (Bad address)\n", &rem.ts); 65 if (nanosleep(&req.ts, &rem.ts)) 67 printf("nanosleep({%jd, %jd}, %p) = 0\n", 71 if (!nanosleep(&req.ts, &rem.ts)) 73 printf("nanosleep({%jd, %jd}, %p) = -1 EINVAL (Invalid argument)\n", 91 if (!nanosleep(&req.ts, &rem.ts)) 93 printf("nanosleep({%jd, %jd}, {%jd, %jd}) [all...] |
count.test | 41 grep nanosleep "$LOG" > /dev/null || 42 framework_skip_ 'sleep does not use nanosleep' 51 grep_log ' *[^ ]+ +0\.0[^n]*nanosleep' -c sleep 1 52 grep_log ' *[^ ]+ +0\.0[^n]*nanosleep' -c -enanosleep sleep 1 53 grep_log ' *[^ ]+ +(1\.0|0\.99)[^n]*nanosleep' -cw sleep 1 54 grep_log '100\.00 +(1\.0|0\.99)[^n]*nanosleep' -cw -enanosleep sleep 1
|
.gitignore | 54 nanosleep
|
restart_syscall.c | 59 if (nanosleep(&req, &rem)) 62 printf("nanosleep\\(\\{%jd, %jd\\}, \\{%jd, %jd\\}\\)" 73 printf("(nanosleep\\((%s\\{%jd, %jd\\}), %p|restart_syscall\\(<\\.\\.\\." 74 " resuming interrupted nanosleep \\.\\.\\.>)\\) = 0\n",
|
/external/valgrind/drd/tests/ |
std_thread2.supp | 7 drd-libpthread-nanosleep 9 fun:nanosleep
|
annotate_ignore_write.c | 46 nanosleep(&delay, 0); 59 nanosleep(&delay, 0);
|
/bionic/libc/arch-mips64/syscalls/ |
nanosleep.S | 5 ENTRY(nanosleep) function 25 END(nanosleep)
|
/external/valgrind/memcheck/tests/ |
post-syscall.c | 10 due to being interrupted. nanosleep is used here, because it 29 ret = nanosleep(&req, &rem); 32 fprintf(stderr, "FAILED: expected nanosleep to be interrupted\n");
|
/bionic/libc/arch-x86/syscalls/ |
nanosleep.S | 5 ENTRY(nanosleep) function 34 END(nanosleep)
|
/external/ltrace/testsuite/ltrace.minor/ |
time-record-T.exp | 29 # Get the time of nanosleep in C source file. 62 # Verify the time for calling nanosleep. 66 # match the line with nanosleep and extract spent time and nanosleep argument. 67 if [ regexp {nanosleep.*<([0-9]+\.[0-9]+)>} $line match usec] then { 73 fail "Spent $usec inside call, but PUT call nanosleep($nanosleep_usec)!" 81 fail "Fail to find nanosleep"
|
time-record.c | 20 nanosleep (&request, NULL);
|
/external/webrtc/webrtc/system_wrappers/source/ |
sleep.cc | 18 // For nanosleep() 32 nanosleep(&short_wait, &remainder);
|
/external/jemalloc/test/src/ |
mq.c | 26 nanosleep(&timeout, NULL);
|
/external/toybox/toys/other/ |
usleep.c | 25 toys.exitval = !!nanosleep(&tv, NULL);
|
/external/fio/ |
time.c | 49 if (nanosleep(&req, NULL) < 0) 108 * Check the granularity of the nanosleep function 119 nanosleep(&ts, NULL);
|
/external/valgrind/helgrind/tests/ |
tc01_simple_race.c | 26 nanosleep(&delay, 0);
|
/cts/tests/tests/os/jni/seccomp-tests/ |
local-modifications-android-2.diff | 45 + /* The nanosleep jump target. */ 78 + /* Start nanosleep to be interrupted. */ 83 + EXPECT_EQ(0, nanosleep(&timeout, NULL)) { 84 + TH_LOG("Call to nanosleep() failed (errno %d)", errno); 93 + /* Wait for nanosleep() to start. */ 110 + /* Interrupt nanosleep with SIGSTOP (which we'll need to handle). */ 119 + /* Restart nanosleep with SIGCONT, which triggers restart_syscall. */
|
/external/tlsdate/ |
tlsdate-seccomp-x86.policy | 34 nanosleep: 1
|
/external/toybox/toys/posix/ |
sleep.c | 35 toys.exitval = !!nanosleep(&tv, NULL);
|