MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / stbi__malloc_mad3

Function stbi__malloc_mad3

include/stb/stb_image.h:1055–1059  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1053#endif
1054
1055static void *stbi__malloc_mad3(int a, int b, int c, int add)
1056{
1057 if (!stbi__mad3sizes_valid(a, b, c, add)) return NULL;
1058 return stbi__malloc(a*b*c + add);
1059}
1060
1061#if !defined(STBI_NO_LINEAR) || !defined(STBI_NO_HDR) || !defined(STBI_NO_PNM)
1062static void *stbi__malloc_mad4(int a, int b, int c, int d, int add)

Callers 10

stbi__convert_formatFunction · 0.85
stbi__hdr_to_ldrFunction · 0.85
load_jpeg_imageFunction · 0.85
stbi__create_png_imageFunction · 0.85
stbi__bmp_loadFunction · 0.85
stbi__tga_loadFunction · 0.85
stbi__psd_loadFunction · 0.85
stbi__pic_loadFunction · 0.85

Calls 2

stbi__mad3sizes_validFunction · 0.85
stbi__mallocFunction · 0.85

Tested by

no test coverage detected