Searched refs:STBIW_MALLOC (Results 1 – 2 of 2) sorted by relevance
218 #if defined(STBIW_MALLOC) && defined(STBIW_FREE) && (defined(STBIW_REALLOC) || defined(STBIW_REALLO…220 #elif !defined(STBIW_MALLOC) && !defined(STBIW_FREE) && !defined(STBIW_REALLOC) && !defined(STBIW_R…226 #ifndef STBIW_MALLOC227 #define STBIW_MALLOC(sz) malloc(sz) macro729 unsigned char *scratch = (unsigned char *) STBIW_MALLOC(x*4); in stbi_write_hdr_core()871 …unsigned char ***hash_table = (unsigned char***) STBIW_MALLOC(stbiw__ZHASH * sizeof(unsigned char*… in stbi_zlib_compress()1090 filt = (unsigned char *) STBIW_MALLOC((x*n+1) * y); if (!filt) return 0; in stbi_write_png_to_mem()1091 …line_buffer = (signed char *) STBIW_MALLOC(x * n); if (!line_buffer) { STBIW_FREE(filt); return 0;… in stbi_write_png_to_mem()1127 out = (unsigned char *) STBIW_MALLOC(8 + 12+13 + 12+zlen + 12); in stbi_write_png_to_mem()