Lines Matching refs:t

333         FormulaToken* t = pCode[ nIndex++ ];  in GetNextReference()  local
334 switch( t->GetType() ) in GetNextReference()
340 return t; in GetNextReference()
354 FormulaToken* t = pCode[ nIndex++ ]; in GetNextColRowName() local
355 if ( t->GetOpCode() == ocColRowName ) in GetNextColRowName()
356 return t; in GetNextColRowName()
365 FormulaToken* t = pRPN[ nIndex++ ]; in GetNextReferenceRPN() local
366 switch( t->GetType() ) in GetNextReferenceRPN()
372 return t; in GetNextReferenceRPN()
388 FormulaToken* t = pCode[ nIndex++ ]; in GetNextReferenceOrName() local
389 switch( t->GetType() ) in GetNextReferenceOrName()
397 return t; in GetNextReferenceOrName()
414 FormulaToken* t = pCode[ nIndex++ ]; in GetNextName() local
415 if( t->GetType() == svIndex ) in GetNextName()
416 return t; in GetNextName()
428 FormulaToken* t = pCode[ nIndex++ ]; in GetNextDBArea() local
429 if( t->GetOpCode() == ocDBArea ) in GetNextDBArea()
430 return t; in GetNextDBArea()
440 FormulaToken* t = pRPN[ nIndex++ ]; in GetNextOpCodeRPN() local
441 if ( t->GetOpCode() == eOp ) in GetNextOpCodeRPN()
442 return t; in GetNextOpCodeRPN()
656 FormulaToken* t = *pp; in Clone() local
657 if( t->GetRef() > 1 ) in Clone()
663 if( *p2 == t ) in Clone()
669 *pp = t->Clone(); in Clone()
674 *pp = t->Clone(); in Clone()
709 FormulaToken* FormulaTokenArray::Add( FormulaToken* t ) in Add() argument
716 pCode[ nLen++ ] = t; in Add()
717 if( t->GetOpCode() == ocPush in Add()
718 && ( t->GetType() == svSingleRef || t->GetType() == svDoubleRef ) ) in Add()
720 t->IncRef(); in Add()
721 if( t->GetOpCode() == ocArrayClose ) in Add()
723 return t; in Add()
727 t->Delete(); in Add()
730 t = new FormulaByteToken( ocStop ); in Add()
731 pCode[ nLen++ ] = t; in Add()
732 t->IncRef(); in Add()
808 FormulaToken* t = pRPN[j]; in HasMatrixDoubleRefOps() local
809 OpCode eOp = t->GetOpCode(); in HasMatrixDoubleRefOps()
810 sal_uInt8 nParams = t->GetParamCount(); in HasMatrixDoubleRefOps()
843 if ( eOp == ocPush || lcl_IsReference( eOp, t->GetType() ) ) in HasMatrixDoubleRefOps()
844 pStack[sp++] = t; in HasMatrixDoubleRefOps()
1260 const FormulaToken* t = GetNonEndOfPathToken( ++pCur->nPC ); in Next() local
1261 if( !t && pCur->pNext ) in Next()
1264 t = Next(); in Next()
1266 return t; in Next()
1271 const FormulaToken* t = NULL; in PeekNextOperator() local
1273 while (!t && ((t = GetNonEndOfPathToken( ++nIdx)) != NULL)) in PeekNextOperator()
1275 if (t->GetOpCode() == ocPush) in PeekNextOperator()
1276 t = NULL; // ignore operands in PeekNextOperator()
1278 if (!t && pCur->pNext) in PeekNextOperator()
1282 t = PeekNextOperator(); in PeekNextOperator()
1285 return t; in PeekNextOperator()
1305 const FormulaToken* t = pCur->pArr->pRPN[ nIdx ]; in GetNonEndOfPathToken() local
1307 return (t->GetOpCode() == ocSep || t->GetOpCode() == ocClose) ? NULL : t; in GetNonEndOfPathToken()