Home
last modified time | relevance | path

Searched refs:BigInt (Results 1 – 25 of 97) sorted by relevance

1234

/trunk/main/tools/inc/tools/
H A Dbigint.hxx46 class TOOLS_DLLPUBLIC BigInt class
60 TOOLS_DLLPRIVATE void MakeBigInt(BigInt const &);
62 TOOLS_DLLPRIVATE void Mult(BigInt const &, sal_uInt16);
64 TOOLS_DLLPRIVATE sal_Bool IsLess(BigInt const &) const;
65 TOOLS_DLLPRIVATE void AddLong(BigInt &, BigInt &);
66 TOOLS_DLLPRIVATE void SubLong(BigInt &, BigInt &);
67 TOOLS_DLLPRIVATE void MultLong(BigInt const &, BigInt &) const;
68 TOOLS_DLLPRIVATE void DivLong(BigInt const &, BigInt &) const;
69 TOOLS_DLLPRIVATE void ModLong(BigInt const &, BigInt &) const;
70 TOOLS_DLLPRIVATE sal_Bool ABS_IsLess(BigInt const &) const;
[all …]
H A Dfsys.hxx50 class BigInt;
226 BigInt &rFreeBytes, BigInt &rTotalBytes );
/trunk/main/tools/source/generic/
H A Dbigint.cxx52 void BigInt::MakeBigInt( const BigInt& rVal ) in MakeBigInt()
56 memcpy( (void*)this, (const void*)&rVal, sizeof( BigInt ) ); in MakeBigInt()
90 void BigInt::Normalize() in Normalize()
122 void BigInt::Mult( const BigInt &rVal, sal_uInt16 nMul ) in Mult()
146 void BigInt::Div( sal_uInt16 nDiv, sal_uInt16& rRem ) in Div()
163 sal_Bool BigInt::IsLess( const BigInt& rVal ) const in IsLess()
179 void BigInt::AddLong( BigInt& rB, BigInt& rErg ) in AddLong()
242 void BigInt::SubLong( BigInt& rB, BigInt& rErg ) in SubLong()
315 void BigInt::MultLong( const BigInt& rB, BigInt& rErg ) const in MultLong()
342 void BigInt::DivLong( const BigInt& rB, BigInt& rErg ) const in DivLong()
[all …]
H A Dfract.cxx84 static void Reduce( BigInt &rVal1, BigInt &rVal2 ) in Reduce()
86 BigInt nA( rVal1 ); in Reduce()
87 BigInt nB( rVal2 ); in Reduce()
147 BigInt nN( nN1 ); in Fraction()
148 nN *= BigInt( nN2 ); in Fraction()
150 BigInt nD( nD1 ); in Fraction()
151 nD *= BigInt( nD2 ); in Fraction()
155 BigInt n1 = 1; in Fraction()
156 BigInt n2 = 2; in Fraction()
294 BigInt nN( nNumerator ); in operator +=()
[all …]
/trunk/main/vcl/inc/vcl/
H A Dlongcurr.hxx42 …SAL_DLLPRIVATE friend sal_Bool ImplLongCurrencyReformat( const XubString&, BigInt, BigInt, sal_uIn…
46 BigInt mnFieldValue;
47 BigInt mnLastValue;
48 BigInt mnMin;
49 BigInt mnMax;
50 BigInt mnCorrectedValue;
71 void SetMin( BigInt nNewMin );
72 BigInt GetMin() const { return mnMin; } in GetMin()
73 void SetMax( BigInt nNewMax );
74 BigInt GetMax() const { return mnMax; } in GetMax()
[all …]
/trunk/main/vcl/source/control/
H A Dlongcurr.cxx50 static BigInt ImplPower10( sal_uInt16 n ) in ImplPower10()
53 BigInt nValue = 1; in ImplPower10()
63 static XubString ImplGetCurr( const LocaleDataWrapper& rLocaleDataWrapper, const BigInt &rNumber, s… in ImplGetCurr()
70 BigInt aTmp( ImplPower10( nDigits ) ); in ImplGetCurr()
71 BigInt aInteger( rNumber ); in ImplGetCurr()
74 BigInt aFraction( rNumber ); in ImplGetCurr()
136 static sal_Bool ImplNumericGetValue( const XubString& rStr, BigInt& rValue, in ImplNumericGetValue()
247 BigInt nValue( aStr ); in ImplNumericGetValue()
273 inline sal_Bool ImplLongCurrencyGetValue( const XubString& rStr, BigInt& rValue, in ImplLongCurrencyGetValue()
282 sal_Bool ImplLongCurrencyReformat( const XubString& rStr, BigInt nMin, BigInt nMax, in ImplLongCurrencyReformat()
[all …]
/trunk/main/basic/source/sbx/
H A Dsbxvals.cxx33 SbxValues::SbxValues( const BigInt &rBig ) : eType(SbxCURRENCY) in SbxValues()
47 sal_Bool BigInt::INT64( SbxINT64 *p ) const in INT64()
64 BigInt::BigInt( const SbxINT64 &r ) in BigInt() function in BigInt
66 BigInt a10000 = 0x10000; in BigInt()
76 sal_Bool BigInt::UINT64( SbxUINT64 *p ) const in UINT64()
95 BigInt::BigInt( const SbxUINT64 &r ) in BigInt() function in BigInt
97 BigInt a10000 = 0x10000; in BigInt()
99 *this = BigInt(r.nHigh); in BigInt()
H A Dsbxvalue.cxx46 BigInt b( *this );
47 b -= BigInt( r );
53 BigInt b( *this ); in operator +=()
54 b += BigInt( r ); in operator +=()
60 BigInt b( *this ); in operator *=()
61 b *= BigInt( r ); in operator *=()
67 BigInt b( *this ); in operator %=()
68 b %= BigInt( r ); in operator %=()
74 BigInt b( *this ); in operator /=()
75 b /= BigInt( r ); in operator /=()
[all …]
H A Dsbxcurr.cxx320 BigInt a10000 = 10000; in ImpCurrencyToString()
323 BigInt aInt( r ); in ImpCurrencyToString()
325 BigInt aFrac = aInt; in ImpCurrencyToString()
366 BigInt aBig( aStr ); in ImpStringToCurrency()
/trunk/main/vcl/source/gdi/
H A Doutmap.cxx299 BigInt aX( rMapRes.mnMapOfsX ); in ImplCalcMapResolution()
300 aX *= BigInt( aScaleX.GetDenominator() ); in ImplCalcMapResolution()
304 aX += BigInt( aScaleX.GetNumerator()/2 ); in ImplCalcMapResolution()
306 aX -= BigInt( (aScaleX.GetNumerator()+1)/2 ); in ImplCalcMapResolution()
311 aX -= BigInt( (aScaleX.GetNumerator()-1)/2 ); in ImplCalcMapResolution()
313 aX += BigInt( aScaleX.GetNumerator()/2 ); in ImplCalcMapResolution()
315 aX /= BigInt( aScaleX.GetNumerator() ); in ImplCalcMapResolution()
317 BigInt aY( rMapRes.mnMapOfsY ); in ImplCalcMapResolution()
318 aY *= BigInt( aScaleY.GetDenominator() ); in ImplCalcMapResolution()
322 aY += BigInt( aScaleY.GetNumerator()/2 ); in ImplCalcMapResolution()
[all …]
/trunk/main/svx/source/svdraw/
H A Dsvdotxdr.cxx135 long nNeed=long(BigInt(nHgt0)*BigInt(nXMul)/BigInt(nXDiv)); in ImpDragCalcRect()
140 long nNeed=long(BigInt(nWdt0)*BigInt(nYMul)/BigInt(nYDiv)); in ImpDragCalcRect()
148 long nNeed=long(BigInt(nHgt0b)*BigInt(nXMul)/BigInt(nXDiv)); in ImpDragCalcRect()
154 long nNeed=long(BigInt(nWdt0b)*BigInt(nYMul)/BigInt(nYDiv)); in ImpDragCalcRect()
H A Dsvdobj.cxx1312 long nNeed=long(BigInt(nHgt0)*BigInt(nXMul)/BigInt(nXDiv)); in ImpDragCalcRect()
1317 long nNeed=long(BigInt(nWdt0)*BigInt(nYMul)/BigInt(nYDiv)); in ImpDragCalcRect()
1325 long nNeed=long(BigInt(nHgt0b)*BigInt(nXMul)/BigInt(nXDiv)); in ImpDragCalcRect()
1331 long nNeed=long(BigInt(nWdt0b)*BigInt(nYMul)/BigInt(nYDiv)); in ImpDragCalcRect()
H A Dsvdocapt.cxx158 BigInt aHorX(aBestPt.X()-aTl.X()); aHorX*=aHorX; in CalcEscPos()
159 BigInt aHorY(aBestPt.Y()-aTl.Y()); aHorY*=aHorY; in CalcEscPos()
160 BigInt aVerX(aBest2.X()-aTl.X()); aVerX*=aVerX; in CalcEscPos()
161 BigInt aVerY(aBest2.Y()-aTl.Y()); aVerY*=aVerY; in CalcEscPos()
H A Dsvdedtv1.cxx127 BigInt l(aR1.Left()); in SetMarkedObjRect()
128 BigInt r(aR1.Right()); in SetMarkedObjRect()
129 BigInt t(aR1.Top()); in SetMarkedObjRect()
130 BigInt b(aR1.Bottom()); in SetMarkedObjRect()
/trunk/main/svtools/source/filter/wmf/
H A Dwmfwr.cxx1571 BigInt aX( aOrigin.X() ); in WriteRecords()
1572 aX *= BigInt( aScaleX.GetDenominator() ); in WriteRecords()
1575 aX += BigInt( aScaleX.GetNumerator()/2 ); in WriteRecords()
1577 aX -= BigInt( (aScaleX.GetNumerator()+1)/2 ); in WriteRecords()
1580 aX -= BigInt( (aScaleX.GetNumerator()-1)/2 ); in WriteRecords()
1582 aX += BigInt( aScaleX.GetNumerator()/2 ); in WriteRecords()
1583 aX /= BigInt( aScaleX.GetNumerator() ); in WriteRecords()
1585 BigInt aY( aOrigin.Y() ); in WriteRecords()
1586 aY *= BigInt( aScaleY.GetDenominator() ); in WriteRecords()
1589 aY += BigInt( aScaleY.GetNumerator()/2 ); in WriteRecords()
[all …]
/trunk/main/tools/source/fsys/
H A Dwntmsc.cxx1043 BigInt &rFreeBytes, BigInt &rTotalBytes ) in QueryDiskSpace()
1057 BigInt aBytesPerCluster( BigInt(nSectorsPerCluster) * in QueryDiskSpace()
1058 BigInt(nBytesPerSector) ); in QueryDiskSpace()
1059 rFreeBytes = aBytesPerCluster * BigInt(nFreeClusters); in QueryDiskSpace()
1060 rTotalBytes = aBytesPerCluster * BigInt(nClusters); in QueryDiskSpace()
H A Dos2.cxx986 BigInt &rFreeBytes, BigInt &rTotalBytes ) in QueryDiskSpace()
997 BigInt aBytesPerCluster( BigInt(aFSInfoBuf.cbSector) * in QueryDiskSpace()
998 BigInt(aFSInfoBuf.cSectorUnit) ); in QueryDiskSpace()
999 rFreeBytes = aBytesPerCluster * BigInt(aFSInfoBuf.cUnitAvail); in QueryDiskSpace()
1000 rTotalBytes = aBytesPerCluster * BigInt(aFSInfoBuf.cUnit); in QueryDiskSpace()
H A Dunx.cxx646 ErrCode FileStat::QueryDiskSpace( const String &, BigInt &, BigInt & ) in QueryDiskSpace() argument
/trunk/main/filter/source/graphicfilter/eos2met/
H A Deos2met.cxx2192 BigInt aX( aOrigin.X() ); in WriteOrders()
2193 aX *= BigInt( aScaleX.GetDenominator() ); in WriteOrders()
2198 aX += BigInt( aScaleX.GetNumerator()/2 ); in WriteOrders()
2200 aX -= BigInt( (aScaleX.GetNumerator()+1)/2 ); in WriteOrders()
2205 aX -= BigInt( (aScaleX.GetNumerator()-1)/2 ); in WriteOrders()
2207 aX += BigInt( aScaleX.GetNumerator()/2 ); in WriteOrders()
2210 aX /= BigInt( aScaleX.GetNumerator() ); in WriteOrders()
2213 BigInt aY( aOrigin.Y() ); in WriteOrders()
2214 aY *= BigInt( aScaleY.GetDenominator() ); in WriteOrders()
2219 aY += BigInt( aScaleY.GetNumerator()/2 ); in WriteOrders()
[all …]
/trunk/main/filter/source/graphicfilter/epict/
H A Depict.cxx2001 BigInt aX( aOrigin.X() ); in WriteOpcodes()
2002 aX *= BigInt( aScaleX.GetDenominator() ); in WriteOpcodes()
2006 aX += BigInt( aScaleX.GetNumerator()/2 ); in WriteOpcodes()
2008 aX -= BigInt( (aScaleX.GetNumerator()+1)/2 ); in WriteOpcodes()
2013 aX -= BigInt( (aScaleX.GetNumerator()-1)/2 ); in WriteOpcodes()
2015 aX += BigInt( aScaleX.GetNumerator()/2 ); in WriteOpcodes()
2018 aX /= BigInt( aScaleX.GetNumerator() ); in WriteOpcodes()
2020 BigInt aY( aOrigin.Y() ); in WriteOpcodes()
2021 aY *= BigInt( aScaleY.GetDenominator() ); in WriteOpcodes()
2026 aY += BigInt( aScaleY.GetNumerator()/2 ); in WriteOpcodes()
[all …]
/trunk/main/xmloff/source/core/
H A Dxmlehelp.cxx170 BigInt nBigVal( nValue ); in AddLength()
183 BigInt nBigFac( nFac ); in AddLength()
184 BigInt nBig10( 10 ); in AddLength()
/trunk/main/basic/inc/basic/
H A Dsbxvar.hxx52 SbxINT64( BigInt &r );
158 class BigInt;
216 SbxValues( const BigInt &rBig );
/trunk/main/sw/source/ui/wrtsh/
H A Dwrtsh1.cxx353 const BigInt aTempWidth( aGrfSize.Width() ); in Insert()
354 const BigInt aTempHeight( aGrfSize.Height()); in Insert()
360 aGrfSize.Height() = ((BigInt)aBound.Width()) * aTempHeight / aTempWidth; in Insert()
366 aGrfSize.Width() = ((BigInt)aBound.Height()) * aTempWidth / aTempHeight; in Insert()
/trunk/main/sw/source/core/inc/
H A Dfrmtool.hxx40 class BigInt;
93 sal_uLong MA_FASTCALL SqRt( BigInt nX );
/trunk/main/sax/source/tools/
H A Dconverter.cxx404 BigInt nBigVal( nMeasure ); in convertMeasure()
405 BigInt nBigFac( nFac ); in convertMeasure()
418 BigInt nBigFac2( nFac ); in convertMeasure()
419 BigInt nBig10( 10 ); in convertMeasure()

1234