Lines Matching refs:pEnv

206 void SystemChildWindow::ImplTestJavaException( void* pEnv )  in ImplTestJavaException()  argument
209 JNIEnv* pJavaEnv = reinterpret_cast< JNIEnv* >( pEnv ); in ImplTestJavaException()
278 … JNIEnv* pEnv = aVMAttachGuard.getEnvironment(); in GetParentWindowHandle() local
280 jclass jcToolkit = pEnv->FindClass("java/awt/Toolkit"); in GetParentWindowHandle()
281 ImplTestJavaException(pEnv); in GetParentWindowHandle()
283 …jmethodID jmToolkit_getDefaultToolkit = pEnv->GetStaticMethodID( jcToolkit, "getDefaultToolkit", "… in GetParentWindowHandle()
284 ImplTestJavaException(pEnv); in GetParentWindowHandle()
286pEnv->CallStaticObjectMethod(jcToolkit, jmToolkit_getDefaultToolkit); in GetParentWindowHandle()
287 ImplTestJavaException(pEnv); in GetParentWindowHandle()
289 … jclass jcMotifAppletViewer = pEnv->FindClass("sun/plugin/navig/motif/MotifAppletViewer"); in GetParentWindowHandle()
290 if( pEnv->ExceptionOccurred() ) in GetParentWindowHandle()
292 pEnv->ExceptionClear(); in GetParentWindowHandle()
294 … jcMotifAppletViewer = pEnv->FindClass( "sun/plugin/viewer/MNetscapePluginContext"); in GetParentWindowHandle()
295 ImplTestJavaException(pEnv); in GetParentWindowHandle()
298 jclass jcClassLoader = pEnv->FindClass("java/lang/ClassLoader"); in GetParentWindowHandle()
299 ImplTestJavaException(pEnv); in GetParentWindowHandle()
301 …jmethodID jmClassLoader_loadLibrary = pEnv->GetStaticMethodID( jcClassLoader, "loadLibrary", "(Lja… in GetParentWindowHandle()
302 ImplTestJavaException(pEnv); in GetParentWindowHandle()
304 jstring jsplugin = pEnv->NewStringUTF("javaplugin_jni"); in GetParentWindowHandle()
305 ImplTestJavaException(pEnv); in GetParentWindowHandle()
307pEnv->CallStaticVoidMethod(jcClassLoader, jmClassLoader_loadLibrary, jcMotifAppletViewer, jsplugin… in GetParentWindowHandle()
308 ImplTestJavaException(pEnv); in GetParentWindowHandle()
310 …jmethodID jmMotifAppletViewer_getWidget = pEnv->GetStaticMethodID( jcMotifAppletViewer, "getWidget… in GetParentWindowHandle()
311 ImplTestJavaException(pEnv); in GetParentWindowHandle()
314 … jint ji_widget = pEnv->CallStaticIntMethod( jcMotifAppletViewer, jmMotifAppletViewer_getWidget, in GetParentWindowHandle()
316 ImplTestJavaException(pEnv); in GetParentWindowHandle()