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

12345

/freebsd-9.3-release/contrib/groff/src/include/
H A Dcolor.h3 /* <groff_src_dir>/src/include/color.h
31 class color { class
35 color *next;
36 static color *free_list;
44 color(symbol s = default_symbol) : scheme(DEFAULT), nm(s) {} function in class:color
45 color(const color * const);
46 ~color();
50 int operator==(const color & c) const;
51 int operator!=(const color
[all...]
H A Dprinter.h39 #include "color.h"
48 color *col;
49 color *fill;
76 // perform change of line color (text, outline) in the print-out
78 // perform change of fill color in the print-out
/freebsd-9.3-release/contrib/groff/src/libs/libgroff/
H A Dcolor.cpp3 /* <groff_src_dir>/src/libs/libgroff/color.cpp
27 #include "color.h"
49 color *color::free_list = 0;
51 void *color::operator new(size_t n)
53 assert(n == sizeof(color));
56 free_list = (color *)new char[sizeof(color)*BLOCK];
61 color *p = free_list;
62 free_list = (color *)(free_lis
75 color::color(const color * const c) function in class:color
[all...]
/freebsd-9.3-release/lib/libvgl/
H A Dsimple.c46 color2mem(u_long color, byte *b, int len) argument
50 b[3] = (color >> 24) & 0xff;
53 b[2] = (color >> 16) & 0xff;
56 b[1] = (color >> 8) & 0xff;
60 b[0] = color & 0xff;
70 u_long color = 0; local
74 color |= (b[3] & 0xff) << 24;
77 color |= (b[2] & 0xff) << 16;
80 color |= (b[1] & 0xff) << 8;
84 color |
92 VGLSetXY(VGLBitmap *object, int x, int y, u_long color) argument
210 plot(VGLBitmap * object, int x, int y, int flag, byte color) argument
221 VGLLine(VGLBitmap *object, int x1, int y1, int x2, int y2, u_long color) argument
405 VGLBox(VGLBitmap *object, int x1, int y1, int x2, int y2, u_long color) argument
414 VGLFilledBox(VGLBitmap *object, int x1, int y1, int x2, int y2, u_long color) argument
422 set4pixels(VGLBitmap *object, int x, int y, int xc, int yc, u_long color) argument
440 VGLEllipse(VGLBitmap *object, int xc, int yc, int a, int b, u_long color) argument
463 set2lines(VGLBitmap *object, int x, int y, int xc, int yc, u_long color) argument
476 VGLFilledEllipse(VGLBitmap *object, int xc, int yc, int a, int b, u_long color) argument
499 VGLClear(VGLBitmap *object, u_long color) argument
640 VGLSetPaletteIndex(byte color, byte red, byte green, byte blue) argument
655 VGLSetBorder(byte color) argument
[all...]
H A Dvgl.h132 int VGLMouseFreeze(int x, int y, int width, int hight, byte color);
135 void VGLSetXY(VGLBitmap *object, int x, int y, u_long color);
137 void VGLLine(VGLBitmap *object, int x1, int y1, int x2, int y2, u_long color);
138 void VGLBox(VGLBitmap *object, int x1, int y1, int x2, int y2, u_long color);
139 void VGLFilledBox(VGLBitmap *object, int x1, int y1, int x2, int y2, u_long color);
140 void VGLEllipse(VGLBitmap *object, int xc, int yc, int a, int b, u_long color);
141 void VGLFilledEllipse(VGLBitmap *object, int xc, int yc, int a, int b, u_long color);
142 void VGLClear(VGLBitmap *object, u_long color);
146 void VGLSetPaletteIndex(byte color, byte red, byte green, byte blue);
147 void VGLSetBorder(byte color);
[all...]
/freebsd-9.3-release/contrib/ncurses/ncurses/base/
H A Dlib_chgat.c48 wchgat(WINDOW *win, int n, attr_t attr, short color, const void *opts GCC_UNUSED) argument
52 T((T_CALLED("wchgat(%p,%d,%s,%d)"), win, n, _traceattr(attr), color));
57 toggle_attr_on(attr, COLOR_PAIR(color));
61 SetPair(line->text[i], color);
H A Dlib_color.c37 * Handles color emulation of SYS V curses
133 * SVr4 curses is known to interchange color codes (1,4) and (3,6), possibly
200 * Reset the color pair, e.g., to whatever color pair 0 is.
216 * Reset color pairs and definitions. Actually we do both more to accommodate
218 * someone has changed the color definitions.
272 T(("started color: COLORS = %d, COLOR_PAIRS = %d",
327 * Extension (1997/1/18) - Allow negative f/b values to set default color
410 init_color(short color, short r, short g, short b) argument
414 T((T_CALLED("init_color(%d,%d,%d,%d)"), color,
466 color_content(short color, short *r, short *g, short *b) argument
[all...]
/freebsd-9.3-release/contrib/tcsh/
H A Dtw.color.c1 /* $Header: /p/tcsh/cvsroot/tcsh/tw.color.c,v 1.27 2010/08/19 05:52:19 christos Exp $ */
3 * tw.color.c: builtin color ls-F
35 RCSID("$tcsh: tw.color.c,v 1.27 2010/08/19 05:52:19 christos Exp $")
59 Str color; member in struct:__anon4211
88 VAR(NOS, "rs", "0"), /* Reset to normal color */
103 Str color; /* color string */ member in struct:__anon4212
189 variables[i].color = variables[i].defaultcolor;
226 case '*': /* :*ext=color
267 put_color(const Str *color) argument
289 Str *color = &variables[VFile].color; local
[all...]
/freebsd-9.3-release/contrib/ofed/libibverbs/src/
H A Dmemory.c66 } color; member in struct:ibv_mem_node
115 mm_root->color = IBV_BLACK;
218 if (node->color == IBV_RED) {
219 if (node->left && node->left->color != IBV_BLACK)
221 if (node->right && node->right->color != IBV_BLACK)
233 while (node->parent && node->parent->color == IBV_RED) {
240 if (uncle && uncle->color == IBV_RED) {
241 parent->color = IBV_BLACK;
242 uncle->color = IBV_BLACK;
243 gp->color
[all...]
/freebsd-9.3-release/contrib/ofed/management/opensm/complib/
H A Dcl_map.c217 p_map->root.color = CL_MAP_BLACK;
223 p_map->nil.color = CL_MAP_BLACK;
308 while (p_item->p_up->color == CL_MAP_RED) {
312 if (p_grand_uncle->color == CL_MAP_RED) {
313 p_grand_uncle->color = CL_MAP_BLACK;
314 p_item->p_up->color = CL_MAP_BLACK;
315 p_item->p_up->p_up->color = CL_MAP_RED;
324 p_item->p_up->color = CL_MAP_BLACK;
325 p_item->p_up->p_up->color = CL_MAP_RED;
330 if (p_grand_uncle->color
[all...]
/freebsd-9.3-release/sys/dev/syscons/snake/
H A Dsnake_saver.c68 int f, color, load; local
119 color = FG_LIGHTGREY | BG_BLACK;
121 color = FG_LIGHTGREEN | BG_BLACK;
123 color = FG_YELLOW | BG_BLACK;
125 color = FG_LIGHTRED | BG_BLACK;
127 color = FG_RED | FG_BLINK | BG_BLACK;
129 color = FG_LIGHTGREY | BG_BLACK;
133 color << 8);
/freebsd-9.3-release/contrib/groff/src/devices/grohtml/
H A Dhtml-text.h46 color col;
89 void do_color (color *c);
122 void push_para (color *c);
128 void issue_color_begin (color *c);
/freebsd-9.3-release/contrib/groff/src/roff/troff/
H A Dnode.h103 virtual color *get_glyph_color();
104 virtual color *get_fill_color();
174 color *col; /* for grotty */
175 space_node(hunits, int, int, color *, statem *, int, node * = 0);
177 space_node(hunits, color *, statem *, int, node * = 0);
178 space_node(hunits, color *, node * = 0);
216 word_space_node(hunits, int, color *, width_list *, int, statem *, int,
219 word_space_node(hunits, color *, width_list *, node * = 0);
234 unbreakable_space_node(hunits, int, color *, statem *, int, node * = 0);
236 unbreakable_space_node(hunits, color *, nod
[all...]
H A Denv.h228 color *glyph_color;
229 color *prev_glyph_color;
230 color *fill_color;
231 color *prev_fill_color;
316 color *get_fill_color();
317 color *get_glyph_color();
318 color *get_prev_glyph_color();
319 color *get_prev_fill_color();
320 void set_glyph_color(color *c);
321 void set_fill_color(color *
[all...]
/freebsd-9.3-release/usr.sbin/bsdconfig/dot/
H A Ddot65 # begin_nodelist $shape $color $fillcolor $style
72 local shape="$1" color="$2" fillcolor="$3" style="$4"
77 [ "$color" ] &&
78 printf '\t\tcolor = "%s",\n' "$color"
362 shape=circle color=black fillcolor=yellow style=filled
363 begin_nodelist "$shape" "$color" "$fillcolor" "$style"
371 shape=box color=black fillcolor=lightblue style=filled
372 begin_nodelist "$shape" "$color" "$fillcolor" "$style"
382 shape=box color=black fillcolor=lightblue style=filled
383 begin_nodelist "$shape" "$color" "
[all...]
/freebsd-9.3-release/sys/ia64/ia64/
H A Duma_machdep.c44 static vm_pindex_t color; local
58 m = vm_page_alloc(NULL, color++, pflags | VM_ALLOC_NOOBJ);
/freebsd-9.3-release/sys/mips/mips/
H A Duma_machdep.c45 static vm_pindex_t color; local
59 m = pmap_alloc_direct_page(color++, pflags);
/freebsd-9.3-release/sys/sparc64/include/
H A Dcache.h52 #define DCACHE_OTHER_COLOR(color) \
53 ((color) ^ DCACHE_COLOR_BITS)
/freebsd-9.3-release/sys/dev/vt/hw/fb/
H A Dvt_fb.c49 int fill, term_color_t color);
50 void vt_fb_setpixel(struct vt_device *vd, int x, int y, term_color_t color);
92 vt_fb_setpixel(struct vt_device *vd, int x, int y, term_color_t color) argument
99 c = info->fb_cmap[color];
126 term_color_t color)
133 vt_fb_setpixel(vd, x, y, color);
135 vt_fb_setpixel(vd, x1, y, color);
136 vt_fb_setpixel(vd, x2, y, color);
142 vt_fb_blank(struct vt_device *vd, term_color_t color) argument
149 c = info->fb_cmap[color];
125 vt_fb_drawrect(struct vt_device *vd, int x1, int y1, int x2, int y2, int fill, term_color_t color) argument
[all...]
/freebsd-9.3-release/sys/pc98/cbus/
H A Dscgdcrndr.c107 gdc_txtborder(scr_stat *scp, int color) argument
109 vidd_set_border(scp->sc->adp, color);
203 gdc_grborder(scr_stat *scp, int color) argument
205 vidd_set_border(scp->sc->adp, color);
/freebsd-9.3-release/contrib/openpam/
H A Dtest-driver46 [--expect-failure={yes|no}] [--color-tests={yes|no}]
67 --color-tests) color_tests=$2; shift;;
83 std='' # No color.
/freebsd-9.3-release/sys/powerpc/aim/
H A Duma_machdep.c54 static vm_pindex_t color; local
68 m = vm_page_alloc(NULL, color++, pflags | VM_ALLOC_NOOBJ);
/freebsd-9.3-release/contrib/gcc/
H A Dgraph.c131 fprintf (fp, "node: {\n title: \"%s.%d\"\n color: %s\n \
172 const char * color; local
176 color = "";
178 color = "color: red ";
180 color = "color: blue ";
182 color = "color: green ";
186 current_function_name (), to, color);
[all...]
/freebsd-9.3-release/usr.sbin/vidcontrol/
H A Dvidcontrol.c185 "usage: vidcontrol [-CdHLPpx] [-b color] [-c appearance] [-f [size] file]",
690 * Return the number for a specified color name.
694 get_color_number(char *color) argument
699 if (!strcmp(color, legal_colors[i]))
713 int color; local
715 if (*_index < argc && (color = get_color_number(argv[*_index])) != -1) {
717 fprintf(stderr, "\033[=%dF", color);
718 normal_fore_color=color;
721 && (color = get_color_number(argv[*_index])) != -1
722 && color <
738 int color; local
802 int color; local
[all...]
/freebsd-9.3-release/sys/dev/vt/hw/ofwfb/
H A Dofwfb.c78 ofwfb_blank(struct vt_device *vd, term_color_t color) argument
87 c = (color << 24) | (color << 16) | (color << 8) | color;
92 c = sc->sc_colormap[color];
172 * Set up the color map
181 OF_call_method("color!", ih, 4, 1,
209 panic("Unknown color space depth %d", sc->sc_depth);

Completed in 290 milliseconds

12345