/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | color_cont.c | 48 color_content(short color, short *r, short *g, short *b) argument 52 if (color < 0 || color > COLORS || !can_change || 56 ctp += color;
|
H A D | init_color.c | 53 init_color(short color, short r, short g, short b) argument 55 _Color *ctp = cur_term->_color_tbl; /* color table pointer */ 57 /* check if terminal can change color and validity of the */ 60 if (!can_change || color >= COLORS || color < 0) 76 /* if new color is exactly the same as the old one, return */ 78 if (ctp[color].r == r && ctp[color].g == g && ctp[color].b == b) 81 /* update color tabl [all...] |
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | color.c | 30 * color.c 40 static char rcsID[] = "$Header: /rd/src/libc/xcurses/rcs/color.c 1.2 1995/10/02 15:15:02 ant Exp $"; 86 init_color(short color, short r, short g, short b) argument 91 __m_trace("init_color(%d, %d, %d, %d)", color, r, g, b); 94 if (!can_change || color < 0 || max_colors <= color 100 /* Remember color settings for future queries. */ 101 cur_term->_color[color][0] = r; 102 cur_term->_color[color][1] = g; 103 cur_term->_color[color][ 161 color_content(short color, short *r, short *g, short *b) argument [all...] |
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | color.c | 32 * color.c 44 "libxcurses/src/libc/xcurses/rcs/color.c 1.6 1998/05/28 17:10:14 " 95 init_color(short color, short r, short g, short b) argument 99 if (!can_change || color < 0 || max_colors <= color || 105 /* Remember color settings for future queries. */ 106 cur_term->_color[color][0] = r; 107 cur_term->_color[color][1] = g; 108 cur_term->_color[color][2] = b; 112 /* Set the color 154 color_content(short color, short *r, short *g, short *b) argument [all...] |
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/ |
H A D | color.c | 34 * Routines that handle color requests passed through as device control commands 39 * mark /color setcolor mark 42 * Called whenever we want to change PostScript's current color graphics 43 * state parameter. One or two color arguments can be given. In each case 47 * Unknown colors are mapped into defaults - black for a single color and 54 * Fills a box that extends from leftx to rightx with the background color 58 * there's an explicit color change. In otherwords font or size changes 78 * x X SetColor:color selects color 81 * x X SetColor:num1 num2 num3 rgb explicit rgb color reques 116 char color[50] = DEFAULTCOLOR; /* current color */ variable [all...] |
/illumos-gate/usr/src/uts/i86pc/boot/ |
H A D | boot_vga.c | 107 vga_clear(int color) argument 112 val = (color << 8) | ' '; 120 vga_drawc(int c, int color) argument 126 VGA_SCREEN[row*VGA_TEXT_COLS + col] = (color << 8) | c; 130 vga_scroll(int color) argument 135 val = (color << 8) | ' ';
|
/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | misc.c | 50 static char color[MAXCOLOR]; variable 324 * bltocolor - get ASCII color name of label. 326 * Entry label = Sensitivity Level of color to get. 328 * color_name = Storage for ASCII color name string to be returned. 333 * invalid label, no color for this label). 334 * Address of color_name parameter containing ASCII color name 354 (strlen(cret.color) >= size)) { 362 colorp = strcpy(color_name, cret.color); 373 * bltocolor - get ASCII color name of label. 375 * Entry label = Sensitivity Level of color t [all...] |
H A D | labeld.h | 166 char color[BUFSIZE]; member in struct:__anon4151
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | bp_map.c | 95 int color; local 127 color = bp_color(bp); 128 ASSERT(color < bp_align); 132 P2ROUNDUP(color + size, bp_align), flag); 135 kaddr += color; 137 kaddr = vmem_xalloc(heap_arena, size, bp_align, color, 143 ASSERT(P2PHASE((uintptr_t)kaddr, bp_align) == color); 206 uintptr_t color; local 238 color = P2PHASE(base, bp_align); 239 vmem_free(bp_map_arena, (void *)(base - color), [all...] |
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | ppage.c | 62 * depending on its virtual color. 63 * When trying to assign a virtual address we will find out the color for the 65 * available virtual page from the set of the appropiate color. 68 #define clsettoarray(color, set) ((color * nsets) + set) 99 int color, nset, setsize; local 125 for (color = 0; color < ppmap_pages; color++) { 127 ppmap_vaddrs[clsettoarray(color, nse 158 int color, nset, index, start; local 224 int color, nset, index; local [all...] |
/illumos-gate/usr/src/uts/sparc/v9/vm/ |
H A D | seg_nf.c | 183 int i, color; local 192 * Need a page per virtual color or just 1 if no vac. 231 color = addr_to_vcolor(seg->s_base); 234 hat_memload(as->a_hat, seg->s_base, nfpp[color],
|
/illumos-gate/usr/src/uts/sun4u/starfire/os/ |
H A D | starfire.c | 271 uint32_t idx, idy, size, color, max_color, lbn; local 286 /* for each color */ 287 for (color = 0; color < max_color; color++) { 299 color, mtype); 305 pcm = PC_BIN_MUTEX(mnode, color, PG_FREE_LIST); 359 (void) random_idx(-color);
|
/illumos-gate/usr/src/uts/sun4v/cpu/ |
H A D | niagara2.c | 327 * the color, since they are fixed. Either bit 30, or 31:30 in 342 * Remove node id bits from color bits 32:28. 347 n2_hash2color(uint_t color, uchar_t szc) argument 352 color = ((color >> m.nnbits) & ~m.lomask) | (color & m.lomask); 353 ASSERT((color & ~(hw_page_array[szc].hp_colors - 1)) == 0); 356 return (color); 360 * Restore node id bits into page color. 365 n2_color2hash(uint_t color, uchar_ argument 388 uint_t color; local 412 uint_t color; local 444 page_get_nsz_color_cpu(uchar_t szc, uint_t color) argument 469 uint_t color; local 484 page_next_pfn_for_color_cpu(pfn_t pfn, uchar_t szc, uint_t color, uint_t ceq_mask, uint_t color_mask, void *cookie) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/lw8/sys/ |
H A D | lw8.h | 152 char color[MAX_COLOR_LEN]; member in struct:__anon9820
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | graphics.c | 95 /* color state */ 145 int image_read, index, color; local 156 * Set VGA palette color 0 to be the system background color, 15 to be the 157 * system foreground color, and 17 to be the system border color. 160 * its new colors; if not, set them to the background color. 167 color = (image_read ? splash_palette[index] : background); 168 graphics_set_palette(index, PALETTE_RED(color), 169 PALETTE_GREEN(color), PALETTE_BLU [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/ |
H A D | psvc_objects_class.h | 112 char color[32]; member in struct:__anon1176 226 "Led-color", /* 12 */
|
/illumos-gate/usr/src/uts/sun4/cpu/ |
H A D | cpu_module.c | 91 vac_flushpage(pfn_t pf, int color) argument 96 vac_flushpage_tl1(uint64_t pf, uint64_t color) argument 101 vac_flushcolor(int color, pfn_t pf) argument 106 vac_flushcolor_tl1(uint64_t color, uint64_t dummy) argument
|
/illumos-gate/usr/src/uts/sun4u/lw8/io/ |
H A D | lw8.c | 167 char color[MAX_COLOR_LEN]; member in struct:led_info 1056 (void) strncpy(get_ledp->color, lip->color,
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | seg_map.c | 452 * Allocate the per color indices that distribute allocation 1237 * the next list of the same color. 1247 * Tried all freelists of the same color once, 1587 * the vac color on the freelist. 1613 int color, hashid; local 1760 * On a VAC machine- pick color by offset in the file 1762 * On data files, color does not matter but we 1764 * pick color by offset. This causes color 1768 color [all...] |
/illumos-gate/usr/src/uts/common/sys/usb/clients/video/usbvc/ |
H A D | usbvc_var.h | 88 * descriptors, one still image descriptor and one color matching descriptor. 103 usbvc_color_matching_descr_t *color; member in struct:usbvc_format_group
|
/illumos-gate/usr/src/uts/sun4/vm/ |
H A D | vm_dep.c | 794 * one cachelist per color, node, and type 801 * one freelist per size, color, node, and type 974 * The value of cpu_page_colors determines if additional color bins 975 * need to be checked for a particular color in the page_get routines. 992 /* higher 4 bits encodes color equiv mask */ 997 /* do cpu specific color initialization */ 1006 int color = -1; local 1010 color = sfmmu_get_ppvcolor(bp->b_pages); 1012 color = sfmmu_get_addrvcolor(bp->b_un.b_addr); 1015 return (color < [all...] |
/illumos-gate/usr/src/uts/intel/io/drm/ |
H A D | radeon_state.c | 760 u32 color; local 768 color = (((r & 0xf8) << 8) | 773 color = (((0xfful) << 24) | (r << 16) | (g << 8) | b); 798 OUT_RING(color); 3386 DRM_DEBUG("color tiling disabled\n"); 3391 DRM_DEBUG("color tiling enabled\n");
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/ |
H A D | picldiag.c | 3002 char *color; local 3033 err = picldiag_get_string_propval(ledh, PICL_PROP_COLOR, &color); 3039 log_printf("%-16s\n", color); 3040 free(color);
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/lw8/common/ |
H A D | lw8.c | 2982 char *color; local 3013 err = picldiag_get_string_propval(ledh, PICL_PROP_COLOR, &color); 3019 log_printf("%-16s\n", color); 3020 free(color);
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/schumacher/common/ |
H A D | schumacher.c | 2592 char *color; local 2623 err = picldiag_get_string_propval(ledh, PICL_PROP_COLOR, &color); 2629 log_printf("%-16s\n", color); 2630 free(color);
|