Home
last modified time | relevance | path

Searched refs:char_num (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.9/kernel/src/libs/lib_ui/
Dtextui.rs488 pub fn new(char_num: usize) -> Self { in new()
490 chars: Vec::with_capacity(char_num), in new()
494 for _ in 0..char_num { in new()
/DragonOS-0.1.9/kernel/src/driver/tty/tty_ldisc/
Dntty.rs1308 let mut char_num = self.echo_buf[ntty_buf_mask(tail + 2)] as usize; in echoes() localVariable
1315 if char_num & 0x80 == 0 { in echoes()
1316 char_num += self.canon_cursor_column as usize; in echoes()
1320 let mut num_bs = 8 - (char_num & 7); in echoes()