Lines Matching refs:pMem
38 void * pMem, in _defaultConstructUnion() argument
43 (char *)pMem + ((typelib_UnionTypeDescription *)pTypeDescr)->nValueOffset, in _defaultConstructUnion()
45 *(sal_Int64 *)pMem = ((typelib_UnionTypeDescription *)pTypeDescr)->nDefaultDiscriminant; in _defaultConstructUnion()
49 void * pMem,
54 void * pMem, in _defaultConstructStruct() argument
60 defaultConstructStruct( pMem, pTypeDescr->pBaseTypeDescription ); in _defaultConstructStruct()
69 ::uno_type_constructData( (char *)pMem + pMemberOffsets[nDescr], ppTypeRefs[nDescr] ); in _defaultConstructStruct()
75 void * pMem, in _defaultConstructArray() argument
97 ::rtl_zeroMemory(pMem, nElementSize * nTotalElements); in _defaultConstructArray()
103 rtl_uString** ppElement = (rtl_uString **)pMem + i; in _defaultConstructArray()
111 typelib_TypeDescriptionReference** ppElement = (typelib_TypeDescriptionReference **)pMem + i; in _defaultConstructArray()
118 CONSTRUCT_EMPTY_ANY( (uno_Any *)pMem + i ); in _defaultConstructArray()
124 *((sal_Int32 *)pMem + i) = ((typelib_EnumTypeDescription *)pElementType)->nDefaultEnumValue; in _defaultConstructArray()
131 …_defaultConstructStruct( (sal_Char*)pMem + i * nElementSize, (typelib_CompoundTypeDescription *)pE… in _defaultConstructArray()
137 _defaultConstructUnion( (sal_Char*)pMem + i * nElementSize, pElementType ); in _defaultConstructArray()
143 uno_Sequence** ppElement = (uno_Sequence **)pMem + i; in _defaultConstructArray()
156 void * pMem, in _defaultConstructData() argument
164 *(sal_Unicode *)pMem = '\0'; in _defaultConstructData()
167 *(sal_Bool *)pMem = sal_False; in _defaultConstructData()
170 *(sal_Int8 *)pMem = 0; in _defaultConstructData()
174 *(sal_Int16 *)pMem = 0; in _defaultConstructData()
178 *(sal_Int32 *)pMem = 0; in _defaultConstructData()
182 *(sal_Int64 *)pMem = 0; in _defaultConstructData()
185 *(float *)pMem = 0.0; in _defaultConstructData()
188 *(double *)pMem = 0.0; in _defaultConstructData()
191 *(rtl_uString **)pMem = 0; in _defaultConstructData()
192 ::rtl_uString_new( (rtl_uString **)pMem ); in _defaultConstructData()
195 *(typelib_TypeDescriptionReference **)pMem = _getVoidType(); in _defaultConstructData()
198 CONSTRUCT_EMPTY_ANY( (uno_Any *)pMem ); in _defaultConstructData()
203 *(sal_Int32 *)pMem = ((typelib_EnumTypeDescription *)pTypeDescr)->nDefaultEnumValue; in _defaultConstructData()
208 *(sal_Int32 *)pMem = ((typelib_EnumTypeDescription *)pTypeDescr)->nDefaultEnumValue; in _defaultConstructData()
216 _defaultConstructStruct( pMem, (typelib_CompoundTypeDescription *)pTypeDescr ); in _defaultConstructData()
221 _defaultConstructStruct( pMem, (typelib_CompoundTypeDescription *)pTypeDescr ); in _defaultConstructData()
228 _defaultConstructArray( pMem, (typelib_ArrayTypeDescription *)pTypeDescr ); in _defaultConstructData()
233 _defaultConstructArray( pMem, (typelib_ArrayTypeDescription *)pTypeDescr ); in _defaultConstructData()
240 _defaultConstructUnion( pMem, pTypeDescr ); in _defaultConstructData()
245 _defaultConstructUnion( pMem, pTypeDescr ); in _defaultConstructData()
250 *(uno_Sequence **)pMem = createEmptySequence(); in _defaultConstructData()
253 *(void **)pMem = 0; // either cpp or c-uno interface in _defaultConstructData()