Lines Matching defs:cb
60 compressor_cb_t cb;
161 gz_write(void *stream, void *data, size_t len, compressor_cb_t cb,
207 error = cb(s->gz_buffer, len, s->gz_off, arg);
220 error = cb(trailer + room,
347 zst_flush_intermediate(struct zstdio_stream *s, compressor_cb_t cb, void *arg)
360 error = cb(s->zst_buffer, bytes_to_dump, s->zst_off, arg);
378 zstdio_flush(struct zstdio_stream *s, compressor_cb_t cb, void *arg)
402 error = zst_flush_intermediate(s, cb, arg);
415 error = cb(s->zst_buffer, s->zst_outbuffer.pos, s->zst_off,
425 zstdio_write(void *stream, void *data, size_t len, compressor_cb_t cb,
434 return (zstdio_flush(s, cb, arg));
460 error = zst_flush_intermediate(s, cb, arg);
505 compressor_init(compressor_cb_t cb, int format, size_t maxiosize, int level,
526 s->cb = cb;
542 return (stream->methods->write(stream->priv, data, len, stream->cb,
550 return (stream->methods->write(stream->priv, NULL, 0, stream->cb,