Searched refs:MPD_CONST_DATA (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Modules/_decimal/libmpdec/ |
D | mpdecimal.h | 357 #define MPD_CONST_DATA ((uint8_t)128) macro 358 #define MPD_DATAFLAGS (MPD_STATIC_DATA|MPD_SHARED_DATA|MPD_CONST_DATA)
|
D | mpdecimal.c | 89 mpd_t name = {flags|MPD_STATIC|MPD_CONST_DATA, exp, digits, \ 99 static const mpd_t one = {MPD_STATIC|MPD_CONST_DATA, 0, 1, 1, 1, data_one}; 100 static const mpd_t minus_one = {MPD_NEG|MPD_STATIC|MPD_CONST_DATA, 0, 1, 1, 1, 102 static const mpd_t zero = {MPD_STATIC|MPD_CONST_DATA, 0, 1, 1, 1, data_zero}; 443 return dec->flags & MPD_CONST_DATA; in mpd_isconst_data() 721 result->flags |= MPD_CONST_DATA; in mpd_set_const_data() 4693 MPD_STATIC|MPD_CONST_DATA, -(MPD_MINALLOC_MAX*MPD_RDIGITS-1),
|
/external/python/cpython3/Modules/_decimal/ |
D | _decimal.c | 3639 mpd_t q = {MPD_STATIC|MPD_CONST_DATA,0,1,1,1,dq}; in PyDec_Round() 4509 mpd_t p = {MPD_POS|MPD_STATIC|MPD_CONST_DATA, 0, 19, 1, 1, p_data}; in _dec_hash() 4512 mpd_t inv10_p = {MPD_POS|MPD_STATIC|MPD_CONST_DATA, in _dec_hash() 4517 mpd_t p = {MPD_POS|MPD_STATIC|MPD_CONST_DATA, 0, 10, 2, 2, p_data}; in _dec_hash() 4520 mpd_t inv10_p = {MPD_POS|MPD_STATIC|MPD_CONST_DATA, in _dec_hash() 4528 mpd_t ten = {MPD_POS|MPD_STATIC|MPD_CONST_DATA, in _dec_hash()
|