/aoo41x/main/stoc/source/corereflection/ |
H A D | crcomp.cxx | 145 while (pTD) in getDeclaringClass() 156 pTD = pTD->pBaseTypeDescription; in getDeclaringClass() 194 while (pTD && !typelib_typedescription_equals( pTD, pDeclTD )) in get() 195 pTD = (typelib_TypeDescription *)((typelib_CompoundTypeDescription *)pTD)->pBaseTypeDescription; in get() 198 if (pTD) in get() 227 while (pTD && !typelib_typedescription_equals( pTD, pDeclTD )) in set() 228 pTD = (typelib_TypeDescription *)((typelib_CompoundTypeDescription *)pTD)->pBaseTypeDescription; in set() 231 if (pTD) in set() 264 while (pTD && !typelib_typedescription_equals( pTD, pDeclTD )) in set() 268 if (pTD) in set() [all …]
|
H A D | criface.cxx | 195 typelib_TypeDescription * pTD = aTD.get(); in get() local 199 void * pReturn = alloca( pTD->nSize ); in get() 211 uno_destructData( pReturn, pTD, 0 ); in get() 235 typelib_TypeDescription * pTD = aTD.get(); in set() local 275 pArg, pTD ); in set() 278 pArg, pTD, pTemp, pValueTD, 0, 0, 0 ); in set() 291 uno_destructData( pArg, pTD, 0 ); in set() 655 ppUnoArgs[nPos] = alloca( pTD->nSize ); in invoke() 696 ppUnoArgs[nPos], pTD ); in invoke() 843 typelib_TypeDescription * pTD = 0; in initMembers() local [all …]
|
H A D | crefl.cxx | 291 typelib_TypeDescription * pTD = 0; in forName() local 293 if (pTD) in forName() 295 if ((xRet = constructClass( pTD )).is()) in forName() 297 typelib_typedescription_release( pTD ); in forName() 328 typelib_TypeDescription * pTD = 0; in getByHierarchicalName() local 333 if (pTD) in getByHierarchicalName() 337 typelib_typedescription_release( pTD ); in getByHierarchicalName() 391 typelib_TypeDescription * pTD = 0; in forType() local 392 TYPELIB_DANGER_GET( &pTD, pRef ); in forType() 393 if (pTD) in forType() [all …]
|
H A D | base.hxx | 76 inline bool td_equals( typelib_TypeDescription * pTD, typelib_TypeDescriptionReference * pType ) in td_equals() argument 78 return (pTD->pWeakRef == pType || in td_equals() 79 (pTD->pTypeName->length == pType->pTypeName->length && in td_equals() 80 rtl_ustr_compare( pTD->pTypeName->buffer, pType->pTypeName->buffer ) == 0)); in td_equals() 410 void * pDest, typelib_TypeDescription * pTD, const Any & rSource, in coerce_assign() argument 413 if (pTD->eTypeClass == typelib_TypeClass_INTERFACE) in coerce_assign() 416 if (extract( rSource, (typelib_InterfaceTypeDescription *)pTD, xVal, pRefl )) in coerce_assign() 427 else if (pTD->eTypeClass == typelib_TypeClass_ANY) in coerce_assign() 430 pDest, pTD, in coerce_assign() 431 (void *)&rSource, pTD, in coerce_assign() [all …]
|
/aoo41x/main/cppu/source/typelib/ |
H A D | typelib.cxx | 425 if( !pTD->bComplete ) in typelib_typedescription_initTables() 459 pTD->bComplete = sal_True; in typelib_typedescription_initTables() 499 if (pTD) in complete() 504 &pTD, ((typelib_IndirectTypeDescription *)pTD)->pType ); in complete() 505 OSL_ASSERT( pTD ); in complete() 506 if (! pTD) in complete() 549 *ppTypeDescr = pTD; in complete() 1442 switch( pTD->eTypeClass ) in typelib_typedescription_destructExtendedMembers() 1581 if( pTD->pWeakRef ) in typelib_typedescription_release() 1642 delete pTD; in typelib_typedescription_release() [all …]
|
H A D | static_types.cxx | 193 typelib_InterfaceTypeDescription * pTD = 0; in typelib_static_type_getByTypeClass() local 207 &pTD, sTypeName.pData, 0xe227a391, 0x33d6, 0x11d1, 0xaabe00a0, 0x249d5590, in typelib_static_type_getByTypeClass() 210 ::typelib_typedescription_register( (typelib_TypeDescription **)&pTD ); in typelib_static_type_getByTypeClass() 212 s_aTypes[typelib_TypeClass_INTERFACE] = ((typelib_TypeDescription *)pTD)->pWeakRef ); in typelib_static_type_getByTypeClass() 215 ::typelib_typedescription_release( (typelib_TypeDescription*)pTD ); in typelib_static_type_getByTypeClass() 407 typelib_TypeDescription * pTD = 0; in init() local 408 TYPELIB_DANGER_GET( &pTD, pComp->ppTypeRefs[i] ); in init() 409 OSL_ENSURE( pTD->nSize, "### void member?" ); in init() 410 nOffset = newAlignedSize( nOffset, pTD->nSize, pTD->nAlignment ); in init() 411 pComp->pMemberOffsets[i] = nOffset - pTD->nSize; in init() [all …]
|
/aoo41x/main/bridges/source/cpp_uno/gcc3_netbsd_intel/ |
H A D | cpp2uno.cxx | 310 typelib_TypeDescription * pTD = 0; in cpp_mediate() local 312 if (pTD) in cpp_mediate() 323 &pInterface, pTD, cpp_acquire ); in cpp_mediate() 325 TYPELIB_DANGER_RELEASE( pTD ); in cpp_mediate() 330 TYPELIB_DANGER_RELEASE( pTD ); in cpp_mediate() 455 sal_Int32 nSlots = pTD->nMapFunctionIndexToMemberIndex; in get_vtable() 468 sal_Int32 nAllMembers = pTD->nAllMembers; in get_vtable() 472 typelib_TypeDescription * pTD = 0; in get_vtable() local 473 TYPELIB_DANGER_GET( &pTD, ppAllMembers[ nPos ] ); in get_vtable() 474 OSL_ASSERT( pTD ); in get_vtable() [all …]
|
H A D | uno2cpp.cxx | 382 typelib_TypeDescription * pTD = 0; in cppu_unoInterfaceProxy_dispatch() local 383 TYPELIB_DANGER_GET( &pTD, reinterpret_cast< Type * >( pArgs[0] )->getTypeLibType() ); in cppu_unoInterfaceProxy_dispatch() 384 if (pTD) in cppu_unoInterfaceProxy_dispatch() 389 … (void **)&pInterface, pThis->oid.pData, (typelib_InterfaceTypeDescription *)pTD ); in cppu_unoInterfaceProxy_dispatch() 395 &pInterface, pTD, 0 ); in cppu_unoInterfaceProxy_dispatch() 397 TYPELIB_DANGER_RELEASE( pTD ); in cppu_unoInterfaceProxy_dispatch() 401 TYPELIB_DANGER_RELEASE( pTD ); in cppu_unoInterfaceProxy_dispatch()
|
/aoo41x/main/cppuhelper/source/ |
H A D | implbase.cxx | 85 (typelib_TypeDescription *)((ClassData *)this)->arType2Offset[nPos].pTD ); in ~ClassDataBase() 95 arType2Offset[nType2Offset].pTD = 0; in writeTypeOffset() 99 if (arType2Offset[nType2Offset].pTD) in writeTypeOffset() 168 typelib_TypeDescription * pTD, typelib_TypeDescriptionReference * pType ) in td_equals() argument 171 return (pTD->pWeakRef == pType || in td_equals() 172 (pTD->pTypeName->length == pType->pTypeName->length && in td_equals() 183 typelib_InterfaceTypeDescription * pTD = rTO.pTD; in query() local 184 while (pTD) in query() 186 if (td_equals( (typelib_TypeDescription *)pTD, in query() 190 return Any( &pInterface, (typelib_TypeDescription *)pTD ); in query() [all …]
|
H A D | exc_thrower.cxx | 103 typelib_TypeDescription * pTD = 0; in ExceptionThrower_dispatch() local 104 TYPELIB_DANGER_GET( &pTD, rType_demanded.getTypeLibType() ); in ExceptionThrower_dispatch() 106 reinterpret_cast< uno_Any * >( pReturn ), &pUnoI, pTD, 0 ); in ExceptionThrower_dispatch() 107 TYPELIB_DANGER_RELEASE( pTD ); in ExceptionThrower_dispatch() 256 typelib_TypeDescription * pTD = 0; in getCaughtException() local 258 &pTD, ExceptionThrower::getCppuType().getTypeLibType() ); in getCaughtException() 263 static_cast< XExceptionThrower * >( ExceptionThrower::get() ), pTD ); in getCaughtException() 269 reinterpret_cast< typelib_InterfaceTypeDescription * >( pTD )-> in getCaughtException() 277 TYPELIB_DANGER_RELEASE( pTD ); in getCaughtException()
|
/aoo41x/main/bridges/source/cpp_uno/gcc3_macosx_intel/ |
H A D | uno2cpp.cxx | 347 bool isSimpleReturnType(typelib_TypeDescription * pTD, bool recursive) in isSimpleReturnType() argument 349 if (bridges::cpp_uno::shared::isSimpleType( pTD )) in isSimpleReturnType() 354 if (pTD->eTypeClass == typelib_TypeClass_STRUCT && in isSimpleReturnType() 355 (recursive || pTD->nSize <= 2 || pTD->nSize == 4 || pTD->nSize == 8)) in isSimpleReturnType() 358 (typelib_CompoundTypeDescription *) pTD; in isSimpleReturnType() 449 typelib_TypeDescription * pTD = 0; in unoInterfaceProxyDispatch() local 450 TYPELIB_DANGER_GET( &pTD, reinterpret_cast< Type * >( pArgs[0] )->getTypeLibType() ); in unoInterfaceProxyDispatch() 451 if (pTD) in unoInterfaceProxyDispatch() 462 &pInterface, pTD, 0 ); in unoInterfaceProxyDispatch() 464 TYPELIB_DANGER_RELEASE( pTD ); in unoInterfaceProxyDispatch() [all …]
|
/aoo41x/main/bridges/source/cpp_uno/gcc3_freebsd_x86-64/ |
H A D | cpp2uno.cxx | 346 typelib_TypeDescription * pTD = 0; in cpp_vtable_call() local 348 if ( pTD ) in cpp_vtable_call() 360 &pInterface, pTD, cpp_acquire ); in cpp_vtable_call() 363 TYPELIB_DANGER_RELEASE( pTD ); in cpp_vtable_call() 369 TYPELIB_DANGER_RELEASE( pTD ); in cpp_vtable_call() 474 typelib_TypeDescription * pTD = 0; in addLocalFunctions() local 476 TYPELIB_DANGER_GET( &pTD, type->ppMembers[ nPos ] ); in addLocalFunctions() 477 OSL_ASSERT( pTD ); in addLocalFunctions() 479 if ( typelib_TypeClass_INTERFACE_ATTRIBUTE == pTD->eTypeClass ) in addLocalFunctions() 496 else if ( typelib_TypeClass_INTERFACE_METHOD == pTD->eTypeClass ) in addLocalFunctions() [all …]
|
/aoo41x/main/bridges/source/cpp_uno/gcc3_linux_x86-64/ |
H A D | cpp2uno.cxx | 345 typelib_TypeDescription * pTD = 0; in cpp_vtable_call() local 347 if ( pTD ) in cpp_vtable_call() 359 &pInterface, pTD, cpp_acquire ); in cpp_vtable_call() 362 TYPELIB_DANGER_RELEASE( pTD ); in cpp_vtable_call() 368 TYPELIB_DANGER_RELEASE( pTD ); in cpp_vtable_call() 473 typelib_TypeDescription * pTD = 0; in addLocalFunctions() local 475 TYPELIB_DANGER_GET( &pTD, type->ppMembers[ nPos ] ); in addLocalFunctions() 476 OSL_ASSERT( pTD ); in addLocalFunctions() 478 if ( typelib_TypeClass_INTERFACE_ATTRIBUTE == pTD->eTypeClass ) in addLocalFunctions() 495 else if ( typelib_TypeClass_INTERFACE_METHOD == pTD->eTypeClass ) in addLocalFunctions() [all …]
|
/aoo41x/main/bridges/source/cpp_uno/s5abi_macosx_x86-64/ |
H A D | cpp2uno.cxx | 342 typelib_TypeDescription * pTD = 0; in cpp_vtable_call() local 344 if ( pTD ) in cpp_vtable_call() 356 &pInterface, pTD, cpp_acquire ); in cpp_vtable_call() 359 TYPELIB_DANGER_RELEASE( pTD ); in cpp_vtable_call() 365 TYPELIB_DANGER_RELEASE( pTD ); in cpp_vtable_call() 516 typelib_TypeDescription * pTD = 0; in addLocalFunctions() local 518 TYPELIB_DANGER_GET( &pTD, type->ppMembers[ nPos ] ); in addLocalFunctions() 519 OSL_ASSERT( pTD ); in addLocalFunctions() 521 if ( typelib_TypeClass_INTERFACE_ATTRIBUTE == pTD->eTypeClass ) in addLocalFunctions() 538 else if ( typelib_TypeClass_INTERFACE_METHOD == pTD->eTypeClass ) in addLocalFunctions() [all …]
|
/aoo41x/main/bridges/inc/bridges/cpp_uno/ |
H A D | type_misc.hxx | 52 typelib_TypeDescription * pTD = 0; in cppu_relatesToInterface() local 53 TYPELIB_DANGER_GET( &pTD, ((typelib_IndirectTypeDescription *)pTypeDescr)->pType ); in cppu_relatesToInterface() 54 bool bRel = cppu_relatesToInterface( pTD ); in cppu_relatesToInterface() 55 TYPELIB_DANGER_RELEASE( pTD ); in cppu_relatesToInterface() 81 typelib_TypeDescription * pTD = 0; in cppu_relatesToInterface() local 82 TYPELIB_DANGER_GET( &pTD, pTypes[nPos] ); in cppu_relatesToInterface() 83 bool bRel = cppu_relatesToInterface( pTD ); in cppu_relatesToInterface() 84 TYPELIB_DANGER_RELEASE( pTD ); in cppu_relatesToInterface()
|
/aoo41x/main/framework/source/recording/ |
H A D | dispatchrecorder.cxx | 80 typelib_CompoundTypeDescription * pTD ) 83 if (pTD->pBaseTypeDescription) 85 flatten_struct_members( vec, data, pTD->pBaseTypeDescription ); 87 for ( sal_Int32 nPos = 0; nPos < pTD->nMembers; ++nPos ) 90 Any( (char const *)data + pTD->pMemberOffsets[ nPos ], pTD->ppTypeRefs[ nPos ] ) ); 107 typelib_TypeDescription * pTD = 0; in make_seq_out_of_struct() local 108 TYPELIB_DANGER_GET( &pTD, type.getTypeLibType() ); in make_seq_out_of_struct() 109 OSL_ASSERT( pTD ); in make_seq_out_of_struct() 110 if (! pTD) in make_seq_out_of_struct() 119 vec.reserve( ((typelib_CompoundTypeDescription *)pTD)->nMembers ); // good guess in make_seq_out_of_struct() [all …]
|
/aoo41x/main/stoc/source/invocation_adapterfactory/ |
H A D | iafactory.cxx | 627 typelib_InterfaceTypeDescription * pTD = in adapter_dispatch() local 629 while (pTD) in adapter_dispatch() 637 (typelib_TypeDescription *)pTD, 0 ); in adapter_dispatch() 640 pTD = pTD->pBaseTypeDescription; in adapter_dispatch() 765 typelib_TypeDescription * pTD = 0; in FactoryImpl() local 768 TYPELIB_DANGER_GET( &pTD, rInvType.getTypeLibType() ); in FactoryImpl() 770 pITD = reinterpret_cast<typelib_InterfaceTypeDescription*>(pTD); in FactoryImpl() 772 typelib_typedescription_complete( &pTD ); in FactoryImpl() 782 TYPELIB_DANGER_GET( &pTD, rTCType.getTypeLibType() ); in FactoryImpl() 783 pITD = reinterpret_cast<typelib_InterfaceTypeDescription*>(pTD); in FactoryImpl() [all …]
|
/aoo41x/main/cppu/source/helper/purpenv/ |
H A D | helper_purpenv_Proxy.cxx | 67 typelib_TypeDescription * pTD = 0; in relatesToInterface() local 68 TYPELIB_DANGER_GET( &pTD, ((typelib_IndirectTypeDescription *)pTypeDescr)->pType ); in relatesToInterface() 69 bool bRel = relatesToInterface( pTD ); in relatesToInterface() 70 TYPELIB_DANGER_RELEASE( pTD ); in relatesToInterface() 97 typelib_TypeDescription * pTD = 0; in relatesToInterface() local 98 TYPELIB_DANGER_GET( &pTD, pTypes[nPos] ); in relatesToInterface() 99 bool bRel = relatesToInterface( pTD ); in relatesToInterface() 100 TYPELIB_DANGER_RELEASE( pTD ); in relatesToInterface()
|
/aoo41x/main/bridges/source/cpp_uno/cc50_solaris_sparc/ |
H A D | uno2cpp.cxx | 346 typelib_TypeDescription * pTD = 0; in unoInterfaceProxyDispatch() local 347 TYPELIB_DANGER_GET( &pTD, reinterpret_cast< Type * >( pArgs[0] )->getTypeLibType() ); in unoInterfaceProxyDispatch() 348 if (pTD) in unoInterfaceProxyDispatch() 353 … (void **)&pInterface, pThis->oid.pData, (typelib_InterfaceTypeDescription *)pTD ); in unoInterfaceProxyDispatch() 359 &pInterface, pTD, 0 ); in unoInterfaceProxyDispatch() 361 TYPELIB_DANGER_RELEASE( pTD ); in unoInterfaceProxyDispatch() 365 TYPELIB_DANGER_RELEASE( pTD ); in unoInterfaceProxyDispatch()
|
/aoo41x/main/bridges/source/cpp_uno/gcc3_freebsd_intel/ |
H A D | uno2cpp.cxx | 410 typelib_TypeDescription * pTD = 0; in unoInterfaceProxyDispatch() local 411 TYPELIB_DANGER_GET( &pTD, reinterpret_cast< Type * >( pArgs[0] )->getTypeLibType() ); in unoInterfaceProxyDispatch() 412 if (pTD) in unoInterfaceProxyDispatch() 417 … (void **)&pInterface, pThis->oid.pData, (typelib_InterfaceTypeDescription *)pTD ); in unoInterfaceProxyDispatch() 423 &pInterface, pTD, 0 ); in unoInterfaceProxyDispatch() 425 TYPELIB_DANGER_RELEASE( pTD ); in unoInterfaceProxyDispatch() 429 TYPELIB_DANGER_RELEASE( pTD ); in unoInterfaceProxyDispatch()
|
/aoo41x/main/bridges/source/cpp_uno/gcc3_linux_intel/ |
H A D | uno2cpp.cxx | 401 typelib_TypeDescription * pTD = 0; in unoInterfaceProxyDispatch() local 402 TYPELIB_DANGER_GET( &pTD, reinterpret_cast< Type * >( pArgs[0] )->getTypeLibType() ); in unoInterfaceProxyDispatch() 403 if (pTD) in unoInterfaceProxyDispatch() 408 … (void **)&pInterface, pThis->oid.pData, (typelib_InterfaceTypeDescription *)pTD ); in unoInterfaceProxyDispatch() 414 &pInterface, pTD, 0 ); in unoInterfaceProxyDispatch() 416 TYPELIB_DANGER_RELEASE( pTD ); in unoInterfaceProxyDispatch() 420 TYPELIB_DANGER_RELEASE( pTD ); in unoInterfaceProxyDispatch()
|
/aoo41x/main/bridges/source/cpp_uno/gcc3_solaris_intel/ |
H A D | uno2cpp.cxx | 392 typelib_TypeDescription * pTD = 0; in unoInterfaceProxyDispatch() local 393 TYPELIB_DANGER_GET( &pTD, reinterpret_cast< Type * >( pArgs[0] )->getTypeLibType() ); in unoInterfaceProxyDispatch() 394 if (pTD) in unoInterfaceProxyDispatch() 399 … (void **)&pInterface, pThis->oid.pData, (typelib_InterfaceTypeDescription *)pTD ); in unoInterfaceProxyDispatch() 405 &pInterface, pTD, 0 ); in unoInterfaceProxyDispatch() 407 TYPELIB_DANGER_RELEASE( pTD ); in unoInterfaceProxyDispatch() 411 TYPELIB_DANGER_RELEASE( pTD ); in unoInterfaceProxyDispatch()
|
/aoo41x/main/bridges/source/cpp_uno/cc50_solaris_intel/ |
H A D | uno2cpp.cxx | 368 typelib_TypeDescription * pTD = 0; in unoInterfaceProxyDispatch() local 369 TYPELIB_DANGER_GET( &pTD, reinterpret_cast< Type * >( pArgs[0] )->getTypeLibType() ); in unoInterfaceProxyDispatch() 370 if (pTD) in unoInterfaceProxyDispatch() 375 … (void **)&pInterface, pThis->oid.pData, (typelib_InterfaceTypeDescription *)pTD ); in unoInterfaceProxyDispatch() 381 &pInterface, pTD, 0 ); in unoInterfaceProxyDispatch() 383 TYPELIB_DANGER_RELEASE( pTD ); in unoInterfaceProxyDispatch() 387 TYPELIB_DANGER_RELEASE( pTD ); in unoInterfaceProxyDispatch()
|
/aoo41x/main/bridges/source/cpp_uno/gcc3_linux_sparc/ |
H A D | uno2cpp.cxx | 550 typelib_TypeDescription * pTD = 0; in unoInterfaceProxyDispatch() local 551 TYPELIB_DANGER_GET( &pTD, reinterpret_cast< Type * >( pArgs[0] )->getTypeLibType() ); in unoInterfaceProxyDispatch() 552 if (pTD) in unoInterfaceProxyDispatch() 557 (void **)&pInterface, pThis->oid.pData, (typelib_InterfaceTypeDescription *)pTD ); in unoInterfaceProxyDispatch() 563 &pInterface, pTD, 0 ); in unoInterfaceProxyDispatch() 565 TYPELIB_DANGER_RELEASE( pTD ); in unoInterfaceProxyDispatch() 569 TYPELIB_DANGER_RELEASE( pTD ); in unoInterfaceProxyDispatch()
|
/aoo41x/main/bridges/source/cpp_uno/gcc3_os2_intel/ |
H A D | uno2cpp.cxx | 401 typelib_TypeDescription * pTD = 0; in unoInterfaceProxyDispatch() local 402 TYPELIB_DANGER_GET( &pTD, reinterpret_cast< Type * >( pArgs[0] )->getTypeLibType() ); in unoInterfaceProxyDispatch() 403 if (pTD) in unoInterfaceProxyDispatch() 408 … (void **)&pInterface, pThis->oid.pData, (typelib_InterfaceTypeDescription *)pTD ); in unoInterfaceProxyDispatch() 414 &pInterface, pTD, 0 ); in unoInterfaceProxyDispatch() 416 TYPELIB_DANGER_RELEASE( pTD ); in unoInterfaceProxyDispatch() 420 TYPELIB_DANGER_RELEASE( pTD ); in unoInterfaceProxyDispatch()
|