Home
last modified time | relevance | path

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

/DragonOS/kernel/crates/rbpf/src/
H A Dasm_parser.rs30 Integer(i64), enumerator
86 let immediate = integer().map(Operand::Integer); in operand()
167 assert_eq!(operand().parse("0"), Ok((Operand::Integer(0), ""))); in test_operand()
168 assert_eq!(operand().parse("42"), Ok((Operand::Integer(42), ""))); in test_operand()
199 operands: vec![Operand::Integer(2)], in test_instruction()
210 operands: vec![Operand::Register(1), Operand::Integer(2)], in test_instruction()
232 operands: vec![Operand::Register(3), Operand::Integer(8)], in test_instruction()
245 Operand::Integer(8), in test_instruction()
246 Operand::Integer(37) in test_instruction()
261 Operand::Integer(8), in test_instruction()
[all …]
H A Dassembler.rs21 Operand::{Integer, Memory, Nil, Register},
191 (AluBinary, Register(dst), Integer(imm), Nil) => insn(opc | ebpf::BPF_K, dst, 0, 0, imm), in encode()
193 (LoadAbs, Integer(imm), Nil, Nil) => insn(opc, 0, 0, 0, imm), in encode()
194 (LoadInd, Register(src), Integer(imm), Nil) => insn(opc, 0, src, 0, imm), in encode()
197 (StoreImm, Memory(dst, off), Integer(imm), Nil) => insn(opc, dst, 0, off, imm), in encode()
199 (JumpUnconditional, Integer(off), Nil, Nil) => insn(opc, 0, 0, off, 0), in encode()
200 (JumpConditional, Register(dst), Register(src), Integer(off)) => { in encode()
203 (JumpConditional, Register(dst), Integer(imm), Integer(off)) => { in encode()
206 (Call, Integer(imm), Nil, Nil) => insn(opc, 0, 0, 0, imm), in encode()
208 (LoadImm, Register(dst), Integer(imm), Nil) => insn(opc, dst, 0, 0, (imm << 32) >> 32), in encode()
[all …]
/DragonOS/docs/kernel/debug/
H A Ddebug-kernel-with-gdb.md238 d Integer, signed decimal.
240 o Integer, print as octal.
242 t Integer, print as binary (t = „two“).
243 u Integer, unsigned decimal.
244 x Integer, print as hexadecimal.