Lines Matching refs:jni
44 JNI_context const & jni, in map_to_java() argument
54 JLocalAutoRef jo_oid( jni, ustring_to_jstring( jni, oid.pData ) ); in map_to_java()
58 jobject jo_iface = jni->CallObjectMethodA( in map_to_java()
61 jni.ensure_no_exception(); in map_to_java()
82 jo_iface = jni->CallStaticObjectMethodA( in map_to_java()
85 jni.ensure_no_exception(); in map_to_java()
94 void Bridge::handle_uno_exc( JNI_context const & jni, uno_Any * uno_exc ) const in handle_uno_exc() argument
101 uno_exc->pData )->Message += jni.get_stack_trace(); in handle_uno_exc()
125 jni, &java_exc, uno_exc->pData, uno_exc->pType, 0, in handle_uno_exc()
135 JLocalAutoRef jo_exc( jni, java_exc.l ); in handle_uno_exc()
136 jint res = jni->Throw( (jthrowable) jo_exc.get() ); in handle_uno_exc()
141 jni, jni->CallObjectMethodA( in handle_uno_exc()
143 jni.ensure_no_exception(); in handle_uno_exc()
147 buf.append( jstring_to_oustring( jni, (jstring) jo_descr.get() ) ); in handle_uno_exc()
148 buf.append( jni.get_stack_trace() ); in handle_uno_exc()
157 jni.get_stack_trace() ); in handle_uno_exc()
173 JNI_context const & jni, in call_uno() argument
210 OSL_ASSERT( (0 == nParams) || (nParams == jni->GetArrayLength( jo_args )) ); in call_uno()
235 jni, jni->GetObjectArrayElement( jo_args, nPos ) ); in call_uno()
236 jni.ensure_no_exception(); in call_uno()
240 jni, uno_args[ nPos ], java_arg, type, 0, in call_uno()
286 jni, jni->GetObjectArrayElement( jo_args, nPos ) ); in call_uno()
287 jni.ensure_no_exception(); in call_uno()
291 jni, &java_arg, uno_args[ nPos ], type, 0, in call_uno()
332 jni, &java_ret, uno_ret, return_type, 0, in call_uno()
373 handle_uno_exc( jni, uno_exc ); in call_uno()
397 JNI_context jni( in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call() local
407 method_name = jstring_to_oustring( jni, jo_method ); in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call()
415 jni, jni->GetObjectField( in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call()
417 trace_buf.append( jstring_to_oustring( jni, (jstring) jo_oid.get() ) ); in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call()
431 jni, jni->GetObjectField( in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call()
435 jni, jni->GetObjectArrayElement( jo_args, 0 ) ); in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call()
436 jni.ensure_no_exception(); in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call()
439 jni, jni->GetObjectField( in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call()
445 jni.get_stack_trace() ); in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call()
448 jstring_to_oustring( jni, (jstring) jo_type_name.get() ) ); in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call()
450 jni_info->get_type_info( jni, type_name ); in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call()
462 jni->GetLongField( in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call()
485 bridge->map_to_java( jni, pUnoRet, iface_info ); in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call()
499 bridge->handle_uno_exc( jni, uno_exc ); in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call()
506 jni->GetLongField( in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call()
510 jni->GetLongField( in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call()
545 jni, pUnoI, member_td.get(), in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call()
577 jni, pUnoI, member_td.get(), in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call()
596 jni, pUnoI, member_td.get(), in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call()
613 buf.append( jni.get_stack_trace() ); in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call()
630 if (jni->ThrowNew(jni_info->m_class_RuntimeException, cstr_msg.getStr()) in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call()
644 jni.get_stack_trace(), RTL_TEXTENCODING_JAVA_UTF8 ) ); in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call()
646 if (jni->ThrowNew(jni_info->m_class_RuntimeException, cstr_msg.getStr()) in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_dispatch_1call()
663 JNI_context jni( in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_finalize__J() local
670 jni->GetLongField( in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_finalize__J()
674 jni->GetLongField( in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_finalize__J()
680 jni, jni->GetObjectField( in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_finalize__J()
682 OUString oid( jstring_to_oustring( jni, (jstring) jo_oid.get() ) ); in Java_com_sun_star_bridges_jni_1uno_JNI_1proxy_finalize__J()