Lines Matching refs:nElements
41 inline rtl_mem * seq_allocate( sal_Int32 nElements, sal_Int32 nSize ) in seq_allocate() argument
44 rtl_mem::allocate( SAL_SEQUENCE_HEADER_SIZE + (nElements * nSize) ) ); in seq_allocate()
47 p->nElements = nElements; in seq_allocate()
1027 sal_Int32 nElements = jni->GetArrayLength( (jarray) java_data.l ); in map_to_uno() local
1032 seq.reset( seq_allocate( nElements, sizeof (sal_Unicode) ) ); in map_to_uno()
1034 (jcharArray) java_data.l, 0, nElements, in map_to_uno()
1039 seq.reset( seq_allocate( nElements, sizeof (sal_Bool) ) ); in map_to_uno()
1041 (jbooleanArray) java_data.l, 0, nElements, in map_to_uno()
1046 seq.reset( seq_allocate( nElements, sizeof (sal_Int8) ) ); in map_to_uno()
1048 (jbyteArray) java_data.l, 0, nElements, in map_to_uno()
1054 seq.reset( seq_allocate( nElements, sizeof (sal_Int16) ) ); in map_to_uno()
1056 (jshortArray) java_data.l, 0, nElements, in map_to_uno()
1062 seq.reset( seq_allocate( nElements, sizeof (sal_Int32) ) ); in map_to_uno()
1064 (jintArray) java_data.l, 0, nElements, in map_to_uno()
1070 seq.reset( seq_allocate( nElements, sizeof (sal_Int64) ) ); in map_to_uno()
1072 (jlongArray) java_data.l, 0, nElements, in map_to_uno()
1077 seq.reset( seq_allocate( nElements, sizeof (float) ) ); in map_to_uno()
1079 (jfloatArray) java_data.l, 0, nElements, in map_to_uno()
1084 seq.reset( seq_allocate( nElements, sizeof (double) ) ); in map_to_uno()
1086 (jdoubleArray) java_data.l, 0, nElements, in map_to_uno()
1100 seq.reset( seq_allocate( nElements, element_td.get()->nSize ) ); in map_to_uno()
1115 for ( sal_Int32 nPos = 0; nPos < nElements; ++nPos ) in map_to_uno()
2174 sal_Int32 nElements; in map_to_java() local
2179 nElements = seq->nElements; in map_to_java()
2183 nElements = 0; in map_to_java()
2193 jo_ar.reset( jni->NewCharArray( nElements ) ); in map_to_java()
2195 if (0 < nElements) in map_to_java()
2199 0, nElements, (jchar *) seq->elements ); in map_to_java()
2204 jo_ar.reset( jni->NewBooleanArray( nElements ) ); in map_to_java()
2206 if (0 < nElements) in map_to_java()
2210 0, nElements, (jboolean *) seq->elements ); in map_to_java()
2215 jo_ar.reset( jni->NewByteArray( nElements ) ); in map_to_java()
2217 if (0 < nElements) in map_to_java()
2221 0, nElements, (jbyte *) seq->elements ); in map_to_java()
2227 jo_ar.reset( jni->NewShortArray( nElements ) ); in map_to_java()
2229 if (0 < nElements) in map_to_java()
2233 0, nElements, (jshort *) seq->elements ); in map_to_java()
2239 jo_ar.reset( jni->NewIntArray( nElements ) ); in map_to_java()
2241 if (0 < nElements) in map_to_java()
2245 0, nElements, (jint *) seq->elements ); in map_to_java()
2251 jo_ar.reset( jni->NewLongArray( nElements ) ); in map_to_java()
2253 if (0 < nElements) in map_to_java()
2257 0, nElements, (jlong *) seq->elements ); in map_to_java()
2262 jo_ar.reset( jni->NewFloatArray( nElements ) ); in map_to_java()
2264 if (0 < nElements) in map_to_java()
2268 0, nElements, (jfloat *) seq->elements ); in map_to_java()
2273 jo_ar.reset( jni->NewDoubleArray( nElements ) ); in map_to_java()
2275 if (0 < nElements) in map_to_java()
2279 0, nElements, (jdouble *) seq->elements ); in map_to_java()
2286 nElements, m_jni_info->m_class_String, 0 ) ); in map_to_java()
2292 for ( sal_Int32 nPos = 0; nPos < nElements; ++nPos ) in map_to_java()
2304 jni->NewObjectArray( nElements, m_jni_info->m_class_Type, 0 ) ); in map_to_java()
2310 for ( sal_Int32 nPos = 0; nPos < nElements; ++nPos ) in map_to_java()
2326 nElements, m_jni_info->m_class_Object, 0 ) ); in map_to_java()
2331 for ( sal_Int32 nPos = 0; nPos < nElements; ++nPos ) in map_to_java()
2356 nElements, (jclass) jo_enum_class.get(), 0 ) ); in map_to_java()
2359 if (0 < nElements) in map_to_java()
2373 for ( sal_Int32 nPos = 0; nPos < nElements; ++nPos ) in map_to_java()
2395 jni->NewObjectArray( nElements, element_info->m_class, 0 ) ); in map_to_java()
2398 if (0 < nElements) in map_to_java()
2402 for ( sal_Int32 nPos = 0; nPos < nElements; ++nPos ) in map_to_java()
2429 nElements, (jclass) jo_seq_class.get(), 0 ) ); in map_to_java()
2432 if (0 < nElements) in map_to_java()
2436 for ( sal_Int32 nPos = 0; nPos < nElements; ++nPos ) in map_to_java()
2457 jni->NewObjectArray( nElements, iface_info->m_class, 0 ) ); in map_to_java()
2460 if (0 < nElements) in map_to_java()
2463 for ( sal_Int32 nPos = 0; nPos < nElements; ++nPos ) in map_to_java()