Lines Matching refs:env
57 static void ThrowException(JNIEnv * env, char const * type, char const * msg) { in ThrowException() argument
59 (*env)->ExceptionClear(env); in ThrowException()
60 c = (*env)->FindClass(env, type); in ThrowException()
62 (*env)->ExceptionClear(env); in ThrowException()
63 (*env)->FatalError( in ThrowException()
64 env, "JNI FindClass failed"); in ThrowException()
66 if ((*env)->ThrowNew(env, c, msg) != 0) { in ThrowException()
67 (*env)->ExceptionClear(env); in ThrowException()
68 (*env)->FatalError(env, "JNI ThrowNew failed"); in ThrowException()
80 (JNIEnv * env, jobject obj_this) in Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindowSystemType() argument
82 (void) env; // unused in Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindowSystemType()
95 (JNIEnv * env, jobject obj_this) in Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindow() argument
110 result = JAWT_GetAWT(env, &awt); in Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindow()
112 ThrowException(env, "java/lang/RuntimeException", "JAWT_GetAWT failed"); in Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindow()
115 if ((ds = awt.GetDrawingSurface(env, obj_this)) == NULL) in Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindow()
121 ThrowException(env, "java/lang/RuntimeException", in Java_com_sun_star_comp_beans_LocalOfficeWindow_getNativeWindow()