Searched refs:STBIW_MALLOC (Results 1 - 2 of 2) sorted by relevance
/third_party/glfw/deps/ |
H A D | stb_image_write.h | 26 You can #define STBIW_MALLOC(), STBIW_REALLOC(), and STBIW_FREE() to replace 33 so it must be heap allocated with STBIW_MALLOC() (malloc() by default), 219 #if defined(STBIW_MALLOC) && defined(STBIW_FREE) && (defined(STBIW_REALLOC) || defined(STBIW_REALLOC_SIZED)) 221 #elif !defined(STBIW_MALLOC) && !defined(STBIW_FREE) && !defined(STBIW_REALLOC) && !defined(STBIW_REALLOC_SIZED) 224 #error "Must define all or none of STBIW_MALLOC, STBIW_FREE, and STBIW_REALLOC (or STBIW_REALLOC_SIZED)." 227 #ifndef STBIW_MALLOC 228 #define STBIW_MALLOC(sz) malloc(sz) macro 767 unsigned char *scratch = (unsigned char *) STBIW_MALLOC(x*4); 908 unsigned char ***hash_table = (unsigned char***) STBIW_MALLOC(stbiw__ZHASH * sizeof(unsigned char**)); 1144 filt = (unsigned char *) STBIW_MALLOC(( [all...] |
/third_party/astc-encoder/Source/ |
H A D | stb_image_write.h | 26 You can #define STBIW_MALLOC(), STBIW_REALLOC(), and STBIW_FREE() to replace 33 so it must be heap allocated with STBIW_MALLOC() (malloc() by default), 219 #if defined(STBIW_MALLOC) && defined(STBIW_FREE) && (defined(STBIW_REALLOC) || defined(STBIW_REALLOC_SIZED)) 221 #elif !defined(STBIW_MALLOC) && !defined(STBIW_FREE) && !defined(STBIW_REALLOC) && !defined(STBIW_REALLOC_SIZED) 224 #error "Must define all or none of STBIW_MALLOC, STBIW_FREE, and STBIW_REALLOC (or STBIW_REALLOC_SIZED)." 227 #ifndef STBIW_MALLOC 228 #define STBIW_MALLOC(sz) malloc(sz) macro 767 unsigned char *scratch = (unsigned char *) STBIW_MALLOC(x*4); 908 unsigned char ***hash_table = (unsigned char***) STBIW_MALLOC(stbiw__ZHASH * sizeof(unsigned char**)); 1144 filt = (unsigned char *) STBIW_MALLOC(( [all...] |
Completed in 4 milliseconds