Home
last modified time | relevance | path

Searched refs:set_dst (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/crates/rbpf/src/
H A Dinsn_builder.rs36 fn set_dst(mut self, dst: u8) -> Self { in set_dst() method
688 .set_dst(0x01) in jump_on_dst_equals_src()
703 .set_dst(0x03) in jump_on_dst_greater_than_src()
718 .set_dst(0x04) in jump_on_dst_greater_or_equals_to_src()
733 .set_dst(0x03) in jump_on_dst_lower_than_src()
748 .set_dst(0x04) in jump_on_dst_lower_or_equals_to_src()
763 .set_dst(0x05) in jump_on_dst_bit_and_with_src_not_equal_zero()
778 .set_dst(0x03) in jump_on_dst_not_equals_src()
793 .set_dst(0x04) in jump_on_dst_greater_than_src_signed()
808 .set_dst(0x01) in jump_on_dst_greater_or_equals_src_signed()
[all …]
H A Dcranelift.rs315 self.set_dst(bcx, &insn, ext); in translate_program()
323 self.set_dst(bcx, &insn, iconst); in translate_program()
345 self.set_dst(bcx, &insn, ext); in translate_program()
615 self.set_dst(bcx, &insn, res_wide); in translate_program()
625 self.set_dst(bcx, &insn, res); in translate_program()
632 self.set_dst(bcx, &insn, res); in translate_program()
639 self.set_dst(bcx, &insn, res); in translate_program()
646 self.set_dst(bcx, &insn, res); in translate_program()
653 self.set_dst(bcx, &insn, res); in translate_program()
660 self.set_dst(bcx, &insn, res); in translate_program()
[all …]
/DragonOS/kernel/crates/rbpf/tests/
H A Dmisc.rs258 .set_dst(0x01) in test_vm_mbuff_with_rust_api()
263 .set_dst(0x00) in test_vm_mbuff_with_rust_api()
/DragonOS/kernel/crates/rbpf/
H A DREADME.md548 program.add(Source::Imm, Arch::X64).set_dst(1).set_imm(0x605).push()
549 .mov(Source::Imm, Arch::X64).set_dst(2).set_imm(0x32).push()
550 .mov(Source::Reg, Arch::X64).set_src(0).set_dst(1).push()
551 .swap_bytes(Endian::Big).set_dst(0).set_imm(0x10).push()
552 .negate(Arch::X64).set_dst(2).push()