Lines Matching refs:flg
613 rasops_allocattr_color(void *cookie, int fg0, int bg0, int flg, long *attr) in rasops_allocattr_color() argument
626 if ((flg & WSATTR_BLINK) != 0) in rasops_allocattr_color()
629 if ((flg & WSATTR_WSCOLORS) == 0) { in rasops_allocattr_color()
642 if ((flg & WSATTR_HILIT) != 0 && fg < 8) in rasops_allocattr_color()
645 if ((flg & WSATTR_REVERSE) != 0) { in rasops_allocattr_color()
651 flg &= WSATTR_USERMASK; in rasops_allocattr_color()
654 flg |= WSATTR_PRIVATE1; in rasops_allocattr_color()
657 flg |= WSATTR_PRIVATE2; in rasops_allocattr_color()
659 *attr = (bg << 16) | (fg << 24) | flg; in rasops_allocattr_color()
667 rasops_allocattr_mono(void *cookie, int fg0, int bg0, int flg, long *attr) in rasops_allocattr_mono() argument
671 if ((flg & (WSATTR_BLINK | WSATTR_HILIT | WSATTR_WSCOLORS)) != 0) in rasops_allocattr_mono()
677 if ((flg & WSATTR_REVERSE) != 0) { in rasops_allocattr_mono()
683 *attr = (bg << 16) | (fg << 24) | flg; in rasops_allocattr_mono()