Lines Matching refs:w_ptr
66 JpegWriter* w_ptr = new JpegWriter(); in OutputStream_setup() local
69 int32_t errorFlag = w_ptr->setup(env, out, w, h, fmt, q); in OutputStream_setup()
71 delete w_ptr; in OutputStream_setup()
76 env->SetLongField(thiz, fidNumber, reinterpret_cast<jlong>(w_ptr)); in OutputStream_setup()
78 delete w_ptr; in OutputStream_setup()
162 JpegWriter* w_ptr = reinterpret_cast<JpegWriter*>(ptr); in getWPtr() local
166 return w_ptr; in getWPtr()
192 JpegWriter* w_ptr = getWPtr(env, thiz, &fidNumber); in OutputStream_cleanup() local
193 if (w_ptr == NULL) { in OutputStream_cleanup()
197 w_ptr->updateEnv(env); in OutputStream_cleanup()
199 delete w_ptr; in OutputStream_cleanup()
200 w_ptr = NULL; in OutputStream_cleanup()
202 env->SetLongField(thiz, fidNumber, reinterpret_cast<jlong>(w_ptr)); in OutputStream_cleanup()
222 JpegWriter* w_ptr = getWPtr(env, thiz, NULL); in OutputStream_writeInputBytes() local
223 if (w_ptr == NULL) { in OutputStream_writeInputBytes()
239 w_ptr->updateEnv(env); in OutputStream_writeInputBytes()
241 written = w_ptr->write(in_bytes, in_len); in OutputStream_writeInputBytes()