Lines Matching refs:nBlock
51 for ( sal_uInt16 nBlock = 0; nBlock < nBlockDiff; ++nBlock ) in operator <<() local
52 aSet.nCount = aSet.nCount - CountBits( *(aSet.pBitmap+nBlock) ); in operator <<()
162 sal_uInt16 nBlock = n / 32; in BitSet() local
166 if ( ( *(pBitmap+nBlock) & nBitVal ) == 0 ) in BitSet()
168 *(pBitmap+nBlock) |= nBitVal; in BitSet()
243 sal_uInt16 nBlock = nBit / 32; in operator -=() local
246 if ( nBlock >= nBlocks ) in operator -=()
249 if ( (*(pBitmap+nBlock) & nBitVal) ) in operator -=()
251 *(pBitmap+nBlock) &= ~nBitVal; in operator -=()
283 for ( sal_uInt16 nBlock = 0; nBlock < nMax; ++nBlock ) in operator |=() local
286 sal_uIntPtr nDiff = ~*(pBitmap+nBlock) & *(rSet.pBitmap+nBlock); in operator |=()
289 *(pBitmap+nBlock) |= *(rSet.pBitmap+nBlock); in operator |=()
302 sal_uInt16 nBlock = nBit / 32; in operator |=() local
305 if ( nBlock >= nBlocks ) in operator |=()
307 sal_uIntPtr *pNewMap = new sal_uIntPtr[nBlock+1]; in operator |=()
308 memset( pNewMap + nBlocks, 0, 4 * (nBlock - nBlocks + 1) ); in operator |=()
316 nBlocks = nBlock+1; in operator |=()
319 if ( (*(pBitmap+nBlock) & nBitVal) == 0 ) in operator |=()
321 *(pBitmap+nBlock) |= nBitVal; in operator |=()
335 sal_uInt16 nBlock = nBit / 32; in Contains() local
338 if ( nBlock >= nBlocks ) in Contains()
340 return ( nBitVal & *(pBitmap+nBlock) ) == nBitVal; in Contains()
353 sal_uInt16 nBlock = nBlocks; in operator ==() local
354 while ( nBlock-- > 0 ) in operator ==()
355 if ( *(pBitmap+nBlock) != *(rSet.pBitmap+nBlock) ) in operator ==()