Lines Matching refs:outc
275 struct output_file_callback *outc = to_output_file_callback(out); in callback_file_skip() local
281 ret = outc->write(outc->priv, NULL, to_write); in callback_file_skip()
298 struct output_file_callback *outc = to_output_file_callback(out); in callback_file_write() local
300 return outc->write(outc->priv, data, len); in callback_file_write()
305 struct output_file_callback *outc = to_output_file_callback(out); in callback_file_close() local
307 free(outc); in callback_file_close()
635 struct output_file_callback *outc; in output_file_open_callback() local
637 outc = calloc(1, sizeof(struct output_file_callback)); in output_file_open_callback()
638 if (!outc) { in output_file_open_callback()
643 outc->out.ops = &callback_file_ops; in output_file_open_callback()
644 outc->priv = priv; in output_file_open_callback()
645 outc->write = write; in output_file_open_callback()
647 ret = output_file_init(&outc->out, block_size, len, sparse, chunks, crc); in output_file_open_callback()
649 free(outc); in output_file_open_callback()
653 return &outc->out; in output_file_open_callback()