Home
last modified time | relevance | path

Searched refs:write_buf_size (Results 1 – 1 of 1) sorted by relevance

/external/rust/crates/libz-sys/src/zlib-ng/test/
Dminideflate.c45 void deflate_params(FILE *fin, FILE *fout, int32_t read_buf_size, int32_t write_buf_size, int32_t l… in deflate_params() argument
58 write_buf = (uint8_t *)malloc(write_buf_size); in deflate_params()
60 fprintf(stderr, "failed to create write buffer (%d)\n", write_buf_size); in deflate_params()
86 c_stream.avail_out = write_buf_size; in deflate_params()
91 if (c_stream.next_out == write_buf + write_buf_size) { in deflate_params()
92 fwrite(write_buf, 1, write_buf_size, fout); in deflate_params()
102 if (c_stream.next_out == write_buf + write_buf_size) { in deflate_params()
103 fwrite(write_buf, 1, write_buf_size, fout); in deflate_params()
107 c_stream.avail_out = write_buf_size; in deflate_params()
129 void inflate_params(FILE *fin, FILE *fout, int32_t read_buf_size, int32_t write_buf_size, int32_t w… in inflate_params() argument
[all …]