Lines Matching refs:outStream
26 dst->mgr.next_output_byte = reinterpret_cast<JOCTET*>(dst->outStream->getBufferPtr()); in Mgr_init_destination_fcn()
27 dst->mgr.free_in_buffer = dst->outStream->getBufferSize(); in Mgr_init_destination_fcn()
32 int32_t len = dst->outStream->getBufferSize(); in Mgr_empty_output_buffer_fcn()
33 if (dst->outStream->write(len, 0) != J_SUCCESS) { in Mgr_empty_output_buffer_fcn()
36 dst->mgr.next_output_byte = reinterpret_cast<JOCTET*>(dst->outStream->getBufferPtr()); in Mgr_empty_output_buffer_fcn()
43 int32_t remaining = dst->outStream->getBufferSize() - dst->mgr.free_in_buffer; in Mgr_term_destination_fcn()
44 if (dst->outStream->write(remaining, 0) != J_SUCCESS) { in Mgr_term_destination_fcn()
49 int32_t MakeDst(j_compress_ptr cinfo, JNIEnv *env, jobject outStream) { in MakeDst() argument
67 d->outStream = new OutputStreamWrapper(); in MakeDst()
68 if(d->outStream->init(env, outStream)) { in MakeDst()
76 d->outStream->updateEnv(env); in UpdateDstEnv()
82 if (d->outStream != NULL) { in CleanDst()
83 delete d->outStream; in CleanDst()
84 d->outStream = NULL; in CleanDst()