Searched refs:strm (Results 1 – 2 of 2) sorted by relevance
140 z_stream strm; in ApplyImagePatch() local141 strm.zalloc = Z_NULL; in ApplyImagePatch()142 strm.zfree = Z_NULL; in ApplyImagePatch()143 strm.opaque = Z_NULL; in ApplyImagePatch()144 strm.avail_in = src_len; in ApplyImagePatch()145 strm.next_in = (unsigned char*)(old_data + src_start); in ApplyImagePatch()146 strm.avail_out = expanded_len; in ApplyImagePatch()147 strm.next_out = expanded_source; in ApplyImagePatch()150 ret = inflateInit2(&strm, -15); in ApplyImagePatch()158 ret = inflate(&strm, Z_SYNC_FLUSH); in ApplyImagePatch()[all …]
316 z_stream strm; in ReadZip() local317 strm.zalloc = Z_NULL; in ReadZip()318 strm.zfree = Z_NULL; in ReadZip()319 strm.opaque = Z_NULL; in ReadZip()320 strm.avail_in = curr->deflate_len; in ReadZip()321 strm.next_in = curr->deflate_data; in ReadZip()325 int ret = inflateInit2(&strm, -15); in ReadZip()327 strm.avail_out = curr->len; in ReadZip()328 strm.next_out = curr->data; in ReadZip()329 ret = inflate(&strm, Z_NO_FLUSH); in ReadZip()[all …]