/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...] |
H A D | start_col.c | 63 /* if not a color terminal, return error */ 68 /* we have only 6 bits to store color-pair info */ 75 if (!con.color) 88 /* the following is not required because we assume that color 0 is */ 96 /* if terminal can change the definition of the color */ 104 /* allocate color mark map for cookie terminals */ 162 /* for Tek terminals set the background color to zero */
|
/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...] |
H A D | Makefile | 34 SRCS = dpost.c draw.c color.c pictures.c ps_include.c
|
/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/nsadmin/ |
H A D | login.csh | 30 setenv TERM sun-color 37 setenv TERM sun-color
|
H A D | etc-profile.sh | 33 TERM=sun-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/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/boot/sys/boot/forth/ |
H A D | Makefile | 6 color.4th.8 \
|
/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/cmd/lp/filter/postscript/postscript/ |
H A D | Makefile | 39 color.ps \
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | wdiff.pl | 79 body { background-color: #eeeeee; } 83 .subtracted { color: brown } 84 .added { color: blue } 88 table.hidebar { border: 1px solid #ff9900; background-color: #eee; 94 .hidebar td.active-down:hover { background-color: #ffcc99; } 99 .hidebar td.active-up:hover { background-color: #ffcc99; } 106 background-color: #ccc; text-align: center } 108 .cmdbox td { background-color: #eee; border: 1px #444 outset; 110 .cmdbox td:hover { background-color: #ffcc99; 113 a:hover { background-color [all...] |
/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/lib/libshell/common/tests/ |
H A D | nameref.sh | 65 nameref color=$1 66 func2 color 71 nameref color=$1 72 set -s -- ${!color[@]} 76 typeset -A color 77 color[apple]=red 78 color[grape]=purple 79 color[banana]=yellow 80 if [[ $(func1 color) != 'apple banana grape' ]]
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | cpu_module.h | 88 void vac_flushpage(pfn_t pf, int color); 89 void vac_flushpage_tl1(uint64_t pf, uint64_t color); 90 void vac_flushcolor(int color, pfn_t pf); 91 void vac_flushcolor_tl1(uint64_t color, uint64_t dummy);
|
/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/i86pc/vm/ |
H A D | vm_dep.h | 93 * candidate counters in vm_pagelist.c are indexed by color and range 117 #define PAGE_FREELISTS(mnode, szc, color, mtype) \ 118 (*(page_freelists[mtype][szc] + (color))) 128 #define PAGE_CACHELISTS(mnode, color, mtype) \ 129 (*(page_cachelists[mtype] + (color))) 214 * color using color equivalency mask 216 #define PAGE_NEXT_PFN_FOR_COLOR(pfn, szc, color, ceq_mask, color_mask, it) \ 221 ASSERT(((color) & ~(ceq_mask)) == 0); \ 223 if (((spfn ^ (color)) [all...] |
/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/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...] |
/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/uts/sun4/vm/ |
H A D | vm_dep.h | 66 * candidate counters in vm_pagelist.c are indexed by color and range 90 #define PAGE_FREELISTS(mnode, szc, color, mtype) \ 91 (*(page_freelists[szc][mtype][mnode] + (color))) 93 #define PAGE_CACHELISTS(mnode, color, mtype) \ 94 (*(page_cachelists[mtype][mnode] + (color))) 112 * PAGE_NEXT_PFN_FOR_COLOR() call. Iterator caches color 2 hash 113 * translations requiring initializer call if color or ceq_mask changes, 130 uint_t mi_hash_color; /* cached copy of color */ 201 * cpu specific color conversion functions 251 * color usin [all...] |
/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...] |