Home
last modified time | relevance | path

Searched refs:mpd_alloc (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Modules/_decimal/libmpdec/
Dmemory.c86 mpd_alloc(mpd_size_t nmemb, mpd_size_t size) in mpd_alloc() function
163 result = mpd_alloc(1, sizeof *result); in mpd_qnew_size()
168 result->data = mpd_alloc(nwords, sizeof *result->data); in mpd_qnew_size()
220 result->data = mpd_alloc(nwords, sizeof *result->data); in mpd_switch_to_dyn()
Dbasearith.c324 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()
Dio.c459 cp = decstring = mpd_alloc(mem, sizeof *decstring); in _mpd_to_string()
567 cp = decstring = mpd_alloc(mem, sizeof *decstring); in _mpd_to_string()
1118 result->data = mpd_alloc(result->nbytes+1, 1); in _mpd_apply_lconv()
Dmpdecimal.h813 void *mpd_alloc(mpd_size_t nmemb, mpd_size_t size);
Dmpdecimal.c8153 *rdata = mpd_alloc(rlen, sizeof **rdata); in mpd_qexport_u16()
8230 *rdata = mpd_alloc(rlen, sizeof **rdata); in mpd_qexport_u32()
8313 usrc = mpd_alloc((mpd_size_t)srclen, sizeof *usrc); in mpd_qimport_u16()
8387 mpd_uint_t *usrc = mpd_alloc((mpd_size_t)srclen, sizeof *usrc); in mpd_qimport_u32()