Searched defs:colors (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/kern/
H A Dvga_init.c26 static struct {grub_uint8_t r, g, b, a; } colors[] = variable in typeref:struct:__anon485
86 for (i = 0; i < ARRAY_SIZE (colors); i++)
87 grub_vga_palette_write (i, colors[i].r, colors[i].g, colors[i].b);
/osnet-11/usr/src/lib/libcurses/screen/
H A Dscr_reset.c187 int colors, color_pairs; local
191 /* if the new terminal doesn't support colors, or it supports */
192 /* less colors (or color_pairs) than the old terminal, or */
199 if ((fread((char *) &colors, sizeof (int), 1, filep) != 1) ||
206 colors > max_colors || color_pairs > max_pairs) {
207 if (fseek(filep, (long) (colors * sizeof (_Color) +
213 /* if both old and new terminals could modify colors, read in */
221 malloc(colors *
226 colors, filep) != colors)
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/term/ieee1275/
H A Dofconsole.c41 /* Use serial colors as they are default on most firmwares and some firmwares
43 static struct color colors[] = variable in typeref:struct:color
159 /* Initialize colors. */
163 for (col = 0; col < ARRAY_SIZE (colors); col++)
164 grub_ieee1275_set_color (stdout_ihandle, col, colors[col].red,
165 colors[col].green, colors[col].blue);
167 /* Set the right fg and bg colors. */
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dgraphics.c161 * its new colors; if not, set them to the background color.
364 * Format of splashscreen is an XPM (can be gzipped) with up to 15 colors and
371 unsigned i, len, idx, colors, x, y, width, height; local
423 colors = c - '0';
426 colors = colors * 10 + c - '0';
446 for (i = 0, idx = 1; i < colors; i++) {
487 colors = idx - 1; /* actual number of colors used in XPM image */
514 * if no colors wer
[all...]

Completed in 17 milliseconds