Home
last modified time | relevance | path

Searched defs:Timespec (Results 1 – 7 of 7) sorted by relevance

/third_party/rust/crates/rustix/src/time/
Dclock.rs20 pub fn clock_getres(id: ClockId) -> Timespec { in clock_getres()
40 pub fn clock_gettime(id: ClockId) -> Timespec { in clock_gettime()
54 pub fn clock_gettime_dynamic(id: DynamicClockId<'_>) -> io::Result<Timespec> { in clock_gettime_dynamic()
/third_party/rust/crates/rustix/src/backend/libc/time/
Dsyscalls.rs48 pub(crate) fn clock_getres(id: ClockId) -> Timespec { in clock_getres()
82 unsafe fn clock_getres_old(id: ClockId) -> Timespec { in clock_getres_old()
99 pub(crate) fn clock_gettime(id: ClockId) -> Timespec { in clock_gettime()
138 unsafe fn clock_gettime_old(id: ClockId) -> Timespec { in clock_gettime_old()
154 pub(crate) fn clock_gettime_dynamic(id: DynamicClockId<'_>) -> io::Result<Timespec> { in clock_gettime_dynamic()
220 unsafe fn clock_gettime_dynamic_old(id: c::clockid_t) -> io::Result<Timespec> { in clock_gettime_dynamic_old()
Dtypes.rs12 pub type Timespec = c::timespec; typedef
21 pub struct Timespec { struct
29 /// A type for the `tv_sec` field of [`Timespec`]. argument
84 impl From<LibcTimespec> for Timespec { implementation
/third_party/rust/crates/rustix/src/backend/linux_raw/
Dvdso_wrappers.rs46 pub(crate) fn clock_gettime_dynamic(which_clock: DynamicClockId<'_>) -> io::Result<Timespec> { in clock_gettime_dynamic()
243 res: *mut Timespec, in rustix_clock_gettime_via_syscall()
254 res: *mut Timespec, in _rustix_clock_gettime_via_syscall()
266 res: *mut Timespec, in _rustix_clock_gettime_via_syscall_old()
291 res: *mut Timespec, in _rustix_clock_gettime_via_syscall()
/third_party/rust/crates/rustix/src/thread/
Dfutex.rs33 utime: *const Timespec, in futex()
/third_party/rust/crates/rustix/src/backend/linux_raw/thread/
Dsyscalls.rs224 utime: *const Timespec, in futex()
267 utime: *const Timespec, in futex_old()
/third_party/rust/crates/rustix/src/backend/linux_raw/time/
Dtypes.rs6 pub type Timespec = linux_raw_sys::general::__kernel_timespec; typedef