Lines Matching refs:line
445 void *unbound_stat_malloc_log(size_t size, const char* file, int line,
448 log_info("%s:%d %s malloc(%u)", file, line, func, (unsigned)size);
454 int line, const char* func)
456 log_info("%s:%d %s calloc(%u, %u)", file, line, func,
462 void unbound_stat_free_log(void *ptr, const char* file, int line,
469 file, line, func, ptr, (unsigned)s);
471 log_info("%s:%d %s unmatched free(%p)", file, line, func, ptr);
477 int line, const char* func)
479 log_info("%s:%d %s realloc(%p, %u)", file, line, func,
497 void *unbound_stat_malloc_lite(size_t size, const char* file, int line,
511 int line, const char* func)
527 void unbound_stat_free_lite(void *ptr, const char* file, int line,
535 log_err("free(): prefix failed %s:%d %s", file, line, func);
542 log_err("free(): suffix failed %s:%d %s", file, line, func);
554 int line, const char* func)
561 return unbound_stat_malloc_lite(size, file, line, func);
565 unbound_stat_free_lite(ptr, file, line, func);
571 log_err("realloc(): prefix failed %s:%d %s", file, line, func);
578 log_err("realloc(): suffix failed %s:%d %s", file, line, func);
586 newa = unbound_stat_malloc_lite(size, file, line, func);
597 char* unbound_strdup_lite(const char* s, const char* file, int line,
602 char* n = (char*)unbound_stat_malloc_lite(l, file, line, func);