/aoo41x/main/jurt/com/sun/star/lib/uno/environments/java/ |
H A D | java_environment.java | 63 if (oid[0] == null) { in registerInterface() 67 object, oid[0], type); in registerInterface() 79 if (!proxies.revoke(oid, type)) { in revokeInterface() 80 localObjects.revoke(oid, type); in revokeInterface() 93 Object o = proxies.get(oid, type); in getRegisteredInterface() 95 o = localObjects.get(oid, type); in getRegisteredInterface() 158 Level1Entry l1 = level1map.get(oid); in register() 182 level1map.put(oid, l1); in register() 235 level1map.remove(oid); in removeLevel2Entry() 274 this.oid = oid; in Level2Entry() [all …]
|
/aoo41x/main/cli_ure/source/uno_bridge/ |
H A D | cli_environment.cxx | 66 System::Object* obj, System::String* oid) in registerInterface() argument 73 OSL_ASSERT( ! m_objects->ContainsKey(oid)); in registerInterface() 74 m_objects->Add(oid, new WeakReference(obj)); in registerInterface() 85 System::String* key = createKey(oid, type); in registerInterface() 94 System::String* key = type != NULL ? createKey(oid, type) : oid; in revokeInterface() 103 Trace::WriteLine(oid); in revokeInterface() 115 return revokeInterface(oid, NULL); in revokeInterface() 123 ret = m_objects->get_Item(oid); in getRegisteredInterface() 127 oid = createKey(oid, type); in getRegisteredInterface() 128 ret = m_objects->get_Item( oid ); in getRegisteredInterface() [all …]
|
H A D | cli_environment.h | 42 inline static System::String* createKey(System::String* oid, System::Type* t); 70 Object* registerInterface(Object* obj, System::String* oid); 75 Object* registerInterface(Object* obj, System::String* oid, System::Type* type); 82 inline void revokeInterface(System::String* oid); 84 void revokeInterface(System::String* oid, System::Type* type); 93 Object* getRegisteredInterface(System::String* oid, System::Type* type);
|
/aoo41x/main/jurt/com/sun/star/lib/uno/bridges/java_remote/ |
H A D | java_remote_bridge.java | 113 remRefHolder(type, oid); in run() 120 oid, type); in run() 247 refHolders.put(oid, l); in addRefHolder() 264 final void remRefHolder(Type type, String oid) { in remRefHolder() argument 293 String oid = (String) e.getKey(); in freeHolders() local 383 String[] oid = new String[1]; in mapInterfaceTo() local 401 addRefHolder(object, type, oid[0]); in mapInterfaceTo() 403 return oid[0]; in mapInterfaceTo() 421 String oid = (String) oId; in mapInterfaceFrom() local 425 proxyFactory.create(oid, type), new String[] { oid }, type); in mapInterfaceFrom() [all …]
|
H A D | ProxyFactory.java | 48 public Object create(String oid, Type type) { in create() argument 53 new Handler(oid, type)); in create() 94 public Handler(String oid, Type type) { in Handler() argument 95 this.oid = oid; in Handler() 113 && oid.equals(UnoRuntime.generateOid(args[0]))); in invoke() 115 return new Integer(oid.hashCode()); in invoke() 117 return "[Proxy:" + System.identityHashCode(proxy) + "," + oid in invoke() 126 return oid; in invoke() 146 Object res = requestHandler.sendRequest(oid, type, operation, args); in request() 159 private final String oid; field in ProxyFactory.Handler
|
/aoo41x/main/binaryurp/source/ |
H A D | bridge.cxx | 330 if ( oid.isEmpty() ) { in registerIncomingInterface() 340 makeReleaseCall(oid, type); in registerIncomingInterface() 352 oid.pData, in registerIncomingInterface() 368 rtl::OUString oid; in registerOutgoingInterface() local 373 Stubs::iterator i(stubs_.find(oid)); in registerOutgoingInterface() 392 oid.pData, in registerOutgoingInterface() 407 return oid; in registerOutgoingInterface() 413 OSL_ASSERT(!oid.isEmpty() && type.is()); in findStub() 415 Stubs::iterator i(stubs_.find(oid)); in findStub() 435 OSL_ASSERT(!oid.isEmpty() && type.is()); in releaseStub() [all …]
|
H A D | writer.cxx | 49 bool isProtocolPropertyMessage(rtl::OUString const & oid) { in isProtocolPropertyMessage() argument 50 return oid.equalsAsciiL( in isProtocolPropertyMessage() 87 rtl::ByteSequence const & tid, rtl::OUString const & oid, in sendDirectRequest() argument 94 tid, oid, type, member, inArguments, false, in sendDirectRequest() 108 rtl::ByteSequence const & tid, rtl::OUString const & oid, in queueRequest() argument 115 queue_.push_back(Item(tid, oid, type, member, inArguments, cc)); in queueRequest() 173 (!item.oid.equalsAsciiL( in run() 207 rtl::ByteSequence const & tid, rtl::OUString const & oid, in sendRequest() argument 265 bool newOid = oid != lastOid_; in sendRequest() 289 marshal_.writeOid(&buf, oid); in sendRequest() [all …]
|
H A D | proxy.cxx | 72 rtl::Reference< Bridge > const & bridge, rtl::OUString const & oid, in Proxy() argument 74 bridge_(bridge), oid_(oid), type_(type), references_(1) in Proxy() 135 css::uno::UnoInterfaceReference const & object, rtl::OUString * oid) in isProxy() argument 139 static_cast< Proxy * >(object.m_pUnoI)->isProxy(bridge, oid); in isProxy() 245 rtl::Reference< Bridge > const & bridge, rtl::OUString * oid) const in isProxy() 247 OSL_ASSERT(oid != 0); in isProxy() 249 *oid = oid_; in isProxy()
|
H A D | reader.cxx | 210 rtl::OUString oid; in readMessage() local 212 oid = unmarshal.readOid(); in readMessage() 213 if ( oid.isEmpty() ) { in readMessage() 220 lastOid_ = oid; in readMessage() 230 oid = lastOid_; in readMessage() 256 bool protProps = bridge_->isProtocolPropertiesRequest(oid, type); in readMessage() 344 obj = bridge_->findStub(oid, type); in readMessage() 385 obj = bridge_->findStub(oid, type); in readMessage() 397 bridge_, tid, oid, obj, type, functionId, synchronous, memberTd, in readMessage()
|
H A D | bridge.hxx | 109 rtl::OUString const & oid, 117 rtl::OUString const & oid, 121 rtl::OUString const & oid, 139 rtl::OUString const & oid, 167 rtl::OUString const & oid, 209 rtl::OUString const & oid, 213 rtl::ByteSequence const & tid, rtl::OUString const & oid,
|
/aoo41x/main/officecfg/registry/schema/ |
H A D | oo-common.conf | 1 attribute oo-org-mapping-attr oo-org-mapping-attr-oid cis single 2 attribute oo-ldap-attr-mapping-attr oo-ldap-attr-mapping-attr-oid cis single 3 attribute oo-registry-object-attr oo-registry-object-attr-oid cis single 4 attribute oo-role-priority-attr oo-role-priority-attr-oid cis single 6 oid 7 oo-registry-object-oid 12 oid 13 oo-registry-meta-oid 18 oid 19 oo-prioritised-role-oid
|
H A D | oo-common.ldif | 2 attributetypes: (oo-registry-object-attr-oid NAME 'oo-registry-object-attr' DESC 'Generic registry … 5 objectclasses: ( oo-registry-object-oid NAME 'oo-registry-object' DESC 'oo-registry-object objclass… 8 attributetypes: (oo-org-mapping-attr-oid NAME 'oo-org-mapping-attr' DESC 'organizational mapping' S… 11 attributetypes: (oo-ldap-attr-mapping-attr-oid NAME 'oo-ldap-attr-mapping-attr' DESC 'ldap attribut… 14 objectclasses: (oo-registry-meta-class-oid NAME 'oo-registry-meta-class' DESC 'meta configuration o… 17 attributetypes: (oo-role-priority-attr-oid NAME 'oo-role-priority-attr' DESC 'Role priority' SYNTAX… 20 objectclasses: (oo-prioritised-role-oid NAME 'oo-prioritised-role' DESC 'Role with a priority used …
|
/aoo41x/main/bridges/inc/bridges/cpp_uno/ |
H A D | bridge.hxx | 109 oid.pData, pTypeDescr ); in acquireProxy() 131 , oid( rOId_ ) in cppu_cppInterfaceProxy() 181 static_cast< cppu_unoInterfaceProxy * >( pUnoI )->oid.pData, in cppu_unoInterfaceProxy_acquire() 248 , oid( rOId_ ) in cppu_unoInterfaceProxy() 449 ::rtl::OUStringBuffer oid( 64 ); in cppu_cppenv_computeObjectIdentifier() 450 oid.append( (sal_Int64)xHome.get(), 16 ); in cppu_cppenv_computeObjectIdentifier() 451 oid.append( (sal_Unicode)';' ); in cppu_cppenv_computeObjectIdentifier() 453 oid.append( in cppu_cppenv_computeObjectIdentifier() 456 oid.append( (sal_Unicode)'[' ); in cppu_cppenv_computeObjectIdentifier() 459 oid.append( cppu_cppenv_getStaticOIdPart() ); in cppu_cppenv_computeObjectIdentifier() [all …]
|
/aoo41x/main/jurt/test/com/sun/star/lib/uno/protocols/urp/ |
H A D | TestBridge.java | 59 public Object getRegisteredInterface(String oid, Type type) { in getRegisteredInterface() argument 60 Object object = _hashtable.get(oid); in getRegisteredInterface() 62 …if(DEBUG) System.err.println("##### " + getClass().getName() + ".getRegisteredInterface:" + oid + … in getRegisteredInterface() 83 String oid = ">" + object.toString() + type.toString() + "<"; in mapInterfaceTo() local 84 _hashtable.put(oid, object); in mapInterfaceTo() 85 return oid; in mapInterfaceTo() 90 String oid = (String)object; in mapInterfaceFrom() local 92 return _hashtable.get(oid); in mapInterfaceFrom()
|
/aoo41x/main/jurt/test/com/sun/star/lib/uno/environments/java/ |
H A D | java_environment_Test.java | 43 String[] oid = new String[1]; in test() local 45 Object obj2 = env.registerInterface(obj, oid, in test() 47 Object obj3 = env.registerInterface(obj, oid, in test() 53 env.getRegisteredInterface(oid[0], new Type(XInterface.class)) in test() 56 env.revokeInterface(oid[0], new Type(XInterface.class)); in test() 57 env.revokeInterface(oid[0], new Type(XInterface.class)); in test() 59 env.getRegisteredInterface(oid[0], new Type(XInterface.class)) in test()
|
/aoo41x/main/javaunohelper/test/com/sun/star/lib/uno/helper/ |
H A D | ProxyProvider.java | 75 String oid; field in Proxy 77 Proxy(String oid, Type t) { in Proxy() argument 78 this.oid = oid; in Proxy() 83 return oid; in getOid() 92 if (iquery.getOid().equals(oid)) in isSame() 100 if (oidObj.equals(oid)) in isSame()
|
/aoo41x/main/jurt/com/sun/star/lib/uno/protocols/urp/ |
H A D | urp.java | 118 String oid, TypeDescription type, String function, ThreadId tid, in writeRequest() argument 122 if (oid.equals(PROPERTIES_OID)) { in writeRequest() 123 throw new IllegalArgumentException("illegal OID " + oid); in writeRequest() 485 new QueuedRelease(internal, oid, type, desc, tid)); in writeRequest() 490 internal, oid, type, desc, tid, arguments, true); in writeRequest() 496 boolean internal, String oid, TypeDescription type, in writeRequest() argument 518 if (!oid.equals(outL1Oid)) { in writeRequest() 521 outL1Oid = oid; in writeRequest() 523 oid = null; in writeRequest() 555 if (oid != null) { in writeRequest() [all …]
|
/aoo41x/main/bridges/source/cpp_uno/shared/ |
H A D | component.cxx | 126 ::rtl::OUStringBuffer oid( 64 ); in s_stub_computeObjectIdentifier() 127 oid.append( reinterpret_cast< sal_Int64 >(xHome.get()), 16 ); in s_stub_computeObjectIdentifier() 128 oid.append( (sal_Unicode)';' ); in s_stub_computeObjectIdentifier() 130 oid.append( in s_stub_computeObjectIdentifier() 133 oid.append( (sal_Unicode)'[' ); in s_stub_computeObjectIdentifier() 134 oid.append( in s_stub_computeObjectIdentifier() 139 oid.append( cppu_cppenv_getStaticOIdPart() ); in s_stub_computeObjectIdentifier() 140 ::rtl::OUString aRet( oid.makeStringAndClear() ); in s_stub_computeObjectIdentifier()
|
/aoo41x/main/stoc/source/proxy_factory/ |
H A D | proxyfac.cxx | 205 OUString const & oid, TypeDescription const & typeDescr ); 305 OUString const & oid, TypeDescription const & typeDescr ) in binuno_Proxy() argument 309 m_oid( oid ), in binuno_Proxy() 352 OUString oid; in queryAggregation() local 353 (*cpp_env->getObjectIdentifier)( cpp_env, &oid.pData, xRoot.get() ); in queryAggregation() 354 OSL_ASSERT( oid.getLength() > 0 ); in queryAggregation() 358 oid.pData, reinterpret_cast< in queryAggregation() 377 new binuno_Proxy( this, proxy_target, oid, pTypeDescr ), in queryAggregation() 384 binuno_proxy_free, oid.pData, in queryAggregation()
|
/aoo41x/main/jurt/test/com/sun/star/lib/uno/bridges/java_remote/ |
H A D | java_remote_bridge_Test.java | 215 public TestProxy(String oid) { in TestProxy() argument 216 this.oid = oid; in TestProxy() 226 && oid.equals(((TestProxy) object).oid); in isSame() 230 return oid; in getOid() 243 private final String oid; field in java_remote_bridge_Test.TestProxy
|
/aoo41x/main/accessibility/workben/org/openoffice/accessibility/awb/tree/ |
H A D | AccessibilityModel.java | 108 String oid = UnoRuntime.generateOid(xAccessible); in putNode() local 110 nodeList.put(oid, new java.lang.ref.WeakReference(node)); in putNode() 121 String oid = UnoRuntime.generateOid(xAccessible); in findNode() local 123 (java.lang.ref.WeakReference) nodeList.get(oid); in findNode() 134 String oid = UnoRuntime.generateOid(xAccessible); in removeNode() local 136 (java.lang.ref.WeakReference) nodeList.remove(oid); in removeNode()
|
/aoo41x/main/cppu/source/uno/ |
H A D | lbenv.cxx | 85 OUString oid; member 173 : oid( rOId_ ), in ObjectEntry() 377 that->aOId2ObjectMap.erase( pOEntry->oid ); in s_stub_defenv_revokeInterface() 479 rtl_uString * hstr = iFind->second->oid.pData; in defenv_getObjectIdentifier() 756 buf.append( pOEntry->oid ); in uno_dumpEnvironment() 884 ::rtl::OUStringBuffer oid( 64 ); in unoenv_computeObjectIdentifier() 886 oid.append( static_cast< sal_Unicode >(';') ); in unoenv_computeObjectIdentifier() 889 oid.append( static_cast< sal_Unicode >('[') ); in unoenv_computeObjectIdentifier() 890 oid.append( reinterpret_cast< sal_Int64 >( in unoenv_computeObjectIdentifier() 894 oid.append( unoenv_getStaticOIdPart() ); in unoenv_computeObjectIdentifier() [all …]
|
/aoo41x/main/bridges/source/jni_uno/java/com/sun/star/bridges/jni_uno/ |
H A D | JNI_proxy.java | 99 long receiver_handle, long td_handle, Type type, String oid ) in JNI_proxy() argument 106 m_oid = oid; in JNI_proxy() 113 long receiver_handle, long td_handle, Type type, String oid, in create() argument 118 bridge_handle, java_env, receiver_handle, td_handle, type, oid ); in create() 120 return java_env.registerInterface( proxy, new String [] { oid }, type ); in create()
|
/aoo41x/main/bridges/source/jni_uno/ |
H A D | jni_uno2java.cxx | 437 jobject javaI, jstring jo_oid, OUString const & oid, 444 jobject javaI, jstring jo_oid, OUString const & oid, in UNO_proxy() argument 447 m_oid( oid ), in UNO_proxy() 510 OUString oid( jstring_to_oustring( jni, (jstring) jo_oid.get() ) ); in map_to_uno() local 515 oid.pData, (typelib_InterfaceTypeDescription *)info->m_td.get() ); in map_to_uno() 522 javaI, (jstring) jo_oid.get(), oid, info ); in map_to_uno() 527 oid.pData, (typelib_InterfaceTypeDescription *)info->m_td.get() ); in map_to_uno() 752 OUString oid( jstring_to_oustring( in UNO_proxy_dispatch() local 755 oid.equals( that->m_oid ), in UNO_proxy_dispatch()
|
/aoo41x/main/cppu/source/helper/purpenv/ |
H A D | helper_purpenv_Environment.cxx | 92 rtl::OUString const & oid, 98 rtl::OUString const & oid, 337 rtl::OUString const & oid, in registerProxyInterface() argument 345 oid.pData, in registerProxyInterface() 405 rtl::OUString const & oid, in getRegisteredInterface() argument 412 oid.pData, in getRegisteredInterface()
|