Searched refs:gmp_allocate_func (Results 1 – 2 of 2) sorted by relevance
540 void * (*gmp_allocate_func) (size_t); in mpq_set_str() local543 mp_get_memory_functions (&gmp_allocate_func, NULL, &gmp_free_func); in mpq_set_str()545 num = (char *) gmp_allocate_func ((numlen + 1) * sizeof (char)); in mpq_set_str()
318 static void * (*gmp_allocate_func) (size_t) = gmp_default_alloc; variable328 *alloc_func = gmp_allocate_func; in mp_get_memory_functions()349 gmp_allocate_func = alloc_func; in mp_set_memory_functions()354 #define gmp_xalloc(size) ((*gmp_allocate_func)((size)))