Lines Matching refs:nmemb
395 void *unbound_stat_calloc(size_t nmemb, size_t size) in unbound_stat_calloc() argument
399 if(nmemb != 0 && INT_MAX/nmemb < size) in unbound_stat_calloc()
401 s = (nmemb*size==0)?(size_t)1:nmemb*size; in unbound_stat_calloc()
405 log_info("stat %p=calloc(%u, %u)", res+16, (unsigned)nmemb, (unsigned)size); in unbound_stat_calloc()
491 void *unbound_stat_calloc_log(size_t nmemb, size_t size, const char* file, in unbound_stat_calloc_log() argument
495 (unsigned) nmemb, (unsigned)size); in unbound_stat_calloc_log()
496 return unbound_stat_calloc(nmemb, size); in unbound_stat_calloc_log()
523 void *unbound_stat_reallocarray_log(void *ptr, size_t nmemb, size_t size, in unbound_stat_reallocarray_log() argument
527 ptr, (unsigned)nmemb, (unsigned)size); in unbound_stat_reallocarray_log()
528 return unbound_stat_realloc(ptr, nmemb*size); in unbound_stat_reallocarray_log()
568 void *unbound_stat_calloc_lite(size_t nmemb, size_t size, const char* file, in unbound_stat_calloc_lite() argument
573 if(nmemb != 0 && INT_MAX/nmemb < size) in unbound_stat_calloc_lite()
575 req = nmemb * size; in unbound_stat_calloc_lite()