Lines Matching defs:secs
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
95 let secs = minutes.checked_mul(SECS_PER_MINUTE).expect("Duration::minutes out of bounds"); in minutes() 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
376 let secs = abs.secs - days * SECS_PER_DAY; in fmt() localVariable