Home
last modified time | relevance | path

Searched refs:zst (Results 1 - 6 of 6) sorted by relevance

/third_party/python/Modules/
H A Dzlibmodule.c208 z_stream zst; member
218 zlib_error(zlibstate *state, z_stream zst, int err, const char *msg) in zlib_error() argument
221 /* In case of a version mismatch, zst.msg won't be initialized. in zlib_error()
222 Check for this case first, before looking at zst.msg. */ in zlib_error()
226 zmsg = zst.msg; in zlib_error()
299 arrange_input_buffer(z_stream *zst, Py_ssize_t *remains) in arrange_input_buffer() argument
301 zst->avail_in = (uInt)Py_MIN((size_t)*remains, UINT_MAX); in arrange_input_buffer()
302 *remains -= zst->avail_in; in arrange_input_buffer()
325 z_stream zst; in zlib_compress_impl() local
333 if (OutputBuffer_InitAndGrow(&buffer, -1, &zst in zlib_compress_impl()
426 z_stream zst; zlib_decompress_impl() local
[all...]
/third_party/nghttp2/src/
H A Dnghttp2_gzip.c35 rv = inflateInit2(&(*inflater_ptr)->zst, 47); in nghttp2_gzip_inflate_new()
45 inflateEnd(&inflater->zst); in nghttp2_gzip_inflate_del()
57 inflater->zst.avail_in = (unsigned int)*inlen_ptr; in nghttp2_gzip_inflate()
58 inflater->zst.next_in = (unsigned char *)in; in nghttp2_gzip_inflate()
59 inflater->zst.avail_out = (unsigned int)*outlen_ptr; in nghttp2_gzip_inflate()
60 inflater->zst.next_out = out; in nghttp2_gzip_inflate()
62 rv = inflate(&inflater->zst, Z_NO_FLUSH); in nghttp2_gzip_inflate()
64 *inlen_ptr -= inflater->zst.avail_in; in nghttp2_gzip_inflate()
65 *outlen_ptr -= inflater->zst.avail_out; in nghttp2_gzip_inflate()
H A Dnghttp2_gzip_test.c39 z_stream zst = {0}; in deflate_data() local
41 rv = deflateInit(&zst, Z_DEFAULT_COMPRESSION); in deflate_data()
44 zst.avail_in = (unsigned int)inlen; in deflate_data()
45 zst.next_in = (uint8_t *)in; in deflate_data()
46 zst.avail_out = (unsigned int)outlen; in deflate_data()
47 zst.next_out = out; in deflate_data()
48 rv = deflate(&zst, Z_SYNC_FLUSH); in deflate_data()
51 deflateEnd(&zst); in deflate_data()
53 return outlen - zst.avail_out; in deflate_data()
H A Dapp_helper.cc483 z_stream zst{}; in deflate_data()
487 rv = deflateInit2(&zst, Z_DEFAULT_COMPRESSION, Z_DEFLATED, 31, 9, in deflate_data()
494 zst.avail_in = inlen; in deflate_data()
495 zst.next_in = (uint8_t *)in; in deflate_data()
496 zst.avail_out = temp_outlen; in deflate_data()
497 zst.next_out = temp_out; in deflate_data()
499 rv = deflate(&zst, Z_FINISH); in deflate_data()
501 deflateEnd(&zst); in deflate_data()
507 temp_outlen -= zst.avail_out; in deflate_data()
H A Dnghttp2_gzip.h44 z_stream zst; member
/third_party/astc-encoder/Source/
H A Dastcenc_compute_variance.cpp143 int zst = padsize_x * padsize_y; in compute_pixel_region_variance() local
150 #define VARBUF1(z, y, x) varbuf1[z * zst + y * yst + x] in compute_pixel_region_variance()
151 #define VARBUF2(z, y, x) varbuf2[z * zst + y * yst + x] in compute_pixel_region_variance()
334 brent_kung_prefix_sum(&(VARBUF1(1, y, x)), padsize_z - 1, zst); in compute_pixel_region_variance()
335 brent_kung_prefix_sum(&(VARBUF2(1, y, x)), padsize_z - 1, zst); in compute_pixel_region_variance()

Completed in 5 milliseconds