Lines Matching refs:writer
177 struct Curl_cwriter *writer, int type, in inflate_stream() argument
180 struct zlib_writer *zp = (struct zlib_writer *) writer; in inflate_stream()
223 result = Curl_cwriter_write(data, writer->next, type, decomp, in inflate_stream()
281 struct Curl_cwriter *writer) in deflate_do_init() argument
283 struct zlib_writer *zp = (struct zlib_writer *) writer; in deflate_do_init()
297 struct Curl_cwriter *writer, int type, in deflate_do_write() argument
300 struct zlib_writer *zp = (struct zlib_writer *) writer; in deflate_do_write()
304 return Curl_cwriter_write(data, writer->next, type, buf, nbytes); in deflate_do_write()
314 return inflate_stream(data, writer, type, ZLIB_INFLATING); in deflate_do_write()
318 struct Curl_cwriter *writer) in deflate_do_close() argument
320 struct zlib_writer *zp = (struct zlib_writer *) writer; in deflate_do_close()
338 struct Curl_cwriter *writer) in gzip_do_init() argument
340 struct zlib_writer *zp = (struct zlib_writer *) writer; in gzip_do_init()
454 struct Curl_cwriter *writer, int type, in gzip_do_write() argument
457 struct zlib_writer *zp = (struct zlib_writer *) writer; in gzip_do_write()
461 return Curl_cwriter_write(data, writer->next, type, buf, nbytes); in gzip_do_write()
468 return inflate_stream(data, writer, type, ZLIB_INIT_GZIP); in gzip_do_write()
580 return inflate_stream(data, writer, type, ZLIB_GZIP_INFLATING); in gzip_do_write()
585 struct Curl_cwriter *writer) in gzip_do_close() argument
587 struct zlib_writer *zp = (struct zlib_writer *) writer; in gzip_do_close()
651 struct Curl_cwriter *writer) in brotli_do_init() argument
653 struct brotli_writer *bp = (struct brotli_writer *) writer; in brotli_do_init()
661 struct Curl_cwriter *writer, int type, in brotli_do_write() argument
664 struct brotli_writer *bp = (struct brotli_writer *) writer; in brotli_do_write()
673 return Curl_cwriter_write(data, writer->next, type, buf, nbytes); in brotli_do_write()
688 result = Curl_cwriter_write(data, writer->next, type, in brotli_do_write()
712 struct Curl_cwriter *writer) in brotli_do_close() argument
714 struct brotli_writer *bp = (struct brotli_writer *) writer; in brotli_do_close()
744 struct Curl_cwriter *writer) in zstd_do_init() argument
746 struct zstd_writer *zp = (struct zstd_writer *) writer; in zstd_do_init()
756 struct Curl_cwriter *writer, int type, in zstd_do_write() argument
760 struct zstd_writer *zp = (struct zstd_writer *) writer; in zstd_do_write()
766 return Curl_cwriter_write(data, writer->next, type, buf, nbytes); in zstd_do_write()
787 result = Curl_cwriter_write(data, writer->next, type, in zstd_do_write()
800 struct Curl_cwriter *writer) in zstd_do_close() argument
802 struct zstd_writer *zp = (struct zstd_writer *) writer; in zstd_do_close()
901 struct Curl_cwriter *writer) in error_do_init() argument
904 (void)writer; in error_do_init()
909 struct Curl_cwriter *writer, int type, in error_do_write() argument
912 (void) writer; in error_do_write()
917 return Curl_cwriter_write(data, writer->next, type, buf, nbytes); in error_do_write()
928 struct Curl_cwriter *writer) in error_do_close() argument
931 (void) writer; in error_do_close()
995 struct Curl_cwriter *writer; in Curl_build_unencoding_stack() local
1047 result = Curl_cwriter_create(&writer, data, cwt, phase); in Curl_build_unencoding_stack()
1053 result = Curl_cwriter_add(data, writer); in Curl_build_unencoding_stack()
1055 Curl_cwriter_free(data, writer); in Curl_build_unencoding_stack()