/third_party/musl/libc-test/src/functionalext/supplement/time/time_gtest/ |
D | sys_clock_test.cpp | 21 int result = clock_getres(CLOCK_REALTIME, ×); 36 int result = clock_getres(CLOCK_MONOTONIC, ×); 51 int result = clock_getres(CLOCK_PROCESS_CPUTIME_ID, ×); 64 int result = clock_getres(CLOCK_THREAD_CPUTIME_ID, ×); 75 int result = clock_getres(CLOCK_MONOTONIC_RAW, ×); 89 int result = clock_getres(CLOCK_REALTIME_COARSE, ×); 101 int result = clock_getres(CLOCK_MONOTONIC_COARSE, ×); 115 int result = clock_getres(CLOCK_BOOTTIME, ×); 130 int result = clock_getres(CLOCK_REALTIME_ALARM, ×); 145 int result = clock_getres(CLOCK_BOOTTIME_ALARM, ×); [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/time/ |
D | clock_getres.c | 29 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/ |
D | clock_getres.c | 9 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/ |
D | clock.rs | 20 pub fn clock_getres(id: ClockId) -> Timespec { in clock_getres() function 21 backend::time::syscalls::clock_getres(id) in clock_getres()
|
D | mod.rs | 11 pub use clock::clock_getres;
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | time.h | 102 int clock_getres (clockid_t, struct timespec *); 149 __REDIR(clock_getres, __clock_getres_time64);
|
/third_party/musl/porting/liteos_m/user/include/ |
D | time.h | 101 int clock_getres (clockid_t, struct timespec *); 148 __REDIR(clock_getres, __clock_getres_time64);
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | time.h | 102 int clock_getres (clockid_t, struct timespec *); 149 __REDIR(clock_getres, __clock_getres_time64);
|
/third_party/musl/ndk_musl_include/ |
D | time.h | 101 int clock_getres (clockid_t, struct timespec *); 146 __REDIR(clock_getres, __clock_getres_time64);
|
/third_party/musl/include/ |
D | time.h | 103 int clock_getres (clockid_t, struct timespec *); 150 __REDIR(clock_getres, __clock_getres_time64);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
D | time.h | 117 int clock_getres (clockid_t, struct timespec *); 164 __REDIR(clock_getres, __clock_getres_time64);
|
/third_party/rust/crates/nix/src/ |
D | time.rs | 48 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/ |
D | core-rtclock.c | 134 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/ |
D | 12-1-buildonly.c | 21 dummyvar = clock_getres; in dummyfcn()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getres/ |
D | 5-1.c | 20 if (clock_getres(INVALIDCLOCKID, &res) == -1) { in main()
|
D | 6-1.c | 22 if (clock_getres(INVALIDCLOCKID, &res) == -1) { in main()
|
D | coverage.txt | 1 This document defines the coverage for testing the clock_getres() function.
|
D | 1-1.c | 26 if (clock_getres(CLOCK_REALTIME, &res) == 0) { in main()
|
D | 3-1.c | 28 if (clock_getres(CLOCK_MONOTONIC, &res) == 0) { in main()
|
D | 6-2.c | 43 if (clock_getres(invalid_tests[i], &res) == -1) { in main()
|
D | 8-1.c | 33 if (clock_getres(CLOCK_THREAD_CPUTIME_ID, &res) == 0) { in main()
|
D | 7-1.c | 33 if (clock_getres(CLOCK_PROCESS_CPUTIME_ID, &res) == 0) { in main()
|
/third_party/musl/compat/time32/ |
D | clock_getres_time32.c | 7 int r = clock_getres(clk, &ts); in __clock_getres_time32()
|
/third_party/musl/src/time/ |
D | clock_getres.c | 4 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/ |
D | 1-2.c | 35 rc = clock_getres(CLOCK_MONOTONIC, &ts); in main()
|