| /external/rust/crates/num-bigint/src/biguint/ | 
| D | division.rs | 43 pub(super) fn div_rem_digit(mut a: BigUint, b: BigDigit) -> (BigUint, BigDigit) {  in div_rem_digit() 68 fn rem_digit(a: &BigUint, b: BigDigit) -> BigDigit {  in rem_digit() 119 fn div_rem(mut u: BigUint, mut d: BigUint) -> (BigUint, BigUint) {  in div_rem() 166 pub(super) fn div_rem_ref(u: &BigUint, d: &BigUint) -> (BigUint, BigUint) {  in div_rem_ref() 210 fn div_rem_core(mut a: BigUint, b: &[BigDigit]) -> (BigUint, BigUint) {  in div_rem_core() 307 impl Div<BigUint> for BigUint {  implementation 311     fn div(self, other: BigUint) -> BigUint {  in div() 317 impl<'a, 'b> Div<&'b BigUint> for &'a BigUint {  implementation 321     fn div(self, other: &BigUint) -> BigUint {  in div() 326 impl<'a> DivAssign<&'a BigUint> for BigUint {  implementation [all …] 
 | 
| D | bits.rs | 10 impl<'a, 'b> BitAnd<&'b BigUint> for &'a BigUint {  implementation 14     fn bitand(self, other: &BigUint) -> BigUint {  in bitand() 26 impl<'a> BitAnd<&'a BigUint> for BigUint {  implementation 30     fn bitand(mut self, other: &BigUint) -> BigUint {  in bitand() 35 impl<'a> BitAndAssign<&'a BigUint> for BigUint {  implementation 37     fn bitand_assign(&mut self, other: &BigUint) {  in bitand_assign() 49 impl<'a> BitOr<&'a BigUint> for BigUint {  implementation 52     fn bitor(mut self, other: &BigUint) -> BigUint {  in bitor() 57 impl<'a> BitOrAssign<&'a BigUint> for BigUint {  implementation 59     fn bitor_assign(&mut self, other: &BigUint) {  in bitor_assign() [all …] 
 | 
| D | subtraction.rs | 111 impl<'a> Sub<&'a BigUint> for BigUint {  implementation 114     fn sub(mut self, other: &BigUint) -> BigUint {  in sub() 119 impl<'a> SubAssign<&'a BigUint> for BigUint {  implementation 120     fn sub_assign(&mut self, other: &'a BigUint) {  in sub_assign() 126 impl<'a> Sub<BigUint> for &'a BigUint {  implementation 129     fn sub(self, mut other: BigUint) -> BigUint {  in sub() 150 impl Sub<u32> for BigUint {  implementation 154     fn sub(mut self, other: u32) -> BigUint {  in sub() 160 impl SubAssign<u32> for BigUint {  implementation 172     fn sub(self, mut other: BigUint) -> BigUint {  in sub() [all …] 
 | 
| D | power.rs | 9 impl<'b> Pow<&'b BigUint> for BigUint {  implementation 13     fn pow(self, exp: &BigUint) -> BigUint {  in pow() 30 impl Pow<BigUint> for BigUint {  implementation 34     fn pow(self, exp: BigUint) -> BigUint {  in pow() 39 impl<'a, 'b> Pow<&'b BigUint> for &'a BigUint {  implementation 43     fn pow(self, exp: &BigUint) -> BigUint {  in pow() 54 impl<'a> Pow<BigUint> for &'a BigUint {  implementation 58     fn pow(self, exp: BigUint) -> BigUint {  in pow() 134 pub(super) fn modpow(x: &BigUint, exponent: &BigUint, modulus: &BigUint) -> BigUint {  in modpow() 149 fn plain_modpow(base: &BigUint, exp_data: &[BigDigit], modulus: &BigUint) -> BigUint {  in plain_modpow()
  | 
| D | addition.rs | 89 impl<'a> Add<&'a BigUint> for BigUint {  implementation 92     fn add(mut self, other: &BigUint) -> BigUint {  in add() 97 impl<'a> AddAssign<&'a BigUint> for BigUint {  implementation 99     fn add_assign(&mut self, other: &BigUint) {  in add_assign() 120 impl Add<u32> for BigUint {  implementation 124     fn add(mut self, other: u32) -> BigUint {  in add() 130 impl AddAssign<u32> for BigUint {  implementation 146 impl Add<u64> for BigUint {  implementation 150     fn add(mut self, other: u64) -> BigUint {  in add() 156 impl AddAssign<u64> for BigUint {  implementation [all …] 
 | 
| D | convert.rs | 32 impl FromStr for BigUint {  implementation 36     fn from_str(s: &str) -> Result<BigUint, ParseBigIntError> {  in from_str() 43 pub(super) fn from_bitwise_digits_le(v: &[u8], bits: u8) -> BigUint {  in from_bitwise_digits_le() 64 fn from_inexact_bitwise_digits_le(v: &[u8], bits: u8) -> BigUint {  in from_inexact_bitwise_digits_le() 101 fn from_radix_digits_be(v: &[u8], radix: u32) -> BigUint {  in from_radix_digits_be() 148 pub(super) fn from_radix_be(buf: &[u8], radix: u32) -> Option<BigUint> {  in from_radix_be() 179 pub(super) fn from_radix_le(buf: &[u8], radix: u32) -> Option<BigUint> {  in from_radix_le() 210 impl Num for BigUint {  implementation 214     fn from_str_radix(s: &str, radix: u32) -> Result<BigUint, ParseBigIntError> {  in from_str_radix() 304 impl ToPrimitive for BigUint {  implementation [all …] 
 | 
| D | shift.rs | 11 fn biguint_shl<T: PrimInt>(n: Cow<'_, BigUint>, shift: T) -> BigUint {  in biguint_shl()  argument 24 fn biguint_shl2(n: Cow<'_, BigUint>, digits: usize, shift: u8) -> BigUint {  in biguint_shl2()  argument 53 fn biguint_shr<T: PrimInt>(n: Cow<'_, BigUint>, shift: T) -> BigUint {  in biguint_shr()  argument 66 fn biguint_shr2(n: Cow<'_, BigUint>, digits: usize, shift: u8) -> BigUint {  in biguint_shr2()  argument
  | 
| D | multiplication.rs | 352 fn mul3(x: &[BigDigit], y: &[BigDigit]) -> BigUint {  in mul3() 360 fn scalar_mul(a: &mut BigUint, b: BigDigit) {  in scalar_mul() 380 fn sub_sign(mut a: &[BigDigit], mut b: &[BigDigit]) -> (Sign, BigUint) {  in sub_sign()  argument 461 impl Mul<u32> for BigUint {  implementation 465     fn mul(mut self, other: u32) -> BigUint {  in mul() 470 impl MulAssign<u32> for BigUint {  implementation 477 impl Mul<u64> for BigUint {  implementation 481     fn mul(mut self, other: u64) -> BigUint {  in mul() 486 impl MulAssign<u64> for BigUint {  implementation 505 impl Mul<u128> for BigUint {  implementation [all …] 
 | 
| D | monty.rs | 45 fn montgomery(x: &BigUint, y: &BigUint, m: &BigUint, k: BigDigit, n: usize) -> BigUint {  in montgomery() 136 pub(super) fn monty_modpow(x: &BigUint, y: &BigUint, m: &BigUint) -> BigUint {  in monty_modpow()
  | 
| D | arbitrary.rs | 9 impl quickcheck::Arbitrary for BigUint {  implementation 22 impl arbitrary::Arbitrary<'_> for BigUint {  implementation
  | 
| D | serde.rs | 9 impl Serialize for BigUint {  implementation 50 impl<'de> Deserialize<'de> for BigUint {  implementation
  | 
| /external/rust/crates/num-bigint/tests/ | 
| D | biguint_scalar.rs | 14     fn check(x: &BigUint, y: &BigUint, z: &BigUint) {  in test_scalar_add() 33     fn check(x: &BigUint, y: &BigUint, z: &BigUint) {  in test_scalar_sub() 52     fn check(x: &BigUint, y: &BigUint, z: &BigUint) {  in test_scalar_mul() 77     fn check(x: &BigUint, y: &BigUint, z: &BigUint, r: &BigUint) {  in test_scalar_div_rem()
  | 
| D | biguint.rs | 511     fn check(b1: BigUint, i: i64) {  in test_convert_i64() 535     fn check(b1: BigUint, i: i128) {  in test_convert_i128() 560     fn check(b1: BigUint, u: u64) {  in test_convert_u64() 583     fn check(b1: BigUint, u: u128) {  in test_convert_u128() 607     fn check(b1: &BigUint, f: f32) {  in test_convert_f32() 688     fn check(b1: &BigUint, f: f64) {  in test_convert_f64() 763     fn check(n: BigUint, ans: BigInt) {  in test_convert_to_bigint() 916     fn check(a: &BigUint, b: &BigUint, d: &BigUint, m: &BigUint) {  in test_div_ceil() 1682     fn factor(n: usize) -> BigUint {  in test_factor()
  | 
| D | bigint.rs | 562     fn check(n: BigInt, ans_1: BigUint) {  in test_convert_to_biguint()
  | 
| /external/rust/crates/num-bigint/src/ | 
| D | biguint.rs | 38 pub struct BigUint {  struct 44 impl Clone for BigUint {  argument 58 impl hash::Hash for BigUint {  implementation 66 impl PartialEq for BigUint {  implementation 74 impl Eq for BigUint {}  implementation 76 impl PartialOrd for BigUint {  implementation 83 impl Ord for BigUint {  implementation 101 impl Default for BigUint {  implementation 108 impl fmt::Debug for BigUint {  implementation 114 impl fmt::Display for BigUint {  implementation [all …] 
 | 
| D | bigrand.rs | 20     fn gen_biguint(&mut self, bit_size: u64) -> BigUint;  in gen_biguint() 27     fn gen_biguint_below(&mut self, bound: &BigUint) -> BigUint;  in gen_biguint_below() 32     fn gen_biguint_range(&mut self, lbound: &BigUint, ubound: &BigUint) -> BigUint;  in gen_biguint_range() 51     fn gen_biguint(&mut self, bit_size: u64) -> BigUint {  in gen_biguint() 62     fn gen_biguint(&mut self, bit_size: u64) -> BigUint {  in gen_biguint() 111     fn gen_biguint_below(&mut self, bound: &BigUint) -> BigUint {  in gen_biguint_below() 122     fn gen_biguint_range(&mut self, lbound: &BigUint, ubound: &BigUint) -> BigUint {  in gen_biguint_range() 196 impl SampleUniform for BigUint {  implementation 273     fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> BigUint {  in sample()
  | 
| D | bigint.rs | 949     pub fn magnitude(&self) -> &BigUint {  in magnitude() 967     pub fn into_parts(self) -> (Sign, BigUint) {  in into_parts()  argument 980     pub fn to_biguint(&self) -> Option<BigUint> {  in to_biguint()
  | 
| /external/rust/crates/num-bigint/benches/ | 
| D | gcd.rs | 14 fn bench(b: &mut Bencher, bits: u64, gcd: fn(&BigUint, &BigUint) -> BigUint) {  in bench() 24 fn euclid(x: &BigUint, y: &BigUint) -> BigUint {  in euclid()
  | 
| D | bigint.rs | 38 fn factorial(n: usize) -> BigUint {  in factorial() 48 fn fib(n: usize) -> BigUint {  in fib() 60 fn fib2(n: usize) -> BigUint {  in fib2()
  | 
| D | roots.rs | 20 fn check(x: &BigUint, n: u32) {  in check()
  | 
| /external/rust/crates/num-bigint/src/bigint/ | 
| D | convert.rs | 291 impl ToBigInt for BigUint {  implementation 307     fn to_biguint(&self) -> Option<BigUint> {  in to_biguint() 317 impl TryFrom<&BigInt> for BigUint {  implementation 321     fn try_from(value: &BigInt) -> Result<BigUint, TryFromBigIntError<()>> {  in try_from() 329 impl TryFrom<BigInt> for BigUint {  implementation 333     fn try_from(value: BigInt) -> Result<BigUint, TryFromBigIntError<BigInt>> {  in try_from()
  | 
| /external/rust/crates/der-oid-macro/src/ | 
| D | lib.rs | 3 fn encode_components(components: &[num_bigint::BigUint], relative: bool) -> Vec<u8> {  in encode_components()
  | 
| /external/rust/crates/x509-parser/src/ | 
| D | revocation_list.rs | 96     pub fn crl_number(&self) -> Option<&BigUint> {  in crl_number() 247     pub fn serial(&self) -> &BigUint {  in serial()
  | 
| D | x509.rs | 545 pub(crate) fn parse_serial(i: &[u8]) -> X509Result<(&[u8], BigUint)> {  in parse_serial()  argument 550 fn get_serial_info(o: DerObject) -> Option<(&[u8], BigUint)> {  in get_serial_info()  argument
  | 
| /external/rust/crates/der-parser/tests/ | 
| D | ber_parser.rs | 231 fn tc_ber_biguint(i: &[u8], out: Result<BigUint, BerError>) {  in tc_ber_biguint()
  |