/external/ltp/testcases/open_posix_testsuite/functional/timers/clocks/ |
D | twopsetclock.c | 36 if (clock_gettime(CLOCK_REALTIME, &tsreset) != 0) { in main() 47 if (clock_settime(CLOCK_REALTIME, &tschild) != 0) { in main() 50 if (clock_gettime(CLOCK_REALTIME, &tpget) == -1) { in main() 61 if (clock_settime(CLOCK_REALTIME, &tsparent) != 0) { in main() 73 if (clock_gettime(CLOCK_REALTIME, &tpget) == -1) { in main() 84 if (clock_settime(CLOCK_REALTIME, &tsreset) != 0) { in main()
|
D | invaliddates.c | 40 if (clock_gettime(CLOCK_REALTIME, &tsreset) != 0) { in main() 51 if (clock_settime(CLOCK_REALTIME, &tpset) == 0) { in main() 52 if (clock_gettime(CLOCK_REALTIME, &tpget) == -1) { in main() 79 if (clock_settime(CLOCK_REALTIME, &tsreset) != 0) { in main() 85 if (clock_settime(CLOCK_REALTIME, &tsreset) != 0) { in main()
|
/external/ltp/testcases/kernel/timers/leapsec/ |
D | leapsec_timer.c | 127 clock_gettime(CLOCK_REALTIME, &now); in test_hrtimer_early_expiration() 133 r = clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, &target, NULL); in test_hrtimer_early_expiration() 139 clock_gettime(CLOCK_REALTIME, &now); in test_hrtimer_early_expiration() 153 clock_gettime(CLOCK_REALTIME, &now); in run_leapsec() 167 if (clock_settime(CLOCK_REALTIME, &now) < 0) in run_leapsec() 190 clock_gettime(CLOCK_REALTIME, &now); in run_leapsec() 197 if (clock_settime(CLOCK_REALTIME, &start) < 0) in run_leapsec() 213 clock_gettime(CLOCK_REALTIME, &now); in cleanup() 216 clock_settime(CLOCK_REALTIME, &now); in cleanup()
|
/external/ltp/testcases/kernel/timers/clock_settime/ |
D | clock_settime03.c | 32 CLOCK_REALTIME, 36 CLOCK_REALTIME, 37 CLOCK_REALTIME, 38 CLOCK_REALTIME, 103 CLOCK_REALTIME, in main() 165 if (ltp_syscall(__NR_clock_gettime, CLOCK_REALTIME, &saved) < 0) in setup()
|
D | clock_settime02.c | 98 TEST(ltp_syscall(__NR_clock_settime, CLOCK_REALTIME, &spec)); in main() 115 if (ltp_syscall(__NR_clock_gettime, CLOCK_REALTIME, &saved) < 0) in setup() 124 if (clock_settime(CLOCK_REALTIME, &saved) < 0) { in cleanup()
|
/external/strace/tests/ |
D | clock_nanosleep.c | 66 if (syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, &req.ts, NULL)) in main() 73 assert(syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, in main() 78 assert(syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, in main() 95 assert(syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, in main() 119 assert(syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, in main() 130 assert(syscall(__NR_clock_gettime, CLOCK_REALTIME, &req.ts) == 0); in main() 138 assert(syscall(__NR_clock_nanosleep, CLOCK_REALTIME, TIMER_ABSTIME, in main()
|
D | timer_create.c | 44 syscall(__NR_timer_create, CLOCK_REALTIME, NULL, NULL); in main() 55 syscall(__NR_timer_create, CLOCK_REALTIME, &sev, NULL); in main() 65 if (syscall(__NR_timer_create, CLOCK_REALTIME, &sev, &tid[0])) in main() 89 if (syscall(__NR_timer_create, CLOCK_REALTIME, &sev, &tid[2])) in main()
|
/external/strace/tests-m32/ |
D | clock_nanosleep.c | 66 if (syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, &req.ts, NULL)) in main() 73 assert(syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, in main() 78 assert(syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, in main() 95 assert(syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, in main() 119 assert(syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, in main() 130 assert(syscall(__NR_clock_gettime, CLOCK_REALTIME, &req.ts) == 0); in main() 138 assert(syscall(__NR_clock_nanosleep, CLOCK_REALTIME, TIMER_ABSTIME, in main()
|
D | timer_create.c | 44 syscall(__NR_timer_create, CLOCK_REALTIME, NULL, NULL); in main() 55 syscall(__NR_timer_create, CLOCK_REALTIME, &sev, NULL); in main() 65 if (syscall(__NR_timer_create, CLOCK_REALTIME, &sev, &tid[0])) in main() 89 if (syscall(__NR_timer_create, CLOCK_REALTIME, &sev, &tid[2])) in main()
|
/external/strace/tests-mx32/ |
D | clock_nanosleep.c | 66 if (syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, &req.ts, NULL)) in main() 73 assert(syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, in main() 78 assert(syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, in main() 95 assert(syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, in main() 119 assert(syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, in main() 130 assert(syscall(__NR_clock_gettime, CLOCK_REALTIME, &req.ts) == 0); in main() 138 assert(syscall(__NR_clock_nanosleep, CLOCK_REALTIME, TIMER_ABSTIME, in main()
|
D | timer_create.c | 44 syscall(__NR_timer_create, CLOCK_REALTIME, NULL, NULL); in main() 55 syscall(__NR_timer_create, CLOCK_REALTIME, &sev, NULL); in main() 65 if (syscall(__NR_timer_create, CLOCK_REALTIME, &sev, &tid[0])) in main() 89 if (syscall(__NR_timer_create, CLOCK_REALTIME, &sev, &tid[2])) in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_timedwait/ |
D | 10-1.c | 45 #ifdef CLOCK_REALTIME in main() 47 if (clock_gettime(CLOCK_REALTIME, &ts) != 0) { in main() 67 #ifdef CLOCK_REALTIME in main() 68 if (clock_gettime(CLOCK_REALTIME, &ts_2) != 0) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/ |
D | 8-1.c | 45 if (clock_gettime(CLOCK_REALTIME, &tsT0) != 0) { in main() 58 if (clock_nanosleep(CLOCK_REALTIME, 0, &tssleep, NULL) != 0) { in main() 63 if (clock_gettime(CLOCK_REALTIME, &tsend) != 0) { in main() 92 if (clock_settime(CLOCK_REALTIME, &tsT0) != 0) { in main()
|
D | 7-1.c | 47 if (clock_gettime(CLOCK_REALTIME, &tsT0) != 0) { in main() 61 if (clock_nanosleep(CLOCK_REALTIME, flags, &tsT1, NULL) != 0) { in main() 66 if (clock_gettime(CLOCK_REALTIME, &tsT2) != 0) { in main() 93 if (clock_settime(CLOCK_REALTIME, &tsT0) != 0) { in main()
|
D | 7-2.c | 46 if (clock_gettime(CLOCK_REALTIME, &tsT0) != 0) { in main() 63 if (clock_nanosleep(CLOCK_REALTIME, flags, &tsT1, NULL) != 0) { in main() 68 if (clock_gettime(CLOCK_REALTIME, &tsT3) != 0) { in main() 96 if (clock_settime(CLOCK_REALTIME, &tsT2) != 0) { in main()
|
D | 4-1.c | 80 if (clock_gettime(CLOCK_REALTIME, &tpT0) != 0) { in main() 85 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main() 102 if (clock_settime(CLOCK_REALTIME, &tpT0) != 0) { in main() 112 if (clock_gettime(CLOCK_REALTIME, &tpT2) != 0) { in main()
|
D | 1-1.c | 39 if (clock_getres(CLOCK_REALTIME, &tpres) != 0) { in main() 49 if (clock_settime(CLOCK_REALTIME, &tpset) == 0) { in main() 50 if (clock_gettime(CLOCK_REALTIME, &tpget) == -1) { in main()
|
/external/autotest/client/site_tests/security_AltSyscall/src/ |
D | clock_adjtime.c | 20 ret = clock_adjtime(CLOCK_REALTIME, &buf); in main() 25 ret = clock_adjtime(CLOCK_REALTIME, NULL); in main() 34 ret = clock_adjtime(CLOCK_REALTIME, &buf); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/ |
D | 6-1.c | 72 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main() 88 if (clock_gettime(CLOCK_REALTIME, &tsbefore) != 0) { in main() 103 if (clock_gettime(CLOCK_REALTIME, &tsafter) != 0) { in main() 129 if (clock_gettime(CLOCK_REALTIME, &tsafter) != 0) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/ |
D | 2-1.c | 118 #ifdef CLOCK_REALTIME in f1() 120 rc = clock_gettime(CLOCK_REALTIME, &ts); in f1() 144 #ifdef CLOCK_REALTIME in f1() 145 rc = clock_gettime(CLOCK_REALTIME, &ts); in f1()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_nanosleep/ |
D | 1-1.c | 23 if (clock_gettime(CLOCK_REALTIME, &tsbefore) != 0) { in main() 30 if (clock_nanosleep(CLOCK_REALTIME, 0, &tssleep, NULL) != 0) { in main() 35 if (clock_gettime(CLOCK_REALTIME, &tsafter) == -1) { in main()
|
D | 2-1.c | 29 if (clock_gettime(CLOCK_REALTIME, &tsbefore) != 0) { in main() 39 if (clock_nanosleep(CLOCK_REALTIME, flags, &tssleep, NULL) != 0) { in main() 44 if (clock_gettime(CLOCK_REALTIME, &tsafter) == -1) { in main()
|
D | 1-4.c | 25 if (clock_gettime(CLOCK_REALTIME, &tsbefore) != 0) { in main() 34 clock_nanosleep(CLOCK_REALTIME, 0, &tssleep, NULL); in main() 50 if (clock_gettime(CLOCK_REALTIME, &tsafter) != 0) { in main()
|
D | 3-1.c | 30 if (clock_gettime(CLOCK_REALTIME, &tsbefore) != 0) { in main() 40 if (clock_nanosleep(CLOCK_REALTIME, flags, &tssleep, NULL) != 0) { in main() 45 if (clock_gettime(CLOCK_REALTIME, &tsafter) == -1) { in main()
|
D | 2-3.c | 27 if (clock_gettime(CLOCK_REALTIME, &tsbefore) != 0) { in main() 42 clock_nanosleep(CLOCK_REALTIME, flags, &tssleep, NULL); in main() 58 if (clock_gettime(CLOCK_REALTIME, &tsafter) != 0) { in main()
|