Searched refs:mpd_ssize_t (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | mpdecimal.h | 157 typedef int64_t mpd_ssize_t; typedef 201 typedef int32_t mpd_ssize_t; typedef 261 mpd_ssize_t prec; /* precision */ 262 mpd_ssize_t emax; /* max positive exp */ 263 mpd_ssize_t emin; /* min negative exp */ 322 extern mpd_ssize_t MPD_MINALLOC; 326 void mpd_setminalloc(mpd_ssize_t n); 327 void mpd_init(mpd_context_t *ctx, mpd_ssize_t prec); 334 mpd_ssize_t mpd_getprec(const mpd_context_t *ctx); 335 mpd_ssize_t mpd_getemax(const mpd_context_t *ctx); [all …]
|
D | context.c | 49 mpd_setminalloc(mpd_ssize_t n) in mpd_setminalloc() 66 mpd_init(mpd_context_t *ctx, mpd_ssize_t prec) in mpd_init() 68 mpd_ssize_t ideal_minalloc; in mpd_init() 134 ctx->emax = 3 * ((mpd_ssize_t)1<<(bits/16+3)); in mpd_ieee_context() 146 mpd_ssize_t 152 mpd_ssize_t 158 mpd_ssize_t 196 mpd_qsetprec(mpd_context_t *ctx, mpd_ssize_t prec) in mpd_qsetprec() 206 mpd_qsetemax(mpd_context_t *ctx, mpd_ssize_t emax) in mpd_qsetemax() 216 mpd_qsetemin(mpd_context_t *ctx, mpd_ssize_t emin) in mpd_qsetemin()
|
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() 367 exp_to_string(char *s, mpd_ssize_t x) in exp_to_string() 385 mpd_ssize_t i; in coeff_to_string() 406 mpd_ssize_t i; in coeff_to_string_dot() 445 static mpd_ssize_t [all …]
|
D | mpdecimal.c | 104 mpd_ssize_t exp); 105 static inline mpd_ssize_t _mpd_real_size(mpd_uint_t *data, mpd_ssize_t size); 119 static mpd_uint_t mpd_qsshiftr(mpd_t *result, const mpd_t *a, mpd_ssize_t n); 198 ALWAYS_INLINE mpd_ssize_t 205 ALWAYS_INLINE mpd_ssize_t 212 ALWAYS_INLINE mpd_ssize_t 244 ALWAYS_INLINE mpd_ssize_t 245 mpd_digits_to_size(mpd_ssize_t digits) in mpd_digits_to_size() 247 mpd_ssize_t q, r; in mpd_digits_to_size() 255 mpd_exp_digits(mpd_ssize_t exp) in mpd_exp_digits() [all …]
|
D | mpalloc.h | 40 int mpd_switch_to_dyn(mpd_t *result, mpd_ssize_t size, uint32_t *status); 41 int mpd_switch_to_dyn_zero(mpd_t *result, mpd_ssize_t size, uint32_t *status); 42 int mpd_realloc_dyn(mpd_t *result, mpd_ssize_t size, uint32_t *status);
|
D | memory.c | 43 mpd_ssize_t MPD_MINALLOC = MPD_MINALLOC_MIN; 157 mpd_qnew_size(mpd_ssize_t nwords) in mpd_qnew_size() 214 mpd_switch_to_dyn(mpd_t *result, mpd_ssize_t nwords, uint32_t *status) in mpd_switch_to_dyn() 243 mpd_switch_to_dyn_zero(mpd_t *result, mpd_ssize_t nwords, uint32_t *status) in mpd_switch_to_dyn_zero() 278 mpd_realloc_dyn(mpd_t *result, mpd_ssize_t nwords, uint32_t *status) in mpd_realloc_dyn()
|
D | io.h | 40 static inline mpd_ssize_t 54 return (mpd_ssize_t)retval; in mpd_strtossize()
|
D | typearith.h | 573 _mpd_idiv_word(mpd_ssize_t *q, mpd_ssize_t *r, mpd_ssize_t v, mpd_ssize_t d) in _mpd_idiv_word() 646 static inline mpd_ssize_t 647 mod_mpd_ssize_t(mpd_ssize_t a, mpd_ssize_t m) in mod_mpd_ssize_t() 649 mpd_ssize_t r = a % m; in mod_mpd_ssize_t()
|
D | basearith.h | 162 _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() 194 _mpd_isallzero(const mpd_uint_t *data, mpd_ssize_t len) in _mpd_isallzero() 207 _mpd_isallnine(const mpd_uint_t *data, mpd_ssize_t len) in _mpd_isallnine()
|
/external/python/cpython3/Modules/_decimal/ |
D | _decimal.c | 779 mpd_ssize_t x; in context_setprec() 799 mpd_ssize_t x; in context_setemin() 819 mpd_ssize_t x; in context_setemax() 840 mpd_ssize_t x; in context_unsafe_setprec() 860 mpd_ssize_t x; in context_unsafe_setemin() 880 mpd_ssize_t x; in context_unsafe_setemax() 919 mpd_ssize_t x; in context_setcapitals() 1067 mpd_ssize_t x; in context_setclamp() 1088 mpd_ssize_t x; in context_setallcr() 1367 mpd_ssize_t bits; in ieee_context() [all …]
|