Lines Matching refs:nVal
62 long nTmp = rVal.nVal; in MakeBigInt()
64 nVal = rVal.nVal; in MakeBigInt()
100 nVal = nNum[0]; in Normalize()
104 nVal = ((long)nNum[1] << 16) + nNum[0]; in Normalize()
109 nVal = -nVal; in Normalize()
114 else if ( nVal & 0xFFFF0000L ) in Normalize()
500 if ( nVal < 0 ) in ABS_IsLess()
501 if ( rB.nVal < 0 ) in ABS_IsLess()
502 return nVal > rB.nVal; in ABS_IsLess()
504 return nVal > -rB.nVal; in ABS_IsLess()
506 if ( rB.nVal < 0 ) in ABS_IsLess()
507 return nVal < -rB.nVal; in ABS_IsLess()
509 return nVal < rB.nVal; in ABS_IsLess()
522 nVal = rBigInt.nVal; in BigInt()
533 nVal = 0; in BigInt()
551 nVal = -nVal; in BigInt()
561 nVal = 0; in BigInt()
579 nVal = -nVal; in BigInt()
601 nVal = 0; in BigInt()
642 nVal = nValue; in BigInt()
651 return (sal_uInt32)nVal; in operator sal_uIntPtr()
667 return (double) nVal;
694 aString = ByteString::CreateFromInt32( nVal ); in GetByteString()
708 if ( a.nVal < 100000000L ) in GetByteString()
710 aString = ByteString::CreateFromInt32( a.nVal + 1000000000L ); in GetByteString()
714 aString = ByteString::CreateFromInt32( a.nVal ); in GetByteString()
721 aString = ByteString::CreateFromInt32( -aTmp.nVal ); in GetByteString()
723 aString = ByteString::CreateFromInt32( aTmp.nVal ); in GetByteString()
737 aString = UniString::CreateFromInt32( nVal ); in GetString()
751 if ( a.nVal < 100000000L ) in GetString()
753 aString = UniString::CreateFromInt32( a.nVal + 1000000000L ); in GetString()
757 aString = UniString::CreateFromInt32( a.nVal ); in GetString()
764 aString = UniString::CreateFromInt32( -aTmp.nVal ); in GetString()
766 aString = UniString::CreateFromInt32( aTmp.nVal ); in GetString()
783 nVal = rBigInt.nVal; in operator =()
794 if( nVal <= MY_MAXLONG && rVal.nVal <= MY_MAXLONG in operator +=()
795 && nVal >= MY_MINLONG && rVal.nVal >= MY_MINLONG ) in operator +=()
797 nVal += rVal.nVal; in operator +=()
801 if( (nVal < 0) != (rVal.nVal < 0) ) in operator +=()
803 nVal += rVal.nVal; in operator +=()
822 if ( nVal <= MY_MAXLONG && rVal.nVal <= MY_MAXLONG && in operator -=()
823 nVal >= MY_MINLONG && rVal.nVal >= MY_MINLONG ) in operator -=()
825 nVal -= rVal.nVal; in operator -=()
829 if ( (nVal < 0) == (rVal.nVal < 0) ) in operator -=()
831 nVal -= rVal.nVal; in operator -=()
849 && nVal <= MY_MAXSHORT && rVal.nVal <= MY_MAXSHORT in operator *=()
850 && nVal >= MY_MINSHORT && rVal.nVal >= MY_MINSHORT ) in operator *=()
853 nVal *= rVal.nVal; in operator *=()
872 if ( rVal.nVal == 0 ) in operator /=()
881 nVal /= rVal.nVal; in operator /=()
885 if ( rVal.nVal == 1 ) in operator /=()
888 if ( rVal.nVal == -1 ) in operator /=()
894 if ( rVal.nVal <= (long)0xFFFF && rVal.nVal >= -(long)0xFFFF ) in operator /=()
898 if ( rVal.nVal < 0 ) in operator /=()
900 nTmp = (sal_uInt16) -rVal.nVal; in operator /=()
904 nTmp = (sal_uInt16) rVal.nVal; in operator /=()
933 if ( rVal.nVal == 0 ) in DivMod()
942 rMod = BigInt( nVal % rVal.nVal ); in DivMod()
943 nVal /= rVal.nVal; in DivMod()
947 if ( rVal.nVal == 1 ) in DivMod()
953 if ( rVal.nVal == -1 ) in DivMod()
960 if ( rVal.nVal <= (long)0xFFFF && rVal.nVal >= -(long)0xFFFF ) in DivMod()
964 if ( rVal.nVal < 0 ) in DivMod()
966 nTmp = (sal_uInt16) -rVal.nVal; in DivMod()
970 nTmp = (sal_uInt16) rVal.nVal; in DivMod()
1002 if ( rVal.nVal == 0 ) in operator %=()
1011 nVal %= rVal.nVal; in operator %=()
1015 if ( rVal.nVal <= (long)0xFFFF && rVal.nVal >= -(long)0xFFFF ) in operator %=()
1019 if ( rVal.nVal < 0 ) in operator %=()
1021 nTmp = (sal_uInt16) -rVal.nVal; in operator %=()
1025 nTmp = (sal_uInt16) rVal.nVal; in operator %=()
1069 return rVal1.nVal == rVal2.nVal; in operator ==()
1102 return rVal1.nVal < rVal2.nVal; in operator <()
1136 return rVal1.nVal > rVal2.nVal; in operator >()