Lines Matching refs:jni
55 JNI_context const & jni, void * uno_data, in createDefaultUnoValue() argument
130 jni.get_info()->m_XInterface_type_info->m_td.get(), 0); in createDefaultUnoValue()
158 info = jni.get_info()->get_type_info(jni, type); in createDefaultUnoValue()
170 jni, uno_data, in createDefaultUnoValue()
176 jni, in createDefaultUnoValue()
218 JNI_context const & jni, in map_to_uno() argument
227 (1 == jni->GetArrayLength( (jarray) java_data.l )) ); in map_to_uno()
234 jni->GetCharArrayRegion( in map_to_uno()
236 jni.ensure_no_exception(); in map_to_uno()
240 *(jchar *) uno_data = jni->CallCharMethodA( in map_to_uno()
242 jni.ensure_no_exception(); in map_to_uno()
252 jni->GetBooleanArrayRegion( in map_to_uno()
254 jni.ensure_no_exception(); in map_to_uno()
258 *(jboolean *) uno_data = jni->CallBooleanMethodA( in map_to_uno()
260 jni.ensure_no_exception(); in map_to_uno()
270 jni->GetByteArrayRegion( in map_to_uno()
272 jni.ensure_no_exception(); in map_to_uno()
276 *(jbyte *) uno_data = jni->CallByteMethodA( in map_to_uno()
278 jni.ensure_no_exception(); in map_to_uno()
289 jni->GetShortArrayRegion( in map_to_uno()
291 jni.ensure_no_exception(); in map_to_uno()
295 *(jshort *) uno_data = jni->CallShortMethodA( in map_to_uno()
297 jni.ensure_no_exception(); in map_to_uno()
308 jni->GetIntArrayRegion( in map_to_uno()
310 jni.ensure_no_exception(); in map_to_uno()
314 *(jint *) uno_data = jni->CallIntMethodA( in map_to_uno()
316 jni.ensure_no_exception(); in map_to_uno()
327 jni->GetLongArrayRegion( in map_to_uno()
329 jni.ensure_no_exception(); in map_to_uno()
333 *(jlong *) uno_data = jni->CallLongMethodA( in map_to_uno()
335 jni.ensure_no_exception(); in map_to_uno()
345 jni->GetFloatArrayRegion( in map_to_uno()
347 jni.ensure_no_exception(); in map_to_uno()
351 *(jfloat *) uno_data = jni->CallFloatMethodA( in map_to_uno()
353 jni.ensure_no_exception(); in map_to_uno()
363 jni->GetDoubleArrayRegion( in map_to_uno()
365 jni.ensure_no_exception(); in map_to_uno()
369 *(jdouble *) uno_data = jni->CallDoubleMethodA( in map_to_uno()
371 jni.ensure_no_exception(); in map_to_uno()
380 JLocalAutoRef jo_out_holder( jni ); in map_to_uno()
384 jni->GetObjectArrayElement( (jobjectArray) java_data.l, 0 ) ); in map_to_uno()
385 jni.ensure_no_exception(); in map_to_uno()
394 buf.append( jni.get_stack_trace() ); in map_to_uno()
400 jni, (rtl_uString **)uno_data, (jstring) java_data.l ); in map_to_uno()
405 JLocalAutoRef jo_out_holder( jni ); in map_to_uno()
409 jni->GetObjectArrayElement( (jobjectArray) java_data.l, 0 ) ); in map_to_uno()
410 jni.ensure_no_exception(); in map_to_uno()
419 buf.append( jni.get_stack_trace() ); in map_to_uno()
425 jni, jni->GetObjectField( in map_to_uno()
435 buf.append( jni.get_stack_trace() ); in map_to_uno()
439 jstring_to_oustring( jni, (jstring) jo_type_name.get() ) ); in map_to_uno()
449 buf.append( jni.get_stack_trace() ); in map_to_uno()
463 JLocalAutoRef jo_out_holder( jni ); in map_to_uno()
467 jni->GetObjectArrayElement( (jobjectArray) java_data.l, 0 ) ); in map_to_uno()
468 jni.ensure_no_exception(); in map_to_uno()
482 JLocalAutoRef jo_type( jni ); in map_to_uno()
483 JLocalAutoRef jo_wrapped_holder( jni ); in map_to_uno()
485 if (JNI_FALSE != jni->IsInstanceOf( in map_to_uno()
489 jo_type.reset( jni->GetObjectField( in map_to_uno()
499 buf.append( jni.get_stack_trace() ); in map_to_uno()
504 jni->GetObjectField( in map_to_uno()
511 JLocalAutoRef jo_class( jni, jni->GetObjectClass( java_data.l ) ); in map_to_uno()
512 jo_type.reset( create_type( jni, (jclass) jo_class.get() ) ); in map_to_uno()
516 jni, jni->CallObjectMethodA( in map_to_uno()
518 jni.ensure_no_exception(); in map_to_uno()
520 jstring_to_oustring( jni, (jstring) jo_toString.get() ) ); in map_to_uno()
527 jni, jni->GetObjectField( in map_to_uno()
529 jni.ensure_no_exception(); in map_to_uno()
531 jstring_to_oustring( jni, (jstring) jo_type_name.get() ) ); in map_to_uno()
542 buf.append( jni.get_stack_trace() ); in map_to_uno()
559 *(jchar *) &pAny->pReserved = jni->CallCharMethodA( in map_to_uno()
561 jni.ensure_no_exception(); in map_to_uno()
565 *(jboolean *) &pAny->pReserved = jni->CallBooleanMethodA( in map_to_uno()
567 jni.ensure_no_exception(); in map_to_uno()
571 *(jbyte *) &pAny->pReserved = jni->CallByteMethodA( in map_to_uno()
573 jni.ensure_no_exception(); in map_to_uno()
578 *(jshort *) &pAny->pReserved = jni->CallShortMethodA( in map_to_uno()
580 jni.ensure_no_exception(); in map_to_uno()
585 *(jint *) &pAny->pReserved = jni->CallIntMethodA( in map_to_uno()
587 jni.ensure_no_exception(); in map_to_uno()
594 *(jlong *) &pAny->pReserved = jni->CallLongMethodA( in map_to_uno()
596 jni.ensure_no_exception(); in map_to_uno()
603 *(jlong *) mem.get() = jni->CallLongMethodA( in map_to_uno()
605 jni.ensure_no_exception(); in map_to_uno()
612 *(jfloat *) &pAny->pReserved = jni->CallFloatMethodA( in map_to_uno()
614 jni.ensure_no_exception(); in map_to_uno()
621 *(jfloat *) mem.get() = jni->CallFloatMethodA( in map_to_uno()
623 jni.ensure_no_exception(); in map_to_uno()
631 jni->CallDoubleMethodA( in map_to_uno()
634 jni.ensure_no_exception(); in map_to_uno()
642 jni->CallDoubleMethodA( in map_to_uno()
645 jni.ensure_no_exception(); in map_to_uno()
653 jni, (rtl_uString **)&pAny->pReserved, in map_to_uno()
662 jni, &pAny->pReserved, java_data, in map_to_uno()
673 jni, mem.get(), java_data, value_td.get()->pWeakRef, 0, in map_to_uno()
686 buf.append( jni.get_stack_trace() ); in map_to_uno()
706 JLocalAutoRef jo_out_holder( jni ); in map_to_uno()
710 jni->GetObjectArrayElement( (jobjectArray) java_data.l, 0 ) ); in map_to_uno()
711 jni.ensure_no_exception(); in map_to_uno()
720 buf.append( jni.get_stack_trace() ); in map_to_uno()
724 *(jint *) uno_data = jni->GetIntField( in map_to_uno()
731 JLocalAutoRef jo_out_holder( jni ); in map_to_uno()
735 jni->GetObjectArrayElement( (jobjectArray) java_data.l, 0 ) ); in map_to_uno()
736 jni.ensure_no_exception(); in map_to_uno()
745 buf.append( jni.get_stack_trace() ); in map_to_uno()
750 info = m_jni_info->get_type_info( jni, type ); in map_to_uno()
768 jni, uno_data, java_data, in map_to_uno()
789 jni, jni->GetObjectField( java_data.l, field_id ) ); in map_to_uno()
796 jni, p, val, member_type, 0, assign, false, in map_to_uno()
800 *(jchar *) p = jni->GetCharField( in map_to_uno()
807 jni, jni->GetObjectField( java_data.l, field_id ) ); in map_to_uno()
814 jni, p, val, member_type, 0, assign, false, in map_to_uno()
818 *(jboolean *) p = jni->GetBooleanField( in map_to_uno()
825 jni, jni->GetObjectField( java_data.l, field_id ) ); in map_to_uno()
832 jni, p, val, member_type, 0, assign, false, in map_to_uno()
836 *(jbyte *) p = jni->GetByteField( in map_to_uno()
844 jni, jni->GetObjectField( java_data.l, field_id ) ); in map_to_uno()
851 jni, p, val, member_type, 0, assign, false, in map_to_uno()
855 *(jshort *) p = jni->GetShortField( in map_to_uno()
863 jni, jni->GetObjectField( java_data.l, field_id ) ); in map_to_uno()
870 jni, p, val, member_type, 0, assign, false, in map_to_uno()
874 *(jint *) p = jni->GetIntField( java_data.l, field_id ); in map_to_uno()
881 jni, jni->GetObjectField( java_data.l, field_id ) ); in map_to_uno()
888 jni, p, val, member_type, 0, assign, false, in map_to_uno()
892 *(jlong *) p = jni->GetLongField( in map_to_uno()
899 jni, jni->GetObjectField( java_data.l, field_id ) ); in map_to_uno()
906 jni, p, val, member_type, 0, assign, false, in map_to_uno()
910 *(jfloat *) p = jni->GetFloatField( in map_to_uno()
917 jni, jni->GetObjectField( java_data.l, field_id ) ); in map_to_uno()
924 jni, p, val, member_type, 0, assign, false, in map_to_uno()
928 *(jdouble *) p = jni->GetDoubleField( in map_to_uno()
934 JLocalAutoRef jo_field( jni ); in map_to_uno()
950 jni->CallObjectMethodA( in map_to_uno()
954 jni.ensure_no_exception(); in map_to_uno()
960 jni->GetObjectField( java_data.l, field_id ) ); in map_to_uno()
964 createDefaultUnoValue(jni, p, member_type, 0, assign); in map_to_uno()
969 jni, p, val, member_type, 0, in map_to_uno()
1003 JLocalAutoRef jo_out_holder( jni ); in map_to_uno()
1007 jni->GetObjectArrayElement( (jobjectArray) java_data.l, 0 ) ); in map_to_uno()
1008 jni.ensure_no_exception(); in map_to_uno()
1017 buf.append( jni.get_stack_trace() ); in map_to_uno()
1026 sal_Int32 nElements = jni->GetArrayLength( (jarray) java_data.l ); in map_to_uno()
1032 jni->GetCharArrayRegion( in map_to_uno()
1035 jni.ensure_no_exception(); in map_to_uno()
1039 jni->GetBooleanArrayRegion( in map_to_uno()
1042 jni.ensure_no_exception(); in map_to_uno()
1046 jni->GetByteArrayRegion( in map_to_uno()
1049 jni.ensure_no_exception(); in map_to_uno()
1054 jni->GetShortArrayRegion( in map_to_uno()
1057 jni.ensure_no_exception(); in map_to_uno()
1062 jni->GetIntArrayRegion( in map_to_uno()
1065 jni.ensure_no_exception(); in map_to_uno()
1070 jni->GetLongArrayRegion( in map_to_uno()
1073 jni.ensure_no_exception(); in map_to_uno()
1077 jni->GetFloatArrayRegion( in map_to_uno()
1080 jni.ensure_no_exception(); in map_to_uno()
1084 jni->GetDoubleArrayRegion( in map_to_uno()
1087 jni.ensure_no_exception(); in map_to_uno()
1107 m_jni_info->get_type_info( jni, element_td.get() ); in map_to_uno()
1119 jni, jni->GetObjectArrayElement( in map_to_uno()
1121 jni.ensure_no_exception(); in map_to_uno()
1128 jni, p, val, element_td.get()->pWeakRef, element_info, in map_to_uno()
1156 buf.append( jni.get_stack_trace() ); in map_to_uno()
1168 JLocalAutoRef jo_out_holder( jni ); in map_to_uno()
1172 jni->GetObjectArrayElement( (jobjectArray) java_data.l, 0 ) ); in map_to_uno()
1173 jni.ensure_no_exception(); in map_to_uno()
1190 info = m_jni_info->get_type_info( jni, type ); in map_to_uno()
1193 uno_Interface * pUnoI = map_to_uno( jni, java_data.l, iface_info ); in map_to_uno()
1210 buf.append( jni.get_stack_trace() ); in map_to_uno()
1220 JNI_context const & jni, in map_to_java() argument
1234 JLocalAutoRef jo_ar( jni, jni->NewCharArray( 1 ) ); in map_to_java()
1235 jni.ensure_no_exception(); in map_to_java()
1238 jni->SetCharArrayRegion( in map_to_java()
1240 jni.ensure_no_exception(); in map_to_java()
1248 jni->SetCharArrayRegion( in map_to_java()
1250 jni.ensure_no_exception(); in map_to_java()
1258 java_data->l = jni->NewObjectA( in map_to_java()
1261 jni.ensure_no_exception(); in map_to_java()
1273 JLocalAutoRef jo_ar( jni, jni->NewBooleanArray( 1 ) ); in map_to_java()
1274 jni.ensure_no_exception(); in map_to_java()
1277 jni->SetBooleanArrayRegion( in map_to_java()
1280 jni.ensure_no_exception(); in map_to_java()
1288 jni->SetBooleanArrayRegion( in map_to_java()
1291 jni.ensure_no_exception(); in map_to_java()
1299 java_data->l = jni->NewObjectA( in map_to_java()
1302 jni.ensure_no_exception(); in map_to_java()
1314 JLocalAutoRef jo_ar( jni, jni->NewByteArray( 1 ) ); in map_to_java()
1315 jni.ensure_no_exception(); in map_to_java()
1318 jni->SetByteArrayRegion( in map_to_java()
1320 jni.ensure_no_exception(); in map_to_java()
1328 jni->SetByteArrayRegion( in map_to_java()
1330 jni.ensure_no_exception(); in map_to_java()
1338 java_data->l = jni->NewObjectA( in map_to_java()
1341 jni.ensure_no_exception(); in map_to_java()
1354 JLocalAutoRef jo_ar( jni, jni->NewShortArray( 1 ) ); in map_to_java()
1355 jni.ensure_no_exception(); in map_to_java()
1358 jni->SetShortArrayRegion( in map_to_java()
1360 jni.ensure_no_exception(); in map_to_java()
1368 jni->SetShortArrayRegion( in map_to_java()
1370 jni.ensure_no_exception(); in map_to_java()
1378 java_data->l = jni->NewObjectA( in map_to_java()
1381 jni.ensure_no_exception(); in map_to_java()
1394 JLocalAutoRef jo_ar( jni, jni->NewIntArray( 1 ) ); in map_to_java()
1395 jni.ensure_no_exception(); in map_to_java()
1398 jni->SetIntArrayRegion( in map_to_java()
1400 jni.ensure_no_exception(); in map_to_java()
1408 jni->SetIntArrayRegion( in map_to_java()
1410 jni.ensure_no_exception(); in map_to_java()
1418 java_data->l = jni->NewObjectA( in map_to_java()
1421 jni.ensure_no_exception(); in map_to_java()
1434 JLocalAutoRef jo_ar( jni, jni->NewLongArray( 1 ) ); in map_to_java()
1435 jni.ensure_no_exception(); in map_to_java()
1438 jni->SetLongArrayRegion( in map_to_java()
1440 jni.ensure_no_exception(); in map_to_java()
1448 jni->SetLongArrayRegion( in map_to_java()
1450 jni.ensure_no_exception(); in map_to_java()
1458 java_data->l = jni->NewObjectA( in map_to_java()
1461 jni.ensure_no_exception(); in map_to_java()
1473 JLocalAutoRef jo_ar( jni, jni->NewFloatArray( 1 ) ); in map_to_java()
1474 jni.ensure_no_exception(); in map_to_java()
1477 jni->SetFloatArrayRegion( in map_to_java()
1479 jni.ensure_no_exception(); in map_to_java()
1487 jni->SetFloatArrayRegion( in map_to_java()
1489 jni.ensure_no_exception(); in map_to_java()
1497 java_data->l = jni->NewObjectA( in map_to_java()
1500 jni.ensure_no_exception(); in map_to_java()
1512 JLocalAutoRef jo_ar( jni, jni->NewDoubleArray( 1 ) ); in map_to_java()
1513 jni.ensure_no_exception(); in map_to_java()
1516 jni->SetDoubleArrayRegion( in map_to_java()
1519 jni.ensure_no_exception(); in map_to_java()
1527 jni->SetDoubleArrayRegion( in map_to_java()
1530 jni.ensure_no_exception(); in map_to_java()
1538 java_data->l = jni->NewObjectA( in map_to_java()
1541 jni.ensure_no_exception(); in map_to_java()
1552 JLocalAutoRef jo_in( jni ); in map_to_java()
1557 jni, *(rtl_uString * const *) uno_data ) ); in map_to_java()
1561 java_data->l = jni->NewObjectArray( in map_to_java()
1563 jni.ensure_no_exception(); in map_to_java()
1567 jni->SetObjectArrayElement( in map_to_java()
1569 jni.ensure_no_exception(); in map_to_java()
1576 ustring_to_jstring( jni, *(rtl_uString * const *) uno_data ); in map_to_java()
1584 JLocalAutoRef jo_in( jni ); in map_to_java()
1589 jni, in map_to_java()
1595 java_data->l = jni->NewObjectArray( in map_to_java()
1597 jni.ensure_no_exception(); in map_to_java()
1601 jni->SetObjectArrayElement( in map_to_java()
1603 jni.ensure_no_exception(); in map_to_java()
1611 jni, in map_to_java()
1618 JLocalAutoRef jo_any( jni ); in map_to_java()
1627 jni->NewLocalRef( m_jni_info->m_object_Any_VOID ) ); in map_to_java()
1633 jni, &args[ 1 ], pAny->pData, pAny->pType, 0, in map_to_java()
1638 JLocalAutoRef jo_type( jni, create_type( jni, pAny->pType ) ); in map_to_java()
1641 jni->NewObjectA( in map_to_java()
1644 jni.ensure_no_exception(); in map_to_java()
1651 jni->NewLocalRef( m_jni_info->m_object_Any_VOID ) ); in map_to_java()
1658 jni, jni->NewObjectA( in map_to_java()
1661 jni.ensure_no_exception(); in map_to_java()
1666 jni->NewObjectA( in map_to_java()
1669 jni.ensure_no_exception(); in map_to_java()
1677 jni, jni->NewObjectA( in map_to_java()
1680 jni.ensure_no_exception(); in map_to_java()
1685 jni->NewObjectA( in map_to_java()
1688 jni.ensure_no_exception(); in map_to_java()
1696 jni, jni->NewObjectA( in map_to_java()
1699 jni.ensure_no_exception(); in map_to_java()
1704 jni->NewObjectA( in map_to_java()
1707 jni.ensure_no_exception(); in map_to_java()
1712 jni, (rtl_uString *) pAny->pReserved ) ); in map_to_java()
1720 jni, &java_data2, pAny->pData, seq_td.get()->pWeakRef, 0, in map_to_java()
1747 jni, create_type( jni, seq_td.get()->pWeakRef ) ); in map_to_java()
1751 jni->NewObjectA( in map_to_java()
1754 jni.ensure_no_exception(); in map_to_java()
1771 jni, pUnoI, in map_to_java()
1780 m_jni_info->get_type_info( jni, pAny->pType ) ); in map_to_java()
1783 jo_any.reset( map_to_java( jni, pUnoI, iface_info ) ); in map_to_java()
1790 jni->NewObjectA( in map_to_java()
1793 jni.ensure_no_exception(); in map_to_java()
1807 JLocalAutoRef jo_type(jni, create_type(jni, pAny->pType)); in map_to_java()
1810 jni, &java_data2, pAny->pData, pAny->pType, 0, true, in map_to_java()
1817 jni->NewObjectA( in map_to_java()
1820 jni.ensure_no_exception(); in map_to_java()
1829 jni, &java_data2, pAny->pData, pAny->pType, 0, in map_to_java()
1843 java_data->l = jni->NewObjectArray( in map_to_java()
1845 jni.ensure_no_exception(); in map_to_java()
1849 jni->SetObjectArrayElement( in map_to_java()
1851 jni.ensure_no_exception(); in map_to_java()
1866 jni, find_class( jni, class_name.getStr() ) ); in map_to_java()
1868 JLocalAutoRef jo_enum( jni ); in map_to_java()
1877 jmethodID method_id = jni->GetStaticMethodID( in map_to_java()
1879 jni.ensure_no_exception(); in map_to_java()
1885 jni->CallStaticObjectMethodA( in map_to_java()
1887 jni.ensure_no_exception(); in map_to_java()
1893 java_data->l = jni->NewObjectArray( in map_to_java()
1895 jni.ensure_no_exception(); in map_to_java()
1899 jni->SetObjectArrayElement( in map_to_java()
1901 jni.ensure_no_exception(); in map_to_java()
1914 info = m_jni_info->get_type_info( jni, type ); in map_to_java()
1918 JLocalAutoRef jo_comp( jni ); in map_to_java()
1924 jni, ustring_to_jstring( jni, *(rtl_uString **)uno_data ) ); in map_to_java()
1928 jni->NewObjectA( in map_to_java()
1930 jni.ensure_no_exception(); in map_to_java()
1934 jo_comp.reset( jni->AllocObject( comp_info->m_class ) ); in map_to_java()
1935 jni.ensure_no_exception(); in map_to_java()
1972 jni, in map_to_java()
1973 jni->NewObjectA( in map_to_java()
1977 jni.ensure_no_exception(); in map_to_java()
1978 jni->SetObjectField( in map_to_java()
1981 jni->SetCharField( in map_to_java()
1991 jni, in map_to_java()
1992 jni->NewObjectA( in map_to_java()
1996 jni.ensure_no_exception(); in map_to_java()
1997 jni->SetObjectField( in map_to_java()
2000 jni->SetBooleanField( in map_to_java()
2010 jni, in map_to_java()
2011 jni->NewObjectA( in map_to_java()
2015 jni.ensure_no_exception(); in map_to_java()
2016 jni->SetObjectField( in map_to_java()
2019 jni->SetByteField( in map_to_java()
2030 jni, in map_to_java()
2031 jni->NewObjectA( in map_to_java()
2035 jni.ensure_no_exception(); in map_to_java()
2036 jni->SetObjectField( in map_to_java()
2039 jni->SetShortField( in map_to_java()
2050 jni, in map_to_java()
2051 jni->NewObjectA( in map_to_java()
2055 jni.ensure_no_exception(); in map_to_java()
2056 jni->SetObjectField( in map_to_java()
2059 jni->SetIntField( in map_to_java()
2070 jni, in map_to_java()
2071 jni->NewObjectA( in map_to_java()
2075 jni.ensure_no_exception(); in map_to_java()
2076 jni->SetObjectField( in map_to_java()
2079 jni->SetLongField( in map_to_java()
2089 jni, in map_to_java()
2090 jni->NewObjectA( in map_to_java()
2094 jni.ensure_no_exception(); in map_to_java()
2095 jni->SetObjectField( in map_to_java()
2098 jni->SetFloatField( in map_to_java()
2108 jni, in map_to_java()
2109 jni->NewObjectA( in map_to_java()
2113 jni.ensure_no_exception(); in map_to_java()
2114 jni->SetObjectField( in map_to_java()
2117 jni->SetDoubleField( in map_to_java()
2125 jni, ustring_to_jstring( in map_to_java()
2126 jni, *(rtl_uString * const *) p ) ); in map_to_java()
2127 jni->SetObjectField( in map_to_java()
2135 jni, &java_data2, p, member_type, 0, in map_to_java()
2137 JLocalAutoRef jo_obj( jni, java_data2.l ); in map_to_java()
2138 jni->SetObjectField( in map_to_java()
2152 jni->NewObjectArray( 1, comp_info->m_class, jo_comp.get() ); in map_to_java()
2153 jni.ensure_no_exception(); in map_to_java()
2157 jni->SetObjectArrayElement( in map_to_java()
2159 jni.ensure_no_exception(); in map_to_java()
2171 JLocalAutoRef jo_ar( jni ); in map_to_java()
2192 jo_ar.reset( jni->NewCharArray( nElements ) ); in map_to_java()
2193 jni.ensure_no_exception(); in map_to_java()
2196 jni->SetCharArrayRegion( in map_to_java()
2199 jni.ensure_no_exception(); in map_to_java()
2203 jo_ar.reset( jni->NewBooleanArray( nElements ) ); in map_to_java()
2204 jni.ensure_no_exception(); in map_to_java()
2207 jni->SetBooleanArrayRegion( in map_to_java()
2210 jni.ensure_no_exception(); in map_to_java()
2214 jo_ar.reset( jni->NewByteArray( nElements ) ); in map_to_java()
2215 jni.ensure_no_exception(); in map_to_java()
2218 jni->SetByteArrayRegion( in map_to_java()
2221 jni.ensure_no_exception(); in map_to_java()
2226 jo_ar.reset( jni->NewShortArray( nElements ) ); in map_to_java()
2227 jni.ensure_no_exception(); in map_to_java()
2230 jni->SetShortArrayRegion( in map_to_java()
2233 jni.ensure_no_exception(); in map_to_java()
2238 jo_ar.reset( jni->NewIntArray( nElements ) ); in map_to_java()
2239 jni.ensure_no_exception(); in map_to_java()
2242 jni->SetIntArrayRegion( in map_to_java()
2245 jni.ensure_no_exception(); in map_to_java()
2250 jo_ar.reset( jni->NewLongArray( nElements ) ); in map_to_java()
2251 jni.ensure_no_exception(); in map_to_java()
2254 jni->SetLongArrayRegion( in map_to_java()
2257 jni.ensure_no_exception(); in map_to_java()
2261 jo_ar.reset( jni->NewFloatArray( nElements ) ); in map_to_java()
2262 jni.ensure_no_exception(); in map_to_java()
2265 jni->SetFloatArrayRegion( in map_to_java()
2268 jni.ensure_no_exception(); in map_to_java()
2272 jo_ar.reset( jni->NewDoubleArray( nElements ) ); in map_to_java()
2273 jni.ensure_no_exception(); in map_to_java()
2276 jni->SetDoubleArrayRegion( in map_to_java()
2279 jni.ensure_no_exception(); in map_to_java()
2284 jni->NewObjectArray( in map_to_java()
2286 jni.ensure_no_exception(); in map_to_java()
2294 jni, ustring_to_jstring( jni, pp[ nPos ] ) ); in map_to_java()
2295 jni->SetObjectArrayElement( in map_to_java()
2297 jni.ensure_no_exception(); in map_to_java()
2303 jni->NewObjectArray( nElements, m_jni_info->m_class_Type, 0 ) ); in map_to_java()
2304 jni.ensure_no_exception(); in map_to_java()
2313 jni, &val, &pp[ nPos ], element_type, 0, in map_to_java()
2315 JLocalAutoRef jo_element( jni, val.l ); in map_to_java()
2316 jni->SetObjectArrayElement( in map_to_java()
2318 jni.ensure_no_exception(); in map_to_java()
2324 jni->NewObjectArray( in map_to_java()
2326 jni.ensure_no_exception(); in map_to_java()
2334 jni, &val, &p[ nPos ], element_type, 0, in map_to_java()
2336 JLocalAutoRef jo_element( jni, val.l ); in map_to_java()
2337 jni->SetObjectArrayElement( in map_to_java()
2339 jni.ensure_no_exception(); in map_to_java()
2351 jni, find_class( jni, class_name.getStr() ) ); in map_to_java()
2354 jni->NewObjectArray( in map_to_java()
2356 jni.ensure_no_exception(); in map_to_java()
2366 jmethodID method_id = jni->GetStaticMethodID( in map_to_java()
2368 jni.ensure_no_exception(); in map_to_java()
2377 jni, jni->CallStaticObjectMethodA( in map_to_java()
2379 jni.ensure_no_exception(); in map_to_java()
2380 jni->SetObjectArrayElement( in map_to_java()
2382 jni.ensure_no_exception(); in map_to_java()
2391 m_jni_info->get_type_info( jni, element_type ); in map_to_java()
2394 jni->NewObjectArray( nElements, element_info->m_class, 0 ) ); in map_to_java()
2395 jni.ensure_no_exception(); in map_to_java()
2405 jni, &val, p + (nSize * nPos), in map_to_java()
2408 JLocalAutoRef jo_element( jni, val.l ); in map_to_java()
2409 jni->SetObjectArrayElement( in map_to_java()
2411 jni.ensure_no_exception(); in map_to_java()
2424 jni, find_class( jni, class_name.getStr() ) ); in map_to_java()
2427 jni->NewObjectArray( in map_to_java()
2429 jni.ensure_no_exception(); in map_to_java()
2439 jni, &java_data2, elements + nPos, element_type, 0, in map_to_java()
2441 JLocalAutoRef jo_seq( jni, java_data2.l ); in map_to_java()
2442 jni->SetObjectArrayElement( in map_to_java()
2444 jni.ensure_no_exception(); in map_to_java()
2453 m_jni_info->get_type_info( jni, element_type ) ); in map_to_java()
2456 jni->NewObjectArray( nElements, iface_info->m_class, 0 ) ); in map_to_java()
2457 jni.ensure_no_exception(); in map_to_java()
2468 jni, map_to_java( jni, pUnoI, iface_info ) ); in map_to_java()
2469 jni->SetObjectArrayElement( in map_to_java()
2472 jni.ensure_no_exception(); in map_to_java()
2486 buf.append( jni.get_stack_trace() ); in map_to_java()
2496 jni, jni->GetObjectClass( jo_ar.get() ) ); in map_to_java()
2499 java_data->l = jni->NewObjectArray( in map_to_java()
2504 java_data->l = jni->NewObjectArray( in map_to_java()
2507 jni.ensure_no_exception(); in map_to_java()
2511 jni->SetObjectArrayElement( in map_to_java()
2513 jni.ensure_no_exception(); in map_to_java()
2524 JLocalAutoRef jo_iface( jni ); in map_to_java()
2531 info = m_jni_info->get_type_info( jni, type ); in map_to_java()
2534 jo_iface.reset( map_to_java( jni, pUnoI, iface_info ) ); in map_to_java()
2542 info = m_jni_info->get_type_info( jni, type ); in map_to_java()
2544 jni->NewObjectArray( 1, info->m_class, jo_iface.get() ); in map_to_java()
2545 jni.ensure_no_exception(); in map_to_java()
2549 jni->SetObjectArrayElement( in map_to_java()
2551 jni.ensure_no_exception(); in map_to_java()
2566 buf.append( jni.get_stack_trace() ); in map_to_java()