Пример #1
0
void *pvPortCalloc(size_t num, size_t size, const char *file, unsigned line) {
  (void) file;
  (void) line;

  return umm_calloc(num, size);
}
Пример #2
0
/*
 * Wrapper for `umm_calloc()` which performs additional checks
 */
static void *wrap_calloc(size_t num, size_t size) {
  free_blocks_check();
  void *ret = umm_calloc(num, size);
  free_blocks_check();
  return ret;
}
Пример #3
0
void * ICACHE_RAM_ATTR calloc(size_t count, size_t size){
  return umm_calloc(count, ((size + 3) & ~((size_t)0x3)));
}