Lines Matching refs:thiz
31 static jint OutputStream_setup(JNIEnv* env, jobject thiz, jobject out, in OutputStream_setup() argument
34 jclass thisClass = env->GetObjectClass(thiz); in OutputStream_setup()
76 env->SetLongField(thiz, fidNumber, reinterpret_cast<jlong>(w_ptr)); in OutputStream_setup()
84 static jint InputStream_setup(JNIEnv* env, jobject thiz, jobject dimens, in InputStream_setup() argument
87 jclass thisClass = env->GetObjectClass(thiz); in InputStream_setup()
140 env->SetLongField(thiz, fidNumber, reinterpret_cast<jlong>(r_ptr)); in InputStream_setup()
148 static JpegWriter* getWPtr(JNIEnv* env, jobject thiz, jfieldID* fid) { in getWPtr() argument
149 jclass thisClass = env->GetObjectClass(thiz); in getWPtr()
157 jlong ptr = env->GetLongField(thiz, fidNumber); in getWPtr()
169 static JpegReader* getRPtr(JNIEnv* env, jobject thiz, jfieldID* fid) { in getRPtr() argument
170 jclass thisClass = env->GetObjectClass(thiz); in getRPtr()
178 jlong ptr = env->GetLongField(thiz, fidNumber); in getRPtr()
190 static void OutputStream_cleanup(JNIEnv* env, jobject thiz) { in OutputStream_cleanup() argument
192 JpegWriter* w_ptr = getWPtr(env, thiz, &fidNumber); in OutputStream_cleanup()
202 env->SetLongField(thiz, fidNumber, reinterpret_cast<jlong>(w_ptr)); in OutputStream_cleanup()
205 static void InputStream_cleanup(JNIEnv* env, jobject thiz) { in InputStream_cleanup() argument
207 JpegReader* r_ptr = getRPtr(env, thiz, &fidNumber); in InputStream_cleanup()
217 env->SetLongField(thiz, fidNumber, reinterpret_cast<jlong>(r_ptr)); in InputStream_cleanup()
220 static jint OutputStream_writeInputBytes(JNIEnv* env, jobject thiz, in OutputStream_writeInputBytes() argument
222 JpegWriter* w_ptr = getWPtr(env, thiz, NULL); in OutputStream_writeInputBytes()
246 static jint InputStream_readDecodedBytes(JNIEnv* env, jobject thiz, in InputStream_readDecodedBytes() argument
248 JpegReader* r_ptr = getRPtr(env, thiz, NULL); in InputStream_readDecodedBytes()
276 static jint InputStream_skipDecodedBytes(JNIEnv* env, jobject thiz, in InputStream_skipDecodedBytes() argument
281 JpegReader* r_ptr = getRPtr(env, thiz, NULL); in InputStream_skipDecodedBytes()