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