Home
last modified time | relevance | path

Searched refs:clock_settime (Results 1 – 25 of 120) sorted by relevance

12345

/external/ltp/testcases/kernel/syscalls/clock_settime/
Dclock_settime01.c28 …{ .clock_gettime = libc_clock_gettime, .clock_settime = libc_clock_settime, .ts_type = TST_LIBC_TI…
31 …{ .clock_gettime = sys_clock_gettime, .clock_settime = sys_clock_settime, .ts_type = TST_KERN_OLD_…
35 …{ .clock_gettime = sys_clock_gettime64, .clock_settime = sys_clock_settime64, .ts_type = TST_KERN_…
64 TEST(tv->clock_settime(CLOCK_REALTIME, tst_ts_get(change))); in verify_clock_settime()
85 TEST(tv->clock_settime(CLOCK_REALTIME, tst_ts_get(change))); in verify_clock_settime()
Dclock_settime03.c23 …{ .clock_gettime = sys_clock_gettime, .clock_settime = sys_clock_settime, .timer_settime = sys_tim…
27 …{ .clock_gettime = sys_clock_gettime64, .clock_settime = sys_clock_settime64, .timer_settime = sys…
69 ret = tv->clock_settime(CLOCK_REALTIME, tst_ts_get(&start)); in run()
Dclock_settime02.c96 …{ .clock_gettime = sys_clock_gettime, .clock_settime = sys_clock_settime, .ts_type = TST_KERN_OLD_…
100 …{ .clock_gettime = sys_clock_gettime64, .clock_settime = sys_clock_settime64, .ts_type = TST_KERN_…
140 TEST(tv->clock_settime(tc[i].type, ts)); in verify_clock_settime()
/external/ltp/testcases/open_posix_testsuite/functional/timers/clocks/
Dtwopsetclock.c47 if (clock_settime(CLOCK_REALTIME, &tschild) != 0) { in main()
61 if (clock_settime(CLOCK_REALTIME, &tsparent) != 0) { in main()
84 if (clock_settime(CLOCK_REALTIME, &tsreset) != 0) { in main()
Dinvaliddates.c46 if (clock_settime(CLOCK_REALTIME, &tpset) == 0) { in main()
71 if (clock_settime(CLOCK_REALTIME, &tsreset) != 0) { in main()
77 if (clock_settime(CLOCK_REALTIME, &tsreset) != 0) { in main()
/external/musl/include/
Dtime.h105 int clock_settime (clockid_t, const struct timespec *);
152 __REDIR(clock_settime, __clock_settime64);
/external/rust/crates/nix/src/
Dtime.rs65 clock_settime(self, timespec) in set_time()
256 pub fn clock_settime(clock_id: ClockId, timespec: TimeSpec) -> Result<()> { in clock_settime() function
258 unsafe { libc::clock_settime(clock_id.as_raw(), timespec.as_ref()) }; in clock_settime()
/external/strace/tests/
Dclock_xettime.gen.test4 run_strace_match_diff -a36 -e trace=clock_getres,clock_gettime,clock_settime
/external/strace/tests-m32/
Dclock_xettime.gen.test4 run_strace_match_diff -a36 -e trace=clock_getres,clock_gettime,clock_settime
/external/strace/tests-mx32/
Dclock_xettime.gen.test4 run_strace_match_diff -a36 -e trace=clock_getres,clock_gettime,clock_settime
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
D15-1-buildonly.c21 dummyvar = clock_settime; in dummyfcn()
/external/musl/compat/time32/
Dclock_settime32.c6 return clock_settime(clk, (&(struct timespec){ in __clock_settime32()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/
Dhelpers.h27 if (clock_settime(CLOCK_REALTIME, &tpset) != 0) { in setBackTime()
D6-1.c26 if (clock_settime(CLOCK_MONOTONIC, &tpset) == -1) { in main()
D17-1.c34 if (clock_settime(BOGUSCLOCKID, &tpset) == -1) { in main()
D20-1.c32 if (clock_settime(CLOCK_MONOTONIC, &tpset) == -1) { in main()
D17-2.c55 if (clock_settime(invalid_tests[i], &tpset) == -1) { in main()
D19-1.c63 if (clock_settime(CLOCK_REALTIME, &tsset) == -1) { in main()
D1-1.c49 if (clock_settime(CLOCK_REALTIME, &tpset) == 0) { in main()
D8-1.c92 if (clock_settime(CLOCK_REALTIME, &tsT0) != 0) { in main()
D7-1.c93 if (clock_settime(CLOCK_REALTIME, &tsT0) != 0) { in main()
D7-2.c96 if (clock_settime(CLOCK_REALTIME, &tsT2) != 0) { in main()
/external/musl/src/linux/
Dsettimeofday.c11 return clock_settime(CLOCK_REALTIME, &((struct timespec){ in settimeofday()
/external/linux-kselftest/tools/testing/selftests/ptp/
Dtestptp.c331 if (clock_settime(clkid, &ts)) { in main()
340 if (clock_settime(CLOCK_REALTIME, &ts)) { in main()
350 if (clock_settime(clkid, &ts)) { in main()
/external/musl/src/time/
Dclock_settime.c7 int clock_settime(clockid_t clk, const struct timespec *ts) in clock_settime() function

12345