Lines Matching refs:outc
282 struct output_file_callback *outc = to_output_file_callback(out); in callback_file_skip() local
288 ret = outc->write(outc->priv, NULL, to_write); in callback_file_skip()
306 struct output_file_callback *outc = to_output_file_callback(out); in callback_file_write() local
308 return outc->write(outc->priv, data, len); in callback_file_write()
313 struct output_file_callback *outc = to_output_file_callback(out); in callback_file_close() local
315 free(outc); in callback_file_close()
646 struct output_file_callback *outc; in output_file_open_callback() local
648 outc = calloc(1, sizeof(struct output_file_callback)); in output_file_open_callback()
649 if (!outc) { in output_file_open_callback()
654 outc->out.ops = &callback_file_ops; in output_file_open_callback()
655 outc->priv = priv; in output_file_open_callback()
656 outc->write = write; in output_file_open_callback()
658 ret = output_file_init(&outc->out, block_size, len, sparse, chunks, crc); in output_file_open_callback()
660 free(outc); in output_file_open_callback()
664 return &outc->out; in output_file_open_callback()