Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dntty.rs1024 let mut eol = if let Some(tmp) = tmp { tmp } else { size }; in canon_copy_from_read_buf() localVariable
1025 if eol > size { in canon_copy_from_read_buf()
1026 eol = size in canon_copy_from_read_buf()
1033 let found = if eol == NTTY_BUFSIZE && more > 0 { in canon_copy_from_read_buf()
1039 eol = tmp; in canon_copy_from_read_buf()
1042 eol = more; in canon_copy_from_read_buf()
1044 eol != more in canon_copy_from_read_buf()
1047 eol != size in canon_copy_from_read_buf()
1050 n = eol - tail; in canon_copy_from_read_buf()
1060 if !found || self.read_at(eol) != ControlCharIndex::DISABLE_CHAR { in canon_copy_from_read_buf()
[all …]