Searched refs:Instruction (Results 1 – 3 of 3) sorted by relevance
/DragonOS/kernel/crates/rbpf/src/ |
H A D | asm_parser.rs | 39 pub struct Instruction { struct 92 fn instruction<I>() -> impl Parser<I, Output = Instruction> in instruction() 98 (ident().skip(spaces()), operands, spaces()).map(|t| Instruction { in instruction() 107 pub fn parse(input: &str) -> Result<Vec<Instruction>, String> { in parse() argument 132 use super::{ident, instruction, integer, operand, parse, register, Instruction, Operand}; 186 Instruction { in test_instruction() 197 Instruction { in test_instruction() 208 Instruction { in test_instruction() 219 Instruction { in test_instruction() 230 Instruction { in test_instruction() [all …]
|
H A D | insn_builder.rs | 11 pub trait Instruction: Sized { interface 77 impl<'i, I: Instruction> IntoBytes for &'i I { 350 impl<'i> Instruction for Move<'i> { 418 impl<'i> Instruction for SwapBytes<'i> { 459 impl<'i> Instruction for Load<'i> { 492 impl<'i> Instruction for Store<'i> { 545 impl<'i> Instruction for Jump<'i> { 605 impl<'i> Instruction for FunctionCall<'i> { 634 impl<'i> Instruction for Exit<'i> {
|
H A D | assembler.rs | 20 parse, Instruction, Operand, 213 fn assemble_internal(parsed: &[Instruction]) -> Result<Vec<Insn>, String> { in assemble_internal()
|