Home
last modified time | relevance | path

Searched refs:fBits (Results 1 – 20 of 20) sorted by relevance

/haiku/src/add-ons/kernel/busses/mmc/
H A Dsdhci.h73 uint16_t Bits() { return fBits; } in Bits()
99 volatile uint16_t fBits;
105 uint16_t Bits() { return fBits; } in Bits()
109 fBits = (command << 8) | type; in SendCommand()
135 volatile uint16_t fBits;
141 uint32_t Bits() { return fBits; } in Bits()
143 bool IsCardInserted() { return fBits & (1 << 16); } in IsCardInserted()
144 bool CommandInhibit() { return fBits & (1 << 0); } in CommandInhibit()
145 bool DataInhibit() { return fBits & (1 << 1); } in DataInhibit()
148 volatile uint32_t fBits;
[all …]
/haiku/src/system/kernel/util/
H A DBitmap.cpp24 fBits(NULL) in Bitmap()
32 free(fBits); in ~Bitmap()
39 return (fBits != NULL) ? B_OK : B_NO_MEMORY; in InitCheck()
52 void* bits = realloc(fBits, sizeof(addr_t) * count); in Resize()
55 fBits = (addr_t*)bits; in Resize()
58 memset(&fBits[fElementsCount], 0, sizeof(addr_t) * (count - fElementsCount)); in Resize()
69 return bitmap_shift<addr_t>(fBits, fSize, bitCount); in Shift()
138 while (i >= 0 && fBits[i] == 0) in GetHighestSet()
147 return log2(fBits[i]) + i * kBitsPerElement; in GetHighestSet()
149 uint32 v = (uint64)fBits[i] >> 32; in GetHighestSet()
[all …]
/haiku/src/servers/app/drawing/interface/virtual/
H A DDWindowBuffer.cpp10 : fBits(NULL), in DWindowBuffer()
28 if (fBits) in InitCheck()
45 return (void*)fBits; in Bits()
85 fBits = (uint8*)info->bits; in SetTo()
90 fBits += xOffset * 4 + yOffset * fBytesPerRow; in SetTo()
92 fBits = NULL; in SetTo()
107 fBits = (uint8*)config->frame_buffer; in SetTo()
109 fBits += x * 4 + y * fBytesPerRow; in SetTo()
H A DDWindowBuffer.h36 uint8* fBits;
/haiku/src/tests/servers/app/newerClipping/drawing/
H A DDirectWindowBuffer.cpp7 : fBits(NULL), in DirectWindowBuffer()
25 if (fBits) in InitCheck()
42 return fBits; in Bits()
80 fBits = (void*)info->bits; in SetTo()
87 fBits = NULL; in SetTo()
H A DDirectWindowBuffer.h26 void* fBits;
/haiku/src/kits/interface/
H A DIcon.cpp394 uint8* fBits = (uint8*)bitmap->Bits(); in _MakeBitmaps() local
407 nBits[nOffset + 0] = fBits[fOffset + 0]; in _MakeBitmaps()
408 nBits[nOffset + 1] = fBits[fOffset + 1]; in _MakeBitmaps()
409 nBits[nOffset + 2] = fBits[fOffset + 2]; in _MakeBitmaps()
444 fBits += fbpr; in _MakeBitmaps()
461 nBits[nOffset + 3] = fBits[fOffset + 3]; in _MakeBitmaps()
462 nBits[nOffset + 2] = fBits[fOffset + 2]; in _MakeBitmaps()
463 nBits[nOffset + 1] = fBits[fOffset + 1]; in _MakeBitmaps()
498 fBits += fbpr; in _MakeBitmaps()
515 nBits[nOffset + 0] = fBits[fOffset + 0]; in _MakeBitmaps()
[all …]
/haiku/src/add-ons/print/drivers/pcl6/
H A DRasterizer.cpp47 fBits = (uchar*)bitmap->Bits(); in SetBitmap()
49 fBits += fBounds.top * fBPR + fBounds.left * 4; in SetBitmap()
73 result = RasterizeLine(fX, fY, (const ColorRGB32Little*)fBits); in RasterizeNextLine()
74 fBits += fBPR; in RasterizeNextLine()
H A DRasterizer.h95 const uchar* fBits; variable
/haiku/headers/private/kernel/util/
H A DBitmap.h47 addr_t* fBits; variable
60 return fBits[kArrayElement] & kBitMask; in Get()
71 fBits[kArrayElement] |= kBitMask; in Set()
82 fBits[kArrayElement] &= ~addr_t(kBitMask); in Clear()
/haiku/src/add-ons/translators/gif/
H A DGIFLoad.cpp445 if (fNextCode > fMaxCode && fBits < LZ_MAX_BITS) { in ReadGIFImageData()
446 fBits++; in ReadGIFImageData()
447 fMaxCode = (1 << fBits) - 1; in ReadGIFImageData()
472 while (fBitCount < fBits) { in NextCode()
490 short s = fBitBuffer & ((1 << fBits) - 1); in NextCode()
491 fBitBuffer >>= fBits; in NextCode()
492 fBitCount -= fBits; in NextCode()
501 fBits = fCodeSize + 1; in ResetTable()
503 fMaxCode = (1 << fBits) - 1; in ResetTable()
526 fBits = fCodeSize + 1; in InitFrame()
[all …]
H A DGIFLoad.h88 int fBits; variable
/haiku/src/servers/app/drawing/
H A DAlphaMask.cpp43 fBits(NULL), in AlphaMask()
69 fBits(other->fBits), in AlphaMask()
97 fBits(NULL), in AlphaMask()
152 return fBits->BitsLength(); in BitmapSize()
188 fBits.SetTo(new(std::nothrow) UtilityBitmap(fBounds, B_GRAY8, 0), true); in _Generate()
189 if (fBits == NULL) in _Generate()
192 const int32 width = fBits->Width(); in _Generate()
193 const int32 height = fBits->Height(); in _Generate()
195 uint8* destination = fBits->Bits(); in _Generate()
268 fBuffer.attach(fBits->Bits(), width, height, width); in _Generate()
H A DAlphaMask.h96 BReference<UtilityBitmap> fBits; variable
/haiku/src/apps/icon-o-matic/generic/gui/
H A DIconButton.cpp619 uint8* fBits = (uint8*)bitmap->Bits(); in _MakeBitmaps() local
631 nBits[nOffset + 0] = fBits[fOffset + 0]; in _MakeBitmaps()
632 nBits[nOffset + 1] = fBits[fOffset + 1]; in _MakeBitmaps()
633 nBits[nOffset + 2] = fBits[fOffset + 2]; in _MakeBitmaps()
663 fBits += fbpr; in _MakeBitmaps()
672 nBits[nOffset + 0] = fBits[fOffset + 0]; in _MakeBitmaps()
673 nBits[nOffset + 1] = fBits[fOffset + 1]; in _MakeBitmaps()
674 nBits[nOffset + 2] = fBits[fOffset + 2]; in _MakeBitmaps()
675 nBits[nOffset + 3] = fBits[fOffset + 3]; in _MakeBitmaps()
680 cBits[nOffset + 3] = fBits[fOffset + 3]; in _MakeBitmaps()
[all …]
/haiku/src/kits/shared/
H A DIconButton.cpp704 uint8* fBits = (uint8*)bitmap->Bits(); in _MakeBitmaps() local
716 nBits[nOffset + 0] = fBits[fOffset + 0]; in _MakeBitmaps()
717 nBits[nOffset + 1] = fBits[fOffset + 1]; in _MakeBitmaps()
718 nBits[nOffset + 2] = fBits[fOffset + 2]; in _MakeBitmaps()
751 fBits += fbpr; in _MakeBitmaps()
760 nBits[nOffset + 0] = fBits[fOffset + 0]; in _MakeBitmaps()
761 nBits[nOffset + 1] = fBits[fOffset + 1]; in _MakeBitmaps()
762 nBits[nOffset + 2] = fBits[fOffset + 2]; in _MakeBitmaps()
763 nBits[nOffset + 3] = fBits[fOffset + 3]; in _MakeBitmaps()
768 cBits[nOffset + 3] = fBits[fOffset + 3]; in _MakeBitmaps()
[all …]
/haiku/src/libs/print/libprint/
H A DValidRect.cpp19 const uchar *fBits; member in BoundsCalculator
68 return fBits + x + fBPR * y; in getRow()
153 fBits = (uchar*)bitmap->Bits(); in getValidRect()
/haiku/src/kits/tracker/
H A DTrackerInitialState.cpp677 sDefaultQueryTemplate[2].fBits = (const char*)stream.Buffer(); in InstallDefaultTemplates()
694 sBookmarkQueryTemplate[2].fBits = (const char*)stream.Buffer(); in InstallDefaultTemplates()
711 sPersonQueryTemplate[2].fBits = (const char*)stream.Buffer(); in InstallDefaultTemplates()
728 sEmailQueryTemplate[2].fBits = (const char*)stream.Buffer(); in InstallDefaultTemplates()
H A DAttributeStream.cpp658 return fAttributes[fCurrentIndex].fBits; in Get()
666 memcpy(buffer, fAttributes[fCurrentIndex].fBits, in Fill()
H A DAttributeStream.h69 const char* fBits; member