Searched refs:color (Results 1 - 25 of 66) sorted by relevance

123

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dcolor_cont.c48 color_content(short color, short *r, short *g, short *b) argument
52 if (color < 0 || color > COLORS || !can_change ||
56 ctp += color;
H A Dinit_color.c53 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 Dstart_col.c63 /* 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 Dcolor.c34 * 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 DMakefile34 SRCS = dpost.c draw.c color.c pictures.c ps_include.c
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dcolor.c30 * 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 Dcolor.c32 * 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 Dlogin.csh30 setenv TERM sun-color
37 setenv TERM sun-color
H A Detc-profile.sh33 TERM=sun-color
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dniagara2.c327 * 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/os/
H A Dppage.c62 * 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/i86pc/boot/
H A Dboot_vga.c85 int color; local
89 color = solaris_color_to_pc_color[bg] << 4;
90 color |= solaris_color_to_pc_color[fg];
91 return (color);
186 vga_eraseline_impl(int x, int y, int color) argument
192 val = (color << 8) | ' ';
235 vga_clear(int color) argument
240 vga_eraseline_impl(0, i, color);
276 vga_scroll(int color) argument
283 vga_eraseline_impl(0, VGA_TEXT_ROWS - 1, color);
[all...]
/illumos-gate/usr/src/cmd/lp/filter/postscript/postscript/
H A DMakefile39 color.ps \
/illumos-gate/usr/src/tools/scripts/
H A Dwdiff.pl79 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 Dbp_map.c95 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 Dnameref.sh65 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 Dcpu_module.h88 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 Dcpu_module.c91 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/common/io/qede/579xx/drivers/ecore/documentation/
H A Dstructure.tex44 \definecolor{ocre}{RGB}{243,102,25} % Define the orange color used for highlighting throughout the book
45 \definecolor{DarkGreen}{rgb}{0.0,0.4,0.0} % Comment color
46 \definecolor{highlight}{RGB}{255,251,204} % Code highlight color
50 backgroundcolor=\color{highlight}, % Set the background color for the snippet - useful for highlighting
55 commentstyle=\usefont{T1}{pcr}{m}{sl}\color{DarkGreen}, % Style of comments within the code - dark green courier font
61 keywordstyle=\color{blue}\bf, % Functions are bold and blue
65 numberstyle=\tiny\color{gray}, % Style used for line numbers
66 rulecolor=\color{black}, % Frame border color
[all...]
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dvm_dep.h95 * candidate counters in vm_pagelist.c are indexed by color and range
119 #define PAGE_FREELISTS(mnode, szc, color, mtype) \
120 (*(page_freelists[mtype][szc] + (color)))
130 #define PAGE_CACHELISTS(mnode, color, mtype) \
131 (*(page_cachelists[mtype] + (color)))
216 * color using color equivalency mask
218 #define PAGE_NEXT_PFN_FOR_COLOR(pfn, szc, color, ceq_mask, color_mask, it) \
223 ASSERT(((color) & ~(ceq_mask)) == 0); \
225 if (((spfn ^ (color))
[all...]
/illumos-gate/usr/src/common/font/
H A Dfont.c44 * color bits here. The bits shared between loader, dboot, early boot, tem.
49 /* ANSI color to sun color translation. */
74 /* 4-bit to 24-bit color translation. */
93 uint32_t color; local
98 color = ((r >> (8 - size)) & ((1 << size) - 1)) << pos;
102 color |= ((g >> (8 - size)) & ((1 << size) - 1)) << pos;
106 color |= ((b >> (8 - size)) & ((1 << size) - 1)) << pos;
108 return (color);
114 uint32_t color, cod local
[all...]
/illumos-gate/usr/src/lib/libtsol/common/
H A Dmisc.c50 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 Dlw8.h152 char color[MAX_COLOR_LEN]; member in struct:__anon9817
/illumos-gate/usr/src/uts/sun4/vm/
H A Dvm_dep.h67 * candidate counters in vm_pagelist.c are indexed by color and range
91 #define PAGE_FREELISTS(mnode, szc, color, mtype) \
92 (*(page_freelists[szc][mtype][mnode] + (color)))
94 #define PAGE_CACHELISTS(mnode, color, mtype) \
95 (*(page_cachelists[mtype][mnode] + (color)))
113 * PAGE_NEXT_PFN_FOR_COLOR() call. Iterator caches color 2 hash
114 * translations requiring initializer call if color or ceq_mask changes,
131 uint_t mi_hash_color; /* cached copy of color */
202 * cpu specific color conversion functions
252 * color usin
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dgraphics.c95 /* 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...]

Completed in 410 milliseconds

123