Lines Matching refs:env
47 withEnv:(JNIEnv*)env;
51 fFileDialog = JNFNewGlobalRef(env, inDialog);
70 JNIEnv *env = [ThreadUtilities getJNIEnvUncached];
71 JNFDeleteGlobalRef(env, fFileDialog);
137 JNIEnv *env = [ThreadUtilities getJNIEnv];
138 jstring jString = JNFNormalizedJavaStringForPath(env, filename);
142 BOOL returnValue = JNFCallBooleanMethod(env, fFileDialog, jm_queryFF, jString); // AWT_THREADING Safe (AWTRunLoopMode)
143 (*env)->DeleteLocalRef(env, jString);
186 (JNIEnv *env, jobject peer, jstring title, jint mode, jboolean multipleMode,
192 JNF_COCOA_ENTER(env);
193 NSString *dialogTitle = JNFJavaToNSString(env, title);
201 directory:JNFJavaToNSString(env, directory)
202 file:JNFJavaToNSString(env, file)
207 withEnv:env];
218 jclass stringClass = (*env)->FindClass(env, "java/lang/String");
219 returnValue = (*env)->NewObjectArray(env, count, stringClass, NULL);
220 (*env)->DeleteLocalRef(env, stringClass);
223 jstring filename = JNFNormalizedJavaStringForPath(env, [url path]);
224 (*env)->SetObjectArrayElement(env, returnValue, index, filename);
225 (*env)->DeleteLocalRef(env, filename);
230 JNF_COCOA_EXIT(env);