Searched refs:div_mod_floor_64 (Results 1 – 2 of 2) sorted by relevance
/external/rust/crates/nix/src/sys/ |
D | time.rs | 153 let (secs, nanos) = div_mod_floor_64(nanoseconds, NANOS_PER_SEC); in nanoseconds() 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() 489 fn div_mod_floor_64(this: i64, other: i64) -> (i64, i64) { in div_mod_floor_64() function
|
/external/rust/crates/chrono/src/ |
D | oldtime.rs | 119 let (secs, millis) = div_mod_floor_64(milliseconds, MILLIS_PER_SEC); in milliseconds() 127 let (secs, micros) = div_mod_floor_64(microseconds, MICROS_PER_SEC); in microseconds() 135 let (secs, nanos) = div_mod_floor_64(nanos, NANOS_PER_SEC as i64); in nanoseconds() 349 let (extra_secs, nanos) = div_mod_floor_64(total_nanos, NANOS_PER_SEC as i64); in mul() 431 fn div_mod_floor_64(this: i64, other: i64) -> (i64, i64) { in div_mod_floor_64() function
|