Lines Matching refs:time_t
3 pub use libc::{suseconds_t, time_t};
268 ts.tv_sec = seconds as time_t;
302 ts.tv_sec = secs as time_t;
337 pub const fn new(seconds: time_t, nanoseconds: timespec_tv_nsec_t) -> Self {
353 pub const fn tv_sec(&self) -> time_t {
365 ts.tv_sec = duration.as_secs() as time_t;
506 tv_sec: seconds as time_t,
531 tv_sec: secs as time_t,
549 tv_sec: secs as time_t,
584 pub const fn new(seconds: time_t, microseconds: suseconds_t) -> Self {
600 pub const fn tv_sec(&self) -> time_t {