Lines Matching refs:sp
853 if ( sp >= MAXSTACK ) in PushWithoutError()
859 if( sp >= maxsp ) in PushWithoutError()
860 maxsp = sp + 1; in PushWithoutError()
862 pStack[ sp ]->DecRef(); in PushWithoutError()
863 pStack[ sp ] = (ScToken*) &r; in PushWithoutError()
864 ++sp; in PushWithoutError()
871 if ( sp >= MAXSTACK ) in Push()
894 if ( sp >= MAXSTACK ) in PushTempToken()
928 if ( sp >= MAXSTACK ) in PushTempTokenWithoutError()
936 if( sp >= maxsp ) in PushTempTokenWithoutError()
937 maxsp = sp + 1; in PushTempTokenWithoutError()
939 pStack[ sp ]->DecRef(); in PushTempTokenWithoutError()
940 pStack[ sp ] = p; in PushTempTokenWithoutError()
941 ++sp; in PushTempTokenWithoutError()
1003 if( sp ) in Pop()
1004 sp--; in Pop()
1015 if( sp ) in PopError()
1017 sp--; in PopError()
1018 if (pStack[sp]->GetType() == svError) in PopError()
1019 nGlobalError = pStack[sp]->GetError(); in PopError()
1029 if (sp) in PopToken()
1031 sp--; in PopToken()
1032 FormulaToken* p = pStack[ sp ]; in PopToken()
1048 if( sp ) in PopDouble()
1050 --sp; in PopDouble()
1051 FormulaToken* p = pStack[ sp ]; in PopDouble()
1077 if( sp ) in PopString()
1079 --sp; in PopString()
1080 FormulaToken* p = pStack[ sp ]; in PopString()
1159 if( sp ) in PopSingleRef()
1161 --sp; in PopSingleRef()
1162 FormulaToken* p = pStack[ sp ]; in PopSingleRef()
1188 if( sp ) in PopSingleRef()
1190 --sp; in PopSingleRef()
1191 FormulaToken* p = pStack[ sp ]; in PopSingleRef()
1239 if (!sp) in PopDoubleRef()
1245 --sp; in PopDoubleRef()
1246 FormulaToken* p = pStack[sp]; in PopDoubleRef()
1279 if( sp ) in PopDoubleRef()
1281 --sp; in PopDoubleRef()
1282 FormulaToken* p = pStack[ sp ]; in PopDoubleRef()
1326 if (sp) in PopDoubleRef()
1328 formula::FormulaToken* pToken = pStack[ sp-1 ]; in PopDoubleRef()
1336 --sp; in PopDoubleRef()
1352 --sp; in PopDoubleRef()
1358 --sp; in PopDoubleRef()
1376 if( sp ) in PopDoubleRef()
1378 --sp; in PopDoubleRef()
1379 FormulaToken* p = pStack[ sp ]; in PopDoubleRef()
1453 DBG_ASSERT( nParams <= sp, "ConvertMatrixParameters: stack/param count mismatch"); in ConvertMatrixParameters()
1455 for ( sal_uInt16 i=1; i <= nParams && i <= sp; ++i ) in ConvertMatrixParameters()
1457 FormulaToken* p = pStack[ sp - i ]; in ConvertMatrixParameters()
1520 pStack[ sp - i ] = pNew; in ConvertMatrixParameters()
1560 for ( sal_uInt16 i=1; i <= nParams && sp > 0; ++i ) in ConvertMatrixParameters()
1562 FormulaToken* p = pStack[ --sp ]; in ConvertMatrixParameters()
1584 if( sp ) in PopMatrix()
1586 --sp; in PopMatrix()
1587 FormulaToken* p = pStack[ sp ]; in PopMatrix()
1739 return sp && pStack[sp - 1]->GetType() == svMissing; in IsMissing()
1747 if( sp ) in GetRawStackType()
1749 eRes = pStack[sp - 1]->GetType(); in GetRawStackType()
1764 if( sp ) in GetStackType()
1766 eRes = pStack[sp - 1]->GetType(); in GetStackType()
1783 if( sp > nParam-1 ) in GetStackType()
1785 eRes = pStack[sp - nParam]->GetType(); in GetStackType()
3373 nStackBase = sp = maxsp = 0; in Interpret()
3407 nStackBase = sp - pCur->GetParamCount(); in Interpret()
3408 if ( nStackBase > sp ) in Interpret()
3409 nStackBase = sp; // underflow?!? in Interpret()
3410 sp = nStackBase; in Interpret()
3423 nStackBase = sp; // don't mess around with the jumps in Interpret()
3432 nStackBase = sp; in Interpret()
3435 nStackBase = sp - pCur->GetParamCount(); in Interpret()
3437 if ( nStackBase > sp ) in Interpret()
3438 nStackBase = sp; // underflow?!? in Interpret()
3780 …if (sp > nStackBase && pStack[sp-1]->GetOpCode() == ocCall && pStack[sp-1]->GetType() == svSubrout… in Interpret()
3802 if (pTokenMatrixMap && sp && GetStackType() == svMatrix) in Interpret()
3804 pStack[sp-1])); in Interpret()
3817 if (nGlobalError && eOp != ocPush && sp > nStackBase + 1) in Interpret()
3822 const FormulaToken* pLocalResult = pStack[ sp - 1 ]; in Interpret()
3823 while (sp > nStackBase) in Interpret()
3895 if( sp ) in Interpret()
3897 pCur = pStack[ sp-1 ]; in Interpret()