Searched refs:mpd_context_t (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | mpdecimal.h | 249 typedef struct mpd_context_t { struct 259 } mpd_context_t; argument 312 extern void (* mpd_traphandler)(mpd_context_t *); 313 void mpd_dflt_traphandler(mpd_context_t *); 316 void mpd_init(mpd_context_t *ctx, mpd_ssize_t prec); 318 void mpd_maxcontext(mpd_context_t *ctx); 319 void mpd_defaultcontext(mpd_context_t *ctx); 320 void mpd_basiccontext(mpd_context_t *ctx); 321 int mpd_ieee_context(mpd_context_t *ctx, int bits); 323 mpd_ssize_t mpd_getprec(const mpd_context_t *ctx); [all …]
|
D | context.c | 37 mpd_dflt_traphandler(mpd_context_t *ctx) in mpd_dflt_traphandler() 43 void (* mpd_traphandler)(mpd_context_t *) = mpd_dflt_traphandler; 68 mpd_init(mpd_context_t *ctx, mpd_ssize_t prec) in mpd_init() 87 mpd_maxcontext(mpd_context_t *ctx) in mpd_maxcontext() 101 mpd_defaultcontext(mpd_context_t *ctx) in mpd_defaultcontext() 115 mpd_basiccontext(mpd_context_t *ctx) in mpd_basiccontext() 129 mpd_ieee_context(mpd_context_t *ctx, int bits) in mpd_ieee_context() 149 mpd_getprec(const mpd_context_t *ctx) in mpd_getprec() 155 mpd_getemax(const mpd_context_t *ctx) in mpd_getemax() 161 mpd_getemin(const mpd_context_t *ctx) in mpd_getemin() [all …]
|
D | mpdecimal.c | 104 static inline void _mpd_check_exp(mpd_t *dec, const mpd_context_t *ctx, 113 const mpd_context_t *ctx, uint32_t *status); 115 const mpd_context_t *ctx, uint32_t *status); 120 const mpd_context_t *ctx, uint32_t *status); 209 mpd_etiny(const mpd_context_t *ctx) in mpd_etiny() 216 mpd_etop(const mpd_context_t *ctx) in mpd_etop() 351 mpd_isnormal(const mpd_t *dec, const mpd_context_t *ctx) in mpd_isnormal() 361 mpd_issubnormal(const mpd_t *dec, const mpd_context_t *ctx) in mpd_issubnormal() 589 mpd_resize(mpd_t *result, mpd_ssize_t nwords, mpd_context_t *ctx) in mpd_resize() 600 mpd_resize_zero(mpd_t *result, mpd_ssize_t nwords, mpd_context_t *ctx) in mpd_resize_zero() [all …]
|
D | io.c | 199 mpd_qset_string(mpd_t *dec, const char *s, const mpd_context_t *ctx, in mpd_qset_string() 333 mpd_context_t maxcontext; in mpd_qset_string_exact() 1223 const mpd_context_t *ctx, uint32_t *status) in _mpd_round() 1249 const mpd_context_t *ctx, uint32_t *status) in mpd_qformat_spec() 1401 mpd_qformat(const mpd_t *dec, const char *fmt, const mpd_context_t *ctx, in mpd_qformat()
|
D | mpalloc.c | 198 mpd_new(mpd_context_t *ctx) in mpd_new()
|
/external/python/cpython3/Modules/_decimal/ |
D | _decimal.c | 82 mpd_context_t ctx; 282 dec_traphandler(mpd_context_t *ctx UNUSED) /* GCOV_NOT_REACHED */ in dec_traphandler() 482 mpd_context_t *ctx = CTX(context); in dec_addstatus() 788 mpd_context_t *ctx; in context_setprec() 808 mpd_context_t *ctx; in context_setemin() 828 mpd_context_t *ctx; in context_setemax() 849 mpd_context_t *ctx = CTX(self); in context_unsafe_setprec() 869 mpd_context_t *ctx = CTX(self); in context_unsafe_setemin() 889 mpd_context_t *ctx = CTX(self); in context_unsafe_setemax() 910 mpd_context_t *ctx; in context_setround() [all …]
|