/external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/ |
6-1-buildonly.c | 9 Test that CLOCK_REALTIME is defined 14 #ifndef CLOCK_REALTIME 15 #error CLOCK_REALTIME not defined
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/ |
helpers.h | 17 if (clock_gettime(CLOCK_REALTIME, tpget) != 0) { 27 if (clock_settime(CLOCK_REALTIME, &tpset) != 0) {
|
1-1.c | 10 * The clock_id chosen for this test is CLOCK_REALTIME. 34 /* Check that we're root...can't call clock_settime with CLOCK_REALTIME otherwise */ 39 if (clock_getres(CLOCK_REALTIME, &tpres) != 0) { 49 if (clock_settime(CLOCK_REALTIME, &tpset) == 0) { 50 if (clock_gettime(CLOCK_REALTIME, &tpget) == -1) {
|
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
clock_gettime.c | 9 clock_gettime(CLOCK_REALTIME, &ts);
|
/external/autotest/client/site_tests/security_AltSyscall/src/ |
clock_adjtime.c | 20 ret = clock_adjtime(CLOCK_REALTIME, &buf); 25 ret = clock_adjtime(CLOCK_REALTIME, NULL); 34 ret = clock_adjtime(CLOCK_REALTIME, &buf);
|
/external/ltp/testcases/kernel/syscalls/futex/ |
futex_wait_bitset02.c | 40 tst_timer_check(CLOCK_REALTIME); 45 verify_futex_wait_bitset(DEFAULT_TIMEOUT_US, CLOCK_REALTIME);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_nanosleep/ |
1-1.c | 23 if (clock_gettime(CLOCK_REALTIME, &tsbefore) != 0) { 30 if (clock_nanosleep(CLOCK_REALTIME, 0, &tssleep, NULL) != 0) { 35 if (clock_gettime(CLOCK_REALTIME, &tsafter) == -1) {
|
2-1.c | 29 if (clock_gettime(CLOCK_REALTIME, &tsbefore) != 0) { 39 if (clock_nanosleep(CLOCK_REALTIME, flags, &tssleep, NULL) != 0) { 44 if (clock_gettime(CLOCK_REALTIME, &tsafter) == -1) {
|
1-4.c | 25 if (clock_gettime(CLOCK_REALTIME, &tsbefore) != 0) { 34 clock_nanosleep(CLOCK_REALTIME, 0, &tssleep, NULL); 50 if (clock_gettime(CLOCK_REALTIME, &tsafter) != 0) {
|
2-3.c | 27 if (clock_gettime(CLOCK_REALTIME, &tsbefore) != 0) { 42 clock_nanosleep(CLOCK_REALTIME, flags, &tssleep, NULL); 58 if (clock_gettime(CLOCK_REALTIME, &tsafter) != 0) {
|
3-1.c | 30 if (clock_gettime(CLOCK_REALTIME, &tsbefore) != 0) { 40 if (clock_nanosleep(CLOCK_REALTIME, flags, &tssleep, NULL) != 0) { 45 if (clock_gettime(CLOCK_REALTIME, &tsafter) == -1) {
|
/external/ltp/testcases/open_posix_testsuite/functional/timers/clocks/ |
twopsetclock.c | 16 * The clock_id chosen for this test is CLOCK_REALTIME. 36 if (clock_gettime(CLOCK_REALTIME, &tsreset) != 0) { 47 if (clock_settime(CLOCK_REALTIME, &tschild) != 0) { 50 if (clock_gettime(CLOCK_REALTIME, &tpget) == -1) { 61 if (clock_settime(CLOCK_REALTIME, &tsparent) != 0) { 73 if (clock_gettime(CLOCK_REALTIME, &tpget) == -1) { 84 if (clock_settime(CLOCK_REALTIME, &tsreset) != 0) {
|
invaliddates.c | 11 * Test for CLOCK_REALTIME. (N/A for CLOCK_MONOTONIC as that clock 40 if (clock_gettime(CLOCK_REALTIME, &tsreset) != 0) { 51 if (clock_settime(CLOCK_REALTIME, &tpset) == 0) { 52 if (clock_gettime(CLOCK_REALTIME, &tpget) == -1) { 79 if (clock_settime(CLOCK_REALTIME, &tsreset) != 0) { 85 if (clock_settime(CLOCK_REALTIME, &tsreset) != 0) {
|
/external/ltp/testcases/kernel/timers/clock_settime/ |
clock_settime02.c | 98 TEST(ltp_syscall(__NR_clock_settime, CLOCK_REALTIME, &spec)); 115 if (ltp_syscall(__NR_clock_gettime, CLOCK_REALTIME, &saved) < 0) 124 if (clock_settime(CLOCK_REALTIME, &saved) < 0) {
|
clock_settime03.c | 33 CLOCK_REALTIME, 37 CLOCK_REALTIME, 38 CLOCK_REALTIME, 39 CLOCK_REALTIME, 100 CLOCK_REALTIME, 162 if (ltp_syscall(__NR_clock_gettime, CLOCK_REALTIME, &saved) < 0)
|
/external/strace/xlat/ |
clocknames.h | 2 #if !(defined(CLOCK_REALTIME) || (defined(HAVE_DECL_CLOCK_REALTIME) && HAVE_DECL_CLOCK_REALTIME)) 3 # define CLOCK_REALTIME 0 42 XLAT(CLOCK_REALTIME),
|
/bionic/libc/kernel/uapi/linux/ |
time.h | 48 #define CLOCK_REALTIME 0 61 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
|
/bionic/tests/ |
sys_timex_test.cpp | 40 ASSERT_NE(-1, clock_adjtime(CLOCK_REALTIME, &t)); 45 ASSERT_EQ(-1, clock_adjtime(CLOCK_REALTIME, nullptr));
|
/external/kernel-headers/original/uapi/linux/ |
time.h | 48 #define CLOCK_REALTIME 0 66 #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC)
|
/external/ltp/testcases/kernel/timers/include/ |
common_timers.h | 18 CLOCK_REALTIME, 44 CLOCK_TO_STR(CLOCK_REALTIME);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/ |
1-1.c | 21 if (clock_gettime(CLOCK_REALTIME, &tsbefore) == -1) { 33 if (clock_gettime(CLOCK_REALTIME, &tsafter) == -1) {
|
/external/vboot_reference/tests/ |
timer_utils.c | 9 clock_gettime(CLOCK_REALTIME, &ct->start_time); 13 clock_gettime(CLOCK_REALTIME, &ct->end_time);
|
/external/linux-kselftest/android/include/sys/ |
timeb.h | 17 int err = clock_gettime(CLOCK_REALTIME, &ts);
|
/external/ltp/android/include/sys/ |
timeb.h | 17 int err = clock_gettime(CLOCK_REALTIME, &ts);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getres/ |
1-1.c | 10 * The clock chosen for this test is CLOCK_REALTIME. 26 if (clock_getres(CLOCK_REALTIME, &res) == 0) {
|