Lines Matching refs:aR

1154 		SbxValues aL, aR;  in Compute()  local
1167 aL.eType = aR.eType = SbxSTRING; in Compute()
1168 rOp.Get( aR ); in Compute()
1175 if( aL.pOUString != NULL && aR.pOUString != NULL ) in Compute()
1177 *aL.pOUString += *aR.pOUString; in Compute()
1201 aL.eType = aR.eType = GetType(); in Compute()
1205 aL.eType = aR.eType = SbxLONG; in Compute()
1210 aL.eType = aR.eType = SbxLONG64; in Compute()
1215 aL.eType = aR.eType = SbxLONG; in Compute()
1217 if( rOp.Get( aR ) ) in Compute()
1230 if( !aR.nLong64 ) SetError( SbxERR_ZERODIV ); in Compute()
1231 else aL.nLong64 /= aR.nLong64; in Compute()
1233 if( !aR.nULong64 ) SetError( SbxERR_ZERODIV ); in Compute()
1234 else aL.nULong64 /= aR.nULong64; in Compute()
1236 if( !aR.nLong ) SetError( SbxERR_ZERODIV ); in Compute()
1237 else aL.nLong /= aR.nLong; in Compute()
1239 if( !aR.nULong ) SetError( SbxERR_ZERODIV ); in Compute()
1240 else aL.nULong /= aR.nULong; in Compute()
1246 if( !aR.nLong64 ) SetError( SbxERR_ZERODIV ); in Compute()
1247 else aL.nLong64 %= aR.nLong64; in Compute()
1249 if( !aR.nULong64 ) SetError( SbxERR_ZERODIV ); in Compute()
1250 else aL.nULong64 %= aR.nULong64; in Compute()
1252 if( !aR.nLong ) SetError( SbxERR_ZERODIV ); in Compute()
1253 else aL.nLong %= aR.nLong; in Compute()
1255 if( !aR.nULong ) SetError( SbxERR_ZERODIV ); in Compute()
1256 else aL.nULong %= aR.nULong; in Compute()
1260 aL.nLong64 &= aR.nLong64; in Compute()
1262 aL.nLong &= aR.nLong; in Compute()
1266 aL.nLong64 |= aR.nLong64; in Compute()
1268 aL.nLong |= aR.nLong; in Compute()
1272 aL.nLong64 ^= aR.nLong64; in Compute()
1274 aL.nLong ^= aR.nLong; in Compute()
1278 aL.nLong64 = (aL.nLong64 & aR.nLong64) | (~aL.nLong64 & ~aR.nLong64); in Compute()
1280 aL.nLong = (aL.nLong & aR.nLong) | (~aL.nLong & ~aR.nLong); in Compute()
1284 aL.nLong64 = ~aL.nLong64 | aR.nLong64; in Compute()
1286 aL.nLong = ~aL.nLong | aR.nLong; in Compute()
1301 aL.eType = aR.eType = SbxDECIMAL; in Compute()
1303 if( rOp.Get( aR ) ) in Compute()
1312 if( aL.pDecimal && aR.pDecimal ) in Compute()
1318 bOk = ( *(aL.pDecimal) *= *(aR.pDecimal) ); in Compute()
1321 if( aR.pDecimal->isZero() ) in Compute()
1324 bOk = ( *(aL.pDecimal) /= *(aR.pDecimal) ); in Compute()
1327 bOk = ( *(aL.pDecimal) += *(aR.pDecimal) ); in Compute()
1330 bOk = ( *(aL.pDecimal) -= *(aR.pDecimal) ); in Compute()
1351 aR.eType = SbxCURRENCY; in Compute()
1353 if( rOp.Get( aR ) ) in Compute()
1366 BigInt b2( aR.nLong64 ); in Compute()
1377 if( !aR.nLong64 ) in Compute()
1385 BigInt b2( aR.nLong64 ); in Compute()
1396 aL.nLong64 += aR.nLong64; break; in Compute()
1398 aL.nLong64 -= aR.nLong64; break; in Compute()
1409 aL.eType = aR.eType = SbxDOUBLE; in Compute()
1410 if( rOp.Get( aR ) ) in Compute()
1422 aL.nDouble = pow( aL.nDouble, aR.nDouble ); in Compute()
1425 aL.nDouble *= aR.nDouble; break; in Compute()
1427 if( !aR.nDouble ) SetError( SbxERR_ZERODIV ); in Compute()
1428 else aL.nDouble /= aR.nDouble; break; in Compute()
1430 aL.nDouble += aR.nDouble; break; in Compute()
1432 aL.nDouble -= aR.nDouble; break; in Compute()
1451 releaseDecimalPtr( aR.pDecimal ); in Compute()
1496 SbxValues aL, aR; in Compare() local
1501 aL.eType = aR.eType = SbxSTRING; in Compare()
1502 if( Get( aL ) && rOp.Get( aR ) ) switch( eOp ) in Compare()
1505 bRes = sal_Bool( *aL.pOUString == *aR.pOUString ); break; in Compare()
1507 bRes = sal_Bool( *aL.pOUString != *aR.pOUString ); break; in Compare()
1509 bRes = sal_Bool( *aL.pOUString < *aR.pOUString ); break; in Compare()
1511 bRes = sal_Bool( *aL.pOUString > *aR.pOUString ); break; in Compare()
1513 bRes = sal_Bool( *aL.pOUString <= *aR.pOUString ); break; in Compare()
1515 bRes = sal_Bool( *aL.pOUString >= *aR.pOUString ); break; in Compare()
1524 aL.eType = aR.eType = SbxSINGLE; in Compare()
1525 if( Get( aL ) && rOp.Get( aR ) ) in Compare()
1529 bRes = sal_Bool( aL.nSingle == aR.nSingle ); break; in Compare()
1531 bRes = sal_Bool( aL.nSingle != aR.nSingle ); break; in Compare()
1533 bRes = sal_Bool( aL.nSingle < aR.nSingle ); break; in Compare()
1535 bRes = sal_Bool( aL.nSingle > aR.nSingle ); break; in Compare()
1537 bRes = sal_Bool( aL.nSingle <= aR.nSingle ); break; in Compare()
1539 bRes = sal_Bool( aL.nSingle >= aR.nSingle ); break; in Compare()
1546 aL.eType = aR.eType = SbxDECIMAL; in Compare()
1548 rOp.Get( aR ); in Compare()
1549 if( aL.pDecimal && aR.pDecimal ) in Compare()
1551 SbxDecimal::CmpResult eRes = compare( *aL.pDecimal, *aR.pDecimal ); in Compare()
1575 releaseDecimalPtr( aR.pDecimal ); in Compare()
1580 aL.eType = aR.eType = SbxDOUBLE; in Compare()
1583 bool bGetR = rOp.Get( aR ); in Compare()
1588 bRes = sal_Bool( aL.nDouble == aR.nDouble ); break; in Compare()
1590 bRes = sal_Bool( aL.nDouble != aR.nDouble ); break; in Compare()
1592 bRes = sal_Bool( aL.nDouble < aR.nDouble ); break; in Compare()
1594 bRes = sal_Bool( aL.nDouble > aR.nDouble ); break; in Compare()
1596 bRes = sal_Bool( aL.nDouble <= aR.nDouble ); break; in Compare()
1598 bRes = sal_Bool( aL.nDouble >= aR.nDouble ); break; in Compare()