Home
last modified time | relevance | path

Searched refs:nShift (Results 1 – 25 of 29) sorted by last modified time

12

/trunk/main/sc/source/ui/vba/
H A Dvbarange.cxx3648 sal_Int32 nShift = 0; in Delete() local
3649 Shift >>= nShift; in Delete()
3650 switch ( nShift ) in Delete()
4645 sal_Int32 nShift = 0; in Insert() local
4646 Shift >>= nShift; in Insert()
4647 switch ( nShift ) in Insert()
/trunk/main/vcl/source/gdi/
H A Dbitmap3.cxx525 sal_uLong nShift = ( ( nGreys == 16 ) ? 4UL : 0UL ); in ImplMakeGreyscales() local
549 (pReadAcc->GetPaletteColor( cIndex ).GetLuminance() >> nShift) ); in ImplMakeGreyscales()
556 nShift += 8; in ImplMakeGreyscales()
569 *pWriteScan++ = (sal_uInt8) ( ( nB * 28UL + nG * 151UL + nR * 77UL ) >> nShift ); in ImplMakeGreyscales()
576 nShift += 8; in ImplMakeGreyscales()
589 *pWriteScan++ = (sal_uInt8) ( ( nB * 28UL + nG * 151UL + nR * 77UL ) >> nShift ); in ImplMakeGreyscales()
597 pWriteAcc->SetPixelIndex( nY, nX, (pReadAcc->GetPixel( nY, nX ) ).GetLuminance() >> nShift ); in ImplMakeGreyscales()
H A Dbitmap.cxx1209 long nX, nY, nShift; in CreateMask() local
1226 for( nX = 0L, nShift = nShiftInit; nX < nWidth; nX++, nShift ^= 4 ) in CreateMask()
1228 if( cTest == ( ( pSrc[ nX >> 1 ] >> nShift ) & 0x0f ) ) in CreateMask()
1240 for( nX = 0L, nShift = nShiftInit; nX < nWidth; nX++, nShift ^= 4 ) in CreateMask()
1242 if( cTest == ( ( pSrc[ nX >> 1 ] >> nShift ) & 0x0f ) ) in CreateMask()
H A Ddibtools.cxx477 for( long nX = 0L, nShift = 8L; nX < nWidth; nX++ ) in ImplReadDIBBits() local
479 if( !nShift ) in ImplReadDIBBits()
481 nShift = 8L, in ImplReadDIBBits()
501 for( long nX = 0L, nShift = 2L; nX < nWidth; nX++ ) in ImplReadDIBBits() local
503 if( !nShift ) in ImplReadDIBBits()
505 nShift = 2UL, in ImplReadDIBBits()
1055 if( !nShift ) in ImplWriteDIBBits()
1057 nShift = 8L; in ImplWriteDIBBits()
1062 cTmp |= rAcc.GetPixelIndex( nY, nX ) << --nShift; in ImplWriteDIBBits()
1080 if( !nShift ) in ImplWriteDIBBits()
[all …]
H A Dpngread.cxx1206 for ( sal_Int32 nX = nXStart, nShift = 0; nX < maOrigSize.Width(); nX += nXAdd ) in ImplDrawScanline() local
1209 nShift = (nShift - 1) & 7; in ImplDrawScanline()
1210 if ( nShift == 0 ) in ImplDrawScanline()
1213 nCol = static_cast<sal_uInt8>( *pTmp >> nShift ); in ImplDrawScanline()
1221 for ( sal_Int32 nX = nXStart, nShift = 0; nX < maOrigSize.Width(); nX += nXAdd ) in ImplDrawScanline() local
1223 nShift = (nShift - 1) & 7; in ImplDrawScanline()
1226 if ( nShift == 0 ) in ImplDrawScanline()
1229 nCol = static_cast<sal_uInt8>( *pTmp >> nShift ); in ImplDrawScanline()
H A Dpngwrite.cxx518 sal_uLong nShift = ( nXIndex & 7 ) ^ 7; in ImplGetFilter() local
519 if ( nShift == 7) in ImplGetFilter()
520 *pDest = mpAccess->GetPixelIndex( nY, nX ) << nShift; in ImplGetFilter()
521 else if ( nShift == 0 ) in ImplGetFilter()
522 *pDest++ |= mpAccess->GetPixelIndex( nY, nX ) << nShift; in ImplGetFilter()
524 *pDest |= mpAccess->GetPixelIndex( nY, nX ) << nShift; in ImplGetFilter()
H A Doctree.cxx206 const sal_uLong nShift = 7 - nLevel; in ImplAdd() local
208 const sal_uLong nIndex = ( ( ( pColor->GetRed() & cMask ) >> nShift ) << 2 ) | in ImplAdd()
209 ( ( ( pColor->GetGreen() & cMask ) >> nShift ) << 1 ) | in ImplAdd()
210 ( ( pColor->GetBlue() & cMask ) >> nShift ); in ImplAdd()
282 const sal_uLong nShift = 7 - nLevel; in GetPalIndex() local
284 const sal_uLong nIndex = ( ( ( pColor->GetRed() & cMask ) >> nShift ) << 2 ) | in GetPalIndex()
285 ( ( ( pColor->GetGreen() & cMask ) >> nShift ) << 1 ) | in GetPalIndex()
286 ( ( pColor->GetBlue() & cMask ) >> nShift ); in GetPalIndex()
/trunk/main/editeng/source/editeng/
H A Dimpedit3.cxx3486 … long nShift = ((_nEsc*long(aTmpFont.GetSize().Height()))/ 100L); in Paint() local
3488 aRedLineTmpPos.Y() -= nShift; in Paint()
3490 aRedLineTmpPos.X() += nShift; in Paint()
/trunk/main/writerfilter/source/resourcemodel/
H A DFraction.cxx34 sal_uInt32 nShift = 0; in gcd() local
39 ++nShift; in gcd()
65 return a << nShift; in gcd()
/trunk/main/writerfilter/source/doctok/
H A DWW8StructBase.cxx80 sal_uInt16 nShift) const in getNibble()
82 return sal::static_int_cast<sal_uInt8>((nValue >> nShift) & 0xf); in getNibble()
H A DWW8StructBase.hxx224 sal_uInt8 getNibble(sal_uInt32 nValue, sal_uInt16 nShift) const;
/trunk/main/vcl/unx/generic/dtrans/
H A Dbmp.cxx227 inline unsigned long doRightShift( unsigned long nValue, int nShift ) in doRightShift() argument
229 return (nShift > 0) ? (nValue >> nShift) : (nValue << (-nShift)); in doRightShift()
232 inline unsigned long doLeftShift( unsigned long nValue, int nShift ) in doLeftShift() argument
234 return (nShift > 0) ? (nValue << nShift) : (nValue >> (-nShift)); in doLeftShift()
/trunk/main/vcl/source/glyphs/
H A Dgcach_rbmp.cxx92 int xmax, int ymax, int dx, int nShift, int nDeltaShift, int nPad ) in ImplRotate1_90() argument
101 nTemp += nTemp + ((*p2 >> nShift) & 1); in ImplRotate1_90()
121 nShift += nDeltaShift; in ImplRotate1_90()
122 if( nShift != (nShift & 7) ) in ImplRotate1_90()
124 nShift &= 7; in ImplRotate1_90()
/trunk/main/vcl/inc/vcl/
H A Dsalbtype.hxx737 long nShift; in ImplCalcMaskShift() local
742 for( nShift = 31L; ( nShift >= 0L ) && !( nMask & ( 1 << (sal_uLong) nShift ) ); nShift-- ) in ImplCalcMaskShift()
745 nRet = nShift; in ImplCalcMaskShift()
748 while( ( nShift >= 0L ) && ( nMask & ( 1 << (sal_uLong) nShift ) ) ) in ImplCalcMaskShift()
750 nShift--; in ImplCalcMaskShift()
/trunk/main/tools/source/inet/
H A Dinetmime.cxx3222 for (int nShift = 18; nShift >= 0; nShift -= 6) in decodeHeaderFieldBody() local
3235 if (nShift >= 12) in decodeHeaderFieldBody()
3242 nCount = nShift == 6 ? 1 : 2; in decodeHeaderFieldBody()
3246 nValue |= nWeight << nShift; in decodeHeaderFieldBody()
3250 for (int nShift = 16; nCount-- > 0; in decodeHeaderFieldBody() local
3251 nShift -= 8) in decodeHeaderFieldBody()
3252 sText += sal_Char(nValue >> nShift in decodeHeaderFieldBody()
/trunk/main/tools/source/fsys/
H A Durlobj.cxx5278 int nShift; in getUTF32() local
5283 nShift = 0; in getUTF32()
5289 nShift = 6; in getUTF32()
5295 nShift = 12; in getUTF32()
5318 << nShift; in getUTF32()
5319 if (nShift == 0) in getUTF32()
5321 nShift -= 6; in getUTF32()
/trunk/main/svx/source/svdraw/
H A Dsvdorect.cxx146 sal_uInt16 nShift=nPointAnz-2; in ImpCalcXPoly() local
147 if (nRad1!=0) nShift=nPointAnz-5; in ImpCalcXPoly()
148 sal_uInt16 j=nShift; in ImpCalcXPoly()
/trunk/main/svtools/source/graphic/
H A Dgrfcache.cxx145 sal_Int32 nShift; in GetIDString() local
147 for( nShift = 28; nShift >= 0; nShift -= 4 ) in GetIDString()
148 *pStr++ = aHexData[ ( mnID1 >> (sal_uInt32) nShift ) & 0xf ]; in GetIDString()
150 for( nShift = 28; nShift >= 0; nShift -= 4 ) in GetIDString()
151 *pStr++ = aHexData[ ( mnID2 >> (sal_uInt32) nShift ) & 0xf ]; in GetIDString()
153 for( nShift = 28; nShift >= 0; nShift -= 4 ) in GetIDString()
154 *pStr++ = aHexData[ ( mnID3 >> (sal_uInt32) nShift ) & 0xf ]; in GetIDString()
156 for( nShift = 28; nShift >= 0; nShift -= 4 ) in GetIDString()
157 *pStr++ = aHexData[ ( mnID4 >> (sal_uInt32) nShift ) & 0xf ]; in GetIDString()
/trunk/main/svl/source/numbers/
H A Dzformat.cxx4105 int nShift = 0; in GetExactDateOrder() local
4106 for ( sal_uInt16 j=0; j<nAnz && nShift < 3; j++ ) in GetExactDateOrder()
4113 ++nShift; in GetExactDateOrder()
4121 ++nShift; in GetExactDateOrder()
4130 ++nShift; in GetExactDateOrder()
/trunk/main/sal/textenc/
H A Dtcvtutf8.c35 int nShift; member
78 int nShift = -1; in ImplConvertUtf8ToUnicode() local
89 nShift = ((struct ImplUtf8ToUnicodeContext *) pContext)->nShift; in ImplConvertUtf8ToUnicode()
98 if (nShift < 0) in ImplConvertUtf8ToUnicode()
109 nShift = 0; in ImplConvertUtf8ToUnicode()
114 nShift = 6; in ImplConvertUtf8ToUnicode()
178 nShift = -1; in ImplConvertUtf8ToUnicode()
188 nShift = -1; in ImplConvertUtf8ToUnicode()
195 nShift = -1; in ImplConvertUtf8ToUnicode()
212 if (nShift >= 0 in ImplConvertUtf8ToUnicode()
[all …]
/trunk/main/sal/rtl/source/
H A Duri.cxx137 int nShift; in readUcs4() local
142 nShift = 0; in readUcs4()
148 nShift = 6; in readUcs4()
154 nShift = 12; in readUcs4()
159 for (; nShift >= 0; nShift -= 6) in readUcs4()
170 nEncoded |= ((nWeight1 & 3) << 4 | nWeight2) << nShift; in readUcs4()
/trunk/main/idl/source/cmptools/
H A Dhash.cxx196 int nShift = 0; in HashFunc() local
200 nHash ^= sal_uInt32(*pStr - 'A' + 26) << nShift; in HashFunc()
202 nHash ^= sal_uInt32(*pStr - 'a') << nShift; in HashFunc()
203 if( nShift == 28 ) in HashFunc()
204 nShift = 0; in HashFunc()
206 nShift += 4; in HashFunc()
/trunk/main/filter/source/msfilter/
H A Dmsvbasic.cxx566 nShift = 12; in DecompressVBA()
568 nShift = 11; in DecompressVBA()
570 nShift = 10; in DecompressVBA()
572 nShift = 9; in DecompressVBA()
574 nShift = 8; in DecompressVBA()
576 nShift = 7; in DecompressVBA()
578 nShift = 6; in DecompressVBA()
580 nShift = 5; in DecompressVBA()
582 nShift = 4; in DecompressVBA()
586 for(i=0;i<nShift;i++) in DecompressVBA()
[all …]
/trunk/main/filter/source/graphicfilter/itiff/
H A Ditiff.cxx860 sal_uInt8 nShift; in ConvertScanline() local
988 nShift = 7; in ConvertScanline()
991 pAcc->SetPixelIndex( nY, nx++, ( nByteVal >> nShift ) & 1); in ConvertScanline()
/trunk/main/filter/source/graphicfilter/ipbm/
H A Dipbm.cxx263 signed char nShift = 0; in ImplReadBody() local
277 if ( --nShift < 0 ) in ImplReadBody()
280 nShift = 7; in ImplReadBody()
282 mpAcc->SetPixelIndex( nHeight, nWidth, nDat >> nShift ); in ImplReadBody()
285 nShift = 0; in ImplReadBody()

Completed in 230 milliseconds

12