Lines Matching refs:millis
219 pub fn from_millis<T: Into<i64>>(millis: T) -> Instant { in from_millis()
221 micros: millis.into() * 1000, in from_millis()
226 pub const fn from_millis_const(millis: i64) -> Instant { in from_millis_const()
228 micros: millis * 1000, in from_millis_const()
247 pub const fn millis(&self) -> i64 { in millis() method
277 write!(f, "{}.{:0>3}s", self.secs(), self.millis()) in fmt()
331 pub const fn from_millis(millis: u64) -> Duration { in from_millis()
333 micros: millis * 1000, in from_millis()
345 pub const fn millis(&self) -> u64 { in millis() method
372 write!(f, "{}.{:03}s", self.secs(), self.millis()) in fmt()
488 smoltcp::time::Instant::from_millis(val.millis()) in from()
501 smoltcp::time::Duration::from_millis(val.millis()) in from()