Lines Matching refs:r_ptr
121 JpegReader* r_ptr = new JpegReader(); in InputStream_setup() local
124 int32_t errorFlag = r_ptr->setup(env, in, &w, &h, fmt); in InputStream_setup()
126 delete r_ptr; in InputStream_setup()
135 delete r_ptr; in InputStream_setup()
140 env->SetLongField(thiz, fidNumber, reinterpret_cast<jlong>(r_ptr)); in InputStream_setup()
142 delete r_ptr; in InputStream_setup()
183 JpegReader* r_ptr = reinterpret_cast<JpegReader*>(ptr); in getRPtr() local
187 return r_ptr; in getRPtr()
207 JpegReader* r_ptr = getRPtr(env, thiz, &fidNumber); in InputStream_cleanup() local
208 if (r_ptr == NULL) { in InputStream_cleanup()
212 r_ptr->updateEnv(env); in InputStream_cleanup()
214 delete r_ptr; in InputStream_cleanup()
215 r_ptr = NULL; in InputStream_cleanup()
217 env->SetLongField(thiz, fidNumber, reinterpret_cast<jlong>(r_ptr)); in InputStream_cleanup()
248 JpegReader* r_ptr = getRPtr(env, thiz, NULL); in InputStream_readDecodedBytes() local
249 if (r_ptr == NULL) { in InputStream_readDecodedBytes()
263 r_ptr->updateEnv(env); in InputStream_readDecodedBytes()
265 read = r_ptr->read(in_bytes, off, in_len); in InputStream_readDecodedBytes()
281 JpegReader* r_ptr = getRPtr(env, thiz, NULL); in InputStream_skipDecodedBytes() local
282 if (r_ptr == NULL) { in InputStream_skipDecodedBytes()
287 r_ptr->updateEnv(env); in InputStream_skipDecodedBytes()
290 skip = r_ptr->read(NULL, 0, bytes); in InputStream_skipDecodedBytes()