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

1234567

/freebsd-11-stable/stand/lua/
H A Dcolor.lua28 -- $FreeBSD: stable/11/stand/lua/color.lua 360597 2020-05-03 03:54:49Z kevans $
34 local color = {}
37 color.disabled = not color.isEnabled()
41 color.BLACK = 0
42 color.RED = 1
43 color.GREEN = 2
44 color.YELLOW = 3
45 color.BLUE = 4
46 color
[all...]
H A DMakefile6 color.lua.8 \
17 color.lua \
H A Dscreen.lua31 local color = require("color")
49 if color.disabled then
52 printc(color.escapefg(color_value))
56 if color.disabled then
59 printc(color.escapebg(color_value))
63 printc(color.default())
H A Dmenu.lua34 local color = require("color")
44 name = "Back to main menu" .. color.highlight(" [Backspace]"),
49 return str .. color.escapefg(color.GREEN) .. "On" ..
50 color.resetfg()
52 return str .. color.escapefg(color.RED) .. "off" ..
53 color.resetfg()
118 name_color = color
[all...]
/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/contrib/ncurses/ncurses/base/
H A Dlib_chgat.c51 NCURSES_PAIRS_T color,
60 (int) color));
65 toggle_attr_on(attr, ColorPair(color));
69 SetPair(line->text[i], color);
48 wchgat(WINDOW *win, int n, attr_t attr, NCURSES_PAIRS_T color, const void *opts GCC_UNUSED) argument
H A Dlib_color.c38 * Handles color emulation of SYS V curses
141 * Ensure that we use color pairs only when colors have been started, and also
170 * SVr4 curses is known to interchange color codes (1,4) and (3,6), possibly
191 CallDriver_3(SP_PARM, color, FALSE, bg, outc);
211 CallDriver_3(SP_PARM, color, TRUE, fg, outc);
255 * Reset the color pair, e.g., to whatever color pair 0 is.
275 * Reset color pairs and definitions. Actually we do both more to accommodate
277 * someone has changed the color definitions.
334 * Without ext-colors, we cannot represent more than 256 color pair
587 init_color(NCURSES_SP_DCLx NCURSES_COLOR_T color, NCURSES_COLOR_T r, NCURSES_COLOR_T g, NCURSES_COLOR_T b) argument
642 init_color(NCURSES_COLOR_T color, NCURSES_COLOR_T r, NCURSES_COLOR_T g, NCURSES_COLOR_T b) argument
704 color_content(NCURSES_SP_DCLx NCURSES_COLOR_T color, NCURSES_COLOR_T *r, NCURSES_COLOR_T *g, NCURSES_COLOR_T *b) argument
748 color_content(NCURSES_COLOR_T color, NCURSES_COLOR_T *r, NCURSES_COLOR_T *g, NCURSES_COLOR_T *b) argument
[all...]
/freebsd-11-stable/contrib/ofed/libibverbs/
H A Dmemory.c53 } color; member in struct:ibv_mem_node
169 mm_root->color = IBV_BLACK;
273 if (node->color == IBV_RED) {
274 if (node->left && node->left->color != IBV_BLACK)
276 if (node->right && node->right->color != IBV_BLACK)
289 while (node->parent && node->parent->color == IBV_RED) {
296 if (uncle && uncle->color == IBV_RED) {
297 parent->color = IBV_BLACK;
298 uncle->color = IBV_BLACK;
299 gp->color
[all...]
/freebsd-11-stable/contrib/unbound/util/
H A Drbtree.c163 while (node != rbtree->root && node->parent->color == RED) {
169 if (uncle->color == RED) {
171 node->parent->color = BLACK;
172 uncle->color = BLACK;
175 node->parent->parent->color = RED;
186 node->parent->color = BLACK;
187 node->parent->parent->color = RED;
194 if (uncle->color == RED) {
196 node->parent->color = BLACK;
197 uncle->color
[all...]
/freebsd-11-stable/contrib/ldns/
H A Drbtree.c171 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-11-stable/contrib/ofed/opensm/complib/
H A Dcl_map.c213 p_map->root.color = CL_MAP_BLACK;
219 p_map->nil.color = CL_MAP_BLACK;
303 while (p_item->p_up->color == CL_MAP_RED) {
307 if (p_grand_uncle->color == CL_MAP_RED) {
308 p_grand_uncle->color = CL_MAP_BLACK;
309 p_item->p_up->color = CL_MAP_BLACK;
310 p_item->p_up->p_up->color = CL_MAP_RED;
319 p_item->p_up->color = CL_MAP_BLACK;
320 p_item->p_up->p_up->color = CL_MAP_RED;
325 if (p_grand_uncle->color
[all...]
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_mm.h53 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 Ddrm_mm.c119 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-11-stable/sys/netgraph/
H A Dqos.h67 enum qos_color color; member in struct:m_qos_color
/freebsd-11-stable/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-11-stable/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-11-stable/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...]
/freebsd-11-stable/contrib/tcsh/
H A Dtw.color.c2 * tw.color.c: builtin color ls-F
55 Str color; member in struct:__anon38
84 VAR(NOS, "rs", "0"), /* Reset to normal color */
152 Str color; /* color string */ member in struct:__anon39
226 variables[i].color = variables[i].defaultcolor;
238 color(Char x) function
300 fg = color(*v++);
304 bg = color(*
[all...]
/freebsd-11-stable/usr.bin/clang/llvm-xray/
H A DMakefile10 SRCS+= xray-color-helper.cpp
/freebsd-11-stable/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"
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-11-stable/lib/libdpv/
H A Dstatus.c53 chtype color = dlg_color_pair(dlg_color_table[BUTTON_ACTIVE_ATTR].fg, local
92 attrset(color);

Completed in 433 milliseconds

1234567