/freebsd-10.2-release/contrib/groff/src/include/ |
H A D | color.h | 3 /* <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 D | printer.h | 39 #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-10.2-release/contrib/groff/src/libs/libgroff/ |
H A D | color.cpp | 3 /* <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-10.2-release/lib/libvgl/ |
H A D | simple.c | 46 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 D | vgl.h | 132 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-10.2-release/contrib/ncurses/ncurses/base/ |
H A D | lib_chgat.c | 48 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 D | lib_color.c | 37 * 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-10.2-release/contrib/tcsh/ |
H A D | tw.color.c | 1 /* $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:__anon4766 88 VAR(NOS, "rs", "0"), /* Reset to normal color */ 103 Str color; /* color string */ member in struct:__anon4767 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-10.2-release/contrib/ofed/libibverbs/src/ |
H A D | memory.c | 66 } 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-10.2-release/contrib/unbound/util/ |
H A D | rbtree.c | 162 while (node != rbtree->root && node->parent->color == RED) { 168 if (uncle->color == RED) { 170 node->parent->color = BLACK; 171 uncle->color = BLACK; 174 node->parent->parent->color = RED; 185 node->parent->color = BLACK; 186 node->parent->parent->color = RED; 193 if (uncle->color == RED) { 195 node->parent->color = BLACK; 196 uncle->color [all...] |
/freebsd-10.2-release/contrib/ldns/ |
H A D | rbtree.c | 171 while (node != rbtree->root && node->parent->color == RED) { 177 if (uncle->color == RED) { 179 node->parent->color = BLACK; 180 uncle->color = BLACK; 183 node->parent->parent->color = RED; 194 node->parent->color = BLACK; 195 node->parent->parent->color = RED; 202 if (uncle->color == RED) { 204 node->parent->color = BLACK; 205 uncle->color [all...] |
/freebsd-10.2-release/contrib/ofed/management/opensm/complib/ |
H A D | cl_map.c | 217 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-10.2-release/sys/boot/forth/ |
H A D | Makefile | 6 color.4th.8 \
|
/freebsd-10.2-release/sys/dev/drm2/ |
H A D | drm_mm.h | 53 unsigned long color; member in struct:drm_mm_node 79 void (*color_adjust)(struct drm_mm_node *node, unsigned long color, 108 unsigned long color, 114 unsigned long color, 144 unsigned long color, 148 return drm_mm_get_block_range_generic(parent, size, alignment, color, 176 unsigned long color); 181 unsigned long color, 190 unsigned long color, 196 unsigned long color, 140 drm_mm_get_color_block_range( struct drm_mm_node *parent, unsigned long size, unsigned alignment, unsigned long color, unsigned long start, unsigned long end) argument 218 drm_mm_search_free_color(const struct drm_mm *mm, unsigned long size, unsigned alignment, unsigned long color, bool best_match) argument 226 drm_mm_search_free_in_range_color( const struct drm_mm *mm, unsigned long size, unsigned alignment, unsigned long color, unsigned long start, unsigned long end, bool best_match) argument [all...] |
H A D | drm_mm.c | 119 unsigned long color) 130 mm->color_adjust(hole_node, color, &adj_start, &adj_end); 146 node->color = color; 164 unsigned long color, 173 drm_mm_insert_helper(hole_node, node, size, alignment, color); 186 unsigned long color) 191 color, 0); 195 drm_mm_insert_helper(hole_node, node, size, alignment, color); 210 unsigned long color, 116 drm_mm_insert_helper(struct drm_mm_node *hole_node, struct drm_mm_node *node, unsigned long size, unsigned alignment, unsigned long color) argument 161 drm_mm_get_block_generic(struct drm_mm_node *hole_node, unsigned long size, unsigned alignment, unsigned long color, int atomic) argument 184 drm_mm_insert_node_generic(struct drm_mm *mm, struct drm_mm_node *node, unsigned long size, unsigned alignment, unsigned long color) argument 207 drm_mm_insert_helper_range(struct drm_mm_node *hole_node, struct drm_mm_node *node, unsigned long size, unsigned alignment, unsigned long color, unsigned long start, unsigned long end) argument 259 drm_mm_get_block_range_generic(struct drm_mm_node *hole_node, unsigned long size, unsigned alignment, unsigned long color, unsigned long start, unsigned long end, int atomic) argument 285 drm_mm_insert_node_in_range_generic(struct drm_mm *mm, struct drm_mm_node *node, unsigned long size, unsigned alignment, unsigned long color, unsigned long start, unsigned long end) argument 382 drm_mm_search_free_generic(const struct drm_mm *mm, unsigned long size, unsigned alignment, unsigned long color, bool best_match) argument 424 drm_mm_search_free_in_range_generic(const struct drm_mm *mm, unsigned long size, unsigned alignment, unsigned long color, unsigned long start, unsigned long end, bool best_match) argument 498 drm_mm_init_scan(struct drm_mm *mm, unsigned long size, unsigned alignment, unsigned long color) argument 523 drm_mm_init_scan_with_range(struct drm_mm *mm, unsigned long size, unsigned alignment, unsigned long color, unsigned long start, unsigned long end) argument [all...] |
/freebsd-10.2-release/sys/dev/syscons/snake/ |
H A D | snake_saver.c | 68 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-10.2-release/contrib/groff/src/devices/grohtml/ |
H A D | html-text.h | 46 color col; 89 void do_color (color *c); 122 void push_para (color *c); 128 void issue_color_begin (color *c);
|
/freebsd-10.2-release/contrib/groff/src/roff/troff/ |
H A D | node.h | 103 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 D | env.h | 228 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-10.2-release/usr.sbin/bsdconfig/dot/ |
H A D | dot | 65 # 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" 357 shape=circle color=black fillcolor=yellow style=filled 358 begin_nodelist "$shape" "$color" "$fillcolor" "$style" 366 shape=box color=black fillcolor=lightblue style=filled 367 begin_nodelist "$shape" "$color" "$fillcolor" "$style" 377 shape=box color=black fillcolor=lightblue style=filled 378 begin_nodelist "$shape" "$color" " [all...] |
/freebsd-10.2-release/lib/libdpv/ |
H A D | status.c | 53 chtype color = dlg_color_pair(dlg_color_table[BUTTON_ACTIVE_ATTR].fg, local 92 attrset(color);
|
/freebsd-10.2-release/sys/dev/usb/misc/ |
H A D | uled.c | 239 struct uled_color color; local 252 color = *(struct uled_color *)addr; 255 sc->sc_color.red = color.red; 256 sc->sc_color.green = color.green; 257 sc->sc_color.blue = color.blue; 259 buf[0] = color.red; 260 buf[1] = color.green; 261 buf[2] = color.blue;
|
/freebsd-10.2-release/sys/sparc64/include/ |
H A D | cache.h | 52 #define DCACHE_OTHER_COLOR(color) \ 53 ((color) ^ DCACHE_COLOR_BITS)
|
/freebsd-10.2-release/sys/pc98/cbus/ |
H A D | scgdcrndr.c | 107 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-10.2-release/contrib/openpam/ |
H A D | test-driver | 46 [--expect-failure={yes|no}] [--color-tests={yes|no}] 67 --color-tests) color_tests=$2; shift;; 83 std='[m' # No color.
|