Lines Matching refs:c
461 pub fn get_attr(c: u16, color_depth: u32) -> Self { in get_attr()
464 if Self::underline(c) { in get_attr()
467 if Self::reverse(c) { in get_attr()
470 if Self::blod(c) { in get_attr()
486 let mut c = src[i]; in update_attr() localVariable
489 c = 0xff; in update_attr()
492 c |= c >> 1; in update_attr()
495 c = !c; in update_attr()
498 dst[i] = c; in update_attr()
502 pub fn underline(c: u16) -> bool { in underline()
503 c & 0x400 != 0 in underline()
506 pub fn blod(c: u16) -> bool { in blod()
507 c & 0x200 != 0 in blod()
510 pub fn reverse(c: u16) -> bool { in reverse()
511 c & 0x800 != 0 in reverse()