Home
last modified time | relevance | path

Searched refs:BitsLength (Results 1 – 25 of 86) sorted by relevance

1234

/haiku/src/servers/app/
H A DServerBitmap.cpp125 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 DServerCursor.cpp138 memcpy(Bits(), alreadyPaddedData, BitsLength()); in ServerCursor()
159 memcpy(Bits(), cursor->Bits(), BitsLength()); in ServerCursor()
H A DServerBitmap.h43 inline uint32 BitsLength() const;
128 ServerBitmap::BitsLength() const in BitsLength() function
H A DRenderingBuffer.h26 inline uint32 BitsLength() const in BitsLength() function
H A DCursorSet.cpp113 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 DBitmapManager.cpp149 bitmap->BitsLength(), newArea); in CreateBitmap()
158 buffer = (uint8*)malloc(bitmap->BitsLength()); in CreateBitmap()
/haiku/src/add-ons/translators/wonderbrush/support/
H A Dbitmap_compression.cpp29 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 DDrawingTidbits.cpp60 int32 bitsLength = bitmap->BitsLength(); in ReplaceColor()
76 int32 bitsLength = bitmap->BitsLength(); in ReplaceTransparentColor()
/haiku/src/kits/interface/
H A DBitmap.cpp259 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 DRenderingBuffer.h24 inline uint32 BitsLength() const in BitsLength() function
/haiku/src/apps/tv/
H A DConvertBitmap.cpp42 memcpy(dst->Bits(), src->Bits(), src->BitsLength()); in ConvertBitmap()
/haiku/src/kits/storage/mime/
H A Ddatabase_support.cpp202 *dataSize = icon8->BitsLength(); in get_icon_data()
206 *dataSize = icon->BitsLength(); in get_icon_data()
/haiku/src/tests/kits/interface/bbitmap/
H A DSetBitsTester.cpp411 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 DBitmapMenuItem.cpp33 m_bitmap.SetBits(bitmap.Bits(), bitmap.BitsLength(), in BitmapMenuItem()
/haiku/src/tests/kits/interface/flatten_picture/
H A DPictureTest.cpp117 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 DDrawingModes.cpp246 memcpy(fBitmap->Bits(), kBitmapBits, fBitmap->BitsLength()); in DrawingModeView()
263 fTriangleLeft->BitsLength()); in DrawingModeView()
266 fTriangleRight->BitsLength()); in DrawingModeView()
/haiku/src/servers/midi/
H A DDeviceWatcher.cpp308 fLargeIcon->BitsLength()); in _SetIcons()
313 fMiniIcon->BitsLength()); in _SetIcons()
/haiku/src/kits/tracker/
H A DBitmaps.cpp170 while (i < dest->BitsLength()) { in GetIconResource()
185 for (int32 i = 0; i < dest->BitsLength(); i++) in GetIconResource()
/haiku/src/servers/app/drawing/
H A DBitmapDrawingEngine.cpp94 if (result->ImportBits(fBitmap->Bits(), fBitmap->BitsLength(), in ExportToBitmap()
/haiku/src/tests/kits/storage/
H A DAppFileInfoTest.cpp106 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 DNodeInfoTest.cpp82 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 DBitmapStreamTest.cpp171 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 DIconValueView.cpp114 memcpy(fIcon->Bits(), bitsFromQuickRes, fIcon->BitsLength()); in SetIcon()
/haiku/docs/develop/servers/app_server/
H A DServerBitmap.rst33 uint32 BitsLength(void)
/haiku/src/preferences/filetypes/
H A DIconView.cpp328 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()

1234