Lines Matching refs:STBI_FREE

670 #if defined(STBI_MALLOC) && defined(STBI_FREE) && (defined(STBI_REALLOC) || defined(STBI_REALLOC_SI…
672 #elif !defined(STBI_MALLOC) && !defined(STBI_FREE) && !defined(STBI_REALLOC) && !defined(STBI_REALL…
681 #define STBI_FREE(p) free(p) macro
1083 STBI_FREE(retval_from_stbi_load); in stbi_image_free()
1182 STBI_FREE(orig); in stbi__convert_16_to_8()
1198 STBI_FREE(orig); in stbi__convert_8_to_16()
1745 STBI_FREE(data); in stbi__convert_format()
1770 …default: STBI_ASSERT(0); STBI_FREE(data); STBI_FREE(good); return stbi__errpuc("unsupported", "Uns… in stbi__convert_format()
1775 STBI_FREE(data); in stbi__convert_format()
1802 STBI_FREE(data); in stbi__convert_format16()
1827 …default: STBI_ASSERT(0); STBI_FREE(data); STBI_FREE(good); return (stbi__uint16*) stbi__errpuc("un… in stbi__convert_format16()
1832 STBI_FREE(data); in stbi__convert_format16()
1844 if (output == NULL) { STBI_FREE(data); return stbi__errpf("outofmem", "Out of memory"); } in stbi__ldr_to_hdr()
1857 STBI_FREE(data); in stbi__ldr_to_hdr()
1870 if (output == NULL) { STBI_FREE(data); return stbi__errpuc("outofmem", "Out of memory"); } in stbi__hdr_to_ldr()
1887 STBI_FREE(data); in stbi__hdr_to_ldr()
3212 STBI_FREE(z->img_comp[i].raw_data); in stbi__free_jpeg_components()
3217 STBI_FREE(z->img_comp[i].raw_coeff); in stbi__free_jpeg_components()
3222 STBI_FREE(z->img_comp[i].linebuf); in stbi__free_jpeg_components()
3976 STBI_FREE(j); in stbi__jpeg_load()
3989 STBI_FREE(j); in stbi__jpeg_test()
4012 STBI_FREE(j); in stbi__jpeg_info()
4446 STBI_FREE(a.zout_start); in stbi_zlib_decode_malloc_guesssize()
4467 STBI_FREE(a.zout_start); in stbi_zlib_decode_malloc_guesssize_headerflag()
4494 STBI_FREE(a.zout_start); in stbi_zlib_decode_noheader_malloc()
4823 STBI_FREE(final); in stbi__create_png_image()
4834 STBI_FREE(a->out); in stbi__create_png_image()
4923 STBI_FREE(a->out); in stbi__expand_png_palette()
5138 STBI_FREE(z->idata); z->idata = NULL; in stbi__parse_png_file()
5164 STBI_FREE(z->expanded); z->expanded = NULL; in stbi__parse_png_file()
5217 STBI_FREE(p->out); p->out = NULL; in stbi__do_png()
5218 STBI_FREE(p->expanded); p->expanded = NULL; in stbi__do_png()
5219 STBI_FREE(p->idata); p->idata = NULL; in stbi__do_png()
5516 … if (psize == 0 || psize > 256) { STBI_FREE(out); return stbi__errpuc("invalid", "Corrupt BMP"); } in stbi__bmp_load()
5528 else { STBI_FREE(out); return stbi__errpuc("bad bpp", "Corrupt BMP"); } in stbi__bmp_load()
5585 if (!mr || !mg || !mb) { STBI_FREE(out); return stbi__errpuc("bad masks", "Corrupt BMP"); } in stbi__bmp_load()
5591 …if (rcount > 8 || gcount > 8 || bcount > 8 || acount > 8) { STBI_FREE(out); return stbi__errpuc("b… in stbi__bmp_load()
5859 STBI_FREE(tga_data); in stbi__tga_load()
5868 STBI_FREE(tga_data); in stbi__tga_load()
5879 STBI_FREE(tga_data); in stbi__tga_load()
5880 STBI_FREE(tga_palette); in stbi__tga_load()
5961 STBI_FREE( tga_palette ); in stbi__tga_load()
6153 STBI_FREE(out); in stbi__psd_load()
6445 STBI_FREE(result); in stbi__pic_load()
6559 STBI_FREE(g); in stbi__gif_info_raw()
6565 STBI_FREE(g); in stbi__gif_info_raw()
6869 STBI_FREE(g->out); in stbi__load_gif_main_outofmem()
6870 STBI_FREE(g->history); in stbi__load_gif_main_outofmem()
6871 STBI_FREE(g->background); in stbi__load_gif_main_outofmem()
6873 if (out) STBI_FREE(out); in stbi__load_gif_main_outofmem()
6874 if (delays && *delays) STBI_FREE(*delays); in stbi__load_gif_main_outofmem()
6948 STBI_FREE(g.out); in stbi__load_gif_main()
6949 STBI_FREE(g.history); in stbi__load_gif_main()
6950 STBI_FREE(g.background); in stbi__load_gif_main()
6982 STBI_FREE(g.out); in stbi__gif_load()
6986 STBI_FREE(g.history); in stbi__gif_load()
6987 STBI_FREE(g.background); in stbi__gif_load()
7160 STBI_FREE(scanline); in stbi__hdr_load()
7165 …if (len != width) { STBI_FREE(hdr_data); STBI_FREE(scanline); return stbi__errpf("invalid decoded … in stbi__hdr_load()
7169 STBI_FREE(hdr_data); in stbi__hdr_load()
7183 …if (count > nleft) { STBI_FREE(hdr_data); STBI_FREE(scanline); return stbi__errpf("corrupt", "bad … in stbi__hdr_load()
7188 …if (count > nleft) { STBI_FREE(hdr_data); STBI_FREE(scanline); return stbi__errpf("corrupt", "bad … in stbi__hdr_load()
7198 STBI_FREE(scanline); in stbi__hdr_load()