Home
last modified time | relevance | path

Searched refs:nB (Results 1 – 25 of 64) sorted by relevance

123

/trunk/main/tools/inc/tools/
H A Dgen.hxx72 long nB; member in Pair
92 nA = nB = 0; in Pair()
103 return ((nA == rPair.nA) && (nB == rPair.nB)); in operator ==()
108 return ((nA != rPair.nA) || (nB != rPair.nB)); in operator !=()
172 return (nB > rPoint.nB); in IsAbove()
177 return (nB < rPoint.nB); in IsBelow()
193 nB += rPoint.nB; in operator +=()
200 nB -= rPoint.nB; in operator -=()
207 nB *= nVal; in operator *=()
312 nA = nB; in Justify()
[all …]
H A Dvector2d.hxx44 inline Vector2D( const Pair& rPair ) : mfX( rPair.nA ), mfY( rPair.nB ) {}; in Vector2D()
90 inline Vector2D& operator=( const Pair& rPair ) { mfX = rPair.nA, mfY = rPair.nB; return *this; } in operator =()
91 …inline Vector2D& operator-=( const Pair& rPair ) { mfX -= rPair.nA, mfY -= rPair.nB; return *this;… in operator -=()
92 …inline Vector2D& operator+=( const Pair& rPair ) { mfX += rPair.nA, mfY += rPair.nB; return *this;… in operator +=()
93 …inline Vector2D& operator*=( const Pair& rPair ) { mfX *= rPair.nA, mfY *= rPair.nB; return *this;… in operator *=()
94 …inline Vector2D& operator/=( const Pair& rPair ) { mfX /= rPair.nA, mfY /= rPair.nB; return *this;… in operator /=()
96 … sal_Bool operator==( const Pair& rPair ) const { return( mfX == rPair.nA && mfY == rPair.nB ); } in operator ==()
/trunk/main/tools/source/generic/
H A Dbigint.cxx486 BigInt nA, nB; in ABS_IsLess() local
488 nB.MakeBigInt( rB ); in ABS_IsLess()
489 if (nA.nLen == nB.nLen) in ABS_IsLess()
498 return nA.nLen < nB.nLen; in ABS_IsLess()
1051 BigInt nA, nB; in operator ==() local
1053 nB.MakeBigInt( rVal2 ); in operator ==()
1078 BigInt nA, nB; in operator <() local
1080 nB.MakeBigInt( rVal2 ); in operator <()
1100 return !nB.bIsNeg; in operator <()
1111 BigInt nA, nB; in operator >() local
[all …]
H A Dcolor.cxx222 sal_uInt8 nB = (sal_uInt8) ( nBri * 255 / 100 ); in HSBtoRGB() local
226 cR = nB; in HSBtoRGB()
227 cG = nB; in HSBtoRGB()
228 cB = nB; in HSBtoRGB()
242 sal_uInt8 a = (sal_uInt8) ( nB * ( 100 - nSat ) / 100 ); in HSBtoRGB()
248 case 0: cR = nB; cG = c; cB = a; break; in HSBtoRGB()
249 case 1: cR = b; cG = nB; cB = a; break; in HSBtoRGB()
250 case 2: cR = a; cG = nB; cB = c; break; in HSBtoRGB()
251 case 3: cR = a; cG = b; cB = nB; break; in HSBtoRGB()
252 case 4: cR = c; cG = a; cB = nB; break; in HSBtoRGB()
[all …]
H A Dfract.cxx89 BigInt nB( rVal2 ); in Reduce() local
91 nB.Abs(); in Reduce()
93 if ( nA.IsOne() || nB.IsOne() || nA.IsZero() || nB.IsZero() ) in Reduce()
96 while ( nA != nB ) in Reduce()
98 if ( nA > nB ) in Reduce()
100 nA %= nB; in Reduce()
103 rVal1 /= nB; in Reduce()
104 rVal2 /= nB; in Reduce()
110 nB %= nA; in Reduce()
111 if ( nB.IsZero() ) in Reduce()
[all …]
H A Dgen.cxx72 rPair.nB = (sal_Int32)nNum; in operator >>()
76 rIStream >> rPair.nA >> rPair.nB; in operator >>()
137 nNum = (sal_uInt32)(sal_Int32)rPair.nB; in operator <<()
138 if ( rPair.nB < 0 ) in operator <<()
182 rOStream << rPair.nA << rPair.nB; in operator <<()
/trunk/main/editeng/source/misc/
H A Dtxtrange.cxx224 double nB; in CalcMax() local
228 nB = nEnd; in CalcMax()
231 nB = nStart; in CalcMax()
232 nB *= nB; in CalcMax()
233 nB += nDa * nDa; in CalcMax()
234 nB = nRange + nDa * ( nFarRange - nRange ) / sqrt( nB ); in CalcMax()
237 if( nB < B(rPt2) ) in CalcMax()
620 long nB = B( rPt ); in Area() local
621 if( nB >= nBottom ) in Area()
623 if( nB >= nLower ) in Area()
[all …]
/trunk/main/xmloff/source/style/
H A Dxmlbahdl.hxx40 XMLNumberPropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {} in XMLNumberPropHdl() argument
55 XMLNumberNonePropHdl( sal_Int8 nB = 4 );
56 XMLNumberNonePropHdl( enum ::xmloff::token::XMLTokenEnum eZeroString, sal_Int8 nB = 4 );
70 XMLMeasurePropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {} in XMLMeasurePropHdl() argument
84 XMLPercentPropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {} in XMLPercentPropHdl() argument
108 XMLNegPercentPropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {} in XMLNegPercentPropHdl() argument
122 XMLMeasurePxPropHdl( sal_Int8 nB=4 ) : nBytes( nB ) {} in XMLMeasurePxPropHdl() argument
282 XMLNumberWithoutZeroPropHdl( sal_Int8 nB = 4 );
H A Dxmlbahdl.cxx133 XMLNumberNonePropHdl::XMLNumberNonePropHdl( sal_Int8 nB ) : in XMLNumberNonePropHdl() argument
135 nBytes( nB ) in XMLNumberNonePropHdl()
139 XMLNumberNonePropHdl::XMLNumberNonePropHdl( enum XMLTokenEnum eZeroString, sal_Int8 nB ) : in XMLNumberNonePropHdl() argument
141 nBytes( nB ) in XMLNumberNonePropHdl()
860 XMLNumberWithoutZeroPropHdl::XMLNumberWithoutZeroPropHdl( sal_Int8 nB ) : in XMLNumberWithoutZeroPropHdl() argument
861 nBytes( nB ) in XMLNumberWithoutZeroPropHdl()
/trunk/main/vcl/source/gdi/
H A Dbitmap3.cxx2998 long nX, nY, nR, nG, nB, nIndex; in ImplReducePopular() local
3006 for( nB = 0; nB < 256; nB += nColorOffset ) in ImplReducePopular()
3063 for( nB = 0; nB < 256; nB += nColorOffset ) in ImplReducePopular()
3221 long nR, nG, nB; in ImplMedianCut() local
3244 for( nB = nB1; nB <= nB2; nB++ ) in ImplMedianCut()
3252 nBSum += nB * nPixSum; in ImplMedianCut()
3271 nB = nB1 - 1; in ImplMedianCut()
3275 nB++, nPixOld = nPixNew; in ImplMedianCut()
3281 if( nB < nB2 ) in ImplMedianCut()
3300 for( nB = nB1; nB <= nB2; nB++ ) in ImplMedianCut()
[all …]
H A Dbitmap.cxx129 for( sal_uInt16 nB = 0; nB < 256; nB += 51 ) in Bitmap() local
132 aPal[ nActCol++ ] = BitmapColor( (sal_uInt8) nR, (sal_uInt8) nG, (sal_uInt8) nB ); in Bitmap()
1305 long nR, nG, nB; in CreateMask() local
1322 nB = aCol.GetBlue(); in CreateMask()
1326 nMinB <= nB && nMaxB >= nB ) in CreateMask()
1344 nB = aCol.GetBlue(); in CreateMask()
1348 nMinB <= nB && nMaxB >= nB ) in CreateMask()
H A Dsalmisc.cxx259 for( long nB = 0; nB < 16; nB++ ) in ImplTCToPAL() local
263 sal::static_int_cast<sal_uInt8>(nB << 4) ); in ImplTCToPAL()
H A Dbmpfast.cxx371 int nB = rDst.GetBlue(); in ImplBlendPixels() local
373 nB = nS + (((nB - nS) * nAlphaVal) >> nAlphaShift); in ImplBlendPixels()
377 sal::static_int_cast<PIXBYTE>(nB) ); in ImplBlendPixels()
/trunk/main/oox/source/drawingml/
H A Dcolor.cxx170 inline sal_Int32 lclRgbComponentsToRgb( sal_Int32 nR, sal_Int32 nG, sal_Int32 nB ) in lclRgbComponentsToRgb() argument
172 return static_cast< sal_Int32 >( (nR << 16) | (nG << 8) | nB ); in lclRgbComponentsToRgb()
256 void Color::setScrgbClr( sal_Int32 nR, sal_Int32 nG, sal_Int32 nB ) in setScrgbClr() argument
260 OSL_ENSURE( (0 <= nB) && (nB <= MAX_PERCENT), "Color::setScrgbClr - invalid blue value" ); in setScrgbClr()
264 mnC3 = getLimitedValue< sal_Int32, sal_Int32 >( nB, 0, MAX_PERCENT ); in setScrgbClr()
/trunk/main/sc/source/ui/view/
H A Ddrawutil.cxx43 inline Fraction MakeFraction( long nA, long nB ) in MakeFraction() argument
45 return ( nA && nB ) ? Fraction(nA,nB) : Fraction(1,1); in MakeFraction()
/trunk/main/oox/source/drawingml/table/
H A Dtablestyletextstylecontext.cxx43 sal_Int32 nB = xAttribs->getOptionalValueToken( XML_b, XML_def ); in TableStyleTextStyleContext() local
44 if ( nB == XML_on ) in TableStyleTextStyleContext()
46 else if ( nB == XML_off ) in TableStyleTextStyleContext()
/trunk/main/sw/source/filter/ww8/
H A Dwriterwordglue.cxx511 bool ItemSort::operator()(sal_uInt16 nA, sal_uInt16 nB) const in operator ()()
521 if (nA == nB) in operator ()()
525 if (nB == RES_TXTATR_CHARFMT) in operator ()()
529 if (nB == RES_TXTATR_INETFMT) in operator ()()
531 return nA < nB; in operator ()()
/trunk/main/filter/source/graphicfilter/ipbm/
H A Dipbm.cxx319 sal_uInt8 nR, nG, nB; in ImplReadBody() local
321 *mpPBM >> nR >> nG >> nB; in ImplReadBody()
324 nBlue = 255 * nB / mnMaxVal; in ImplReadBody()
/trunk/main/vcl/aqua/source/gdi/
H A Dsalbmp.cxx629 int nB, nG, nR; in GetDefaultPalette() local
631 for( nB=0, nBlue=0; nB < DITHER_PAL_STEPS; nB++, nBlue += DITHER_PAL_DELTA ) in GetDefaultPalette()
/trunk/main/starmath/source/
H A Drect.cxx421 nB = rRect.GetBottom(), in Union() local
433 if ((nTmp = GetBottom()) > nB) in Union()
434 nB = nTmp; in Union()
444 SetBottom(nB); in Union()
/trunk/main/editeng/source/editeng/
H A Dedtspell.cxx521 for ( sal_uInt16 nB = _nA+1; !bError && ( nB < Count() ); nB++ ) in DbgIsBuggy() local
523 WrongRange& rNextWrong = GetObject( nB ); in DbgIsBuggy()
/trunk/main/filter/source/graphicfilter/ipict/
H A Dipict.cxx449 sal_uInt16 nR, nG, nB; in ReadRGBColor() local
451 *pPict >> nR >> nG >> nB; in ReadRGBColor()
452 return Color( (sal_uInt8) ( nR >> 8 ), (sal_uInt8) ( nG >> 8 ), (sal_uInt8) ( nB >> 8 ) ); in ReadRGBColor()
501 sal_uInt16 nR, nG, nB; in ReadPixPattern() local
502 *pPict >> nR >> nG >> nB; in ReadPixPattern()
503 Color col((sal_uInt8) ( nR >> 8 ), (sal_uInt8) ( nG >> 8 ), (sal_uInt8) ( nB >> 8 ) ); in ReadPixPattern()
/trunk/main/vcl/source/window/
H A Dsplit.cxx241 long nB = rSettings.GetSplitSize(); in ImplSplitterActive() local
246 if( aSize.Width() == nB && aSize.Height() == nA ) in ImplSplitterActive()
251 if( aSize.Width() == nA && aSize.Height() == nB ) in ImplSplitterActive()
/trunk/main/oox/source/xls/
H A Ddrawingmanager.cxx1054 sal_Int32 nB = rShapeRect.Y + ::std::max< sal_Int32 >( rShapeRect.Height - 1, 0 ); in implConvertAndInsert() local
1058 case BIFF_OBJ_LINE_TL: rBeg.X = nL; rBeg.Y = nT; rEnd.X = nR; rEnd.Y = nB; break; in implConvertAndInsert()
1059 case BIFF_OBJ_LINE_TR: rBeg.X = nR; rBeg.Y = nT; rEnd.X = nL; rEnd.Y = nB; break; in implConvertAndInsert()
1060 case BIFF_OBJ_LINE_BR: rBeg.X = nR; rBeg.Y = nB; rEnd.X = nL; rEnd.Y = nT; break; in implConvertAndInsert()
1061 case BIFF_OBJ_LINE_BL: rBeg.X = nL; rBeg.Y = nB; rEnd.X = nR; rEnd.Y = nT; break; in implConvertAndInsert()
/trunk/main/svx/source/items/
H A Dgrfitem.cxx49 sal_Int32 nT, sal_Int32 nB, sal_uInt16 nItemId ) in SvxGrfCrop() argument
51 nLeft( nL ), nRight( nR ), nTop( nT ), nBottom( nB ) in SvxGrfCrop()

Completed in 140 milliseconds

123