Home
last modified time | relevance | path

Searched refs:jni_env (Results 1 – 8 of 8) sorted by relevance

/trunk/main/javaunohelper/source/
H A Dbootstrap.cxx61 jsize len = jni_env->GetStringLength( jstr ); in jstring_to_oustring()
64 jni_env->GetStringRegion( jstr, 0, len, ustr->buffer ); in jstring_to_oustring()
65 OSL_ASSERT( JNI_FALSE == jni_env->ExceptionCheck() ); in jstring_to_oustring()
88 if (JNI_FALSE != jni_env->ExceptionCheck()) in Java_com_sun_star_comp_helper_Bootstrap_cppuhelper_1bootstrap()
90 jni_env->ExceptionClear(); in Java_com_sun_star_comp_helper_Bootstrap_cppuhelper_1bootstrap()
99 if (JNI_FALSE != jni_env->ExceptionCheck()) in Java_com_sun_star_comp_helper_Bootstrap_cppuhelper_1bootstrap()
101 jni_env->ExceptionClear(); in Java_com_sun_star_comp_helper_Bootstrap_cppuhelper_1bootstrap()
155 jobject jlocal = jni_env->NewLocalRef( jret ); in Java_com_sun_star_comp_helper_Bootstrap_cppuhelper_1bootstrap()
156 jni_env->DeleteGlobalRef( jret ); in Java_com_sun_star_comp_helper_Bootstrap_cppuhelper_1bootstrap()
168 jni_env->ThrowNew( c, cstr.getStr() ); in Java_com_sun_star_comp_helper_Bootstrap_cppuhelper_1bootstrap()
[all …]
H A Dpreload.cxx60 static bool inited_juhx( JNIEnv * jni_env ) in inited_juhx() argument
69 jclass c = jni_env->FindClass( "java/lang/RuntimeException" ); in inited_juhx()
70 jni_env->ThrowNew( in inited_juhx()
99 jclass c = jni_env->FindClass( "java/lang/RuntimeException" ); in inited_juhx()
100 jni_env->ThrowNew( in inited_juhx()
147 JNIEnv * jni_env, jclass jClass, jstring juno_rc, jobjectArray jpairs, in Java_com_sun_star_comp_helper_Bootstrap_cppuhelper_1bootstrap() argument
150 if (inited_juhx( jni_env )) in Java_com_sun_star_comp_helper_Bootstrap_cppuhelper_1bootstrap()
151 return (*s_bootstrap)( jni_env, jClass, juno_rc, jpairs, loader ); in Java_com_sun_star_comp_helper_Bootstrap_cppuhelper_1bootstrap()
H A Dvm.cxx111 JNIEnv * jni_env, jobject loader ) in create_vm_access() argument
114 jni_env->GetJavaVM( &vm ); in create_vm_access()
118 vm, JNI_VERSION_1_2, false, jni_env ), in create_vm_access()
H A Dvm.hxx41 JNIEnv * jni_env, jobject loader );
/trunk/main/bridges/source/jni_uno/
H A Djni_info.cxx68 JNI_type_info::destruct( jni_env ); in destroy()
69 jni_env->DeleteGlobalRef( m_proxy_ctor ); in destroy()
70 jni_env->DeleteGlobalRef( m_type ); in destroy()
234 JNI_type_info::destruct( jni_env ); in destroy()
869 destruct( jni_env ); in JNI_info()
875 void JNI_info::destruct( JNIEnv * jni_env ) in destruct() argument
901 jni_env->DeleteGlobalRef( m_class_Long ); in destruct()
904 jni_env->DeleteGlobalRef( m_class_Byte ); in destruct()
913 jni_env->DeleteGlobalRef( m_class_Any ); in destruct()
969 new_info->destroy( jni_env ); in get_jni_info()
[all …]
H A Djni_info.h74 virtual void destroy( JNIEnv * jni_env ) = 0;
76 inline void destruct( JNIEnv * jni_env ) in destruct()
77 { jni_env->DeleteGlobalRef( m_class ); } in destruct()
91 virtual void destroy( JNIEnv * jni_env );
105 virtual void destroy( JNIEnv * jni_env );
228 inline void destroy( JNIEnv * jni_env );
234 void destruct( JNIEnv * jni_env );
236 JNI_info( JNIEnv * jni_env, jobject class_loader,
242 inline void JNI_info::destroy( JNIEnv * jni_env ) in destroy() argument
244 destruct( jni_env ); in destroy()
H A Djni_java2uno.cxx391 JNIEnv * jni_env, jobject jo_proxy, jlong bridge_handle, jstring, in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call() argument
398 jni_info, jni_env, in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call()
658 JNIEnv * jni_env, jobject jo_proxy, jlong bridge_handle ) in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_finalize__J() argument
664 jni_info, jni_env, in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_finalize__J()
/trunk/main/bridges/test/java_uno/any/
H A Dtransport.cxx62 JNIEnv * jni_env, jclass, jobject loader ) in Java_test_java_1uno_anytest_TestJni_create_1jni_1transport() argument
73 OSL_VERIFY( 0 == jni_env->GetJavaVM( &java_vm ) ); in Java_test_java_1uno_anytest_TestJni_create_1jni_1transport()
79 java_vm, JNI_VERSION_1_2, false, jni_env ), in Java_test_java_1uno_anytest_TestJni_create_1jni_1transport()
101 jobject jo_ret = jni_env->NewLocalRef( jo_global ); in Java_test_java_1uno_anytest_TestJni_create_1jni_1transport()
102 jni_env->DeleteGlobalRef( jo_global ); in Java_test_java_1uno_anytest_TestJni_create_1jni_1transport()

Completed in 49 milliseconds