Searched refs:mpd_ssize_t (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | mpdecimal.h | 146 typedef int64_t mpd_ssize_t; typedef 190 typedef int32_t mpd_ssize_t; typedef 250 mpd_ssize_t prec; /* precision */ 251 mpd_ssize_t emax; /* max positive exp */ 252 mpd_ssize_t emin; /* min negative exp */ 311 extern mpd_ssize_t MPD_MINALLOC; 315 void mpd_setminalloc(mpd_ssize_t n); 316 void mpd_init(mpd_context_t *ctx, mpd_ssize_t prec); 323 mpd_ssize_t mpd_getprec(const mpd_context_t *ctx); 324 mpd_ssize_t mpd_getemax(const mpd_context_t *ctx); [all …]
|
D | context.c | 51 mpd_setminalloc(mpd_ssize_t n) in mpd_setminalloc() 68 mpd_init(mpd_context_t *ctx, mpd_ssize_t prec) in mpd_init() 70 mpd_ssize_t ideal_minalloc; in mpd_init() 136 ctx->emax = 3 * ((mpd_ssize_t)1<<(bits/16+3)); in mpd_ieee_context() 148 mpd_ssize_t 154 mpd_ssize_t 160 mpd_ssize_t 198 mpd_qsetprec(mpd_context_t *ctx, mpd_ssize_t prec) in mpd_qsetprec() 208 mpd_qsetemax(mpd_context_t *ctx, mpd_ssize_t emax) in mpd_qsetemax() 218 mpd_qsetemin(mpd_context_t *ctx, mpd_ssize_t emin) in mpd_qsetemin()
|
D | mpalloc.h | 42 int mpd_switch_to_dyn(mpd_t *result, mpd_ssize_t size, uint32_t *status); 43 int mpd_switch_to_dyn_zero(mpd_t *result, mpd_ssize_t size, uint32_t *status); 44 int mpd_realloc_dyn(mpd_t *result, mpd_ssize_t size, uint32_t *status); 46 int mpd_switch_to_dyn_cxx(mpd_t *result, mpd_ssize_t size); 47 int mpd_realloc_dyn_cxx(mpd_t *result, mpd_ssize_t size);
|
D | io.c | 75 static mpd_ssize_t 79 mpd_ssize_t retval; in strtoexp() 202 mpd_ssize_t q, r, len; in mpd_qset_string() 288 if (dec->exp < MPD_SSIZE_MIN+(mpd_ssize_t)fracdigits) { in mpd_qset_string() 292 dec->exp -= (mpd_ssize_t)fracdigits; in mpd_qset_string() 306 _mpd_idiv_word(&q, &r, (mpd_ssize_t)digits, MPD_RDIGITS); in mpd_qset_string() 383 exp_to_string(char *s, mpd_ssize_t x) in exp_to_string() 401 mpd_ssize_t i; in coeff_to_string() 422 mpd_ssize_t i; in coeff_to_string_dot() 461 static mpd_ssize_t [all …]
|
D | mpalloc.c | 47 mpd_ssize_t MPD_MINALLOC = MPD_MINALLOC_MIN; 161 mpd_qnew_size(mpd_ssize_t nwords) in mpd_qnew_size() 218 mpd_switch_to_dyn(mpd_t *result, mpd_ssize_t nwords, uint32_t *status) in mpd_switch_to_dyn() 247 mpd_switch_to_dyn_zero(mpd_t *result, mpd_ssize_t nwords, uint32_t *status) in mpd_switch_to_dyn_zero() 282 mpd_realloc_dyn(mpd_t *result, mpd_ssize_t nwords, uint32_t *status) in mpd_realloc_dyn() 311 mpd_switch_to_dyn_cxx(mpd_t *result, mpd_ssize_t nwords) in mpd_switch_to_dyn_cxx() 342 mpd_realloc_dyn_cxx(mpd_t *result, mpd_ssize_t nwords) in mpd_realloc_dyn_cxx()
|
D | mpdecimal.c | 107 mpd_ssize_t exp); 108 static inline mpd_ssize_t _mpd_real_size(mpd_uint_t *data, mpd_ssize_t size); 122 static mpd_uint_t mpd_qsshiftr(mpd_t *result, const mpd_t *a, mpd_ssize_t n); 201 ALWAYS_INLINE mpd_ssize_t 208 ALWAYS_INLINE mpd_ssize_t 215 ALWAYS_INLINE mpd_ssize_t 247 mpd_ssize_t 248 mpd_digits_to_size(mpd_ssize_t digits) in mpd_digits_to_size() 250 mpd_ssize_t q, r; in mpd_digits_to_size() 258 mpd_exp_digits(mpd_ssize_t exp) in mpd_exp_digits() [all …]
|
D | io.h | 43 static inline mpd_ssize_t 57 return (mpd_ssize_t)retval; in mpd_strtossize()
|
D | typearith.h | 575 _mpd_idiv_word(mpd_ssize_t *q, mpd_ssize_t *r, mpd_ssize_t v, mpd_ssize_t d) in _mpd_idiv_word() 648 static inline mpd_ssize_t 649 mod_mpd_ssize_t(mpd_ssize_t a, mpd_ssize_t m) in mod_mpd_ssize_t() 651 mpd_ssize_t r = a % m; in mod_mpd_ssize_t()
|
D | basearith.h | 161 _mpd_mul_2_le2(mpd_uint_t w[4], mpd_uint_t u[2], mpd_uint_t v[2], mpd_ssize_t m) in _mpd_mul_2_le2() 193 _mpd_isallzero(const mpd_uint_t *data, mpd_ssize_t len) in _mpd_isallzero() 206 _mpd_isallnine(const mpd_uint_t *data, mpd_ssize_t len) in _mpd_isallnine()
|
/external/python/cpython3/Modules/_decimal/ |
D | _decimal.c | 789 mpd_ssize_t x; in context_setprec() 809 mpd_ssize_t x; in context_setemin() 829 mpd_ssize_t x; in context_setemax() 850 mpd_ssize_t x; in context_unsafe_setprec() 870 mpd_ssize_t x; in context_unsafe_setemin() 890 mpd_ssize_t x; in context_unsafe_setemax() 929 mpd_ssize_t x; in context_setcapitals() 1077 mpd_ssize_t x; in context_setclamp() 1098 mpd_ssize_t x; in context_setallcr() 1383 mpd_ssize_t bits; in ieee_context() [all …]
|