Searched refs:mpd_alloc (Results 1 – 5 of 5) sorted by relevance
/third_party/python/Modules/_decimal/libmpdec/ |
D | mpalloc.c | 83 mpd_alloc(mpd_size_t nmemb, mpd_size_t size) in mpd_alloc() function 160 result = mpd_alloc(1, sizeof *result); in mpd_qnew_size() 165 result->data = mpd_alloc(nwords, sizeof *result->data); in mpd_qnew_size() 217 result->data = mpd_alloc(nwords, sizeof *result->data); in mpd_switch_to_dyn() 308 mpd_uint_t *data = mpd_alloc(nwords, sizeof *result->data); in mpd_switch_to_dyn_cxx()
|
D | basearith.c | 324 if ((u = mpd_alloc(nplusm+1, sizeof *u)) == NULL) { in _mpd_basedivmod() 329 if ((v = mpd_alloc(n+1, sizeof *v)) == NULL) { in _mpd_basedivmod()
|
D | io.c | 475 cp = decstring = mpd_alloc(mem, sizeof *decstring); in _mpd_to_string() 583 cp = decstring = mpd_alloc(mem, sizeof *decstring); in _mpd_to_string() 1134 result->data = mpd_alloc(result->nbytes+1, 1); in _mpd_apply_lconv()
|
D | mpdecimal.h | 820 void *mpd_alloc(mpd_size_t nmemb, mpd_size_t size);
|
D | mpdecimal.c | 8396 *rdata = mpd_alloc(rlen, sizeof **rdata); in mpd_qexport_u16() 8473 *rdata = mpd_alloc(rlen, sizeof **rdata); in mpd_qexport_u32() 8556 usrc = mpd_alloc((mpd_size_t)srclen, sizeof *usrc); in mpd_qimport_u16() 8630 mpd_uint_t *usrc = mpd_alloc((mpd_size_t)srclen, sizeof *usrc); in mpd_qimport_u32()
|