Lines Matching refs:cd
89 static inline type_entry * __getTypeEntries( class_data * cd ) in __getTypeEntries() argument
92 type_entry * pEntries = cd->m_typeEntries; in __getTypeEntries()
93 if (! cd->m_storedTypeRefs) // not inited? in __getTypeEntries()
96 if (! cd->m_storedTypeRefs) // not inited? in __getTypeEntries()
99 for ( sal_Int32 n = cd->m_nTypes; n--; ) in __getTypeEntries()
121 cd->m_storedTypeRefs = sal_True; in __getTypeEntries()
127 static inline void __fillTypes( Type * types, class_data * cd ) in __fillTypes() argument
130 type_entry * pEntries = __getTypeEntries( cd ); in __fillTypes()
131 for ( sal_Int32 n = cd->m_nTypes; n--; ) in __fillTypes()
180 typelib_TypeDescriptionReference * pDemandedTDR, class_data * cd, void * that ) in __queryDeepNoXInterface() argument
183 type_entry * pEntries = __getTypeEntries( cd ); in __queryDeepNoXInterface()
184 sal_Int32 nTypes = cd->m_nTypes; in __queryDeepNoXInterface()
238 Type const & rType, class_data * cd, void * that ) in ImplHelper_query() argument
249 p = makeInterface( cd->m_typeEntries[ 0 ].m_offset, that ); in ImplHelper_query()
253 p = __queryDeepNoXInterface( pTDR, cd, that ); in ImplHelper_query()
263 Type const & rType, class_data * cd, void * that ) in ImplHelper_queryNoXInterface() argument
269 void * p = __queryDeepNoXInterface( pTDR, cd, that ); in ImplHelper_queryNoXInterface()
280 Sequence< sal_Int8 > SAL_CALL ImplHelper_getImplementationId( class_data * cd ) in ImplHelper_getImplementationId() argument
283 if (! cd->m_createdId) in ImplHelper_getImplementationId()
289 if (! cd->m_createdId) in ImplHelper_getImplementationId()
291 memcpy( cd->m_id, id, 16 ); in ImplHelper_getImplementationId()
292 cd->m_createdId = sal_True; in ImplHelper_getImplementationId()
297 ::rtl_byte_sequence_constructFromArray( &seq, cd->m_id, 16 ); in ImplHelper_getImplementationId()
302 class_data * cd ) in ImplHelper_getTypes() argument
305 Sequence< Type > types( cd->m_nTypes ); in ImplHelper_getTypes()
307 __fillTypes( pTypes, cd ); in ImplHelper_getTypes()
312 class_data * cd, Sequence< Type > const & rAddTypes ) in ImplInhHelper_getTypes() argument
315 sal_Int32 nImplTypes = cd->m_nTypes; in ImplInhHelper_getTypes()
319 __fillTypes( pTypes, cd ); in ImplInhHelper_getTypes()
332 Type const & rType, class_data * cd, void * that, OWeakObject * pBase ) in WeakImplHelper_query() argument
341 void * p = __queryDeepNoXInterface( pTDR, cd, that ); in WeakImplHelper_query()
351 class_data * cd ) in WeakImplHelper_getTypes() argument
354 sal_Int32 nTypes = cd->m_nTypes; in WeakImplHelper_getTypes()
357 __fillTypes( pTypes, cd ); in WeakImplHelper_getTypes()
365 Type const & rType, class_data * cd, void * that, OWeakAggObject * pBase ) in WeakAggImplHelper_queryAgg() argument
374 void * p = __queryDeepNoXInterface( pTDR, cd, that ); in WeakAggImplHelper_queryAgg()
384 class_data * cd ) in WeakAggImplHelper_getTypes() argument
387 sal_Int32 nTypes = cd->m_nTypes; in WeakAggImplHelper_getTypes()
390 __fillTypes( pTypes, cd ); in WeakAggImplHelper_getTypes()
399 Type const & rType, class_data * cd, void * that, WeakComponentImplHelperBase * pBase ) in WeakComponentImplHelper_query() argument
408 void * p = __queryDeepNoXInterface( pTDR, cd, that ); in WeakComponentImplHelper_query()
418 class_data * cd ) in WeakComponentImplHelper_getTypes() argument
421 sal_Int32 nTypes = cd->m_nTypes; in WeakComponentImplHelper_getTypes()
424 __fillTypes( pTypes, cd ); in WeakComponentImplHelper_getTypes()
433 Type const & rType, class_data * cd, void * that, WeakAggComponentImplHelperBase * pBase ) in WeakAggComponentImplHelper_queryAgg() argument
442 void * p = __queryDeepNoXInterface( pTDR, cd, that ); in WeakAggComponentImplHelper_queryAgg()
452 class_data * cd ) in WeakAggComponentImplHelper_getTypes() argument
455 sal_Int32 nTypes = cd->m_nTypes; in WeakAggComponentImplHelper_getTypes()
458 __fillTypes( pTypes, cd ); in WeakAggComponentImplHelper_getTypes()