Home
last modified time | relevance | path

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

1234

/third_party/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.c97 …{ .clock_gettime = sys_clock_gettime, .clock_settime = sys_clock_settime, .ts_type = TST_KERN_OLD_…
101 …{ .clock_gettime = sys_clock_gettime64, .clock_settime = sys_clock_settime64, .ts_type = TST_KERN_…
141 TEST(tv->clock_settime(tc[i].type, ts)); in verify_clock_settime()
/third_party/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()
/third_party/musl/libc-test/src/functionalext/thread/
Dpthread_mutex_ext.c167 clock_settime(CLOCK_REALTIME, &tsNow); in PthreadClocklockOutRealTime2()
172 clock_settime(CLOCK_REALTIME, &tsNow); in PthreadClocklockOutRealTime2()
224 clock_settime(CLOCK_REALTIME, &tsNow); in pthread_mutex_clocklock_0060()
231 clock_settime(CLOCK_REALTIME, &tsNow); in pthread_mutex_clocklock_0060()
/third_party/musl/ndk_musl_include/
Dtime.h103 int clock_settime (clockid_t, const struct timespec *);
148 __REDIR(clock_settime, __clock_settime64);
/third_party/musl/porting/liteos_m/user/include/
Dtime.h103 int clock_settime (clockid_t, const struct timespec *);
150 __REDIR(clock_settime, __clock_settime64);
/third_party/musl/porting/uniproton/kernel/include/
Dtime.h104 int clock_settime (clockid_t, const struct timespec *);
151 __REDIR(clock_settime, __clock_settime64);
/third_party/musl/porting/liteos_m/kernel/include/
Dtime.h104 int clock_settime (clockid_t, const struct timespec *);
151 __REDIR(clock_settime, __clock_settime64);
/third_party/musl/include/
Dtime.h105 int clock_settime (clockid_t, const struct timespec *);
152 __REDIR(clock_settime, __clock_settime64);
/third_party/musl/porting/liteos_a/kernel/include/
Dtime.h119 int clock_settime (clockid_t, const struct timespec *);
166 __REDIR(clock_settime, __clock_settime64);
/third_party/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()
/third_party/rust/crates/libc/libc-test/semver/
Dmacos.txt5 clock_settime
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
D15-1-buildonly.c21 dummyvar = clock_settime; in dummyfcn()
/third_party/musl/compat/time32/
Dclock_settime32.c6 return clock_settime(clk, (&(struct timespec){ in __clock_settime32()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/
D6-1.c26 if (clock_settime(CLOCK_MONOTONIC, &tpset) == -1) { in main()
Dhelpers.h27 if (clock_settime(CLOCK_REALTIME, &tpset) != 0) { in setBackTime()
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()
/third_party/musl/src/linux/
Dsettimeofday.c11 return clock_settime(CLOCK_REALTIME, &((struct timespec){ in settimeofday()
/third_party/musl/src/time/
Dclock_settime.c7 int clock_settime(clockid_t clk, const struct timespec *ts) in clock_settime() function
/third_party/musl/libc-test/src/functionalext/supplement/time/
Dclock_settime.c41 ret = clock_settime(CLOCK_REALTIME, &ts); in clock_settime_0100()

1234