Lines Matching refs:pData
129 CLASS_DATA pData, in GetInstData() argument
137 if( pData ) in GetInstData()
144 aTmpI.pData = pData; in GetInstData()
146 aInst.pData = GetCopyVar( in GetInstData()
149 ).pData; in GetInstData()
151 aInst.pData = GetVariable( in GetInstData()
155 ).pData; in GetInstData()
161 (pData + pVarTypeList[ nEle ].nOffset); in GetInstData()
163 aInst.pData = *(CLASS_DATA *) in GetInstData()
164 (pData + pVarTypeList[ nEle ].nOffset); in GetInstData()
167 aInst.pData = pData + pVarTypeList[ nEle ].nOffset; in GetInstData()
184 return pVarTypeList[ nEle ].pClass->GetDefault().pData; in GetDfltData()
196 void RscClass::SetVarDflt( CLASS_DATA pData, sal_uInt32 nEle, sal_Bool bSet ) in SetVarDflt() argument
200 pClass = (RscClassInst *)(pData + nSuperSize ); in SetVarDflt()
216 sal_Bool RscClass::IsDflt( CLASS_DATA pData, sal_uInt32 nEle ) in IsDflt() argument
221 pClass = (RscClassInst *)(pData + nSuperSize ); in IsDflt()
262 aInst.pData = (CLASS_DATA) rtl_allocateMemory( Size() ); in Create()
272 ((RscClassInst *)(aInst.pData + nSuperSize))->nVarDflt = in Create()
273 ((RscClassInst *)(rDflt.pData + nSuperSize))->nVarDflt; in Create()
275 ((RscClassInst *)(aInst.pData + nSuperSize))->nVarDflt = ~((sal_uLong)0); in Create()
279 aDfltI = GetInstData( bOwnClass ? rDflt.pData : NULL, i, sal_True ); in Create()
287 (aInst.pData + pVarTypeList[ i ].nOffset ); in Create()
289 ppData = &pInstance->pData; in Create()
293 (aInst.pData + pVarTypeList[ i ].nOffset ); in Create()
298 *ppData = aMemInst.pData; in Create()
303 aMemInst = GetInstData( aInst.pData, i, sal_True ); in Create()
330 aTmpI = GetInstData( rInst.pData, i, sal_True ); in Destroy()
338 rtl_freeMemory( aTmpI.pData ); in Destroy()
377 pVarTypeList[ nEntries ].pDefault = pDflt->pData; in SetVariable()
414 void RscClass::EnumVariables( void * pData, VarEnumCallbackProc pProc ) in EnumVariables() argument
418 RscTop::EnumVariables( pData, pProc ); in EnumVariables()
422 (*pProc)( pData, pVarTypeList[ i ].pClass->GetClassType(), in EnumVariables()
464 aDefInst.pData = pVarTypeList[ i ].pDefault; in GetVariable()
468 aTmpI = GetInstData( rInst.pData, i ); in GetVariable()
482 (rInst.pData + pVarTypeList[ i ].nOffset ); in GetVariable()
492 = (CLASS_DATA *)(rInst.pData + pVarTypeList[ i ].nOffset); in GetVariable()
494 *ppData = aTmpI.pData; in GetVariable()
499 SetVarDflt( rInst.pData, i, sal_False ); in GetVariable()
535 if( IsDflt( rInst.pData, i ) ) in GetCopyVar()
539 SetVarDflt( rInst.pData, i, sal_True ); in GetCopyVar()
542 aVarI = GetInstData( rInst.pData, i, sal_True ); in GetCopyVar()
570 aTmpI = GetInstData( rInst.pData, i, sal_True ); in IsConsistent()
594 pClass = (RscClassInst *)(rInst.pData + nSuperSize ); in SetToDefault()
602 aTmpI = GetInstData( rInst.pData, i, sal_True ); in SetToDefault()
629 if( !IsDflt( rInst.pData, i ) ) in IsDefault()
655 aTmpI.pData = GetDfltData( i ); in GetDefault()
669 sal_Bool RscClass::IsValueDflt( CLASS_DATA pData, sal_uInt32 nEle ) in IsValueDflt() argument
673 aTmpI = GetInstData( pData, nEle, sal_True ); in IsValueDflt()
709 aTmpI = GetInstData( rInst.pData, i, sal_True ); in IsValueDefault()
718 aDfltI.pData = GetDfltData( i ); in IsValueDefault()
720 if( !aTmpI.pClass->IsValueDefault( aTmpI, aDfltI.pData ) ) in IsValueDefault()
748 aTmpI = GetInstData( rInst.pData, i, sal_True ); in SetDefault()
753 SetVarDflt( rInst.pData, i, sal_True ); in SetDefault()
791 if( !IsDflt( rInst.pData, i ) //MapUnit in WriteSrc()
792 || !IsDflt( rInst.pData, i+1 ) //X, Width in WriteSrc()
793 || !IsDflt( rInst.pData, i+2 ) )//Y, Height in WriteSrc()
802 if( !IsDflt( rInst.pData, i ) ) in WriteSrc()
804 aTmpI = GetInstData( rInst.pData, i, sal_True ); in WriteSrc()
810 aTmpI = GetInstData( rInst.pData, i+1, sal_True ); in WriteSrc()
812 aTmpI.pData = GetDfltData( i+1 ); in WriteSrc()
817 aTmpI = GetInstData( rInst.pData, i+2, sal_True ); in WriteSrc()
819 aTmpI.pData = GetDfltData( i+2 ); in WriteSrc()
826 else if( !IsDflt( rInst.pData, i ) in WriteSrc()
827 && !IsValueDflt( rInst.pData, i ) ) in WriteSrc()
829 aTmpI = GetInstData( rInst.pData, i, sal_True ); in WriteSrc()
869 RSCINST aTmpI = GetInstData( rInst.pData, nVarPos, sal_True ); in GetCorrectValues()
915 if( !IsDflt( rInst.pData, i ) ) in WriteInstRc()
939 aTmpI = GetInstData( rInst.pData, i, sal_True ); in WriteInstRc()
955 if( IsDflt( rInst.pData, i ) ) in WriteInstRc()
958 aTmpI.pData = GetDfltData( i ); in WriteInstRc()
961 aTmpI = GetInstData( rInst.pData, i, sal_True ); in WriteInstRc()
1238 if( !IsDflt( rInst.pData, i ) in WriteSrc()
1239 && !IsValueDflt( rInst.pData, i ) ) in WriteSrc()
1241 aTmpI = GetInstData( rInst.pData, i, sal_True ); in WriteSrc()