/third_party/rust/crates/rustix/src/backend/linux_raw/time/ |
D | syscalls.rs | 19 use crate::time::{Itimerspec, TimerfdClockId, TimerfdFlags, TimerfdTimerFlags}; 79 new_value: &Itimerspec, in timerfd_settime() argument 80 ) -> io::Result<Itimerspec> { in timerfd_settime() argument 81 let mut result = MaybeUninit::<Itimerspec>::uninit(); in timerfd_settime() 122 new_value: &Itimerspec, in timerfd_settime_old() argument 123 result: &mut MaybeUninit<Itimerspec>, in timerfd_settime_old() argument 165 Itimerspec { in timerfd_settime_old() 181 pub(crate) fn timerfd_gettime(fd: BorrowedFd<'_>) -> io::Result<Itimerspec> { in timerfd_gettime() argument 182 let mut result = MaybeUninit::<Itimerspec>::uninit(); in timerfd_gettime() 209 result: &mut MaybeUninit<Itimerspec>, in timerfd_gettime_old() argument [all …]
|
D | types.rs | 19 pub type Itimerspec = linux_raw_sys::general::__kernel_itimerspec; typedef
|
/third_party/rust/crates/rustix/tests/time/ |
D | y2038.rs | 28 use rustix::time::Itimerspec; in test_y2038() 30 let _ = Itimerspec { in test_y2038() 41 timerfd_create, timerfd_gettime, timerfd_settime, Itimerspec, TimerfdClockId, TimerfdFlags, in test_y2038_with_timerfd() 47 let set = Itimerspec { in test_y2038_with_timerfd() 57 let _old: Itimerspec = match timerfd_settime(&fd, TimerfdTimerFlags::ABSTIME, &set) { in test_y2038_with_timerfd()
|
D | timerfd.rs | 2 timerfd_create, timerfd_gettime, timerfd_settime, Itimerspec, TimerfdClockId, TimerfdFlags, 10 let set = Itimerspec { in test_timerfd() 20 let _old: Itimerspec = timerfd_settime(&fd, TimerfdTimerFlags::ABSTIME, &set).unwrap(); in test_timerfd() 44 let set = Itimerspec { in test_timerfd_with_interval() 54 let _old: Itimerspec = timerfd_settime(&fd, TimerfdTimerFlags::ABSTIME, &set).unwrap(); in test_timerfd_with_interval()
|
/third_party/rust/crates/rustix/src/time/ |
D | timerfd.rs | 4 pub use backend::time::types::{Itimerspec, TimerfdClockId, TimerfdFlags, TimerfdTimerFlags}; 27 new_value: &Itimerspec, in timerfd_settime() argument 28 ) -> io::Result<Itimerspec> { in timerfd_settime() argument 39 pub fn timerfd_gettime<Fd: AsFd>(fd: Fd) -> io::Result<Itimerspec> { in timerfd_gettime() argument
|
D | mod.rs | 18 timerfd_create, timerfd_gettime, timerfd_settime, Itimerspec, TimerfdClockId, TimerfdFlags,
|
/third_party/rust/crates/rustix/src/backend/libc/time/ |
D | syscalls.rs | 19 crate::time::{Itimerspec, TimerfdClockId, TimerfdFlags, TimerfdTimerFlags}, 246 new_value: &Itimerspec, in timerfd_settime() argument 247 ) -> io::Result<Itimerspec> { in timerfd_settime() argument 292 new_value: &Itimerspec, in timerfd_settime_old() argument 293 ) -> io::Result<Itimerspec> { in timerfd_settime_old() argument 334 Ok(Itimerspec { in timerfd_settime_old() 356 pub(crate) fn timerfd_gettime(fd: BorrowedFd<'_>) -> io::Result<Itimerspec> { in timerfd_gettime() argument 388 unsafe fn timerfd_gettime_old(fd: BorrowedFd<'_>) -> io::Result<Itimerspec> { in timerfd_gettime_old() argument 396 Ok(Itimerspec { in timerfd_gettime_old()
|
D | types.rs | 226 pub type Itimerspec = c::itimerspec; typedef 237 pub struct Itimerspec { struct 248 pub(crate) type LibcItimerspec = Itimerspec; 269 impl From<LibcItimerspec> for Itimerspec { implementation 284 impl From<Itimerspec> for LibcItimerspec { 286 fn from(t: Itimerspec) -> Self { in from()
|