Lines Matching refs:System

49 namespace sri = System::Runtime::InteropServices;
50 namespace sr = System::Reflection;
51 namespace st = System::Text;
60 System::String* mapUnoPolymorphicName(System::String* unoName);
61 OUString mapCliTypeName(System::String* typeName);
62 System::String* mapCliPolymorphicName(System::String* unoName);
63 System::String* mapPolymorphicName(System::String* unoName, bool bCliToUno);
76 System::Object* Bridge::map_uno2cli(uno_Interface * pUnoI, typelib_InterfaceTypeDescription *pTD) c… in map_uno2cli()
78 System::Object* retVal= NULL; in map_uno2cli()
86 System::Type* ifaceType= mapUnoType(reinterpret_cast<typelib_TypeDescription*>(pTD)); in map_uno2cli()
87 System::String* sOid= mapUnoString(oid.pData); in map_uno2cli()
89 System::Threading::Monitor::Enter( CliEnvHolder::g_cli_env ); in map_uno2cli()
114 System::Threading::Monitor::Exit( CliEnvHolder::g_cli_env ); in map_uno2cli()
120 uno_Interface* Bridge::map_cli2uno(System::Object* cliObj, typelib_TypeDescription *pTD) const in map_cli2uno()
124 System::String* ds_oid = CliEnvHolder::g_cli_env->getObjectIdentifier( cliObj); in map_cli2uno()
131 System::Threading::Monitor::Enter(__typeof(Cli_environment)); in map_cli2uno()
143 System::Threading::Monitor::Exit(__typeof(Cli_environment)); in map_cli2uno()
149 inline System::Type* loadCliType(rtl_uString * unoName) in loadCliType()
154 System::Type* loadCliType(System::String * unoName) in loadCliType()
156 System::Type* retVal= NULL; in loadCliType()
163 System::String * loadName = unoName; in loadCliType()
170 System::AppDomain* currentDomain = System::AppDomain::CurrentDomain; in loadCliType()
181 System::String * msg = new System::String(S"A type could not be loaded: "); in loadCliType()
182 msg = System::String::Concat(msg, loadName); in loadCliType()
191 catch( System::Exception * e) in loadCliType()
200 System::Type* mapUnoType(typelib_TypeDescription const * pTD) in mapUnoType()
205 System::Type* mapUnoType(typelib_TypeDescriptionReference const * pTD) in mapUnoType()
207 System::Type * retVal = 0; in mapUnoType()
213 retVal= __typeof(System::Char); break; in mapUnoType()
215 retVal= __typeof(System::Boolean); break; in mapUnoType()
217 retVal= __typeof(System::Byte); break; in mapUnoType()
219 retVal= __typeof(System::Int16); break; in mapUnoType()
221 retVal= __typeof(System::UInt16); break; in mapUnoType()
223 retVal= __typeof(System::Int32); break; in mapUnoType()
225 retVal= __typeof(System::UInt32); break; in mapUnoType()
227 retVal= __typeof(System::Int64); break; in mapUnoType()
229 retVal= __typeof(System::UInt64); break; in mapUnoType()
231 retVal= __typeof(System::Single); break; in mapUnoType()
233 retVal= __typeof(System::Double); break; in mapUnoType()
235 retVal= __typeof(System::String); break; in mapUnoType()
237 retVal= __typeof(System::Type); break; in mapUnoType()
249 retVal= __typeof(System::Object); in mapUnoType()
263 retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArChar)); break; in mapUnoType()
265 retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArBoolean)); in mapUnoType()
268 retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArByte)); in mapUnoType()
271 retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArInt16)); in mapUnoType()
274 retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArUInt16)); in mapUnoType()
277 retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArInt32)); in mapUnoType()
280 retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArUInt32)); in mapUnoType()
283 retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArInt64)); in mapUnoType()
286 retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArUInt64)); in mapUnoType()
289 retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArSingle)); in mapUnoType()
292 retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArDouble)); in mapUnoType()
295 retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArString)); in mapUnoType()
298 retVal= System::Type::GetType(const_cast<System::String*>(Constants::sArType)); in mapUnoType()
326 typelib_TypeDescriptionReference* mapCliType(System::Type* cliType) in mapCliType()
347 switch (System::Type::GetTypeCode(cliType)) in mapCliType()
349 case System::TypeCode::Boolean: in mapCliType()
354 case System::TypeCode::Char: in mapCliType()
359 case System::TypeCode::Byte: in mapCliType()
364 case System::TypeCode::Int16: in mapCliType()
369 case System::TypeCode::Int32: in mapCliType()
374 case System::TypeCode::Int64: in mapCliType()
379 case System::TypeCode::UInt16: in mapCliType()
384 case System::TypeCode::UInt32: in mapCliType()
389 case System::TypeCode::UInt64: in mapCliType()
394 case System::TypeCode::Single: in mapCliType()
399 case System::TypeCode::Double: in mapCliType()
404 case System::TypeCode::String: in mapCliType()
415 System::String* cliTypeName= cliType->get_FullName(); in mapCliType()
417 if (const_cast<System::String*>(Constants::sVoid)->Equals( in mapCliType()
425 else if (const_cast<System::String*>(Constants::sType)->Equals( in mapCliType()
433 else if (const_cast<System::String*>(Constants::sAny)->Equals( in mapCliType()
474 System::String* mapUnoTypeName(rtl_uString const * typeName) in mapUnoTypeName()
492 System::String * sUnoName = mapUnoString(usUnoName.pData); in mapUnoTypeName()
493 if (sUnoName->Equals(const_cast<System::String*>(Constants::usBool))) in mapUnoTypeName()
494 buf->Append(const_cast<System::String*>(Constants::sBoolean)); in mapUnoTypeName()
495 else if (sUnoName->Equals(const_cast<System::String*>(Constants::usChar))) in mapUnoTypeName()
496 buf->Append(const_cast<System::String*>(Constants::sChar)); in mapUnoTypeName()
497 else if (sUnoName->Equals(const_cast<System::String*>(Constants::usByte))) in mapUnoTypeName()
498 buf->Append(const_cast<System::String*>(Constants::sByte)); in mapUnoTypeName()
499 else if (sUnoName->Equals(const_cast<System::String*>(Constants::usShort))) in mapUnoTypeName()
500 buf->Append(const_cast<System::String*>(Constants::sInt16)); in mapUnoTypeName()
501 else if (sUnoName->Equals(const_cast<System::String*>(Constants::usUShort))) in mapUnoTypeName()
502 buf->Append(const_cast<System::String*>(Constants::sUInt16)); in mapUnoTypeName()
503 else if (sUnoName->Equals(const_cast<System::String*>(Constants::usLong))) in mapUnoTypeName()
504 buf->Append(const_cast<System::String*>(Constants::sInt32)); in mapUnoTypeName()
505 else if (sUnoName->Equals(const_cast<System::String*>(Constants::usULong))) in mapUnoTypeName()
506 buf->Append(const_cast<System::String*>(Constants::sUInt32)); in mapUnoTypeName()
507 else if (sUnoName->Equals(const_cast<System::String*>(Constants::usHyper))) in mapUnoTypeName()
508 buf->Append(const_cast<System::String*>(Constants::sInt64)); in mapUnoTypeName()
509 else if (sUnoName->Equals(const_cast<System::String*>(Constants::usUHyper))) in mapUnoTypeName()
510 buf->Append(const_cast<System::String*>(Constants::sUInt64)); in mapUnoTypeName()
511 else if (sUnoName->Equals(const_cast<System::String*>(Constants::usFloat))) in mapUnoTypeName()
512 buf->Append(const_cast<System::String*>(Constants::sSingle)); in mapUnoTypeName()
513 else if (sUnoName->Equals(const_cast<System::String*>(Constants::usDouble))) in mapUnoTypeName()
514 buf->Append(const_cast<System::String*>(Constants::sDouble)); in mapUnoTypeName()
515 else if (sUnoName->Equals(const_cast<System::String*>(Constants::usString))) in mapUnoTypeName()
516 buf->Append(const_cast<System::String*>(Constants::sString)); in mapUnoTypeName()
517 else if (sUnoName->Equals(const_cast<System::String*>(Constants::usVoid))) in mapUnoTypeName()
518 buf->Append(const_cast<System::String*>(Constants::sVoid)); in mapUnoTypeName()
519 else if (sUnoName->Equals(const_cast<System::String*>(Constants::usType))) in mapUnoTypeName()
520 buf->Append(const_cast<System::String*>(Constants::sType)); in mapUnoTypeName()
521 else if (sUnoName->Equals(const_cast<System::String*>(Constants::usXInterface))) in mapUnoTypeName()
522 buf->Append(const_cast<System::String*>(Constants::sObject)); in mapUnoTypeName()
523 else if (sUnoName->Equals(const_cast<System::String*>(Constants::usAny))) in mapUnoTypeName()
525 buf->Append(const_cast<System::String*>(Constants::sAny)); in mapUnoTypeName()
530 buf->Append(const_cast<System::String*>(Constants::sUnoidl)); in mapUnoTypeName()
532 System::String * sName = mapUnoPolymorphicName(sUnoName); in mapUnoTypeName()
537 buf->Append(const_cast<System::String*>(Constants::sBrackets)); in mapUnoTypeName()
552 inline System::String* mapUnoPolymorphicName(System::String* unoName) in mapUnoPolymorphicName()
563 inline System::String* mapCliPolymorphicName(System::String* unoName) in mapCliPolymorphicName()
568 System::String* mapPolymorphicName(System::String* unoName, bool bCliToUno) in mapPolymorphicName()
574 System::Text::StringBuilder * builder = new System::Text::StringBuilder(256); in mapPolymorphicName()
587 System::Char c = unoName->Chars[cur]; in mapPolymorphicName()
594 System::String * sParam = unoName->Substring(index, cur - index); in mapPolymorphicName()
616 System::Char curChar = unoName->Chars[cur]; in mapPolymorphicName()
633 builder->Append((System::Char) '>'); in mapPolymorphicName()
637 OUString mapCliTypeName(System::String* typeName) in mapCliTypeName()
648 System::Char c = typeName->Chars[cur]; in mapCliTypeName()
680 System::Text::StringBuilder * buf = new System::Text::StringBuilder(512); in mapCliTypeName()
684 buf->Append(const_cast<System::String*>(Constants::usBrackets)); in mapCliTypeName()
686 if (typeName->Equals(const_cast<System::String*>(Constants::sBoolean))) in mapCliTypeName()
687 buf->Append(const_cast<System::String*>(Constants::usBool)); in mapCliTypeName()
688 else if (typeName->Equals(const_cast<System::String*>(Constants::sChar))) in mapCliTypeName()
689 buf->Append(const_cast<System::String*>(Constants::usChar)); in mapCliTypeName()
690 else if (typeName->Equals(const_cast<System::String*>(Constants::sByte))) in mapCliTypeName()
691 buf->Append(const_cast<System::String*>(Constants::usByte)); in mapCliTypeName()
692 else if (typeName->Equals(const_cast<System::String*>(Constants::sInt16))) in mapCliTypeName()
693 buf->Append(const_cast<System::String*>(Constants::usShort)); in mapCliTypeName()
694 else if (typeName->Equals(const_cast<System::String*>(Constants::sUInt16))) in mapCliTypeName()
695 buf->Append(const_cast<System::String*>(Constants::usUShort)); in mapCliTypeName()
696 else if (typeName->Equals(const_cast<System::String*>(Constants::sInt32))) in mapCliTypeName()
697 buf->Append(const_cast<System::String*>(Constants::usLong)); in mapCliTypeName()
698 else if (typeName->Equals(const_cast<System::String*>(Constants::sUInt32))) in mapCliTypeName()
699 buf->Append(const_cast<System::String*>(Constants::usULong)); in mapCliTypeName()
700 else if (typeName->Equals(const_cast<System::String*>(Constants::sInt64))) in mapCliTypeName()
701 buf->Append(const_cast<System::String*>(Constants::usHyper)); in mapCliTypeName()
702 else if (typeName->Equals(const_cast<System::String*>(Constants::sUInt64))) in mapCliTypeName()
703 buf->Append(const_cast<System::String*>(Constants::usUHyper)); in mapCliTypeName()
704 else if (typeName->Equals(const_cast<System::String*>(Constants::sSingle))) in mapCliTypeName()
705 buf->Append(const_cast<System::String*>(Constants::usFloat)); in mapCliTypeName()
706 else if (typeName->Equals(const_cast<System::String*>(Constants::sDouble))) in mapCliTypeName()
707 buf->Append(const_cast<System::String*>(Constants::usDouble)); in mapCliTypeName()
708 else if (typeName->Equals(const_cast<System::String*>(Constants::sString))) in mapCliTypeName()
709 buf->Append(const_cast<System::String*>(Constants::usString)); in mapCliTypeName()
710 else if (typeName->Equals(const_cast<System::String*>(Constants::sVoid))) in mapCliTypeName()
711 buf->Append(const_cast<System::String*>(Constants::usVoid)); in mapCliTypeName()
712 else if (typeName->Equals(const_cast<System::String*>(Constants::sType))) in mapCliTypeName()
713 buf->Append(const_cast<System::String*>(Constants::usType)); in mapCliTypeName()
714 else if (typeName->Equals(const_cast<System::String*>(Constants::sObject))) in mapCliTypeName()
715 buf->Append(const_cast<System::String*>(Constants::usXInterface)); in mapCliTypeName()
716 else if (typeName->Equals(const_cast<System::String*>(Constants::sAny))) in mapCliTypeName()
717 buf->Append(const_cast<System::String*>(Constants::usAny)); in mapCliTypeName()
720 System::String * sName = mapCliPolymorphicName(typeName); in mapCliTypeName()
729 inline System::String* mapUnoString( rtl_uString const * data) in mapUnoString()
732 return new System::String((__wchar_t*) data->buffer, 0, data->length); in mapUnoString()
735 OUString mapCliString(System::String const * data) in mapCliString()
742 return OUString(pdata, const_cast<System::String*>(data)->get_Length()); in mapCliString()
753 void Bridge::map_to_uno(void * uno_data, System::Object* cli_data, in map_to_uno()
764 System::Char aChar= *__try_cast<System::Char*>(cli_data); in map_to_uno()
770 System::Boolean aBool= *__try_cast<System::Boolean*>(cli_data); in map_to_uno()
776 System::Byte aByte= *__try_cast<System::Byte*>(cli_data); in map_to_uno()
782 System::Int16 aShort= *__try_cast<System::Int16*>(cli_data); in map_to_uno()
788 System::UInt16 aUShort= *__try_cast<System::UInt16*>(cli_data); in map_to_uno()
794 System::Int32 aLong= *__try_cast<System::Int32*>(cli_data); in map_to_uno()
800 System::UInt32 aULong= *__try_cast<System::UInt32*>(cli_data); in map_to_uno()
806 System::Int64 aHyper= *__try_cast<System::Int64*>(cli_data); in map_to_uno()
812 System::UInt64 aLong= *__try_cast<System::UInt64*>(cli_data); in map_to_uno()
818 System::Single aFloat= *__try_cast<System::Single*>(cli_data); in map_to_uno()
824 System::Double aDouble= *__try_cast<System::Double*>(cli_data); in map_to_uno()
840 System::String *s= __try_cast<System::String*>(cli_data); in map_to_uno()
849 typelib_TypeDescriptionReference* td= mapCliType(__try_cast<System::Type*>( in map_to_uno()
884 *(sal_Unicode*) &pAny->pReserved = *__try_cast<System::Char*>(aAny.Value); in map_to_uno()
888 *(sal_Bool *) &pAny->pReserved = *__try_cast<System::Boolean*>(aAny.Value); in map_to_uno()
892 *(sal_Int8*) &pAny->pReserved = *__try_cast<System::Byte*>(aAny.Value); in map_to_uno()
896 *(sal_Int16*) &pAny->pReserved = *__try_cast<System::Int16*>(aAny.Value); in map_to_uno()
900 *(sal_uInt16*) &pAny->pReserved = *__try_cast<System::UInt16*>(aAny.Value); in map_to_uno()
904 *(sal_Int32*) &pAny->pReserved = *__try_cast<System::Int32*>(aAny.Value); in map_to_uno()
908 *(sal_uInt32*) &pAny->pReserved = *__try_cast<System::UInt32*>(aAny.Value); in map_to_uno()
914 *(sal_Int64*) &pAny->pReserved = *__try_cast<System::Int64*>(aAny.Value); in map_to_uno()
919 *(sal_Int64 *) mem.get()= *__try_cast<System::Int64*>(aAny.Value); in map_to_uno()
927 *(sal_uInt64*) &pAny->pReserved = *__try_cast<System::UInt64*>(aAny.Value); in map_to_uno()
932 *(sal_uInt64 *) mem.get()= *__try_cast<System::UInt64*>(aAny.Value); in map_to_uno()
940 *(float*) &pAny->pReserved = *__try_cast<System::Single*>(aAny.Value); in map_to_uno()
945 *(float*) mem.get() = *__try_cast<System::Single*>(aAny.Value); in map_to_uno()
953 *(double*) &pAny->pReserved= *__try_cast<System::Double*>(aAny.Value); in map_to_uno()
958 *(double*) mem.get()= *__try_cast<System::Double*>(aAny.Value); in map_to_uno()
965 OUString _s = mapCliString(static_cast<System::String*>(aAny.Value)); in map_to_uno()
1004 catch(System::InvalidCastException* ) in map_to_uno()
1045 System::Int32 aEnum= System::Convert::ToInt32((cli_data)); in map_to_uno()
1066 System::Type* cliType = NULL; in map_to_uno()
1087 System::String* __s; in map_to_uno()
1092 System::Object* val= NULL; in map_to_uno()
1136 *(sal_Unicode*) p = *__try_cast<System::Char*>(val); in map_to_uno()
1142 *(sal_Bool*) p = *__try_cast<System::Boolean*>(val); in map_to_uno()
1148 *(sal_Int8*) p = *__try_cast<System::Byte*>(val); in map_to_uno()
1154 *(sal_Int16*) p = *__try_cast<System::Int16*>(val); in map_to_uno()
1160 *(sal_uInt16*) p = *__try_cast<System::UInt16*>(val); in map_to_uno()
1166 *(sal_Int32*) p = *__try_cast<System::Int32*>(val); in map_to_uno()
1172 *(sal_uInt32*) p = *__try_cast<System::UInt32*>(val); in map_to_uno()
1178 *(sal_Int64*) p = *__try_cast<System::Int64*>(val); in map_to_uno()
1184 *(sal_uInt64*) p= *__try_cast<System::UInt64*>(val); in map_to_uno()
1190 *(float*) p = *__try_cast<System::Single*>(val); in map_to_uno()
1196 *(double*) p = *__try_cast<System::Double*>(val); in map_to_uno()
1221 catch (System::InvalidCastException* ) in map_to_uno()
1268 System::Array* ar = NULL; in map_to_uno()
1271 ar = __try_cast<System::Array*>(cli_data); in map_to_uno()
1280 sri::Marshal::Copy(__try_cast<System::Char[]>(cli_data), 0, in map_to_uno()
1285 sri::Marshal::Copy(__try_cast<System::Boolean[]>(cli_data), 0, in map_to_uno()
1290 sri::Marshal::Copy(__try_cast<System::Byte[]>(cli_data), 0, in map_to_uno()
1295 sri::Marshal::Copy(__try_cast<System::Int16[]>(cli_data), 0, in map_to_uno()
1300 sri::Marshal::Copy(static_cast<System::Int16[]>( in map_to_uno()
1301 __try_cast<System::UInt16[]>(cli_data)), 0, in map_to_uno()
1306 sri::Marshal::Copy(__try_cast<System::Int32[]>(cli_data), 0, in map_to_uno()
1311 sri::Marshal::Copy(static_cast<System::Int32[]>( in map_to_uno()
1312 __try_cast<System::UInt32[]>(cli_data)), 0, in map_to_uno()
1317 sri::Marshal::Copy(__try_cast<System::Int64[]>(cli_data), 0, in map_to_uno()
1322 sri::Marshal::Copy(static_cast<System::Int64[]>( in map_to_uno()
1323 __try_cast<System::UInt64[]>(cli_data)), 0, in map_to_uno()
1328 sri::Marshal::Copy(__try_cast<System::Single[]>(cli_data), 0, in map_to_uno()
1333 sri::Marshal::Copy(__try_cast<System::Double[]>(cli_data), 0, in map_to_uno()
1339 System::String* arStr[]= __try_cast<System::String*[]>(cli_data); in map_to_uno()
1356 System::Convert::ToInt32(ar->GetValue(i)); in map_to_uno()
1375System::Object* elemData= dynamic_cast<System::Array*>(cli_data)->GetValue(nPos); in map_to_uno()
1415 catch (System::InvalidCastException* ) in map_to_uno()
1475 catch (System::InvalidCastException* ) in map_to_uno()
1484 catch (System::NullReferenceException * e) in map_to_uno()
1518 System::Object* *cli_data, void const * uno_data, in map_to_cli()
1519 typelib_TypeDescriptionReference * type, System::Type* info, in map_to_cli()
1561 *cli_data= new System::String((__wchar_t*) sVal->buffer,0, sVal->length); in map_to_cli()
1574 System::Object* objCli= NULL; in map_to_cli()
1594 *cli_data= System::Enum::ToObject(info, *(System::Int32*) uno_data); in map_to_cli()
1597 *cli_data= System::Enum::ToObject( in map_to_cli()
1598 mapUnoType(type), *(System::Int32*) uno_data); in map_to_cli()
1613 System::Type* cliType= loadCliType(td.get()->pTypeName); in map_to_cli()
1618 System::Object* cliObj; in map_to_cli()
1639 System::String* sMember; in map_to_cli()
1651 System::String* sMessage = mapUnoString(*(rtl_uString**) in map_to_cli()
1669 OSL_ASSERT(arParamInfo[0]->get_ParameterType()->Equals(__typeof(System::String)) in map_to_cli()
1670 && arParamInfo[1]->get_ParameterType()->Equals(__typeof(System::Object)) in map_to_cli()
1675 System::Object * args[] = new System::Object*[numArgs]; in map_to_cli()
1681 cliObj = System::Activator::CreateInstance(cliType); in map_to_cli()
1699 System::String* sMemberName= mapUnoString(comp_td->ppMemberNames[nPos]); in map_to_cli()
1711 aField->SetValue(cliObj, __box(*(System::Char*) p)); in map_to_cli()
1714 aField->SetValue(cliObj, __box(*(System::Boolean*) p)); in map_to_cli()
1717 aField->SetValue(cliObj, __box(*(System::Byte*) p)); in map_to_cli()
1720 aField->SetValue(cliObj, __box(*(System::Int16*) p)); in map_to_cli()
1723 aField->SetValue(cliObj, __box(*(System::UInt16*) p)); in map_to_cli()
1726 aField->SetValue(cliObj, __box(*(System::Int32*) p)); in map_to_cli()
1729 aField->SetValue(cliObj, __box(*(System::UInt32*) p)); in map_to_cli()
1732 aField->SetValue(cliObj, __box(*(System::Int64*) p)); in map_to_cli()
1735 aField->SetValue(cliObj, __box(*(System::UInt64*) p)); in map_to_cli()
1738 aField->SetValue(cliObj, __box(*(System::Single*) p)); in map_to_cli()
1741 aField->SetValue(cliObj, __box(*(System::Double*) p)); in map_to_cli()
1745 System::Object* cli_val; in map_to_cli()
1772 System::Char arChar[]= new System::Char[nElements]; in map_to_cli()
1779 System::Boolean arBool[]= new System::Boolean[nElements]; in map_to_cli()
1786 System::Byte arByte[]= new System::Byte[nElements]; in map_to_cli()
1793 System::Int16 arShort[]= new System::Int16[nElements]; in map_to_cli()
1800 System::UInt16 arUInt16[]= new System::UInt16[nElements]; in map_to_cli()
1801 sri::Marshal::Copy( (void*) &seq->elements, static_cast<System::Int16[]>(arUInt16), in map_to_cli()
1808 System::Int32 arInt32[]= new System::Int32[nElements]; in map_to_cli()
1815 System::UInt32 arUInt32[]= new System::UInt32[nElements]; in map_to_cli()
1816 sri::Marshal::Copy( (void*) &seq->elements, static_cast<System::Int32[]>(arUInt32), in map_to_cli()
1823 System::Int64 arInt64[]= new System::Int64[nElements]; in map_to_cli()
1830 System::UInt64 arUInt64[]= new System::UInt64[nElements]; in map_to_cli()
1837 System::Single arSingle[]= new System::Single[nElements]; in map_to_cli()
1844 System::Double arDouble[]= new System::Double[nElements]; in map_to_cli()
1851 System::String* arString[]= new System::String*[nElements]; in map_to_cli()
1855 arString[i]= new System::String( (__wchar_t *) &aStr->buffer, 0, aStr->length); in map_to_cli()
1862 System::Type* arType[]= new System::Type*[nElements]; in map_to_cli()
1877 System::Object* cli_obj = NULL; in map_to_cli()
1888 System::Type* enumType= NULL; in map_to_cli()
1900 System::Array* arEnum = System::Array::CreateInstance( in map_to_cli()
1904 arEnum->SetValue(System::Enum::ToObject(enumType, in map_to_cli()
1914 System::Array* ar= System::Array::CreateInstance( in map_to_cli()
1923 System::Object* val; in map_to_cli()
1935 System::Array *ar= System::Array::CreateInstance( in map_to_cli()
1943 System::Object* val; in map_to_cli()
1955 System::Type * ifaceType= mapUnoType(element_type); in map_to_cli()
1956 System::Array* ar= System::Array::CreateInstance(ifaceType, nElements); in map_to_cli()
1962 System::Object* val; in map_to_cli()