/aoo41x/main/sal/textenc/ |
H A D | tcvtutf8.c | 35 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 …]
|
/aoo41x/main/filter/source/graphicfilter/ipcx/ |
H A D | ipcx.cxx | 310 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 …]
|
/aoo41x/main/filter/source/msfilter/ |
H A D | msvbasic.cxx | 566 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 …]
|
/aoo41x/main/svtools/source/graphic/ |
H A D | grfcache.cxx | 145 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()
|
/aoo41x/main/vcl/source/gdi/ |
H A D | octree.cxx | 206 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 D | dibtools.cxx | 477 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 D | pngread.cxx | 1196 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 D | pngwrite.cxx | 518 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 D | bitmap.cxx | 1209 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 D | bitmap3.cxx | 525 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()
|
/aoo41x/main/idl/source/cmptools/ |
H A D | hash.cxx | 196 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()
|
/aoo41x/main/vcl/source/glyphs/ |
H A D | gcach_rbmp.cxx | 92 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()
|
/aoo41x/main/vcl/inc/vcl/ |
H A D | salbtype.hxx | 737 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()
|
/aoo41x/main/vcl/unx/generic/dtrans/ |
H A D | bmp.cxx | 227 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()
|
/aoo41x/main/sal/rtl/source/ |
H A D | uri.cxx | 137 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()
|
/aoo41x/main/filter/source/graphicfilter/ipbm/ |
H A D | ipbm.cxx | 263 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()
|
/aoo41x/main/filter/source/graphicfilter/etiff/ |
H A D | etiff.cxx | 365 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()
|
/aoo41x/main/writerfilter/source/resourcemodel/ |
H A D | Fraction.cxx | 34 sal_uInt32 nShift = 0; in gcd() local 39 ++nShift; in gcd() 65 return a << nShift; in gcd()
|
/aoo41x/main/chart2/source/view/charttypes/ |
H A D | PieChart.cxx | 638 …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()
|
/aoo41x/main/writerfilter/source/doctok/ |
H A D | WW8StructBase.cxx | 80 sal_uInt16 nShift) const in getNibble() 82 return sal::static_int_cast<sal_uInt8>((nValue >> nShift) & 0xf); in getNibble()
|
H A D | WW8StructBase.hxx | 224 sal_uInt8 getNibble(sal_uInt32 nValue, sal_uInt16 nShift) const;
|
/aoo41x/main/tools/source/inet/ |
H A D | inetmime.cxx | 3222 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()
|
/aoo41x/main/svx/source/svdraw/ |
H A D | svdorect.cxx | 146 sal_uInt16 nShift=nPointAnz-2; in ImpCalcXPoly() local 147 if (nRad1!=0) nShift=nPointAnz-5; in ImpCalcXPoly() 148 sal_uInt16 j=nShift; in ImpCalcXPoly()
|
/aoo41x/main/filter/source/graphicfilter/itiff/ |
H A D | itiff.cxx | 860 sal_uInt8 nShift; in ConvertScanline() local 988 nShift = 7; in ConvertScanline() 991 pAcc->SetPixelIndex( nY, nx++, ( nByteVal >> nShift ) & 1); in ConvertScanline()
|
/aoo41x/main/chart2/source/controller/dialogs/ |
H A D | tp_Scale.cxx | 88 long nShift = nNewXPos - aPos.X(); in lcl_shiftControls() local 93 aPos.X() += nShift; in lcl_shiftControls()
|