Lines Matching refs:pEnv

206 void SystemChildWindow::ImplTestJavaException( void* pEnv )  in ImplTestJavaException()  argument
209 JNIEnv* pJavaEnv = reinterpret_cast< JNIEnv* >( pEnv ); in ImplTestJavaException()
280 … JNIEnv* pEnv = aVMAttachGuard.getEnvironment(); in GetParentWindowHandle() local
282 jclass jcToolkit = pEnv->FindClass("java/awt/Toolkit"); in GetParentWindowHandle()
283 ImplTestJavaException(pEnv); in GetParentWindowHandle()
285 …jmethodID jmToolkit_getDefaultToolkit = pEnv->GetStaticMethodID( jcToolkit, "getDefaultToolkit", "… in GetParentWindowHandle()
286 ImplTestJavaException(pEnv); in GetParentWindowHandle()
288pEnv->CallStaticObjectMethod(jcToolkit, jmToolkit_getDefaultToolkit); in GetParentWindowHandle()
289 ImplTestJavaException(pEnv); in GetParentWindowHandle()
291 … jclass jcMotifAppletViewer = pEnv->FindClass("sun/plugin/navig/motif/MotifAppletViewer"); in GetParentWindowHandle()
292 if( pEnv->ExceptionOccurred() ) in GetParentWindowHandle()
294 pEnv->ExceptionClear(); in GetParentWindowHandle()
296 … jcMotifAppletViewer = pEnv->FindClass( "sun/plugin/viewer/MNetscapePluginContext"); in GetParentWindowHandle()
297 ImplTestJavaException(pEnv); in GetParentWindowHandle()
300 jclass jcClassLoader = pEnv->FindClass("java/lang/ClassLoader"); in GetParentWindowHandle()
301 ImplTestJavaException(pEnv); in GetParentWindowHandle()
303 …jmethodID jmClassLoader_loadLibrary = pEnv->GetStaticMethodID( jcClassLoader, "loadLibrary", "(Lja… in GetParentWindowHandle()
304 ImplTestJavaException(pEnv); in GetParentWindowHandle()
306 jstring jsplugin = pEnv->NewStringUTF("javaplugin_jni"); in GetParentWindowHandle()
307 ImplTestJavaException(pEnv); in GetParentWindowHandle()
309pEnv->CallStaticVoidMethod(jcClassLoader, jmClassLoader_loadLibrary, jcMotifAppletViewer, jsplugin… in GetParentWindowHandle()
310 ImplTestJavaException(pEnv); in GetParentWindowHandle()
312 …jmethodID jmMotifAppletViewer_getWidget = pEnv->GetStaticMethodID( jcMotifAppletViewer, "getWidget… in GetParentWindowHandle()
313 ImplTestJavaException(pEnv); in GetParentWindowHandle()
316 … jint ji_widget = pEnv->CallStaticIntMethod( jcMotifAppletViewer, jmMotifAppletViewer_getWidget, in GetParentWindowHandle()
318 ImplTestJavaException(pEnv); in GetParentWindowHandle()