Home
last modified time | relevance | path

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

/linux/rust/kernel/num/
H A Dbounded.rs25 macro_rules! fits_within { macro
39 fn fits_within<T: Integer>(value: T, num_bits: u32) -> bool { in fits_within() function
40 fits_within!(value, T, num_bits) in fits_within()
259 assert!(fits_within!(VALUE, $type, N));
330 fits_within(value, N).then(|| { in try_new()
369 fits_within(expr, N), in from_expr()
483 if !fits_within(self.0, N) { in deref()