MCPcopy Create free account
hub / github.com/acl-dev/acl / acl_slice_pool_calloc

Function acl_slice_pool_calloc

lib_acl/src/stdlib/memory/acl_slice.c:1345–1354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1343}
1344
1345void *acl_slice_pool_calloc(const char *filename, int line,
1346 ACL_SLICE_POOL *asp, size_t nmemb, size_t size)
1347{
1348 void *ptr = acl_slice_pool_alloc(filename, line, asp, nmemb * size);
1349
1350 if (ptr) {
1351 memset(ptr, 0, nmemb * size);
1352 }
1353 return ptr;
1354}
1355
1356void *acl_slice_pool_realloc(const char *filename, int line,
1357 ACL_SLICE_POOL *asp, void *ptr, size_t size)

Callers 2

__init_table_rwlockFunction · 0.85
acl_htable_create3Function · 0.85

Calls 1

acl_slice_pool_allocFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…