Home
last modified time | relevance | path

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

/DragonOS/kernel/crates/rbpf/src/
H A Dasm_parser.rs54 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 Ddebug-kernel-with-gdb.md237 c Read as integer, print as character.