Searched refs:bmp (Results 1 - 15 of 15) sorted by relevance

/haiku/src/system/kernel/util/
H A DRadixBitmap.cpp167 radix_bitmap *bmp = (radix_bitmap *)malloc(sizeof(radix_bitmap));
168 if (bmp == NULL)
171 bmp->radix = radix;
172 bmp->skip = skip;
173 bmp->free_slots = slots;
174 bmp->root_size = 1 + radix_bitmap_init(NULL, radix, skip, slots);
176 bmp->root = (radix_node *)malloc(bmp->root_size * sizeof(radix_node));
177 if (bmp->root == NULL) {
178 free(bmp);
[all...]
/haiku/headers/private/kernel/util/
H A DRadixBitmap.h69 extern radix_slot_t radix_bitmap_alloc(radix_bitmap *bmp, uint32 count);
70 extern void radix_bitmap_dealloc(radix_bitmap *bmp, radix_slot_t slotIndex,
72 extern void radix_bitmap_destroy(radix_bitmap *bmp);
/haiku/src/preferences/appearance/
H A DCursorWhichItem.h42 void SetBitmap(BBitmap *bmp) { if(image) delete image; image=bmp; } argument
H A DCurView.h56 void SetBitmap(BBitmap *bmp);
H A DCurView.cpp425 void BitmapView::SetBitmap(BBitmap *bmp) argument
427 bitmap=bmp;
/haiku/src/add-ons/media/media-add-ons/videowindow/
H A DVideoView.cpp70 BBitmap *bmp = fVideoNode->Bitmap();
71 if (bmp) {
74 BBitmap *tmp = new BBitmap(bmp->Bounds(), 0, B_RGB32);
75 // ConvertBitmap(tmp, bmp);
95 BBitmap *bmp = fVideoNode->Bitmap();
96 if (bmp) {
97 DrawBitmap(bmp, Bounds());
98 SetViewOverlay(bmp, bmp->Bounds(), Bounds(), &fOverlayKeyColor,
141 BBitmap *bmp local
171 BBitmap *bmp = fVideoNode->Bitmap(); local
[all...]
/haiku/src/apps/tv/
H A DVideoView.cpp115 BBitmap *bmp = fVideoNode->Bitmap();
116 if (bmp) {
119 BBitmap *tmp = new BBitmap(bmp->Bounds(), 0, B_RGB32);
120 // ConvertBitmap(tmp, bmp);
141 BBitmap *bmp = fVideoNode->Bitmap();
142 if (bmp) {
143 DrawBitmap(bmp, Bounds());
144 SetViewOverlay(bmp, bmp->Bounds(), Bounds(), &fOverlayKeyColor,
209 BBitmap *bmp local
244 BBitmap *bmp = fVideoNode->Bitmap(); local
[all...]
/haiku/src/servers/app/
H A DServerBitmap.h90 ServerBitmap(const ServerBitmap* bmp);
117 UtilityBitmap(const ServerBitmap* bmp);
/haiku/src/apps/resedit/
H A DBitmapView.cpp221 BBitmap *bmp; local
222 if (bstream.DetachBitmap(&bmp) != B_OK)
224 SetBitmap(bmp);
237 BBitmap *bmp = BTranslationUtils::GetBitmap(&ref); local
238 if (bmp) {
239 SetBitmap(bmp);
680 BBitmap *bmp = BitmapFromClipboard(); local
681 if (bmp)
682 SetBitmap(bmp);
/haiku/src/tests/kits/storage/
H A DMimeTypeTest.cpp107 static void fill_bitmap(BBitmap &bmp, char value);
108 //static void dump_bitmap(BBitmap &bmp, char *name = "bmp");
235 // printf("bmp== 1\n");
237 // printf("bmp== 2\n");
335 fill_bitmap(BBitmap &bmp, char value) { argument
336 char *data = (char*)bmp.Bits();
337 for (int i = 0; i < bmp.BitsLength(); data++, i++) {
347 fill_bitmap32(BBitmap &bmp, char r, char g, char b, char a) { argument
348 if (bmp
1326 BBitmap *bmp = helper.TempBitmap(); local
1527 BBitmap *bmp = helper.TempBitmap(); local
[all...]
/haiku/src/system/kernel/vm/
H A DVMAnonymousCache.cpp97 radix_bitmap* bmp; member in struct:swap_file
245 "\n", file->vnode, total, file->bmp->free_slots);
248 freeSwapPages += file->bmp->free_slots;
287 addr = radix_bitmap_alloc(sSwapFileAlloc->bmp, count);
305 if (sSwapFileAlloc->bmp->free_slots
342 radix_bitmap_dealloc(swapFile->bmp, slotIndex, count);
1468 swap->bmp = radix_bitmap_create(pageCount);
1469 if (swap->bmp == NULL) {
1523 if (swapFile->bmp->free_slots < swapFile->last_slot - swapFile->first_slot)
1536 radix_bitmap_destroy(swapFile->bmp);
[all...]
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Ddir.c1111 u8 *index_end, *bmp = NULL; local
1307 bmp = ntfs_malloc(bmp_buf_size);
1308 if (!bmp)
1311 br = ntfs_attr_pread(bmp_na, bmp_pos >> 3, bmp_buf_size, bmp);
1321 while (!(bmp[bmp_buf_pos >> 3] & (1 << (bmp_buf_pos & 7)))) {
1335 br = ntfs_attr_pread(bmp_na, bmp_pos >> 3, bmp_buf_size, bmp);
1415 free(bmp);
1430 free(bmp);
H A Dattrib.h277 BITMAP_ATTR bmp; member in union:__anon7
H A Dindex.c978 u8 bmp[8]; local
987 memset(bmp, 0, sizeof(bmp));
989 bmp, sizeof(bmp))) {
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dmkntfs.c2133 u8 bmp[8]; local
2171 memset(bmp, 0, sizeof(bmp));
2172 ntfs_bit_set(bmp, 0ULL, 1);
2174 err = add_attr_bitmap(m, name, name_len, ic, bmp, sizeof(bmp));

Completed in 112 milliseconds