Home
last modified time | relevance | path

Searched refs:nShift (Results 1 – 25 of 29) sorted by relevance

12

/aoo4110/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 …]
/aoo4110/main/filter/source/graphicfilter/ipcx/
H A Dipcx.cxx310 sal_uLong nShift = ( i & 7 ) ^ 7; in ImplReadBody() local
311 if ( nShift == 0 ) in ImplReadBody()
314 pAcc->SetPixelIndex( ny, i, (*pSource1 >> nShift ) & 1 ); in ImplReadBody()
350 sal_uLong nShift = ( i & 7 ) ^ 7; in ImplReadBody() local
351 if ( nShift == 0 ) in ImplReadBody()
359 … ( ( *pSource1 >> nShift ) & 1) + ( ( ( *pSource2 >> nShift ) << 1 ) & 2 ) + in ImplReadBody()
360 ( ( ( *pSource3 >> nShift ) << 2 ) & 4 )); in ImplReadBody()
369 sal_uLong nShift = ( i & 7 ) ^ 7; in ImplReadBody() local
370 if ( nShift == 0 ) in ImplReadBody()
379 … ( ( *pSource1 >> nShift ) & 1) + ( ( ( *pSource2 >> nShift ) << 1 ) & 2 ) + in ImplReadBody()
[all …]
/aoo4110/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 …]
/aoo4110/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()
/aoo4110/main/vcl/source/gdi/
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()
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.cxx1196 for ( sal_Int32 nX = nXStart, nShift = 0; nX < maOrigSize.Width(); nX += nXAdd ) in ImplDrawScanline() local
1199 nShift = (nShift - 1) & 7; in ImplDrawScanline()
1200 if ( nShift == 0 ) in ImplDrawScanline()
1203 nCol = static_cast<sal_uInt8>( *pTmp >> nShift ); in ImplDrawScanline()
1211 for ( sal_Int32 nX = nXStart, nShift = 0; nX < maOrigSize.Width(); nX += nXAdd ) in ImplDrawScanline() local
1213 nShift = (nShift - 1) & 7; in ImplDrawScanline()
1216 if ( nShift == 0 ) in ImplDrawScanline()
1219 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 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 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()
/aoo4110/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()
/aoo4110/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()
/aoo4110/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()
/aoo4110/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()
/aoo4110/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()
/aoo4110/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()
/aoo4110/main/filter/source/graphicfilter/etiff/
H A Detiff.cxx365 sal_uInt8 nShift; in ImplWriteBody() local
408 for ( nShift = 0, y = 0; y < mnHeight; y++, mnCurAllPictHeight++ ) in ImplWriteBody()
411 for ( x = 0; x < mnWidth; x++, nShift++ ) in ImplWriteBody()
413 if (!( nShift & 1 )) in ImplWriteBody()
418 if ( nShift & 1 ) in ImplWriteBody()
/aoo4110/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()
/aoo4110/main/chart2/source/view/charttypes/
H A DPieChart.cxx638 …sal_Int32 nShift = bShiftHorizontal ? static_cast<sal_Int32>(aOverlap.getWidth()) : static_cast<sa… in moveAwayFrom() local
639 nShift += (bShiftHorizontal ? nLabelDistanceX : nLabelDistanceY); in moveAwayFrom()
641 nShift/=2; in moveAwayFrom()
643 nShift*=-1; in moveAwayFrom()
645 …basegfx::B2IVector aNewPos = basegfx::B2IVector( aOldPos.X, aOldPos.Y ) + nShift*aTangentialDirect… in moveAwayFrom()
/aoo4110/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;
/aoo4110/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()
/aoo4110/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()
/aoo4110/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()
/aoo4110/main/chart2/source/controller/dialogs/
H A Dtp_Scale.cxx88 long nShift = nNewXPos - aPos.X(); in lcl_shiftControls() local
93 aPos.X() += nShift; in lcl_shiftControls()

Completed in 205 milliseconds

12