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

/haiku-fatelf/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-fatelf/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-fatelf/src/libs/pdflib/libs/pdflib/
H A Dp_bmp.c103 src->buffer_length = image->info.bmp.rowbytes_pdf;
105 pdc_calloc(p->pdc, image->info.bmp.rowbytes_pad, fn);
106 src->bytes_available = image->info.bmp.rowbytes_pdf;
118 if (image->info.bmp.compression == PDF_BMP_RGB)
123 avail = pdc_fread(src->buffer_start, 1, image->info.bmp.rowbytes_pad,
128 if (avail < image->info.bmp.rowbytes_pad)
157 if (image->info.bmp.pos < image->info.bmp.end)
159 if (image->info.bmp.skiprows)
161 for (; col < (int) image->info.bmp
[all...]
H A Dp_image.h173 pdf_bmp_info bmp; member in union:pdf_image_s::__anon4949
/haiku-fatelf/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-fatelf/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-fatelf/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-fatelf/src/servers/app/
H A DServerBitmap.h91 ServerBitmap(const ServerBitmap* bmp);
117 UtilityBitmap(const ServerBitmap* bmp);
/haiku-fatelf/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-fatelf/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-fatelf/src/system/kernel/vm/
H A DVMAnonymousCache.cpp94 radix_bitmap* bmp; member in struct:swap_file
242 "\n", file->vnode, total, file->bmp->free_slots);
245 freeSwapPages += file->bmp->free_slots;
284 addr = radix_bitmap_alloc(sSwapFileAlloc->bmp, count);
302 if (sSwapFileAlloc->bmp->free_slots
339 radix_bitmap_dealloc(swapFile->bmp, slotIndex, count);
1322 swap->bmp = radix_bitmap_create(pageCount);
1323 if (swap->bmp == NULL) {
1377 if (swapFile->bmp->free_slots < swapFile->last_slot - swapFile->first_slot)
1390 radix_bitmap_destroy(swapFile->bmp);
[all...]
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Ddir.c1035 u8 *index_end, *bmp = NULL; local
1220 bmp = ntfs_malloc(bmp_buf_size);
1221 if (!bmp)
1224 br = ntfs_attr_pread(bmp_na, bmp_pos >> 3, bmp_buf_size, bmp);
1234 while (!(bmp[bmp_buf_pos >> 3] & (1 << (bmp_buf_pos & 7)))) {
1248 br = ntfs_attr_pread(bmp_na, bmp_pos >> 3, bmp_buf_size, bmp);
1342 free(bmp);
1357 free(bmp);
H A Dattrib.h271 BITMAP_ATTR bmp; member in union:__anon2325
H A Dindex.c875 u8 bmp[8]; local
884 memset(bmp, 0, sizeof(bmp));
886 bmp, sizeof(bmp))) {
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dmkntfs.c2073 u8 bmp[8]; local
2111 memset(bmp, 0, sizeof(bmp));
2112 ntfs_bit_set(bmp, 0ULL, 1);
2114 err = add_attr_bitmap(m, name, name_len, ic, bmp, sizeof(bmp));

Completed in 201 milliseconds