Lines Matching defs:i64
34 pub const NSEC_PER_USEC: i64 = bindings::NSEC_PER_USEC as i64;
37 pub const NSEC_PER_MSEC: i64 = bindings::NSEC_PER_MSEC as i64;
40 pub const NSEC_PER_SEC: i64 = bindings::NSEC_PER_SEC as i64;
201 pub(crate) fn as_nanos(&self) -> i64 {
283 /// The value can represent any valid i64 value, including negative, zero, and
287 nanos: i64,
326 impl ops::Mul<i64> for Delta {
330 fn mul(self, rhs: i64) -> Self::Output {
337 impl ops::MulAssign<i64> for Delta {
339 fn mul_assign(&mut self, rhs: i64) {
345 type Output = i64;
369 /// If `micros` is outside this range, `i64::MIN` is used for negative values,
370 /// and `i64::MAX` is used for positive values due to saturation.
372 pub const fn from_micros(micros: i64) -> Self {
381 /// If `millis` is outside this range, `i64::MIN` is used for negative values,
382 /// and `i64::MAX` is used for positive values due to saturation.
384 pub const fn from_millis(millis: i64) -> Self {
393 /// If `secs` is outside this range, `i64::MIN` is used for negative values,
394 /// and `i64::MAX` is used for positive values due to saturation.
396 pub const fn from_secs(secs: i64) -> Self {
416 pub const fn as_nanos(self) -> i64 {
423 pub fn as_micros_ceil(self) -> i64 {
438 pub fn as_millis(self) -> i64 {
460 nanos: self.as_nanos() % i64::from(dividend),
472 nanos: i64::from(rem),