Lines Matching refs:aL

1154 		SbxValues aL, aR;  in Compute()  local
1167 aL.eType = aR.eType = SbxSTRING; in Compute()
1172 Get( aL ); in Compute()
1175 if( aL.pOUString != NULL && aR.pOUString != NULL ) in Compute()
1177 *aL.pOUString += *aR.pOUString; in Compute()
1180 else if( aL.pOUString == NULL ) in Compute()
1182 aL.pOUString = new ::rtl::OUString(); in Compute()
1184 Put( aL ); 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()
1224 if( Get( aL ) ) switch( eOp ) in Compute()
1227 if( aL.eType == SbxCURRENCY ) in Compute()
1228 aL.eType = SbxLONG64; in Compute()
1229 if( aL.eType == SbxLONG64 ) in Compute()
1231 else aL.nLong64 /= aR.nLong64; in Compute()
1232 else if( aL.eType == SbxULONG64 ) in Compute()
1234 else aL.nULong64 /= aR.nULong64; in Compute()
1235 else if( aL.eType == SbxLONG ) in Compute()
1237 else aL.nLong /= aR.nLong; in Compute()
1240 else aL.nULong /= aR.nULong; in Compute()
1243 if( aL.eType == SbxCURRENCY ) in Compute()
1244 aL.eType = SbxLONG64; in Compute()
1245 if( aL.eType == SbxLONG64 ) in Compute()
1247 else aL.nLong64 %= aR.nLong64; in Compute()
1248 else if( aL.eType == SbxULONG64 ) in Compute()
1250 else aL.nULong64 %= aR.nULong64; in Compute()
1251 else if( aL.eType == SbxLONG ) in Compute()
1253 else aL.nLong %= aR.nLong; in Compute()
1256 else aL.nULong %= aR.nULong; in Compute()
1259 if( aL.eType != SbxLONG && aL.eType != SbxULONG ) in Compute()
1260 aL.nLong64 &= aR.nLong64; in Compute()
1262 aL.nLong &= aR.nLong; in Compute()
1265 if( aL.eType != SbxLONG && aL.eType != SbxULONG ) in Compute()
1266 aL.nLong64 |= aR.nLong64; in Compute()
1268 aL.nLong |= aR.nLong; in Compute()
1271 if( aL.eType != SbxLONG && aL.eType != SbxULONG ) in Compute()
1272 aL.nLong64 ^= aR.nLong64; in Compute()
1274 aL.nLong ^= aR.nLong; in Compute()
1277 if( aL.eType != SbxLONG && aL.eType != SbxULONG ) 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()
1283 if( aL.eType != SbxLONG && aL.eType != SbxULONG ) in Compute()
1284 aL.nLong64 = ~aL.nLong64 | aR.nLong64; in Compute()
1286 aL.nLong = ~aL.nLong | aR.nLong; in Compute()
1289 if( aL.eType != SbxLONG && aL.eType != SbxULONG ) in Compute()
1290 aL.nLong64 = ~aL.nLong64; in Compute()
1292 aL.nLong = ~aL.nLong; in Compute()
1301 aL.eType = aR.eType = SbxDECIMAL; in Compute()
1307 releaseDecimalPtr( aL.pDecimal ); in Compute()
1310 if( Get( aL ) ) in Compute()
1312 if( aL.pDecimal && aR.pDecimal ) in Compute()
1318 bOk = ( *(aL.pDecimal) *= *(aR.pDecimal) ); 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()
1333 bOk = ( aL.pDecimal->neg() ); in Compute()
1350 aL.eType = SbxCURRENCY; in Compute()
1360 if( Get( aL ) ) switch( eOp ) in Compute()
1365 BigInt b1( aL.nLong64 ); in Compute()
1373 b1.INT64( &aL.nLong64 ); in Compute()
1384 BigInt b1( aL.nLong64 ); in Compute()
1392 b1.INT64( &aL.nLong64 ); in Compute()
1396 aL.nLong64 += aR.nLong64; break; in Compute()
1398 aL.nLong64 -= aR.nLong64; break; in Compute()
1400 aL.nLong64 = -aL.nLong64; break; in Compute()
1409 aL.eType = aR.eType = SbxDOUBLE; in Compute()
1417 if( Get( aL ) ) in Compute()
1422 aL.nDouble = pow( aL.nDouble, aR.nDouble ); in Compute()
1425 aL.nDouble *= aR.nDouble; break; 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()
1434 aL.nDouble = -aL.nDouble; break; in Compute()
1441 aL.eType = SbxDATE; in Compute()
1447 Put( aL ); in Compute()
1450 releaseDecimalPtr( aL.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()
1547 Get( aL ); in Compare()
1549 if( aL.pDecimal && aR.pDecimal ) in Compare()
1551 SbxDecimal::CmpResult eRes = compare( *aL.pDecimal, *aR.pDecimal ); in Compare()
1574 releaseDecimalPtr( aL.pDecimal ); in Compare()
1580 aL.eType = aR.eType = SbxDOUBLE; in Compare()
1582 bool bGetL = Get( aL ); 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()