/aoo42x/main/svtools/source/control/ |
H A D | headbar.cxx | 473 if ( nBits & HIB_RIGHT ) in ImplDrawItem() 481 if ( nBits & HIB_TOP ) in ImplDrawItem() 524 if ( nBits & HIB_RIGHT ) in ImplDrawItem() 535 if ( nBits & HIB_RIGHT ) in ImplDrawItem() 543 if ( nBits & HIB_TOP ) in ImplDrawItem() 570 if ( nBits & HIB_RIGHT ) in ImplDrawItem() 576 if ( nBits & HIB_RIGHT ) in ImplDrawItem() 598 if ( nBits & HIB_TOP ) in ImplDrawItem() 1245 pItem->mnBits = nBits; in InsertItem() 1267 pItem->mnBits = nBits; in InsertItem() [all …]
|
/aoo42x/main/filter/source/graphicfilter/itiff/ |
H A D | lzwdecom.cxx | 119 sal_uInt16 nBits,nCode; in GetNextCode() local 121 if (nTableSize<511) nBits=9; in GetNextCode() 122 else if (nTableSize<1023) nBits=10; in GetNextCode() 123 else if (nTableSize<2047) nBits=11; in GetNextCode() 124 else nBits=12; in GetNextCode() 128 if (nInputBitsBufSize<=nBits) in GetNextCode() 131 nBits = nBits - nInputBitsBufSize; in GetNextCode() 139 nCode=(nCode<<nBits) | (nInputBitsBuf>>(nInputBitsBufSize-nBits)); in GetNextCode() 140 nInputBitsBufSize = nInputBitsBufSize - nBits; in GetNextCode() 142 nBits=0; in GetNextCode() [all …]
|
/aoo42x/main/cui/source/options/ |
H A D | dbregister.cxx | 158 pPathBox->SetStyle( pPathBox->GetStyle()|nBits ); in DbRegistrationOptionsPage() 260 nBits &= ~HIB_UPARROW; in Reset() 261 nBits |= HIB_DOWNARROW; in Reset() 265 nBits &= ~HIB_DOWNARROW; in Reset() 266 nBits |= HIB_UPARROW; in Reset() 268 pHeaderBar->SetItemBits( ITEMID_TYPE, nBits ); in Reset() 338 nBits &= ~HIB_UPARROW; in IMPL_LINK() 339 nBits |= HIB_DOWNARROW; in IMPL_LINK() 344 nBits &= ~HIB_DOWNARROW; in IMPL_LINK() 345 nBits |= HIB_UPARROW; in IMPL_LINK() [all …]
|
H A D | optpath.cxx | 374 nBits &= ~HIB_UPARROW; in Reset() 375 nBits |= HIB_DOWNARROW; in Reset() 379 nBits &= ~HIB_DOWNARROW; in Reset() 380 nBits |= HIB_UPARROW; in Reset() 382 pHeaderBar->SetItemBits( ITEMID_TYPE, nBits ); in Reset() 395 sal_Bool bUp = ( ( nBits & HIB_UPARROW ) == HIB_UPARROW ); in FillUserData() 673 nBits &= ~HIB_UPARROW; in IMPL_LINK() 674 nBits |= HIB_DOWNARROW; in IMPL_LINK() 679 nBits &= ~HIB_DOWNARROW; in IMPL_LINK() 680 nBits |= HIB_UPARROW; in IMPL_LINK() [all …]
|
H A D | webconninfo.cxx | 54 …PasswordTable::InsertHeaderItem( sal_uInt16 nColumn, const String& rText, HeaderBarItemBits nBits ) in InsertHeaderItem() argument 56 GetTheHeaderBar()->InsertItem( nColumn, rText, 0, nBits ); in InsertHeaderItem() 69 HeaderBarItemBits nBits = GetTheHeaderBar()->GetItemBits(1); in Resort() local 70 sal_Bool bUp = ( ( nBits & HIB_UPARROW ) == HIB_UPARROW ); in Resort() 75 nBits &= ~HIB_UPARROW; in Resort() 76 nBits |= HIB_DOWNARROW; in Resort() 81 nBits &= ~HIB_DOWNARROW; in Resort() 82 nBits |= HIB_UPARROW; in Resort() 84 GetTheHeaderBar()->SetItemBits( 1, nBits ); in Resort()
|
/aoo42x/main/vcl/source/gdi/ |
H A D | bmpacc.cxx | 204 sal_uInt32 nBits; in ImplZeroInitUnusedBits() local 211 nBits = 1; in ImplZeroInitUnusedBits() 216 nBits = 1; in ImplZeroInitUnusedBits() 221 nBits = 4; in ImplZeroInitUnusedBits() 226 nBits = 4; in ImplZeroInitUnusedBits() 233 nBits = 8; in ImplZeroInitUnusedBits() 239 nBits = 16; in ImplZeroInitUnusedBits() 246 nBits = 24; in ImplZeroInitUnusedBits() 255 nBits = 32; in ImplZeroInitUnusedBits() 261 nBits = 0; in ImplZeroInitUnusedBits() [all …]
|
H A D | octree.cxx | 297 nBits( 8 - OCTREE_BITS ) in InverseColorMap() 302 const sal_uLong xsqr = 1 << ( nBits << 1 ); in InverseColorMap() 305 const long x = 1L << nBits; in InverseColorMap() 326 crinc = ( xsqr - ( cRed << nBits ) ) << 1L; in InverseColorMap() 327 cginc = ( xsqr - ( cGreen << nBits ) ) << 1L; in InverseColorMap() 328 cbinc = ( xsqr - ( cBlue << nBits ) ) << 1L; in InverseColorMap()
|
/aoo42x/main/sd/source/filter/ppt/ |
H A D | pptinanimations.cxx | 1618 if( nBits & 1 ) in importAnimateFilterContainer() 1912 if( nBits & 1 ) in importAnimateColorContainer() 1920 if( nBits & 2 ) in importAnimateColorContainer() 1928 if( nBits & 4 ) in importAnimateColorContainer() 2119 if( nBits & 1 ) in importAnimateMotionContainer() 2122 if( nBits & 2 ) in importAnimateMotionContainer() 2125 if( nBits & 4 ) in importAnimateMotionContainer() 2128 if( nBits & 8 ) in importAnimateMotionContainer() 2200 if( nBits & 1 ) in importCommandContainer() 2233 if( nBits & 3 ) in importCommandContainer() [all …]
|
/aoo42x/main/filter/source/flash/ |
H A D | swfwriter2.cxx | 43 sal_uInt16 nBits = 0; in getMaxBitsUnsigned() local 47 nBits++; in getMaxBitsUnsigned() 51 return nBits; in getMaxBitsUnsigned() 76 while( nBits != 0 ) in writeUB() 78 mnCurrentByte |= nValue << (32 - nBits) >> (32 - mnBitPos); in writeUB() 80 if ( nBits > mnBitPos ) in writeUB() 82 nBits = nBits - mnBitPos; in writeUB() 88 nBits = 0; in writeUB() 98 void BitStream::writeSB( sal_Int32 nValue, sal_uInt16 nBits ) in writeSB() argument 100 writeUB( static_cast< sal_uInt32 >(nValue), nBits ); in writeSB() [all …]
|
/aoo42x/main/fpicker/source/office/ |
H A D | OfficeFilePicker.cxx | 277 WinBits nBits = 0L; in getWinBits() local 283 nBits = WB_OPEN; in getWinBits() 287 nBits = WB_SAVEAS; in getWinBits() 291 nBits = WB_SAVEAS; in getWinBits() 306 nBits = WB_SAVEAS; in getWinBits() 311 nBits = WB_SAVEAS; in getWinBits() 317 nBits = WB_OPEN; in getWinBits() 322 nBits = WB_OPEN; in getWinBits() 332 nBits = WB_OPEN; in getWinBits() 336 nBits |= SFXWB_MULTISELECTION; in getWinBits() [all …]
|
/aoo42x/main/sd/source/filter/eppt/ |
H A D | pptexanimations.cxx | 1646 nBits |= 1; in exportAnimate() 1648 nBits |= 2; in exportAnimate() 1650 nBits |= 4; in exportAnimate() 1653 << nBits in exportAnimate() 1691 nBits |= 1; in exportAnimateTarget() 1702 nBits |= 2; in exportAnimateTarget() 1706 rStrm << nBits in exportAnimateTarget() 1924 rStrm << nBits in exportTransitionFilter() 2043 nBits |= 1; in exportAnimateTransform() 2048 nBits |= 2; in exportAnimateTransform() [all …]
|
/aoo42x/main/vcl/os2/source/gdi/ |
H A D | salbmp.cxx | 339 HANDLE Os2SalBitmap::ImplCreateDIB( const Size& rSize, USHORT nBits, const BitmapPalette& rPal ) in ImplCreateDIB() argument 341 DBG_ASSERT( nBits == 1 || nBits == 4 || nBits == 8 || nBits == 24, "Unsupported BitCount!" ); in ImplCreateDIB() 345 …if ( rSize.Width() && rSize.Height() && ( nBits == 1 || nBits == 4 || nBits == 8 || nBits == 24 ) ) in ImplCreateDIB() 347 const ULONG nImageSize = AlignedWidth4Bytes( nBits * rSize.Width() ) * rSize.Height(); in ImplCreateDIB() 348 const USHORT nColors = ( nBits <= 8 ) ? ( 1 << nBits ) : 0; in ImplCreateDIB() 362 pBIH->cBitCount = nBits; in ImplCreateDIB()
|
/aoo42x/main/svx/source/tbxctrls/ |
H A D | itemwin.cxx | 66 SvxLineBox::SvxLineBox( Window* pParent, const Reference< XFrame >& rFrame, WinBits nBits ) : in SvxLineBox() argument 67 LineLB( pParent, nBits ), in SvxLineBox() 295 WinBits nBits ) : in SvxColorBox() argument 296 ColorLB( pParent, nBits ), in SvxColorBox() 471 Window* pParent, const Reference< XFrame >& rFrame, WinBits nBits ) : in SvxMetricField() argument 472 MetricField( pParent, nBits ), in SvxMetricField() 666 SvxFillTypeBox::SvxFillTypeBox( Window* pParent, WinBits nBits ) : in SvxFillTypeBox() argument 667 FillTypeLB( pParent, nBits | WB_TABSTOP ), in SvxFillTypeBox() 753 SvxFillAttrBox::SvxFillAttrBox( Window* pParent, WinBits nBits ) : in SvxFillAttrBox() argument 755 FillAttrLB( pParent, nBits | WB_TABSTOP ), in SvxFillAttrBox()
|
H A D | colrctrl.cxx | 394 WinBits nBits = aColorSet.GetStyle(); in SetSize() local 396 nBits &= ~WB_VSCROLL; in SetSize() 398 nBits |= WB_VSCROLL; in SetSize() 399 aColorSet.SetStyle( nBits ); in SetSize() 557 WinBits nBits = aColorSet.GetStyle(); in Resizing() local 559 nBits &= ~WB_VSCROLL; in Resizing() 561 nBits |= WB_VSCROLL; in Resizing() 562 aColorSet.SetStyle( nBits ); in Resizing()
|
/aoo42x/main/svtools/source/contnr/ |
H A D | fileview.cxx | 1685 HeaderBarItemBits nBits; in IMPL_LINK() local 1702 nBits = pBar->GetItemBits( nItemID ); in IMPL_LINK() 1708 nBits &= ~HIB_UPARROW; in IMPL_LINK() 1709 nBits |= HIB_DOWNARROW; in IMPL_LINK() 1713 nBits &= ~HIB_DOWNARROW; in IMPL_LINK() 1714 nBits |= HIB_UPARROW; in IMPL_LINK() 1717 pBar->SetItemBits( nItemID, nBits ); in IMPL_LINK() 1785 nBits &= ~HIB_UPARROW; in SetConfigString() 1786 nBits |= HIB_DOWNARROW; in SetConfigString() 1790 nBits &= ~HIB_DOWNARROW; in SetConfigString() [all …]
|
/aoo42x/main/filter/source/msfilter/ |
H A D | mscodec.cxx | 52 inline void lclRotateLeft( Type& rnValue, int nBits ) in lclRotateLeft() argument 55 nBits >= 0 && in lclRotateLeft() 56 sal::static_int_cast< unsigned int >(nBits) < sizeof( Type ) * 8 ); in lclRotateLeft() 57 rnValue = static_cast< Type >( (rnValue << nBits) | (rnValue >> (sizeof( Type ) * 8 - nBits)) ); in lclRotateLeft() 62 inline void lclRotateLeft( Type& rnValue, sal_uInt8 nBits, sal_uInt8 nWidth ) in lclRotateLeft() argument 64 OSL_ASSERT( (nBits < nWidth) && (nWidth < sizeof( Type ) * 8) ); in lclRotateLeft() 67 ((rnValue << nBits) | ((rnValue & nMask) >> (nWidth - nBits))) & nMask ); in lclRotateLeft()
|
/aoo42x/main/oox/source/core/ |
H A D | binarycodec.cxx | 44 inline void lclRotateLeft( Type& rnValue, size_t nBits ) in lclRotateLeft() argument 46 OSL_ENSURE( nBits < sizeof( Type ) * 8, "lclRotateLeft - rotation count overflow" ); in lclRotateLeft() 47 rnValue = static_cast< Type >( (rnValue << nBits) | (rnValue >> (sizeof( Type ) * 8 - nBits)) ); in lclRotateLeft() 52 inline void lclRotateLeft( Type& rnValue, size_t nBits, size_t nWidth ) in lclRotateLeft() argument 54 …OSL_ENSURE( (nBits < nWidth) && (nWidth < sizeof( Type ) * 8), "lclRotateLeft - rotation count ove… in lclRotateLeft() 57 ((rnValue << nBits) | ((rnValue & nMask) >> (nWidth - nBits))) & nMask ); in lclRotateLeft()
|
/aoo42x/main/forms/source/richtext/ |
H A D | richtextcontrol.cxx | 170 WinBits nBits = _pWindow->GetStyle(); in adjustTwoStateWinBit() local 171 implAdjustTwoStateFlag( _rValue, nBits, _nFlag, _bInvert ); in adjustTwoStateWinBit() 172 _pWindow->SetStyle( nBits ); in adjustTwoStateWinBit() 178 WinBits nBits = nBaseBits; in getWinBits() local 187 nBits |= WB_BORDER; in getWinBits() 189 … implAdjustTriStateFlag( xProps, PROPERTY_TABSTOP, nBits, WB_TABSTOP, WB_NOTABSTOP ); in getWinBits() 190 implAdjustTwoStateFlag( xProps, PROPERTY_HSCROLL, nBits, WB_HSCROLL ); in getWinBits() 191 implAdjustTwoStateFlag( xProps, PROPERTY_VSCROLL, nBits, WB_VSCROLL ); in getWinBits() 192 … implAdjustTwoStateFlag( xProps, PROPERTY_HARDLINEBREAKS, nBits, WB_WORDBREAK, true ); in getWinBits() 199 return nBits; in getWinBits()
|
/aoo42x/main/sc/source/ui/dbgui/ |
H A D | scendlg.cxx | 165 sal_uInt16 nBits = 0; in GetScenarioData() local 167 nBits |= SC_SCENARIO_SHOWFRAME; in GetScenarioData() 173 nBits |= SC_SCENARIO_TWOWAY; in GetScenarioData() 181 nBits |= SC_SCENARIO_COPYALL; in GetScenarioData() 183 nBits |= SC_SCENARIO_PROTECT; in GetScenarioData() 184 rFlags = nBits; in GetScenarioData()
|
/aoo42x/main/sw/source/filter/ww8/ |
H A D | ww8graf2.cxx | 808 sal_uInt16 nBits = SVBT16ToShort( pFSPAS->aBits1 ); in WW8FSPAShadowToReal() local 810 pFSPA->bHdr = 0 != ( nBits & 0x0001 ); in WW8FSPAShadowToReal() 811 pFSPA->nbx = ( nBits & 0x0006 ) >> 1; in WW8FSPAShadowToReal() 812 pFSPA->nby = ( nBits & 0x0018 ) >> 3; in WW8FSPAShadowToReal() 813 pFSPA->nwr = ( nBits & 0x01E0 ) >> 5; in WW8FSPAShadowToReal() 814 pFSPA->nwrk = ( nBits & 0x1E00 ) >> 9; in WW8FSPAShadowToReal() 815 pFSPA->bRcaSimple = 0 != ( nBits & 0x2000 ); in WW8FSPAShadowToReal() 816 pFSPA->bBelowText = 0 != ( nBits & 0x4000 ); in WW8FSPAShadowToReal() 817 pFSPA->bAnchorLock = 0 != ( nBits & 0x8000 ); in WW8FSPAShadowToReal()
|
/aoo42x/main/sc/source/core/tool/ |
H A D | address.cxx | 1015 nBits = 0; in lcl_ScAddress_Parse_OOo() 1018 nBits = 0; in lcl_ScAddress_Parse_OOo() 1026 nRes |= nBits; in lcl_ScAddress_Parse_OOo() 1042 nBits = 0; in lcl_ScAddress_Parse_OOo() 1045 nBits = 0; in lcl_ScAddress_Parse_OOo() 1046 nRes |= nBits; in lcl_ScAddress_Parse_OOo() 1047 if( !nBits ) in lcl_ScAddress_Parse_OOo() 1059 nBits = 0; in lcl_ScAddress_Parse_OOo() 1069 nBits = 0; in lcl_ScAddress_Parse_OOo() 1072 nRes |= nBits; in lcl_ScAddress_Parse_OOo() [all …]
|
/aoo42x/main/vcl/win/source/gdi/ |
H A D | salbmp.cxx | 756 HGLOBAL WinSalBitmap::ImplCreateDIB( const Size& rSize, sal_uInt16 nBits, const BitmapPalette& rPal… in ImplCreateDIB() argument 758 …DBG_ASSERT( nBits == 1 || nBits == 4 || nBits == 8 || nBits == 16 || nBits == 24, "Unsupported Bit… in ImplCreateDIB() 766 const sal_uLong nAlignedWidth4Bytes = AlignedWidth4Bytes( nBits * rSize.Width() ); in ImplCreateDIB() 773 const sal_uInt16 nColors = (nBits <= 8) ? (1 << nBits) : 0; in ImplCreateDIB() 790 pBIH->biBitCount = nBits; in ImplCreateDIB()
|
/aoo42x/main/sfx2/source/doc/ |
H A D | frmdescr.cxx | 177 sal_uInt16 nBits = 0; in GetWinBits() local 179 nBits |= SWIB_RELATIVESIZE; in GetWinBits() 181 nBits |= SWIB_PERCENTSIZE; in GetWinBits() 183 nBits |= SWIB_FIXED; in GetWinBits() 185 nBits |= SWIB_INVISIBLE; in GetWinBits() 186 return nBits; in GetWinBits()
|
/aoo42x/main/svx/inc/svx/ |
H A D | itemwin.hxx | 57 WinBits nBits = WB_BORDER | WB_DROPDOWN | WB_AUTOHSCROLL ); 94 WinBits nBits = WB_BORDER | WB_DROPDOWN | WB_AUTOHSCROLL ); 135 WinBits nBits = WB_BORDER | WB_SPIN | WB_REPEAT ); 148 SvxFillTypeBox( Window* pParent, WinBits nBits = WB_BORDER | WB_DROPDOWN | WB_AUTOHSCROLL ); 173 SvxFillAttrBox( Window* pParent, WinBits nBits = WB_BORDER | WB_DROPDOWN | WB_AUTOHSCROLL );
|
/aoo42x/main/svx/source/dialog/ |
H A D | simptabl.cxx | 74 SvxSimpleTable::SvxSimpleTable( Window* pParent,WinBits nBits ): in SvxSimpleTable() argument 76 aPrivContainer(pParent,nBits|WB_DIALOGCONTROL), in SvxSimpleTable() 123 WinBits nBits=aPrivContainer.GetStyle()|WB_DIALOGCONTROL; in SvxSimpleTable() local 124 aPrivContainer.SetStyle(nBits); in SvxSimpleTable() 249 HeaderBarItemBits nBits) in InsertHeaderEntry() argument 254 aHeaderBar.InsertItem(nHeaderItemId++, rText, 0, nBits, nCol); in InsertHeaderEntry() 263 aHeaderBar.InsertItem(nHeaderItemId++, aString, 0, nBits, nCol); in InsertHeaderEntry()
|