Lines Matching refs:outc
266 struct output_file_callback* outc = to_output_file_callback(out); in callback_file_skip() local
272 ret = outc->write(outc->priv, nullptr, to_write); in callback_file_skip()
287 struct output_file_callback* outc = to_output_file_callback(out); in callback_file_write() local
289 return outc->write(outc->priv, data, len); in callback_file_write()
293 struct output_file_callback* outc = to_output_file_callback(out); in callback_file_close() local
295 free(outc); in callback_file_close()
596 struct output_file_callback* outc; in output_file_open_callback() local
598 outc = in output_file_open_callback()
600 if (!outc) { in output_file_open_callback()
605 outc->out.ops = &callback_file_ops; in output_file_open_callback()
606 outc->priv = priv; in output_file_open_callback()
607 outc->write = write; in output_file_open_callback()
609 ret = output_file_init(&outc->out, block_size, len, sparse, chunks, crc); in output_file_open_callback()
611 free(outc); in output_file_open_callback()
615 return &outc->out; in output_file_open_callback()