/external/llvm-project/polly/lib/External/isl/imath/ |
D | imath.h | 62 } mpz_t, *mp_int; typedef 111 mp_result mp_int_init(mp_int z); 112 mp_int mp_int_alloc(void); 113 mp_result mp_int_init_size(mp_int z, mp_size prec); 114 mp_result mp_int_init_copy(mp_int z, mp_int old); 115 mp_result mp_int_init_value(mp_int z, mp_small value); 116 mp_result mp_int_init_uvalue(mp_int z, mp_usmall uvalue); 117 mp_result mp_int_set_value(mp_int z, mp_small value); 118 mp_result mp_int_set_uvalue(mp_int z, mp_usmall uvalue); 119 void mp_int_clear(mp_int z); [all …]
|
D | gmp_compat.h | 60 void GMPZAPI(abs)(mp_int rop, mp_int op); 63 void GMPZAPI(add)(mp_int rop, mp_int op1, mp_int op2); 66 void GMPZAPI(clear)(mp_int x); 69 int GMPZAPI(cmp_si)(mp_int op1, long op2); 72 int GMPZAPI(cmpabs)(mp_int op1, mp_int op2); 75 int GMPZAPI(cmp)(mp_int op1, mp_int op2); 78 void GMPZAPI(init)(mp_int x); 81 void GMPZAPI(mul)(mp_int rop, mp_int op1, mp_int op2); 84 void GMPZAPI(neg)(mp_int rop, mp_int op); 87 void GMPZAPI(set_si)(mp_int rop, long op); [all …]
|
D | gmp_compat.c | 81 void GMPZAPI(abs)(mp_int rop, mp_int op) { in GMPZAPI() 86 void GMPZAPI(add)(mp_int rop, mp_int op1, mp_int op2) { in GMPZAPI() 91 void GMPZAPI(clear)(mp_int x) { in GMPZAPI() 96 int GMPZAPI(cmp_si)(mp_int op1, long op2) { in GMPZAPI() 101 int GMPZAPI(cmpabs)(mp_int op1, mp_int op2) { in GMPZAPI() 106 int GMPZAPI(cmp)(mp_int op1, mp_int op2) { in GMPZAPI() 111 void GMPZAPI(init)(mp_int x) { in GMPZAPI() 116 void GMPZAPI(mul)(mp_int rop, mp_int op1, mp_int op2) { in GMPZAPI() 121 void GMPZAPI(neg)(mp_int rop, mp_int op) { in GMPZAPI() 126 void GMPZAPI(set_si)(mp_int rop, long op) { in GMPZAPI() [all …]
|
D | imath.c | 137 mp_int z_ = (Z); \ 233 STATIC int s_pad(mp_int z, mp_size min); 236 STATIC void s_fake(mp_int z, mp_small value, mp_digit vbuf[]); 237 STATIC void s_ufake(mp_int z, mp_usmall value, mp_digit vbuf[]); 246 STATIC int s_ucmp(mp_int a, mp_int b); 249 STATIC int s_vcmp(mp_int a, mp_small v); 250 STATIC int s_uvcmp(mp_int a, mp_usmall uv); 276 STATIC void s_dadd(mp_int a, mp_digit b); 279 STATIC void s_dmul(mp_int a, mp_digit b); 287 STATIC mp_digit s_ddiv(mp_int a, mp_digit b); [all …]
|
D | imrat.h | 61 mp_result mp_rat_numer(mp_rat r, mp_int z); /* z = num(r) */ 62 mp_int mp_rat_numer_ref(mp_rat r); /* &num(r) */ 63 mp_result mp_rat_denom(mp_rat r, mp_int z); /* z = den(r) */ 64 mp_int mp_rat_denom_ref(mp_rat r); /* &den(r) */ 77 mp_result mp_rat_add_int(mp_rat a, mp_int b, mp_rat c); /* c = a + b */ 78 mp_result mp_rat_sub_int(mp_rat a, mp_int b, mp_rat c); /* c = a - b */ 79 mp_result mp_rat_mul_int(mp_rat a, mp_int b, mp_rat c); /* c = a * b */ 80 mp_result mp_rat_div_int(mp_rat a, mp_int b, mp_rat c); /* c = a / b */
|
D | imrat.c | 49 mp_result (*comb_f)(mp_int, mp_int, mp_int)); 156 mp_result mp_rat_numer(mp_rat r, mp_int z) in mp_rat_numer() 161 mp_int mp_rat_numer_ref(mp_rat r) in mp_rat_numer_ref() 167 mp_result mp_rat_denom(mp_rat r, mp_int z) in mp_rat_denom() 172 mp_int mp_rat_denom_ref(mp_rat r) in mp_rat_denom_ref() 305 mp_result mp_rat_add_int(mp_rat a, mp_int b, mp_rat c) in mp_rat_add_int() 329 mp_result mp_rat_sub_int(mp_rat a, mp_int b, mp_rat c) in mp_rat_sub_int() 353 mp_result mp_rat_mul_int(mp_rat a, mp_int b, mp_rat c) in mp_rat_mul_int() 366 mp_result mp_rat_div_int(mp_rat a, mp_int b, mp_rat c) in mp_rat_div_int() 918 mp_result (*comb_f)(mp_int, mp_int, mp_int)) in s_rat_combine() argument
|
/external/wpa_supplicant_8/src/tls/ |
D | bignum.c | 32 struct bignum *n = os_zalloc(sizeof(mp_int)); in bignum_init() 35 if (mp_init((mp_int *) n) != MP_OKAY) { in bignum_init() 50 mp_clear((mp_int *) n); in bignum_deinit() 63 return mp_unsigned_bin_size((mp_int *) n); in bignum_get_unsigned_bin_len() 77 size_t need = mp_unsigned_bin_size((mp_int *) n); in bignum_get_unsigned_bin() 82 if (mp_to_unsigned_bin((mp_int *) n, buf) != MP_OKAY) { in bignum_get_unsigned_bin() 101 if (mp_read_unsigned_bin((mp_int *) n, (u8 *) buf, len) != MP_OKAY) { in bignum_set_unsigned_bin() 117 return mp_cmp((mp_int *) a, (mp_int *) b); in bignum_cmp() 129 return mp_cmp_d((mp_int *) a, b); in bignum_cmp_d() 143 if (mp_add((mp_int *) a, (mp_int *) b, (mp_int *) c) != MP_OKAY) { in bignum_add() [all …]
|
D | libtommath.c | 129 } mp_int; typedef 140 static int s_mp_exptmod(mp_int * G, mp_int * X, mp_int * P, mp_int * Y, int redmode); 141 static int s_mp_mul_digs (mp_int * a, mp_int * b, mp_int * c, int digs); 142 static int s_mp_sqr(mp_int * a, mp_int * b); 143 static int s_mp_mul_high_digs(mp_int * a, mp_int * b, mp_int * c, int digs); 146 static int fast_s_mp_mul_digs (mp_int * a, mp_int * b, mp_int * c, int digs); 150 static int mp_init_multi(mp_int *mp, ...); 153 static void mp_clear_multi(mp_int *mp, ...); 155 static int mp_lshd(mp_int * a, int b); 156 static void mp_set(mp_int * a, mp_digit b); [all …]
|
/external/llvm-project/polly/lib/External/isl/ |
D | isl_imath.h | 4 uint32_t isl_imath_hash(mp_int v, uint32_t hash); 5 int isl_imath_fits_ulong_p(mp_int op); 6 int isl_imath_fits_slong_p(mp_int op); 7 void isl_imath_addmul_ui(mp_int rop, mp_int op1, unsigned long op2); 8 void isl_imath_submul_ui(mp_int rop, mp_int op1, unsigned long op2); 9 void isl_imath_cdiv_q_ui(mp_int rop, mp_int op1, unsigned long op2); 10 void isl_imath_fdiv_q_ui(mp_int rop, mp_int op1, unsigned long op2);
|
D | isl_imath.c | 3 uint32_t isl_imath_hash(mp_int v, uint32_t hash) in isl_imath_hash() 17 int isl_imath_fits_slong_p(mp_int op) in isl_imath_fits_slong_p() 26 int isl_imath_fits_ulong_p(mp_int op) in isl_imath_fits_ulong_p() 33 void isl_imath_addmul_ui(mp_int rop, mp_int op1, unsigned long op2) in isl_imath_addmul_ui() 45 void isl_imath_submul_ui(mp_int rop, mp_int op1, unsigned long op2) in isl_imath_submul_ui() 60 void isl_imath_cdiv_q_ui(mp_int rop, mp_int lhs, unsigned long rhs) in isl_imath_cdiv_q_ui() 74 void isl_imath_fdiv_q_ui(mp_int rop, mp_int lhs, unsigned long rhs) in isl_imath_fdiv_q_ui()
|
D | isl_int_sioimath.c | 6 extern int isl_sioimath_decode(isl_sioimath val, int32_t *small, mp_int *big); 7 extern int isl_sioimath_decode_big(isl_sioimath val, mp_int *big); 11 extern isl_sioimath isl_sioimath_encode_big(mp_int val); 15 extern mp_int isl_sioimath_get_big(isl_sioimath val); 24 extern mp_int isl_sioimath_bigarg_src(isl_sioimath arg, 26 extern mp_int isl_sioimath_siarg_src(signed long arg, 28 extern mp_int isl_sioimath_si64arg_src(int64_t arg, 30 extern mp_int isl_sioimath_uiarg_src(unsigned long arg, 32 extern mp_int isl_sioimath_reinit_big(isl_sioimath_ptr ptr); 202 mp_int big; in isl_sioimath_print()
|
D | isl_int_sioimath.h | 125 inline mp_int isl_sioimath_get_big(isl_sioimath val) in isl_sioimath_get_big() 127 return (mp_int)(uintptr_t) val; in isl_sioimath_get_big() 144 inline int isl_sioimath_decode_big(isl_sioimath val, mp_int *big) in isl_sioimath_decode_big() 159 inline isl_sioimath isl_sioimath_encode_big(mp_int val) in isl_sioimath_encode_big() 247 inline mp_int isl_sioimath_bigarg_src(isl_sioimath arg, in isl_sioimath_bigarg_src() 250 mp_int big; in isl_sioimath_bigarg_src() 274 inline mp_int isl_sioimath_siarg_src(signed long arg, in isl_sioimath_siarg_src() 295 inline mp_int isl_sioimath_si64arg_src(int64_t arg, in isl_sioimath_si64arg_src() 316 inline mp_int isl_sioimath_uiarg_src(unsigned long arg, in isl_sioimath_uiarg_src() 331 inline mp_int isl_sioimath_reinit_big(isl_sioimath_ptr ptr) in isl_sioimath_reinit_big() [all …]
|
D | isl_int_imath.h | 7 typedef mp_int isl_int; 69 uint32_t isl_imath_hash(mp_int v, uint32_t hash);
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_wolfssl.c | 1010 mp_int *a; in crypto_bignum_init() 1027 mp_int *a; in crypto_bignum_init_set() 1032 a = (mp_int *) crypto_bignum_init(); in crypto_bignum_init_set() 1047 mp_int *a; in crypto_bignum_init_uint() 1052 a = (mp_int *) crypto_bignum_init(); in crypto_bignum_init_uint() 1071 mp_forcezero((mp_int *) n); in crypto_bignum_deinit() 1072 mp_clear((mp_int *) n); in crypto_bignum_deinit() 1073 os_free((mp_int *) n); in crypto_bignum_deinit() 1088 num_bytes = (mp_count_bits((mp_int *) a) + 7) / 8; in crypto_bignum_to_bin() 1097 mp_to_unsigned_bin((mp_int *) a, buf + offset); in crypto_bignum_to_bin() [all …]
|
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/ |
D | TpmToWolfMath_fp.h | 52 mp_int *wolfBn 60 mp_int *toInit, 66 mp_int * 68 mp_int *toInit
|
/external/ms-tpm-20-ref/TPMCmd/tpm/include/Wolf/ |
D | TpmToWolfMath.h | 56 mp_int _##name; \ 57 mp_int *name = MpInitialize(&_##name);
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/wolf/ |
D | TpmToWolfMath.c | 71 mp_int *wolfBn in BnFromWolf() 107 mp_int *toInit, in BnToWolf() 137 mp_int * 139 mp_int *toInit in MpInitialize()
|
/external/python/cpython3/Modules/ |
D | _tkinter.c | 976 mp_int bigValue; in asBignumObj() 1174 mp_int bigValue; in fromBignumObj()
|
/external/python/cpython2/Modules/ |
D | _tkinter.c | 1056 mp_int bigValue; in asBignumObj() 1260 mp_int bigValue; in fromBignumObj()
|