Home
last modified time | relevance | path

Searched refs:fg (Results 1 – 3 of 3) sorted by relevance

/tools/perf/util/
Dcolor.c54 int fg = -2; in color_parse_mem() local
80 if (fg == -2) { in color_parse_mem()
81 fg = val; in color_parse_mem()
96 if (attr >= 0 || fg >= 0 || bg >= 0) { in color_parse_mem()
105 if (fg >= 0) { in color_parse_mem()
108 if (fg < 8) { in color_parse_mem()
110 *dst++ = '0' + fg; in color_parse_mem()
112 dst += sprintf(dst, "38;5;%d", fg); in color_parse_mem()
/tools/perf/ui/
Dbrowser.c476 const char *name, *fg, *bg; member
482 .fg = "red",
488 .fg = "green",
494 .fg = "default",
500 .fg = "black",
506 .fg = "blue",
512 .fg = "magenta",
518 .fg = "white",
530 char *fg = NULL, *bg; in ui_browser__color_config() local
543 fg = strdup(value); in ui_browser__color_config()
[all …]
Dlibslang.h19 #define sltt_set_color(obj, name, fg, bg) \ argument
20 SLtt_set_color(obj,(char *)(name), (char *)(fg), (char *)(bg))