Lines Matching refs:env
49 static void ThrowException(JNIEnv * env, char const * type, char const * msg) { in ThrowException() argument
51 (*env)->ExceptionClear(env); in ThrowException()
52 c = (*env)->FindClass(env, type); in ThrowException()
54 (*env)->ExceptionClear(env); in ThrowException()
55 (*env)->FatalError( in ThrowException()
56 env, "JNI FindClass failed"); in ThrowException()
58 if ((*env)->ThrowNew(env, c, msg) != 0) { in ThrowException()
59 (*env)->ExceptionClear(env); in ThrowException()
60 (*env)->FatalError(env, "JNI ThrowNew failed"); in ThrowException()
71 (JNIEnv * env, jobject obj_this) in Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindowSystemType() argument
73 (void) env; /* avoid warning about unused parameter */ in Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindowSystemType()
86 (JNIEnv * env, jobject obj_this) in Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindow() argument
101 result = JAWT_GetAWT(env, &awt); in Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindow()
103 ThrowException(env, "java/lang/RuntimeException", "JAWT_GetAWT failed"); in Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindow()
106 if ((ds = awt.GetDrawingSurface(env, obj_this)) == NULL) in Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindow()
112 ThrowException(env, "java/lang/RuntimeException", in Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindow()