/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/time-0.1.43/src/ |
H A D | duration.rs | 46 secs: i64, field 68 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 77 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 86 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours out of bounds"); in hours() localVariable 213 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 227 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 313 let mut secs = self.secs + rhs.secs; in add() localVariable 327 let mut secs = self.secs - rhs.secs; in sub() localVariable 344 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 353 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/chrono-0.4.19/src/ |
H A D | oldtime.rs | 51 secs: i64, field 73 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 82 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 91 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours ouf of bounds"); in hours() localVariable 210 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 228 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 319 let mut secs = self.secs + rhs.secs; in add() localVariable 333 let mut secs = self.secs - rhs.secs; in sub() localVariable 350 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 359 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/misc/broot/broot-1.7.0/cargo-crates/chrono-0.4.19/src/ |
H A D | oldtime.rs | 51 secs: i64, field 73 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 82 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 91 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours ouf of bounds"); in hours() localVariable 210 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 228 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 319 let mut secs = self.secs + rhs.secs; in add() localVariable 333 let mut secs = self.secs - rhs.secs; in sub() localVariable 350 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 359 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/misc/broot/broot-1.7.0/cargo-crates/time-0.1.43/src/ |
H A D | duration.rs | 46 secs: i64, field 68 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 77 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 86 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours out of bounds"); in hours() localVariable 213 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 227 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 313 let mut secs = self.secs + rhs.secs; in add() localVariable 327 let mut secs = self.secs - rhs.secs; in sub() localVariable 344 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 353 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/net/gemserv/gemserv-v0.4.5/cargo-crates/time-0.1.44/src/ |
H A D | duration.rs | 46 secs: i64, field 68 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 77 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 86 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours out of bounds"); in hours() localVariable 213 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 227 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 313 let mut secs = self.secs + rhs.secs; in add() localVariable 327 let mut secs = self.secs - rhs.secs; in sub() localVariable 344 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 353 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/time-0.1.43/src/ |
H A D | duration.rs | 46 secs: i64, field 68 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 77 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 86 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours out of bounds"); in hours() localVariable 213 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 227 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 313 let mut secs = self.secs + rhs.secs; in add() localVariable 327 let mut secs = self.secs - rhs.secs; in sub() localVariable 344 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 353 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/cargo-crates/time-0.1.44/src/ |
H A D | duration.rs | 46 secs: i64, field 68 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 77 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 86 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours out of bounds"); in hours() localVariable 213 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 227 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 313 let mut secs = self.secs + rhs.secs; in add() localVariable 327 let mut secs = self.secs - rhs.secs; in sub() localVariable 344 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 353 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/devel/sccache/sccache-0.2.15/cargo-crates/chrono-0.4.19/src/ |
H A D | oldtime.rs | 51 secs: i64, field 73 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 82 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 91 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours ouf of bounds"); in hours() localVariable 210 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 228 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 319 let mut secs = self.secs + rhs.secs; in add() localVariable 333 let mut secs = self.secs - rhs.secs; in sub() localVariable 350 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 359 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/net/gemserv/gemserv-v0.4.5/cargo-crates/chrono-0.4.19/src/ |
H A D | oldtime.rs | 51 secs: i64, field 73 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 82 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 91 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours ouf of bounds"); in hours() localVariable 210 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 228 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 319 let mut secs = self.secs + rhs.secs; in add() localVariable 333 let mut secs = self.secs - rhs.secs; in sub() localVariable 350 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 359 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/cargo-crates/chrono-0.4.15/src/ |
H A D | oldtime.rs | 51 secs: i64, field 73 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 82 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 91 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours ouf of bounds"); in hours() localVariable 210 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 228 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 319 let mut secs = self.secs + rhs.secs; in add() localVariable 333 let mut secs = self.secs - rhs.secs; in sub() localVariable 350 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 359 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/chrono-0.4.19/src/ |
H A D | oldtime.rs | 51 secs: i64, field 73 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 82 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 91 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours ouf of bounds"); in hours() localVariable 210 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 228 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 319 let mut secs = self.secs + rhs.secs; in add() localVariable 333 let mut secs = self.secs - rhs.secs; in sub() localVariable 350 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 359 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/devel/bingrep/bingrep-0.8.5/cargo-crates/time-0.1.44/src/ |
H A D | duration.rs | 46 secs: i64, field 68 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 77 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 86 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours out of bounds"); in hours() localVariable 213 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 227 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 313 let mut secs = self.secs + rhs.secs; in add() localVariable 327 let mut secs = self.secs - rhs.secs; in sub() localVariable 344 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 353 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/devel/git-absorb/git-absorb-0.6.6/cargo-crates/chrono-0.4.19/src/ |
H A D | oldtime.rs | 51 secs: i64, field 73 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 82 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 91 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours ouf of bounds"); in hours() localVariable 210 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 228 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 319 let mut secs = self.secs + rhs.secs; in add() localVariable 333 let mut secs = self.secs - rhs.secs; in sub() localVariable 350 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 359 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/chrono-0.4.19/src/ |
H A D | oldtime.rs | 51 secs: i64, field 73 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 82 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 91 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours ouf of bounds"); in hours() localVariable 210 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 228 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 319 let mut secs = self.secs + rhs.secs; in add() localVariable 333 let mut secs = self.secs - rhs.secs; in sub() localVariable 350 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 359 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/time-0.1.44/src/ |
H A D | duration.rs | 46 secs: i64, field 68 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 77 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 86 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours out of bounds"); in hours() localVariable 213 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 227 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 313 let mut secs = self.secs + rhs.secs; in add() localVariable 327 let mut secs = self.secs - rhs.secs; in sub() localVariable 344 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 353 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/games/genact/genact-0.10.0/cargo-crates/chrono-0.4.15/src/ |
H A D | oldtime.rs | 51 secs: i64, field 73 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 82 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 91 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours ouf of bounds"); in hours() localVariable 210 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 228 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 319 let mut secs = self.secs + rhs.secs; in add() localVariable 333 let mut secs = self.secs - rhs.secs; in sub() localVariable 350 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 359 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/games/genact/genact-0.10.0/cargo-crates/time-0.1.43/src/ |
H A D | duration.rs | 46 secs: i64, field 68 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 77 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 86 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours out of bounds"); in hours() localVariable 213 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 227 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 313 let mut secs = self.secs + rhs.secs; in add() localVariable 327 let mut secs = self.secs - rhs.secs; in sub() localVariable 344 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 353 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/accessibility/sctd/sctd-0.2.0/cargo-crates/chrono-0.4.11/src/ |
H A D | oldtime.rs | 47 secs: i64, field 69 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 78 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 87 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours ouf of bounds"); in hours() localVariable 206 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 220 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 300 let mut secs = self.secs + rhs.secs; in add() localVariable 314 let mut secs = self.secs - rhs.secs; in sub() localVariable 331 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 340 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/x11-wm/leftwm/leftwm-0.2.11/cargo-crates/time-0.1.44/src/ |
H A D | duration.rs | 46 secs: i64, field 68 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 77 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 86 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours out of bounds"); in hours() localVariable 213 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 227 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 313 let mut secs = self.secs + rhs.secs; in add() localVariable 327 let mut secs = self.secs - rhs.secs; in sub() localVariable 344 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 353 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/accessibility/sctd/sctd-0.2.0/cargo-crates/time-0.1.42/src/ |
H A D | duration.rs | 46 secs: i64, field 68 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 77 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 86 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours ouf of bounds"); in hours() localVariable 213 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 227 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 313 let mut secs = self.secs + rhs.secs; in add() localVariable 327 let mut secs = self.secs - rhs.secs; in sub() localVariable 344 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 353 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/x11-wm/leftwm/leftwm-0.2.11/cargo-crates/chrono-0.4.19/src/ |
H A D | oldtime.rs | 51 secs: i64, field 73 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 82 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 91 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours ouf of bounds"); in hours() localVariable 210 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 228 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 319 let mut secs = self.secs + rhs.secs; in add() localVariable 333 let mut secs = self.secs - rhs.secs; in sub() localVariable 350 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 359 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/databases/redisjson/RedisJSON-2.0.6/cargo-crates/chrono-0.4.19/src/ |
H A D | oldtime.rs | 51 secs: i64, field 73 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 82 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 91 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours ouf of bounds"); in hours() localVariable 210 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 228 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 319 let mut secs = self.secs + rhs.secs; in add() localVariable 333 let mut secs = self.secs - rhs.secs; in sub() localVariable 350 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 359 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/databases/redisjson/RedisJSON-2.0.6/cargo-crates/time-0.1.44/src/ |
H A D | duration.rs | 46 secs: i64, field 68 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 77 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 86 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours out of bounds"); in hours() localVariable 213 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 227 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 313 let mut secs = self.secs + rhs.secs; in add() localVariable 327 let mut secs = self.secs - rhs.secs; in sub() localVariable 344 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 353 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/net-im/libsignal-client/libsignal-client-0.9.6/cargo-crates/chrono-0.4.19/src/ |
H A D | oldtime.rs | 51 secs: i64, field 73 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 82 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 91 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours ouf of bounds"); in hours() localVariable 210 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 228 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 319 let mut secs = self.secs + rhs.secs; in add() localVariable 333 let mut secs = self.secs - rhs.secs; in sub() localVariable 350 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 359 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|
/dports/devel/grcov/grcov-0.8.2/cargo-crates/time-0.1.43/src/ |
H A D | duration.rs | 46 secs: i64, field 68 let secs = weeks.checked_mul(SECS_PER_WEEK).expect("Duration::weeks out of bounds"); in weeks() localVariable 77 let secs = days.checked_mul(SECS_PER_DAY).expect("Duration::days out of bounds"); in days() localVariable 86 let secs = hours.checked_mul(SECS_PER_HOUR).expect("Duration::hours out of bounds"); in hours() localVariable 213 let mut secs = try_opt!(self.secs.checked_add(rhs.secs)); in checked_add() localVariable 227 let mut secs = try_opt!(self.secs.checked_sub(rhs.secs)); in checked_sub() localVariable 313 let mut secs = self.secs + rhs.secs; in add() localVariable 327 let mut secs = self.secs - rhs.secs; in sub() localVariable 344 let secs = self.secs * rhs as i64 + extra_secs; in mul() localVariable 353 let mut secs = self.secs / rhs as i64; in div() localVariable [all …]
|