Home
last modified time | relevance | path

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

/optee_rust/optee-utee/src/
A Darithmetical.rs110 pub fn get_bit_count(&self) -> u32 { in get_bit_count() method
115 let bits = max(Self::get_bit_count(op1), Self::get_bit_count(op2)) + 1; in add()
122 let bits = max(Self::get_bit_count(op1), Self::get_bit_count(op2)) + 1; in sub()
129 let mut res = Self::new(Self::get_bit_count(op)); in neg()
135 let bits = Self::get_bit_count(op1) + Self::get_bit_count(op2); in multiply()
150 d if d >= 0 => max(1, Self::get_bit_count(op1) - Self::get_bit_count(op2)), in divide()
153 let r_bits = Self::get_bit_count(op2); in divide()
169 let mut res = Self::new(Self::get_bit_count(n)); in module()
175 let mut res = Self::new(Self::get_bit_count(n)); in add_mod()
188 let mut res = Self::new(Self::get_bit_count(n)); in sub_mod()
[all …]

Completed in 3 milliseconds