Lines Matching refs:zout

3947    char *zout;  member
4012 static int stbi__zexpand(stbi__zbuf *z, char *zout, int n) // need to make room for n bytes in stbi__zexpand() argument
4016 z->zout = zout; in stbi__zexpand()
4018 cur = (int) (z->zout - z->zout_start); in stbi__zexpand()
4026 z->zout = q + cur; in stbi__zexpand()
4047 char *zout = a->zout; in stbi__parse_huffman_block() local
4052 if (zout >= a->zout_end) { in stbi__parse_huffman_block()
4053 if (!stbi__zexpand(a, zout, 1)) return 0; in stbi__parse_huffman_block()
4054 zout = a->zout; in stbi__parse_huffman_block()
4056 *zout++ = (char) z; in stbi__parse_huffman_block()
4061 a->zout = zout; in stbi__parse_huffman_block()
4071 if (zout - a->zout_start < dist) return stbi__err("bad dist","Corrupt PNG"); in stbi__parse_huffman_block()
4072 if (zout + len > a->zout_end) { in stbi__parse_huffman_block()
4073 if (!stbi__zexpand(a, zout, len)) return 0; in stbi__parse_huffman_block()
4074 zout = a->zout; in stbi__parse_huffman_block()
4076 p = (stbi_uc *) (zout - dist); in stbi__parse_huffman_block()
4079 if (len) { do *zout++ = v; while (--len); } in stbi__parse_huffman_block()
4081 if (len) { do *zout++ = *p++; while (--len); } in stbi__parse_huffman_block()
4157 if (a->zout + len > a->zout_end) in stbi__parse_uncompressed_block()
4158 if (!stbi__zexpand(a, a->zout, len)) return 0; in stbi__parse_uncompressed_block()
4159 memcpy(a->zout, a->zbuffer, len); in stbi__parse_uncompressed_block()
4161 a->zout += len; in stbi__parse_uncompressed_block()
4238 a->zout = obuf; in stbi__do_zlib()
4253 if (outlen) *outlen = (int) (a.zout - a.zout_start); in stbi_zlib_decode_malloc_guesssize()
4274 if (outlen) *outlen = (int) (a.zout - a.zout_start); in stbi_zlib_decode_malloc_guesssize_headerflag()
4288 return (int) (a.zout - a.zout_start); in stbi_zlib_decode_buffer()
4301 if (outlen) *outlen = (int) (a.zout - a.zout_start); in stbi_zlib_decode_noheader_malloc()
4315 return (int) (a.zout - a.zout_start); in stbi_zlib_decode_noheader_buffer()