Searched refs:bitmap (Results 1 - 25 of 61) sorted by relevance

123

/osnet-11/usr/src/lib/libntfs/common/include/ntfs/
H A Dbitmap.h2 * bitmap.h - Exports for bitmap handling. Part of the Linux-NTFS project.
34 * - bitmap starts at bit = 0 and ends at bit = bitmap size - 1.
36 * size of the bitmap.
41 * @bitmap: field of bits
45 * Set the bit @bit in the @bitmap to @new_value. Ignore all errors.
47 static __inline__ void ntfs_bit_set(u8 *bitmap, const u64 bit, argument
50 if (!bitmap || new_value > 1)
53 bitmap[bi
66 ntfs_bit_get(const u8 *bitmap, const u64 bit) argument
73 ntfs_bit_change(u8 *bitmap, const u64 bit) argument
89 ntfs_bit_get_and_set(u8 *bitmap, const u64 bit, const u8 new_value) argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/video/
H A Dbitmap.c20 #include <grub/bitmap.h>
28 /* List of bitmap readers registered to system. */
31 /* Register bitmap reader. */
39 /* Unregister bitmap reader. */
53 /* Creates new bitmap, saves created bitmap on success to *bitmap. */
55 grub_video_bitmap_create (struct grub_video_bitmap **bitmap, argument
62 if (!bitmap)
65 *bitmap
156 grub_video_bitmap_destroy(struct grub_video_bitmap *bitmap) argument
187 grub_video_bitmap_load(struct grub_video_bitmap **bitmap, const char *filename) argument
210 grub_video_bitmap_get_width(struct grub_video_bitmap *bitmap) argument
220 grub_video_bitmap_get_height(struct grub_video_bitmap *bitmap) argument
229 grub_video_bitmap_get_mode_info(struct grub_video_bitmap *bitmap, struct grub_video_mode_info *mode_info) argument
239 grub_video_bitmap_get_data(struct grub_video_bitmap *bitmap) argument
[all...]
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dbitmap.h32 /* Pointer to bitmap data formatted according to mode_info. */
38 /* File extension for this bitmap type (including dot). */
41 /* Reader function to load bitmap. */
42 grub_err_t (*reader) (struct grub_video_bitmap **bitmap,
53 grub_err_t EXPORT_FUNC (grub_video_bitmap_create) (struct grub_video_bitmap **bitmap,
57 grub_err_t EXPORT_FUNC (grub_video_bitmap_destroy) (struct grub_video_bitmap *bitmap);
59 grub_err_t EXPORT_FUNC (grub_video_bitmap_load) (struct grub_video_bitmap **bitmap,
62 unsigned int EXPORT_FUNC (grub_video_bitmap_get_width) (struct grub_video_bitmap *bitmap);
63 unsigned int EXPORT_FUNC (grub_video_bitmap_get_height) (struct grub_video_bitmap *bitmap);
65 void EXPORT_FUNC (grub_video_bitmap_get_mode_info) (struct grub_video_bitmap *bitmap,
[all...]
H A Dicon_manager.h24 #include <grub/bitmap.h>
H A Dfont.h49 /* Glyph bitmap width in pixels. */
52 /* Glyph bitmap height in pixels. */
55 /* Glyph bitmap x offset in pixels. Add to screen coordinate. */
58 /* Glyph bitmap y offset in pixels. Subtract from screen coordinate. */
70 grub_uint8_t bitmap[0]; member in struct:grub_font_glyph
H A Dgfxmenu_view.h77 #include <grub/bitmap.h>
H A Dxnu.h22 #include <grub/bitmap.h>
/osnet-11/usr/src/grub/grub2/grub-core/gfxmenu/
H A Dgui_image.c24 #include <grub/bitmap.h>
36 struct grub_video_bitmap *bitmap; member in struct:grub_gui_image
46 /* Free the scaled bitmap, unless it's a reference to the raw bitmap. */
47 if (self->bitmap && (self->bitmap != self->raw_bitmap))
48 grub_video_bitmap_destroy (self->bitmap);
74 if (! self->bitmap)
80 grub_video_blit_bitmap (self->bitmap, GRUB_VIDEO_BLIT_BLEND,
82 grub_video_bitmap_get_width (self->bitmap),
198 struct grub_video_bitmap *bitmap; local
[all...]
H A Dicon_manager.c25 #include <grub/bitmap.h>
37 struct grub_video_bitmap *bitmap; member in struct:icon_entry
67 mgr->cache.bitmap = 0;
96 grub_video_bitmap_destroy (cur->bitmap);
135 bitmap if it was successful. */
183 bitmap is returned. If it is not cached, then it is loaded and cached.
193 return entry->bitmap;
236 entry->bitmap = icon;
239 return entry->bitmap;
H A Dwidget-box.c25 #include <grub/bitmap.h>
48 get_height (struct grub_video_bitmap *bitmap) argument
50 if (bitmap)
51 return grub_video_bitmap_get_height (bitmap);
57 get_width (struct grub_video_bitmap *bitmap) argument
59 if (bitmap)
60 return grub_video_bitmap_get_width (bitmap);
68 struct grub_video_bitmap *bitmap; local
69 bitmap = self->scaled_pixmaps[pixmap_index];
70 if (! bitmap)
[all...]
H A Dfont.c28 #include <grub/bitmap.h>
H A Dgui_circular_progress.c77 struct grub_video_bitmap *bitmap; local
91 grub_video_bitmap_load (&bitmap, abspath);
95 return bitmap;
H A Dgfxmenu.c28 #include <grub/bitmap.h>
/osnet-11/usr/src/grub/grub2/grub-core/video/readers/
H A Dtga.c19 #include <grub/bitmap.h>
81 tga_load_truecolor_rle_R8G8B8 (struct grub_video_bitmap *bitmap, argument
96 ptr = bitmap->data;
98 ptr += y * bitmap->mode_info.pitch;
100 ptr += (header->image_height - 1 - y) * bitmap->mode_info.pitch;
160 tga_load_truecolor_rle_R8G8B8A8 (struct grub_video_bitmap *bitmap, argument
175 ptr = bitmap->data;
177 ptr += y * bitmap->mode_info.pitch;
179 ptr += (header->image_height - 1 - y) * bitmap->mode_info.pitch;
241 tga_load_truecolor_R8G8B8 (struct grub_video_bitmap *bitmap, argument
278 tga_load_truecolor_R8G8B8A8(struct grub_video_bitmap *bitmap, struct grub_tga_header *header, grub_file_t file) argument
316 grub_video_reader_tga(struct grub_video_bitmap **bitmap, const char *filename) argument
461 struct grub_video_bitmap *bitmap = 0; local
[all...]
H A Dpng.c19 #include <grub/bitmap.h>
91 struct grub_video_bitmap **bitmap; member in struct:grub_png_data
237 if (grub_video_bitmap_create (data->bitmap, data->image_width,
245 if (grub_video_bitmap_create (data->bitmap, data->image_width,
269 data->cur_rgb = (*data->bitmap)->data;
774 d1 = (*data->bitmap)->data;
840 grub_video_reader_png (struct grub_video_bitmap **bitmap, argument
854 data->bitmap = bitmap;
864 grub_video_bitmap_destroy (*bitmap);
877 struct grub_video_bitmap *bitmap = 0; local
[all...]
H A Djpeg.c19 #include <grub/bitmap.h>
77 struct grub_video_bitmap **bitmap; member in struct:grub_jpeg_data
584 if (grub_video_bitmap_create (data->bitmap, data->image_width,
589 data->bitmap_ptr = (*data->bitmap)->data;
733 grub_video_reader_jpeg (struct grub_video_bitmap **bitmap, argument
749 data->bitmap = bitmap;
760 grub_video_bitmap_destroy (*bitmap);
761 *bitmap = 0;
773 struct grub_video_bitmap *bitmap local
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Opcode/
H A DOpcode.xs28 static void set_opset_bits (pTHX_ char *bitmap, SV *bitspec, int on, char *opname);
47 char *bitmap;
62 bitmap = SvPV(opset_all, len);
65 bitmap[i] = (char)0xFF;
67 bitmap[len-1] = (PL_maxo & 0x07) ? ~(0xFF << (PL_maxo & 0x07)) : 0xFF;
163 set_opset_bits(pTHX_ char *bitmap, SV *bitspec, int on, char *opname)
177 bitmap[offset] |= 1 << bit;
179 bitmap[offset] &= ~(1 << bit);
188 while(len-- > 0) bitmap[len] |= specbits[len];
190 while(len-- > 0) bitmap[le
[all...]
/osnet-11/usr/src/cmd/sendmail/db/lock/
H A Dlock_deadlock.c69 u_int32_t *bitmap, *deadlock, i, killid, nentries, nlockers; local
91 /* Build the waits-for bitmap. */
92 if ((ret = __dd_build(dbenv, &bitmap, &nlockers, &idmap)) != 0)
99 __dd_debug(dbenv, idmap, bitmap, nlockers);
102 deadlock = __dd_find(bitmap, idmap, nlockers);
139 killid = (deadlock - bitmap) / nentries;
181 __os_free(bitmap, 0);
202 u_int32_t *bitmap, count, *entryp, i, id, nentries, *tmpmap; local
229 * Allocate enough space for a count by count bitmap matrix.
236 sizeof(u_int32_t) * nentries, &bitmap)) !
[all...]
/osnet-11/usr/src/grub/grub2/util/
H A Dgrub-mkfont.c63 grub_uint8_t *bitmap; member in struct:grub_glyph_info
107 {"no-bitmap", no_argument, 0, 0x100},
142 --no-bitmap ignore bitmap strikes when loading\n\
219 for (cuttop = 0; cuttop < glyph->bitmap.rows; cuttop++)
221 for (j = 0; j < glyph->bitmap.width; j++)
222 if (glyph->bitmap.buffer[j / 8 + cuttop * glyph->bitmap.pitch]
225 if (j != glyph->bitmap.width)
229 for (cutbottom = glyph->bitmap
741 grub_uint8_t *bitmap, mask; local
[all...]
/osnet-11/usr/src/lib/brand/solaris10/s10_support/
H A Ds10_support.c305 * Determine which features/behaviors should be emulated and construct a bitmap
306 * representing the results. Associate the bitmap with the zone so that
307 * the brand's emulation library will be able to retrieve the bitmap and
319 s10_emul_bitmap_t bitmap; local
327 * most basic emulation and, therefore, doesn't need a bitmap.
337 bzero(bitmap, sizeof (bitmap));
372 * Set the feature's flag in the bitmap.
374 bitmap[(bit_index >> 3)] |= (1 << (bit_index & 0x7));
428 * the emulation bitmap
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/term/
H A Dgfxterm.c29 #include <grub/bitmap.h>
127 static struct grub_video_bitmap *bitmap; variable in typeref:struct:grub_video_bitmap
430 if (bitmap)
432 /* Render bitmap as background. */
433 grub_video_blit_bitmap (bitmap, GRUB_VIDEO_BLIT_REPLACE, x, y,
437 /* If bitmap is smaller than requested blit area, use background
441 /* Fill right side of the bitmap if needed. */
462 /* Fill bottom side of the bitmap if needed. */
704 /* If we have bitmap, re-draw screen, otherwise scroll physical screen too. */
705 if (bitmap)
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/loader/i386/
H A Dxnu.c855 struct grub_video_bitmap *bitmap = NULL; local
886 err = grub_video_bitmap_create_scaled (&bitmap,
892 bitmap = grub_xnu_bitmap;
895 if (bitmap)
898 err = grub_video_bitmap_create_scaled (&bitmap,
904 bitmap = grub_xnu_bitmap;
907 if (bitmap)
911 x = mode_info.width - bitmap->mode_info.width;
913 y = mode_info.height - bitmap->mode_info.height;
915 err = grub_video_blit_bitmap (bitmap,
[all...]
/osnet-11/usr/src/lib/libntfs/
H A DMakefile.com36 $(LIBNTFSDIR)/bitmap.o \
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_regset.c30 #include <sys/bitmap.h>
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dregcomp.h105 char bitmap[ANYOF_BITMAP_SIZE]; /* only compile-time */ member in struct:regnode_charclass
113 char bitmap[ANYOF_BITMAP_SIZE]; /* both compile-time */ member in struct:regnode_charclass_class
273 /* Utility macros for the bitmap and classes of ANYOF */
288 #define ANYOF_BITMAP_ZERO(ret) Zero(((struct regnode_charclass*)(ret))->bitmap, ANYOF_BITMAP_SIZE, char)
290 #define ANYOF_BITMAP(p) (((struct regnode_charclass*)(p))->bitmap)

Completed in 137 milliseconds

123