Home
last modified time | relevance | path

Searched refs:nDenominator (Results 1 – 10 of 10) sorted by relevance

/aoo42x/main/tools/source/generic/
H A Dfract.cxx192 nDenominator = nDen; in Fraction()
195 nDenominator = -nDenominator; in Fraction()
202 nDenominator /= n; in Fraction()
229 nDenominator = -1; in Fraction()
239 nDenominator = nDen; in Fraction()
244 nDenominator /= n; in Fraction()
290 nDenominator = -1; in operator +=()
464 long nGGT2 = GetGGT( rVal.nDenominator, nDenominator ); in operator /=()
481 nDenominator = -nDenominator; in operator /=()
620 nDenominator = nDiv; in ReduceInaccurate()
[all …]
/aoo42x/main/tools/inc/tools/
H A Dfract.hxx38 long nDenominator; member in Fraction
41 Fraction() { nNumerator = 0; nDenominator = 1; } in Fraction()
50 long GetDenominator() const { return nDenominator; } in GetDenominator()
95 nDenominator = rFrac.nDenominator; in Fraction()
101 nDenominator = rFrac.nDenominator; in operator =()
107 return (nDenominator > 0); in IsValid()
112 if ( nDenominator > 0 )
113 return (nNumerator / nDenominator);
/aoo42x/main/writerfilter/source/resourcemodel/
H A DFraction.cxx73 Fraction::Fraction(sal_Int32 nNumerator, sal_Int32 nDenominator) in Fraction() argument
75 init(nNumerator, nDenominator); in Fraction()
87 void Fraction::init(sal_Int32 nNumerator, sal_Int32 nDenominator) in init() argument
89 sal_uInt32 nGCD = gcd(nNumerator, nDenominator); in init()
92 mnDenominator = nDenominator / nGCD; in init()
/aoo42x/main/vcl/source/gdi/
H A Doutmap.cxx1990 long nDenominator = 1; \
1997 nDenominator = aImplNumeratorAry[eUnitDest] * \
2001 nDenominator *= 72; \
2267 return Point( fn3( rPtSource.X(), nNumerator, nDenominator ), in LogicToLogic()
2268 fn3( rPtSource.Y(), nNumerator, nDenominator ) ); in LogicToLogic()
2303 return Size( fn3( rSzSource.Width(), nNumerator, nDenominator ), in LogicToLogic()
2304 fn3( rSzSource.Height(), nNumerator, nDenominator ) ); in LogicToLogic()
2415 fn3( rRectSource.Top(), nNumerator, nDenominator ), in LogicToLogic()
2416 fn3( rRectSource.Right(), nNumerator, nDenominator ), in LogicToLogic()
2417 fn3( rRectSource.Bottom(), nNumerator, nDenominator ) ); in LogicToLogic()
[all …]
/aoo42x/main/writerfilter/inc/resourcemodel/
H A DFraction.hxx34 explicit Fraction(sal_Int32 nNumerator, sal_Int32 nDenominator = 1);
38 void init(sal_Int32 nNumerator, sal_Int32 nDenominator);
/aoo42x/main/fpicker/source/win32/filepicker/
H A DPreviewCtrl.cxx83 sal_Int32 SubDiv( sal_Int32 nNumber, sal_Int32 nMinuend, sal_Int32 nDenominator ) in SubDiv() argument
85 return ( static_cast<sal_Int32>( ( nNumber - nMinuend ) / nDenominator ) ); in SubDiv()
/aoo42x/main/xmloff/source/style/
H A Dxmlnumfe.cxx695 sal_Int32 nNumerator, sal_Int32 nDenominator ) in WriteFractionElement_Impl() argument
720 if ( nDenominator >= 0 ) in WriteFractionElement_Impl()
723 OUString::valueOf( nDenominator ) ); in WriteFractionElement_Impl()
/aoo42x/main/vcl/source/control/
H A Dslider.cxx38 static long ImplMulDiv( long nNumber, long nNumerator, long nDenominator ) in ImplMulDiv() argument
40 double n = ((double)nNumber * (double)nNumerator) / (double)nDenominator; in ImplMulDiv()
H A Dscrbar.cxx62 static long ImplMulDiv( long nNumber, long nNumerator, long nDenominator ) in ImplMulDiv() argument
64 double n = ((double)nNumber * (double)nNumerator) / (double)nDenominator; in ImplMulDiv()
/aoo42x/main/xmloff/inc/xmloff/
H A Dxmlnumfe.hxx74 sal_Int32 nNumerator, sal_Int32 nDenominator );

Completed in 46 milliseconds