Home
last modified time | relevance | path

Searched refs:clock_getres (Results 1 – 25 of 100) sorted by relevance

1234

/third_party/musl/libc-test/src/functionalext/supplement/time/time_gtest/
Dsys_clock_test.cpp21 int result = clock_getres(CLOCK_REALTIME, &times);
36 int result = clock_getres(CLOCK_MONOTONIC, &times);
51 int result = clock_getres(CLOCK_PROCESS_CPUTIME_ID, &times);
64 int result = clock_getres(CLOCK_THREAD_CPUTIME_ID, &times);
75 int result = clock_getres(CLOCK_MONOTONIC_RAW, &times);
89 int result = clock_getres(CLOCK_REALTIME_COARSE, &times);
101 int result = clock_getres(CLOCK_MONOTONIC_COARSE, &times);
115 int result = clock_getres(CLOCK_BOOTTIME, &times);
130 int result = clock_getres(CLOCK_REALTIME_ALARM, &times);
145 int result = clock_getres(CLOCK_BOOTTIME_ALARM, &times);
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/time/
Dclock_getres.c29 int result = clock_getres(CLOCK_REALTIME, &ts); in clock_getres_0100()
41 int result = clock_getres(CLOCK_TAI, &ts); in clock_getres_0200()
53 int result = clock_getres(CLOCK_MONOTONIC, &ts); in clock_getres_0300()
65 int result = clock_getres(CLOCK_BOOTTIME, &ts); in clock_getres_0400()
77 int result = clock_getres(100, &ts); in clock_getres_0500()
/third_party/node/test/wasi/c/
Dclock_getres.c9 r = clock_getres(CLOCK_REALTIME, &ts); in main()
11 r = clock_getres(CLOCK_MONOTONIC, &ts); in main()
13 r = clock_getres(CLOCK_PROCESS_CPUTIME_ID, &ts); in main()
15 r = clock_getres(CLOCK_THREAD_CPUTIME_ID, &ts); in main()
/third_party/rust/crates/rustix/src/time/
Dclock.rs20 pub fn clock_getres(id: ClockId) -> Timespec { in clock_getres() function
21 backend::time::syscalls::clock_getres(id) in clock_getres()
Dmod.rs11 pub use clock::clock_getres;
/third_party/musl/porting/liteos_m/kernel/include/
Dtime.h102 int clock_getres (clockid_t, struct timespec *);
149 __REDIR(clock_getres, __clock_getres_time64);
/third_party/musl/porting/liteos_m/user/include/
Dtime.h101 int clock_getres (clockid_t, struct timespec *);
148 __REDIR(clock_getres, __clock_getres_time64);
/third_party/musl/porting/uniproton/kernel/include/
Dtime.h102 int clock_getres (clockid_t, struct timespec *);
149 __REDIR(clock_getres, __clock_getres_time64);
/third_party/musl/ndk_musl_include/
Dtime.h101 int clock_getres (clockid_t, struct timespec *);
146 __REDIR(clock_getres, __clock_getres_time64);
/third_party/musl/include/
Dtime.h103 int clock_getres (clockid_t, struct timespec *);
150 __REDIR(clock_getres, __clock_getres_time64);
/third_party/musl/porting/liteos_a/kernel/include/
Dtime.h117 int clock_getres (clockid_t, struct timespec *);
164 __REDIR(clock_getres, __clock_getres_time64);
/third_party/rust/crates/nix/src/
Dtime.rs48 clock_getres(self) in res()
227 pub fn clock_getres(clock_id: ClockId) -> Result<TimeSpec> { in clock_getres() function
230 unsafe { libc::clock_getres(clock_id.as_raw(), c_time.as_mut_ptr()) }; in clock_getres()
/third_party/pulseaudio/src/pulsecore/
Dcore-rtclock.c134 if (clock_getres(CLOCK_MONOTONIC, &ts) >= 0) in pa_rtclock_hrtimer()
139 pa_assert_se(clock_getres(CLOCK_REALTIME, &ts) == 0); in pa_rtclock_hrtimer()
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
D12-1-buildonly.c21 dummyvar = clock_getres; in dummyfcn()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getres/
D5-1.c20 if (clock_getres(INVALIDCLOCKID, &res) == -1) { in main()
D6-1.c22 if (clock_getres(INVALIDCLOCKID, &res) == -1) { in main()
Dcoverage.txt1 This document defines the coverage for testing the clock_getres() function.
D1-1.c26 if (clock_getres(CLOCK_REALTIME, &res) == 0) { in main()
D3-1.c28 if (clock_getres(CLOCK_MONOTONIC, &res) == 0) { in main()
D6-2.c43 if (clock_getres(invalid_tests[i], &res) == -1) { in main()
D8-1.c33 if (clock_getres(CLOCK_THREAD_CPUTIME_ID, &res) == 0) { in main()
D7-1.c33 if (clock_getres(CLOCK_PROCESS_CPUTIME_ID, &res) == 0) { in main()
/third_party/musl/compat/time32/
Dclock_getres_time32.c7 int r = clock_getres(clk, &ts); in __clock_getres_time32()
/third_party/musl/src/time/
Dclock_getres.c4 int clock_getres(clockid_t clk, struct timespec *ts) in clock_getres() function
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_condattr_setclock/
D1-2.c35 rc = clock_getres(CLOCK_MONOTONIC, &ts); in main()

1234