MCPcopy Create free account
hub / github.com/LibRaw/LibRaw / calloc

Function calloc

libraw/libraw_alloc.h:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 return ptr;
53 }
54 void *calloc(size_t n, size_t sz)
55 {
56 void *ptr = ::calloc(n + (extra_bytes + sz - 1) / (sz ? sz : 1), sz);
57 mem_ptr(ptr);
58 return ptr;
59 }
60 void *realloc(void *ptr, size_t newsz)
61 {
62 void *ret = ::realloc(ptr, newsz + extra_bytes);

Callers 15

mainFunction · 0.85
mainFunction · 0.85
make_camera_metadataFunction · 0.85
malloc_omp_buffersMethod · 0.85
cubic_splineMethod · 0.85
kodak_thumb_loaderMethod · 0.85
open_datastreamMethod · 0.85
convert_to_rgbMethod · 0.85
green_matchingMethod · 0.85
fuji_rotateMethod · 0.85
stretchMethod · 0.85
dcraw_processMethod · 0.85

Calls

no outgoing calls

Tested by 2

fuji_rotateMethod · 0.68
stretchMethod · 0.68