Searched refs:integer (Results 1 – 2 of 2) sorted by relevance
/DragonOS/kernel/crates/rbpf/src/ |
H A D | asm_parser.rs | 54 fn integer<I>() -> impl Parser<I, Output = i64> in integer() function 86 let immediate = integer().map(Operand::Integer); in operand() 87 let memory = between(char('['), char(']'), (register(), optional(integer()))) in operand() 132 use super::{ident, instruction, integer, operand, parse, register, Instruction, Operand}; 145 assert_eq!(integer().parse("0"), Ok((0, ""))); in test_integer() 146 assert_eq!(integer().parse("42"), Ok((42, ""))); in test_integer() 147 assert_eq!(integer().parse("+42"), Ok((42, ""))); in test_integer() 148 assert_eq!(integer().parse("-42"), Ok((-42, ""))); in test_integer() 149 assert_eq!(integer().parse("0x0"), Ok((0, ""))); in test_integer() 151 integer().parse("0x123456789abcdef0"), in test_integer() [all …]
|
/DragonOS/docs/kernel/debug/ |
H A D | debug-kernel-with-gdb.md | 237 c Read as integer, print as character.
|