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

/illumos-gate/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...]
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dniagara2.c343 * This will reduce the number of colors.
361 * This will increase the number of colors to match N2.
676 * which effectively reduces the number of colors available per mnode.
714 * group colorequiv colors on N2 by low order bits of the color first
730 uint_t colors; local
733 if ((colors = hw_page_array[i].hp_colors) <= 1)
735 while ((colors >> a) == 0)
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dgraphics.c160 * its new colors; if not, set them to the background color.
363 * Format of splashscreen is an XPM (can be gzipped) with up to 15 colors and
370 unsigned i, len, idx, colors, x, y, width, height; local
421 colors = c - '0';
424 colors = colors * 10 + c - '0';
444 for (i = 0, idx = 1; i < colors; i++) {
485 colors = idx - 1; /* actual number of colors used in XPM image */
512 * if no colors wer
[all...]
/illumos-gate/usr/src/uts/sun4/vm/
H A Dvm_dep.c932 uint_t colors; local
961 /* initialize number of colors per page size */
985 if ((colors = hw_page_array[i].hp_colors) <= 1) {
988 while ((colors >> a) == 0)
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_pagelist.c82 * number of page colors equivalent to reqested color in page_get routines.
252 * allocated dynamically based upon the number of colors for a given
553 * We need to determine how many page colors there are for each
651 * We need to determine how many page colors there are for each
981 * We need to determine how many page colors there are for each
2754 uint_t nszc, ceq_mask, colors; local
2758 colors = PAGE_GET_PAGECOLORS(szc);
2760 plw->plw_colors = colors;
2761 plw->plw_color_mask = colors - 1;
2774 * calculate the number of non-equivalent colors an
3428 uint_t colors, ceq_mask; local
4446 uint_t colors; local
[all...]
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dvm_machdep.c1638 int szc, colors; local
1642 colors = page_get_pagecolors(szc);
1643 ctrs_sz += mnoderangecnt * sizeof (pgcnt_t) * colors;
1653 int mt, szc, colors; local
1659 colors = page_get_pagecolors(szc);
1660 mnoderanges[mt].mnr_mts[szc].mnr_mts_colors = colors;
1663 addr += (sizeof (pgcnt_t) * colors);
1720 int colors; local
1780 /* initialize number of colors per page size */
1802 if ((colors
1879 int colors; local
[all...]

Completed in 62 milliseconds