Home
last modified time | relevance | path

Searched refs:MICROS_PER_SEC (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/nix/src/sys/
Dtime.rs285 const MICROS_PER_SEC: i64 = 1_000_000; constant
288 const TV_MAX_SECONDS: i64 = (::std::i64::MAX / MICROS_PER_SEC) - 1;
345 let (secs, micros) = div_mod_floor_64(microseconds, MICROS_PER_SEC); in microseconds()
358 let (secs, micros) = div_mod_floor_64(microseconds, MICROS_PER_SEC); in nanoseconds()
392 self.tv_usec() - MICROS_PER_SEC as suseconds_t in micros_mod_sec()
/external/rust/crates/chrono/src/
Doldtime.rs26 const MICROS_PER_SEC: i64 = 1000_000; constant
127 let (secs, micros) = div_mod_floor_64(microseconds, MICROS_PER_SEC); in microseconds()
195 let secs_part = try_opt!(self.num_seconds().checked_mul(MICROS_PER_SEC)); in num_microseconds()