Lines Matching refs:bg
615 uint32_t fg = fg0, bg = bg0; in rasops_allocattr_color() local
618 bg >= sizeof(rasops_isgray))) in rasops_allocattr_color()
623 bg &= 7; in rasops_allocattr_color()
636 bg = WS_DEFAULT_BG; in rasops_allocattr_color()
638 bg = WSCOL_BLACK; in rasops_allocattr_color()
647 fg = bg; in rasops_allocattr_color()
648 bg = swap; in rasops_allocattr_color()
656 if (rasops_isgray[bg]) in rasops_allocattr_color()
659 *attr = (bg << 16) | (fg << 24) | flg; in rasops_allocattr_color()
669 uint32_t fg = fg0, bg = bg0; in rasops_allocattr_mono() local
675 bg = 0; in rasops_allocattr_mono()
679 fg = bg; in rasops_allocattr_mono()
680 bg = swap; in rasops_allocattr_mono()
683 *attr = (bg << 16) | (fg << 24) | flg; in rasops_allocattr_mono()
975 rasops_unpack_attr(long attr, int *fg, int *bg, int *underline) in rasops_unpack_attr() argument
979 *bg = ((uint32_t)attr >> 16) & 0xf; in rasops_unpack_attr()
992 uint32_t bg, *rp, *hp; in rasops_eraserows() local
1029 bg = ATTR_BG(ri, attr); in rasops_eraserows()
1032 rasops_memset32(rp, bg, bytes); in rasops_eraserows()
1149 uint32_t bg, *rp, *hp; in rasops_erasecols() local
1176 bg = ATTR_BG(ri, attr); in rasops_erasecols()
1179 rasops_memset32(rp, bg, num); in rasops_erasecols()