Lines Matching refs:nElements
65 inline auto_ptr< rtl_mem > seq_allocate( sal_Int32 nElements, sal_Int32 nSize ) in seq_allocate() argument
68 rtl_mem::allocate( SAL_SEQUENCE_HEADER_SIZE + (nElements * nSize) ) ); in seq_allocate()
71 p->nElements = nElements; in seq_allocate()
1272 sal_Int32 nElements = ar->GetLength(0); in map_to_uno() local
1279 seq = seq_allocate(nElements, sizeof (sal_Unicode)); in map_to_uno()
1281 & ((uno_Sequence*) seq.get())->elements, nElements); in map_to_uno()
1284 seq = seq_allocate(nElements, sizeof (sal_Bool)); in map_to_uno()
1286 & ((uno_Sequence*) seq.get())->elements, nElements); in map_to_uno()
1289 seq = seq_allocate( nElements, sizeof (sal_Int8) ); in map_to_uno()
1291 & ((uno_Sequence*) seq.get())->elements, nElements); in map_to_uno()
1294 seq = seq_allocate(nElements, sizeof (sal_Int16)); in map_to_uno()
1296 & ((uno_Sequence*) seq.get())->elements, nElements); in map_to_uno()
1299 seq = seq_allocate( nElements, sizeof (sal_uInt16) ); in map_to_uno()
1302 & ((uno_Sequence*) seq.get())->elements, nElements); in map_to_uno()
1305 seq = seq_allocate(nElements, sizeof (sal_Int32)); in map_to_uno()
1307 & ((uno_Sequence*) seq.get())->elements, nElements); in map_to_uno()
1310 seq = seq_allocate( nElements, sizeof (sal_uInt32) ); in map_to_uno()
1313 & ((uno_Sequence*) seq.get())->elements, nElements); in map_to_uno()
1316 seq = seq_allocate(nElements, sizeof (sal_Int64)); in map_to_uno()
1318 & ((uno_Sequence*) seq.get())->elements, nElements); in map_to_uno()
1321 seq = seq_allocate(nElements, sizeof (sal_uInt64)); in map_to_uno()
1324 & ((uno_Sequence*) seq.get())->elements, nElements); in map_to_uno()
1327 seq = seq_allocate(nElements, sizeof (float)); in map_to_uno()
1329 & ((uno_Sequence*) seq.get())->elements, nElements); in map_to_uno()
1332 seq = seq_allocate(nElements, sizeof (double)); in map_to_uno()
1334 & ((uno_Sequence*) seq.get())->elements, nElements); in map_to_uno()
1338 seq = seq_allocate(nElements, sizeof (rtl_uString*)); in map_to_uno()
1340 for (int i= 0; i < nElements; i++) in map_to_uno()
1352 seq = seq_allocate(nElements, sizeof (sal_Int32)); in map_to_uno()
1353 for (int i= 0; i < nElements; i++) in map_to_uno()
1367 seq = seq_allocate( nElements, element_td.get()->nSize ); in map_to_uno()
1369 for (sal_Int32 nPos = 0; nPos < nElements; ++nPos) in map_to_uno()
1759 sal_Int32 nElements; in map_to_cli() local
1762 nElements = seq->nElements; in map_to_cli()
1772 System::Char arChar[]= new System::Char[nElements]; in map_to_cli()
1773 sri::Marshal::Copy( (void*) &seq->elements, arChar, 0, nElements); in map_to_cli()
1779 System::Boolean arBool[]= new System::Boolean[nElements]; in map_to_cli()
1780 sri::Marshal::Copy( (void*) &seq->elements, arBool, 0, nElements); in map_to_cli()
1786 System::Byte arByte[]= new System::Byte[nElements]; in map_to_cli()
1787 sri::Marshal::Copy( (void*) &seq->elements, arByte, 0, nElements); in map_to_cli()
1793 System::Int16 arShort[]= new System::Int16[nElements]; in map_to_cli()
1794 sri::Marshal::Copy( (void*) &seq->elements, arShort, 0, nElements); in map_to_cli()
1800 System::UInt16 arUInt16[]= new System::UInt16[nElements]; in map_to_cli()
1802 0, nElements); in map_to_cli()
1808 System::Int32 arInt32[]= new System::Int32[nElements]; in map_to_cli()
1809 sri::Marshal::Copy( (void*) &seq->elements, arInt32, 0, nElements); in map_to_cli()
1815 System::UInt32 arUInt32[]= new System::UInt32[nElements]; in map_to_cli()
1817 0, nElements); in map_to_cli()
1823 System::Int64 arInt64[]= new System::Int64[nElements]; in map_to_cli()
1824 sri::Marshal::Copy( (void*) &seq->elements, arInt64, 0, nElements); in map_to_cli()
1830 System::UInt64 arUInt64[]= new System::UInt64[nElements]; in map_to_cli()
1831 sri::Marshal::Copy( (void*) &seq->elements, arUInt64, 0, nElements); in map_to_cli()
1837 System::Single arSingle[]= new System::Single[nElements]; in map_to_cli()
1838 sri::Marshal::Copy( (void*) &seq->elements, arSingle, 0, nElements); in map_to_cli()
1844 System::Double arDouble[]= new System::Double[nElements]; in map_to_cli()
1845 sri::Marshal::Copy( (void*) &seq->elements, arDouble, 0, nElements); in map_to_cli()
1851 System::String* arString[]= new System::String*[nElements]; in map_to_cli()
1852 for (int i= 0; i < nElements; i++) in map_to_cli()
1862 System::Type* arType[]= new System::Type*[nElements]; in map_to_cli()
1863 for (int i= 0; i < nElements; i++) in map_to_cli()
1873 uno::Any arCli[]= new uno::Any[nElements]; in map_to_cli()
1875 for (sal_Int32 nPos = 0; nPos < nElements; ++nPos ) in map_to_cli()
1901 enumType, nElements); in map_to_cli()
1902 for (int i= 0; i < nElements; i++) in map_to_cli()
1915 mapUnoType(element_type),nElements); in map_to_cli()
1916 if (0 < nElements) in map_to_cli()
1921 for ( sal_Int32 nPos = 0; nPos < nElements; ++nPos ) in map_to_cli()
1936 mapUnoType(element_type), nElements); in map_to_cli()
1937 if (0 < nElements) in map_to_cli()
1941 for ( sal_Int32 nPos = 0; nPos < nElements; ++nPos ) in map_to_cli()
1956 System::Array* ar= System::Array::CreateInstance(ifaceType, nElements); in map_to_cli()
1960 for ( sal_Int32 nPos = 0; nPos < nElements; ++nPos ) in map_to_cli()