Lines Matching refs:nRes
38 sal_Int16 nRes; in ImpGetInteger() local
45 nRes = 0; break; in ImpGetInteger()
47 nRes = p->nChar; break; in ImpGetInteger()
49 nRes = p->nByte; break; in ImpGetInteger()
52 nRes = p->nInteger; break; in ImpGetInteger()
57 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXINT; in ImpGetInteger()
60 nRes = (sal_Int16) p->nUShort; in ImpGetInteger()
65 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXINT; in ImpGetInteger()
69 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMININT; in ImpGetInteger()
72 nRes = (sal_Int16) p->nLong; in ImpGetInteger()
77 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXINT; in ImpGetInteger()
80 nRes = (sal_Int16) p->nULong; in ImpGetInteger()
85 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXINT; in ImpGetInteger()
89 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMININT; in ImpGetInteger()
92 nRes = (sal_Int16) ImpRound( p->nSingle ); in ImpGetInteger()
97 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXINT; in ImpGetInteger()
101 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMININT; in ImpGetInteger()
104 nRes = (sal_Int16) p->nInt64; in ImpGetInteger()
109 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXINT; in ImpGetInteger()
112 nRes = (sal_Int16) p->uInt64; in ImpGetInteger()
140 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXINT; in ImpGetInteger()
144 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMININT; in ImpGetInteger()
147 nRes = (sal_Int16) ImpRound( dVal ); in ImpGetInteger()
154 nRes = 0; in ImpGetInteger()
160 nRes = 0; in ImpGetInteger()
163 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXINT; in ImpGetInteger()
167 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMININT; in ImpGetInteger()
170 nRes = (sal_Int16) ImpRound( d ); in ImpGetInteger()
177 nRes = pVal->GetInteger(); in ImpGetInteger()
180 SbxBase::SetError( SbxERR_NO_OBJECT ); nRes = 0; in ImpGetInteger()
186 nRes = *p->pChar; break; in ImpGetInteger()
188 nRes = *p->pByte; break; in ImpGetInteger()
191 nRes = *p->pInteger; break; in ImpGetInteger()
220 SbxBase::SetError( SbxERR_CONVERSION ); nRes = 0; in ImpGetInteger()
222 return nRes; in ImpGetInteger()
353 sal_Int64 nRes; in ImpDoubleToSalInt64() local
356 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXSALINT64; in ImpDoubleToSalInt64()
360 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMINSALINT64; in ImpDoubleToSalInt64()
363 nRes = (sal_Int64) ImpRound( d ); in ImpDoubleToSalInt64()
364 return nRes; in ImpDoubleToSalInt64()
369 sal_uInt64 nRes; in ImpDoubleToSalUInt64() local
372 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXSALUINT64; in ImpDoubleToSalUInt64()
376 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0; in ImpDoubleToSalUInt64()
379 nRes = (sal_uInt64) ImpRound( d ); in ImpDoubleToSalUInt64()
380 return nRes; in ImpDoubleToSalUInt64()
397 sal_Int64 nRes; in ImpGetInt64() local
404 nRes = 0; break; in ImpGetInt64()
406 nRes = p->nChar; break; in ImpGetInt64()
408 nRes = p->nByte; break; in ImpGetInt64()
411 nRes = p->nInteger; break; in ImpGetInt64()
414 nRes = p->nUShort; break; in ImpGetInt64()
416 nRes = p->nLong; break; in ImpGetInt64()
418 nRes = (sal_Int64) p->nULong; break; in ImpGetInt64()
420 nRes = ImpDoubleToSalInt64( (double)p->nSingle ); in ImpGetInt64()
438 nRes = ImpDoubleToSalInt64( dVal ); in ImpGetInt64()
442 nRes = p->nInt64; break; in ImpGetInt64()
446 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXSALINT64; in ImpGetInt64()
449 nRes = (sal_Int64) p->uInt64; in ImpGetInt64()
456 nRes = 0; in ImpGetInt64()
461 nRes = aOStr.toInt64(); in ImpGetInt64()
462 if( nRes == 0 ) in ImpGetInt64()
468 nRes = 0; in ImpGetInt64()
470 nRes = ImpDoubleToSalInt64( d ); in ImpGetInt64()
478 nRes = pVal->GetInt64(); in ImpGetInt64()
481 SbxBase::SetError( SbxERR_NO_OBJECT ); nRes = 0; in ImpGetInt64()
487 nRes = *p->pChar; break; in ImpGetInt64()
489 nRes = *p->pByte; break; in ImpGetInt64()
492 nRes = *p->pInteger; break; in ImpGetInt64()
494 nRes = *p->pLong; break; in ImpGetInt64()
496 nRes = *p->pULong; break; in ImpGetInt64()
498 nRes = *p->pnInt64; break; in ImpGetInt64()
521 SbxBase::SetError( SbxERR_CONVERSION ); nRes = 0; in ImpGetInt64()
523 return nRes; in ImpGetInt64()
685 sal_uInt64 nRes; in ImpGetUInt64() local
692 nRes = 0; break; in ImpGetUInt64()
694 nRes = p->nChar; break; in ImpGetUInt64()
696 nRes = p->nByte; break; in ImpGetUInt64()
699 nRes = p->nInteger; break; in ImpGetUInt64()
702 nRes = p->nUShort; break; in ImpGetUInt64()
704 nRes = p->nLong; break; in ImpGetUInt64()
706 nRes = (sal_uInt64) p->nULong; break; in ImpGetUInt64()
708 nRes = ImpDoubleToSalUInt64( (double)p->nSingle ); in ImpGetUInt64()
726 nRes = ImpDoubleToSalUInt64( dVal ); in ImpGetUInt64()
732 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0; in ImpGetUInt64()
735 nRes = (sal_uInt64) p->nInt64; in ImpGetUInt64()
737 nRes = p->uInt64; break; in ImpGetUInt64()
743 nRes = 0; in ImpGetUInt64()
755 nRes = 0; in ImpGetUInt64()
758 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = SbxMAXSALUINT64; in ImpGetUInt64()
762 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0; in ImpGetUInt64()
765 nRes = (sal_uInt64) ImpRound( d ); in ImpGetUInt64()
769 SbxBase::SetError( SbxERR_OVERFLOW ); nRes = 0; in ImpGetUInt64()
773 nRes = n64; in ImpGetUInt64()
781 nRes = pVal->GetUInt64(); in ImpGetUInt64()
784 SbxBase::SetError( SbxERR_NO_OBJECT ); nRes = 0; in ImpGetUInt64()
790 nRes = *p->pChar; break; in ImpGetUInt64()
792 nRes = *p->pByte; break; in ImpGetUInt64()
795 nRes = *p->pInteger; break; in ImpGetUInt64()
797 nRes = *p->pLong; break; in ImpGetUInt64()
799 nRes = *p->pULong; break; in ImpGetUInt64()
801 nRes = *p->puInt64; break; in ImpGetUInt64()
824 SbxBase::SetError( SbxERR_CONVERSION ); nRes = 0; in ImpGetUInt64()
826 return nRes; in ImpGetUInt64()