Lines Matching refs:System

38 namespace sr = System::Reflection;
39 namespace st = System::Text;
40 namespace sre = System::Reflection::Emit;
41 namespace sc = System::Collections;
42 namespace srrm = System::Runtime::Remoting::Messaging;
43 namespace srr = System::Runtime::Remoting;
44 namespace srrp = System::Runtime::Remoting::Proxies;
45 namespace sri = System::Runtime::InteropServices;
46 namespace sd = System::Diagnostics;
141 sd::Trace::WriteLine(System::String::Format( in ~UnoInterfaceProxy()
142 new System::String(S"cli uno bridge: Destroying proxy " in ~UnoInterfaceProxy()
155 System::Object* UnoInterfaceProxy::create( in create()
163 System::Object* proxy= proxyHandler->GetTransparentProxy(); in create()
173 System::Threading::Monitor::Enter(this); in addUnoInterface()
181 System::Type * t1; in addUnoInterface()
182 System::Type * t2; in addUnoInterface()
203 System::String * sInterfaceName = static_cast<UnoInterfaceInfo*>( in addUnoInterface()
205 sd::Trace::WriteLine(System::String::Format( in addUnoInterface()
206 new System::String(S"cli uno bridge: Creating proxy for uno object, " in addUnoInterface()
223 System::Threading::Monitor::Exit(this); in addUnoInterface()
229 bool UnoInterfaceProxy::CanCastTo(System::Type* fromType, in CanCastTo()
230 System::Object*) in CanCastTo()
232 if (fromType == __typeof(System::Object)) // trivial case in CanCastTo()
235 System::Threading::Monitor::Enter(this); in CanCastTo()
250 System::Object *args[] = new System::Object*[1]; in CanCastTo()
254 System::Object* pException = NULL; in CanCastTo()
286 ::System::Object * obj = pAny->Value; in CanCastTo()
308 catch (System::Exception* e) in CanCastTo()
310 System::String* msg= new System::String( in CanCastTo()
314 msg= System::String::Concat(msg, e->get_Message()); in CanCastTo()
327 System::Threading::Monitor::Exit(this); in CanCastTo()
337 System::Object* retMethod = 0; in invokeObject()
338 System::String* sMethod = static_cast<System::String*> in invokeObject()
340 System::Object* args[] = static_cast<System::Object*[]>( in invokeObject()
374 retMethod = __typeof(System::Object); in invokeObject()
392 retMethod, new System::Object*[0], 0, context, mcm); in invokeObject()
396 UnoInterfaceInfo * UnoInterfaceProxy::findInfo( ::System::Type * type ) in findInfo()
429 System::String* sTypeName = static_cast<System::String*>( in Invoke()
439 System::Type* typeBeingCalled = loadCliType(sTypeName); in Invoke()
445 OUString usMethodName(mapCliString(static_cast<System::String*>( in Invoke()
461 System::String * pTypeName; in Invoke()
482 System::Object* args[] = static_cast<System::Object*[]>( in Invoke()
484 System::Type* argTypes[] = static_cast<System::Type*[]>( in Invoke()
486 System::Object* pExc = NULL; in Invoke()
487 System::Object * cli_ret = m_bridge->call_uno( in Invoke()
519 System::Object* pExc = NULL; in Invoke()
520 System::Object* cli_ret= m_bridge->call_uno( in Invoke()
541 System::Object* args[] = in Invoke()
542 static_cast<System::Object*[]>( in Invoke()
544 System::Object* pExc = NULL; in Invoke()
581 catch (System::Exception* e) in Invoke()
584 sb->Append(new System::String( in Invoke()
598 System::String* msg = new System::String( in Invoke()
613 System::Object* cliReturn, in constructReturnMessage()
614 System::Object* args[], in constructReturnMessage()
616 srrm::IMessage* msg, System::Object* exc) in constructReturnMessage()
623 dynamic_cast<System::Exception*>(exc), mcm); in constructReturnMessage()
635 System::Object* arOut[]= new System::Object*[mtd->nParams]; in constructReturnMessage()
659 CliProxy::CliProxy(Bridge const* bridge, System::Object* cliI, in CliProxy()
680 sd::Trace::WriteLine(System::String::Format( in CliProxy()
681 new System::String(S"cli uno bridge: Creating proxy for cli object, " in CliProxy()
690 System::Object* cliI; in makeMethodInfos()
691 System::Type* type; in makeMethodInfos()
700 System::Type* arInheritedIfaces[] = m_type->GetInterfaces(); in makeMethodInfos()
718 m_arUnoPosToCliPos = new System::Int32[numMethods]; in makeMethodInfos()
726 System::Int32 arInterfaceMethodCountDbg[]; in makeMethodInfos()
737 System::Type* objType = m_cliI->GetType(); in makeMethodInfos()
773 catch (System::InvalidCastException* ) in makeMethodInfos()
790 System::String* sMethodNameDbg; in getMethodInfo()
793 System::Int32 arInterfaceMethodCountDbg[]; in getMethodInfo()
794 System::Int32 arUnoPosToCliPosDbg[]; in getMethodInfo()
803 System::Threading::Monitor::Enter(m_arUnoPosToCliPos); in getMethodInfo()
811 System::String* sMethodName = mapUnoString(usMethodName.pData); in getMethodInfo()
817 sMethodName = System::String::Concat( in getMethodInfo()
818 const_cast<System::String*>(Constants::sAttributeSet), in getMethodInfo()
822 sMethodName = System::String::Concat( in getMethodInfo()
823 const_cast<System::String*>(Constants::sAttributeGet), in getMethodInfo()
843 System::String* cliMethod = m_arInterfaceMethodInfos[i]->Name; in getMethodInfo()
866 System::Threading::Monitor::Exit(m_arUnoPosToCliPos); in getMethodInfo()
875 sd::Trace::WriteLine(System::String::Format( in ~CliProxy()
876 new System::String( in ~CliProxy()
886 System::Object* cliI, in create()
1083 System::Type* mgdDemandedType = in cli_proxy_dispatch()