/haiku/src/servers/app/ |
H A D | ServerBitmap.cpp | 125 uint32 length = BitsLength(); in AllocateBuffer() 140 return BPrivate::ConvertBits(bits, fBuffer, bitsLength, BitsLength(), in ImportBits() 152 return BPrivate::ConvertBits(bits, fBuffer, bitsLength, BitsLength(), in ImportBits() 234 memcpy(Bits(), bitmap->Bits(), bitmap->BitsLength()); in UtilityBitmap() 245 memcpy(Bits(), alreadyPaddedData, BitsLength()); in UtilityBitmap()
|
H A D | ServerCursor.cpp | 138 memcpy(Bits(), alreadyPaddedData, BitsLength()); in ServerCursor() 159 memcpy(Bits(), cursor->Bits(), BitsLength()); in ServerCursor()
|
H A D | ServerBitmap.h | 43 inline uint32 BitsLength() const; 128 ServerBitmap::BitsLength() const in BitsLength() function
|
H A D | RenderingBuffer.h | 26 inline uint32 BitsLength() const in BitsLength() function
|
H A D | CursorSet.cpp | 113 message.AddData("_data", B_RAW_TYPE, cursor->Bits(), cursor->BitsLength()); in AddCursor() 202 min_c(bufferLength, bitmap->BitsLength())); in FindCursor() 256 min_c(bufferLength, (ssize_t)cursor->BitsLength())); in FindCursor()
|
H A D | BitmapManager.cpp | 149 bitmap->BitsLength(), newArea); in CreateBitmap() 158 buffer = (uint8*)malloc(bitmap->BitsLength()); in CreateBitmap()
|
/haiku/src/add-ons/translators/wonderbrush/support/ |
H A D | bitmap_compression.cpp | 29 uLong srcLength = bitmap->BitsLength(); in compress_bitmap_zlib() 71 uLongf dstLength = bitmap->BitsLength(); in decompress_bitmap_zlib() 77 if (ret != Z_OK || dstLength != (uint32)bitmap->BitsLength()) { in decompress_bitmap_zlib() 83 memset(bitmap->Bits(), 0, bitmap->BitsLength()); in decompress_bitmap_zlib()
|
/haiku/src/apps/soundrecorder/ |
H A D | DrawingTidbits.cpp | 60 int32 bitsLength = bitmap->BitsLength(); in ReplaceColor() 76 int32 bitsLength = bitmap->BitsLength(); in ReplaceTransparentColor()
|
/haiku/src/kits/interface/ |
H A D | Bitmap.cpp | 259 memcpy(Bits(), source->Bits(), min_c(BitsLength(), in BBitmap() 260 source->BitsLength())); in BBitmap() 288 memcpy(Bits(), source.Bits(), min_c(BitsLength(), source.BitsLength())); in BBitmap() 391 if (size == BitsLength()) { in BBitmap() 579 BBitmap::BitsLength() const in BitsLength() function in BBitmap 811 return ImportBits(bitmap->Bits(), bitmap->BitsLength(), in ImportBits() 843 return ImportBits(bitmap->Bits(), bitmap->BitsLength(), in ImportBits() 999 memcpy(Bits(), source.Bits(), min_c(BitsLength(), source.BitsLength())); in operator =()
|
/haiku/src/tests/servers/app/newerClipping/drawing/ |
H A D | RenderingBuffer.h | 24 inline uint32 BitsLength() const in BitsLength() function
|
/haiku/src/apps/tv/ |
H A D | ConvertBitmap.cpp | 42 memcpy(dst->Bits(), src->Bits(), src->BitsLength()); in ConvertBitmap()
|
/haiku/src/kits/storage/mime/ |
H A D | database_support.cpp | 202 *dataSize = icon8->BitsLength(); in get_icon_data() 206 *dataSize = icon->BitsLength(); in get_icon_data()
|
/haiku/src/tests/kits/interface/bbitmap/ |
H A D | SetBitsTester.cpp | 411 CHK(bitmap.BitsLength() == initialData.length); in test_set_bits() 432 CHK(bitmap.BitsLength() == initialData.length); in test_set_bits2() 458 CHK(bitmap.BitsLength() == initialData.length); in test_import_bits() 465 CHK(bitmap2.BitsLength() == setData.length); in test_import_bits()
|
/haiku/src/tests/kits/interface/menu/menuworld/ |
H A D | BitmapMenuItem.cpp | 33 m_bitmap.SetBits(bitmap.Bits(), bitmap.BitsLength(), in BitmapMenuItem()
|
/haiku/src/tests/kits/interface/flatten_picture/ |
H A D | PictureTest.cpp | 117 memcpy(copy->Bits(), fBitmap->Bits(), fBitmap->BitsLength()); in Copy() 287 if (bitmap1->BitsLength() != bitmap2->BitsLength()) { in IsSame()
|
/haiku/src/tests/servers/app/drawing_modes/ |
H A D | DrawingModes.cpp | 246 memcpy(fBitmap->Bits(), kBitmapBits, fBitmap->BitsLength()); in DrawingModeView() 263 fTriangleLeft->BitsLength()); in DrawingModeView() 266 fTriangleRight->BitsLength()); in DrawingModeView()
|
/haiku/src/servers/midi/ |
H A D | DeviceWatcher.cpp | 308 fLargeIcon->BitsLength()); in _SetIcons() 313 fMiniIcon->BitsLength()); in _SetIcons()
|
/haiku/src/kits/tracker/ |
H A D | Bitmaps.cpp | 170 while (i < dest->BitsLength()) { in GetIconResource() 185 for (int32 i = 0; i < dest->BitsLength(); i++) in GetIconResource()
|
/haiku/src/servers/app/drawing/ |
H A D | BitmapDrawingEngine.cpp | 94 if (result->ImportBits(fBitmap->Bits(), fBitmap->BitsLength(), in ExportToBitmap()
|
/haiku/src/tests/kits/storage/ |
H A D | AppFileInfoTest.cpp | 106 memset(icon->Bits(), fill, icon->BitsLength()); in create_test_icon() 116 && icon1->BitsLength() == icon2->BitsLength() in icon_equal() 117 && memcmp(icon1->Bits(), icon2->Bits(), icon1->BitsLength()) == 0); in icon_equal() 580 this->mini.SetBits(mini->Bits(), mini->BitsLength(), 0, in IconValue() 582 this->large.SetBits(large->Bits(), large->BitsLength(), 0, in IconValue() 626 value.mini.BitsLength()); in CheckAttribute() 628 value.large.Bits(), value.large.BitsLength()); in CheckAttribute() 635 value.mini.BitsLength()); in CheckResource() 638 value.large.BitsLength()); in CheckResource() 752 value.mini.BitsLength()); in CheckAttribute() [all …]
|
H A D | NodeInfoTest.cpp | 82 memset(icon->Bits(), fill, icon->BitsLength()); in create_test_icon() 92 && icon1->BitsLength() == icon2->BitsLength() in icon_equal() 93 && memcmp(icon1->Bits(), icon2->Bits(), icon1->BitsLength()) == 0); in icon_equal() 310 CheckAttr(node, attribute, type, data->Bits(), data->BitsLength()); in CheckIconAttr() 536 icon2.SetBits(fIconM2->Bits(), fIconM2->BitsLength(), 0, B_CMAP8); in IconTest() 545 icon4.SetBits(fIconL2->Bits(), fIconL2->BitsLength(), 0, B_CMAP8); in IconTest()
|
/haiku/src/tests/kits/translation/ |
H A D | BitmapStreamTest.cpp | 171 CPPUNIT_ASSERT(pbits->BitsLength() > 0); in DetachBitmapTest() 179 pbits->BitsLength() + sizeof(TranslatorBitmap)); in DetachBitmapTest() 186 CPPUNIT_ASSERT(pbits->BitsLength() == 0); in DetachBitmapTest()
|
/haiku/src/apps/icon-o-matic/generic/property/view/specific_properties/ |
H A D | IconValueView.cpp | 114 memcpy(fIcon->Bits(), bitsFromQuickRes, fIcon->BitsLength()); in SetIcon()
|
/haiku/docs/develop/servers/app_server/ |
H A D | ServerBitmap.rst | 33 uint32 BitsLength(void)
|
/haiku/src/preferences/filetypes/ |
H A D | IconView.cpp | 328 memcpy(fLarge->Bits(), large->Bits(), min_c(large->BitsLength(), in SetLarge() 329 fLarge->BitsLength())); in SetLarge() 344 memcpy(fMini->Bits(), mini->Bits(), min_c(mini->BitsLength(), in SetMini() 345 fMini->BitsLength())); in SetMini() 447 bitmap->SetBits(fLarge->Bits(), fLarge->BitsLength(), 0, in GetIcon() 452 bitmap->SetBits(fMini->Bits(), fMini->BitsLength(), 0, in GetIcon() 475 bitmap->SetBits(target->Bits(), target->BitsLength(), 0, in GetIcon() 1141 fHeapIconBitmap->BitsLength()); in ShowIconHeap()
|