Lines Matching refs:off_t

231 	off_t bytes_in;
232 off_t bytes_out;
912 …ream_deflate_compress(handler_ctx * const hctx, const unsigned char * const start, off_t st_size) { in stream_deflate_compress()
1028 static int stream_bzip2_compress(handler_ctx * const hctx, const unsigned char * const start, off_t… in stream_bzip2_compress()
1151 static int stream_br_compress(handler_ctx * const hctx, const unsigned char * const start, off_t st… in stream_br_compress()
1156 size_t insz = ((off_t)((~(uint32_t)0) >> 1) > st_size) in stream_br_compress()
1163 st_size -= (st_size - (off_t)insz); in stream_br_compress()
1165 hctx->bytes_out += (off_t)outsz; in stream_br_compress()
1183 hctx->bytes_out += (off_t)outsz; in stream_br_flush()
1239 static int stream_zstd_compress(handler_ctx * const hctx, const unsigned char * const start, off_t … in stream_zstd_compress()
1255 hctx->bytes_out += (off_t)zob.pos; in stream_zstd_compress()
1283 hctx->bytes_out += (off_t)zob.pos; in stream_zstd_flush()
1324 static int mod_deflate_compress(handler_ctx * const hctx, const unsigned char * const start, off_t … in mod_deflate_compress()
1376 static void mod_deflate_note_ratio(request_st * const r, const off_t bytes_out, const off_t bytes_i… in mod_deflate_note_ratio()
1478 hctx->bytes_out = (off_t)sz; in mod_deflate_using_libdeflate_sm()
1499 static off_t mod_deflate_using_libdeflate_setjmp_cb (void *dst, const void *src, off_t len) in mod_deflate_using_libdeflate_setjmp_cb()
1505 return (off_t)((hctx->compression_type == HTTP_ACCEPT_ENCODING_GZIP) in mod_deflate_using_libdeflate_setjmp_cb()
1534 if (0 != ftruncate(fd, (off_t)sz)) { in mod_deflate_using_libdeflate()
1603 static off_t mod_deflate_file_chunk_no_mmap(request_st * const r, handler_ctx * const hctx, const c… in mod_deflate_file_chunk_no_mmap()
1605 const off_t insz = n; in mod_deflate_file_chunk_no_mmap()
1638 static off_t mod_deflate_file_chunk_setjmp_cb (void *dst, const void *src, off_t len) in mod_deflate_file_chunk_setjmp_cb()
1644 static off_t mod_deflate_file_chunk_mmap(request_st * const r, handler_ctx * const hctx, chunk * co… in mod_deflate_file_chunk_mmap()
1657 off_t len = chunk_file_view_dlen(cfv, c->offset); in mod_deflate_file_chunk_mmap()
1659 off_t rc = sys_setjmp_eval3(mod_deflate_file_chunk_setjmp_cb, hctx, p, len); in mod_deflate_file_chunk_mmap()
1674 static off_t mod_deflate_file_chunk(request_st * const r, handler_ctx * const hctx, chunk * const c… in mod_deflate_file_chunk()
1690 off_t len, max; in deflate_compress_response()
1879 off_t len; in REQUEST_FUNC()
1914 if (len <= (off_t)p->conf.min_compress_size) return HANDLER_GO_ON; in REQUEST_FUNC()
1916 && len > ((off_t)p->conf.max_compress_size << 10)) { in REQUEST_FUNC()
2147 && (len >> 1) < (off_t)((~(uint32_t)0u) >> 1)) in REQUEST_FUNC()