Home
last modified time | relevance | path

Searched refs:checked_sub (Results 1 – 4 of 4) sorted by relevance

/system/authgraph/boringssl/src/
Daes.rs71 ct.len().checked_sub(TAG_LEN).ok_or_else(|| ag_err!(InternalError, "too short"))?; in decrypt()
/system/security/keystore2/src/
Denforcements.rs614 .checked_sub(&hat.time_received()) in authorize_create()
677 .checked_sub(&hat.time_received()) in authorize_create()
849 .checked_sub(&auth_token_entry.time_received()) in get_auth_tokens()
Dapc.rs133 back_off.checked_sub(elapsed) in get_remaining_back_off()
Ddatabase.rs462 .checked_sub(then_epoch) in try_into()
463 .and_then(|d| now.checked_sub(d)) in try_into()
468 .checked_sub(now_epoch) in try_into()
814 pub fn checked_sub(&self, other: &Self) -> Option<Self> { in checked_sub() method
815 self.0.checked_sub(other.0).map(Self) in checked_sub()
2956 let then = now.checked_sub(duration).unwrap(); in datetime()