Home
last modified time | relevance | path

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

/DragonOS/kernel/crates/rbpf/src/
H A Dasm_parser.rs18 parser::char::{alpha_num, char, digit, hex_digit, spaces, string},
97 let operands = sep_by(operand(), char(',').skip(spaces())); in instruction()
98 (ident().skip(spaces()), operands, spaces()).map(|t| Instruction { in instruction()
108 let mut with = spaces().with(many(instruction()).skip(eof())); in parse()
/DragonOS/kernel/src/driver/tty/tty_ldisc/
H A Dntty.rs1490 let spaces = 8 - (self.cursor_column & 7) as usize; in do_output_char() localVariable
1495 if space < spaces { in do_output_char()
1499 self.cursor_column += spaces as u32; in do_output_char()
1501 tty.write(core, " ".as_bytes(), spaces)?; in do_output_char()
1502 return Ok(spaces); in do_output_char()
1504 self.cursor_column += spaces as u32; in do_output_char()