Home
last modified time | relevance | path

Searched refs:rCalc (Results 1 – 13 of 13) sorted by relevance

/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/fields/
H A Dusrfld.cxx237 double SwUserFieldType::GetValue( SwCalc& rCalc ) in GetValue() argument
242 if(!rCalc.Push( this )) in GetValue()
244 rCalc.SetCalcError( SwCalcError::Syntax ); in GetValue()
250 CharClass* pCharClass = rCalc.GetCharClass(); in GetValue()
257 m_nValue = rCalc.Calculate( m_aContent ).GetDouble(); in GetValue()
262 rCalc.Pop(); in GetValue()
264 if( !rCalc.IsCalcError() ) in GetValue()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/fields/
H A Dusrfld.cxx235 double SwUserFieldType::GetValue( SwCalc& rCalc ) in GetValue() argument
240 if(!rCalc.Push( this )) in GetValue()
242 rCalc.SetCalcError( SwCalcError::Syntax ); in GetValue()
248 CharClass* pCharClass = rCalc.GetCharClass(); in GetValue()
260 m_nValue = rCalc.Calculate( m_aContent ).GetDouble(); in GetValue()
267 rCalc.Pop(); in GetValue()
269 if( !rCalc.IsCalcError() ) in GetValue()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/inc/
H A DDocumentFieldsManager.hxx58 virtual void FieldsToCalc(SwCalc& rCalc, sal_uLong nLastNd, sal_Int32 nLastCnt) override;
59 …virtual void FieldsToCalc(SwCalc& rCalc, const SetGetExpField& rToThisField, SwRootFrame const* pL…
89 void UpdateDBNumFields( SwDBNameInfField& rDBField, SwCalc& rCalc );
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/inc/
H A DDocumentFieldsManager.hxx58 virtual void FieldsToCalc(SwCalc& rCalc, sal_uLong nLastNd, sal_uInt16 nLastCnt) override;
59 …virtual void FieldsToCalc(SwCalc& rCalc, const SetGetExpField& rToThisField, SwRootFrame const* pL…
89 void UpdateDBNumFields( SwDBNameInfField& rDBField, SwCalc& rCalc );
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/inc/
H A DIDocumentFieldsAccess.hxx125 virtual void FieldsToCalc(SwCalc& rCalc, sal_uLong nLastNd, sal_Int32 nLastCnt) = 0;
127 …virtual void FieldsToCalc(SwCalc& rCalc, const SetGetExpField& rToThisField, SwRootFrame const* pL…
H A Dusrfld.hxx60 double GetValue(SwCalc& rCalc); // Recalculate member nValue.
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/inc/
H A DIDocumentFieldsAccess.hxx125 virtual void FieldsToCalc(SwCalc& rCalc, sal_uLong nLastNd, sal_uInt16 nLastCnt) = 0;
127 …virtual void FieldsToCalc(SwCalc& rCalc, const SetGetExpField& rToThisField, SwRootFrame const* pL…
H A Dusrfld.hxx59 double GetValue(SwCalc& rCalc); // Recalculate member nValue.
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/core/doc/
H A DDocumentFieldsManager.cxx142 rCalc.VarChange( pField->GetTyp()->GetName(), aValue ); in lcl_CalcField()
159 rCalc.VarChange( lcl_GetDBVarName( rDoc, *pDBField), in lcl_CalcField()
172 SwCalcExp* pExp = rCalc.VarLook( sDBNumNm ); in lcl_CalcField()
1536 void DocumentFieldsManager::FieldsToCalc(SwCalc& rCalc, in FieldsToCalc() argument
1557 lcl_CalcField(m_rDoc, rCalc, **it, pMgr, pLayout); in FieldsToCalc()
1565 void DocumentFieldsManager::FieldsToCalc(SwCalc& rCalc, in FieldsToCalc() argument
1604 lcl_CalcField( m_rDoc, rCalc, **it, pMgr, pLayout ); in FieldsToCalc()
1608 lcl_CalcField( m_rDoc, rCalc, **it, pMgr, pLayoutRLHidden ); in FieldsToCalc()
1819 (void) rCalc; in UpdateDBNumFields()
1825 bool bPar1 = rCalc.Calculate( rDBField.GetPar1() ).GetBool(); in UpdateDBNumFields()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/core/doc/
H A DDocumentFieldsManager.cxx141 rCalc.VarChange( pField->GetTyp()->GetName(), aValue ); in lcl_CalcField()
158 rCalc.VarChange( lcl_GetDBVarName( rDoc, *pDBField), in lcl_CalcField()
171 SwCalcExp* pExp = rCalc.VarLook( sDBNumNm ); in lcl_CalcField()
173 rCalc.VarChange( sDBNumNm, pExp->nValue.GetLong() + 1 ); in lcl_CalcField()
1549 void DocumentFieldsManager::FieldsToCalc(SwCalc& rCalc, in FieldsToCalc() argument
1570 lcl_CalcField(m_rDoc, rCalc, **it, pMgr, pLayout); in FieldsToCalc()
1616 lcl_CalcField( m_rDoc, rCalc, **it, pMgr, pLayout ); in FieldsToCalc()
1620 lcl_CalcField( m_rDoc, rCalc, **it, pMgr, pLayoutRLHidden ); in FieldsToCalc()
1830 (void) rCalc; in UpdateDBNumFields()
1836 bool bPar1 = rCalc.Calculate( rDBField.GetPar1() ).GetBool(); in UpdateDBNumFields()
[all …]
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/reservation/
H A DTestReservationInputValidator.java76 ResourceCalculator rCalc = new DefaultResourceCalculator(); in setUp() local
78 when(plan.getResourceCalculator()).thenReturn(rCalc); in setUp()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/uibase/dbui/
H A Ddbmgr.cxx2102 LanguageType nLanguage, SwCalc &rCalc ) in FillCalcWithMergeData() argument
2117 rCalc.VarChange( GetAppCharClass().lowercase( in FillCalcWithMergeData()
2148 rCalc.VarChange( rColName, aValue ); in FillCalcWithMergeData()
2157 rCalc.VarChange( rColName, aValue ); in FillCalcWithMergeData()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/uibase/dbui/
H A Ddbmgr.cxx2154 LanguageType nLanguage, SwCalc &rCalc ) in FillCalcWithMergeData() argument
2169 rCalc.VarChange( GetAppCharClass().lowercase( in FillCalcWithMergeData()
2200 rCalc.VarChange( rColName, aValue ); in FillCalcWithMergeData()
2209 rCalc.VarChange( rColName, aValue ); in FillCalcWithMergeData()