Searched refs:gmp_alloc (Results 1 – 13 of 13) sorted by relevance
19 Allocator* gmp_alloc = 0; variable27 return gmp_alloc->allocate(n); in gmp_malloc()35 void* new_buf = gmp_alloc->allocate(new_n); in gmp_realloc()37 gmp_alloc->deallocate(ptr, old_n); in gmp_realloc()46 gmp_alloc->deallocate(ptr, n); in gmp_free()56 if(gmp_alloc == 0) in GMP_Engine()58 gmp_alloc = Allocator::get(true); in GMP_Engine()72 gmp_alloc = 0; in ~GMP_Engine()
63 static void* gmp_alloc(size_t size) in gmp_alloc() function80 static void* gmp_alloc(size_t size) in gmp_alloc() function162 mp_set_memory_functions(gmp_alloc, gmp_realloc, gmp_free); in mosh_init()
49 #define gmp_alloc _nettle_gmp_alloc macro55 (name) = gmp_alloc(sizeof (*name) * (size)); \120 void *gmp_alloc(size_t n);
307 gmp_alloc(size_t n) in gmp_alloc() function
5262 * gmp-glue.c (gmp_alloc, gmp_free): New functions.
50 #define gmp_alloc _gnutls_nettle_ecc_gmp_alloc macro56 (name) = gmp_alloc(sizeof (*name) * (size)); \121 void *gmp_alloc(size_t n);
261 gmp_alloc(size_t n) in gmp_alloc() function
65 #define gmp_alloc _nettle_gmp_alloc macro71 (name) = gmp_alloc(sizeof (*name) * (size)); \169 void *gmp_alloc(size_t n);
338 gmp_alloc(size_t n) in gmp_alloc() function
3844 * gmp-glue.c (gmp_alloc, gmp_free): New functions.
197 static void* gmp_alloc(size_t size) in gmp_alloc() function257 mp_set_memory_functions(gmp_alloc, gmp_realloc, gmp_free); in gmp_init()
355 #define gmp_alloc(size) ((*gmp_allocate_func)((size))) macro362 return (mp_ptr) gmp_alloc (size * sizeof (mp_limb_t)); in gmp_alloc_limbs()4264 sp = (char *) gmp_alloc (osn); in mpz_get_str()4355 dp = (unsigned char *) gmp_alloc (sn); in mpz_set_str()4563 r = gmp_alloc (count * size); in mpz_export()
354 #define gmp_alloc(size) ((*gmp_allocate_func)((size))) macro361 return (mp_ptr) gmp_alloc (size * sizeof (mp_limb_t)); in gmp_alloc_limbs()4262 sp = (char *) gmp_alloc (osn); in mpz_get_str()4353 dp = (unsigned char *) gmp_alloc (sn); in mpz_set_str()4561 r = gmp_alloc (count * size); in mpz_export()