Lines Matching refs:error
51 2.28 (2023-01-29) many error fixes, security errors, just tons of stuff
652 // should produce compiler error if size is wrong
676 #error "Must define all or none of STBI_MALLOC, STBI_FREE, and STBI_REALLOC (or STBI_REALLOC_SIZED)."
1084 // stbi__err - error
1085 // stbi__errpf - error returning pointer to float
1086 // stbi__errpuc - error returning pointer to unsigned char
2126 // error! code not found
3869 if (req_comp < 0 || req_comp > 4) return stbi__errpuc("bad req_comp", "Internal error");
3919 // can't error after this so, this is safe
4245 return -1; /* report error for unexpected end of data. */
4301 if (z < 0) return stbi__err("bad huffman code","Corrupt PNG"); // error in huffman codes
5207 if (z->expanded == NULL) return 0; // zlib should set error
5265 if (req_comp < 0 || req_comp > 4) return stbi__errpuc("bad req_comp", "Internal error");
5444 return 0; // error
5542 return NULL; // error code already set
5737 // returns STBI_rgb or whatever, 0 on error
6066 // the things I do to get rid of an error message, and yet keep
7071 // if there was an error and we allocated an image buffer, free it!
7833 fix MSVC-ARM internal compiler error by wrapping malloc
7843 fix search&replace from 1.36 that messed up comments/error messages
7876 error cases in bmp and tga give messages and don't leak (Raymond Barbiero, grisha)