Home
last modified time | relevance | path

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

/DragonOS/kernel/crates/rbpf/src/
H A Dassembler.rs15 AluBinary, AluUnary, Call, Endian, JumpConditional, JumpUnconditional, LoadAbs, LoadImm,
39 Endian(i64), enumerator
146 entry(&format!("be{size}"), Endian(size), ebpf::BE); in make_instruction_map()
147 entry(&format!("le{size}"), Endian(size), ebpf::LE); in make_instruction_map()
207 (Endian(size), Register(dst), Nil, Nil) => insn(opc, dst, 0, 0, size), in encode()
H A Dinsn_builder.rs195 pub fn swap_bytes(&mut self, endian: Endian) -> SwapBytes { in swap_bytes()
405 endian: Endian,
434 pub enum Endian { enum
1323 .swap_bytes(Endian::Little) in convert_host_to_little_endian_16bits()
1338 .swap_bytes(Endian::Little) in convert_host_to_little_endian_32bits()
1353 .swap_bytes(Endian::Little) in convert_host_to_little_endian_64bit()
1368 .swap_bytes(Endian::Big) in convert_host_to_big_endian_16bits()
1383 .swap_bytes(Endian::Big) in convert_host_to_big_endian_32bits()
1398 .swap_bytes(Endian::Big) in convert_host_to_big_endian_64bit()
2175 .swap_bytes(Endian::Big) in example_from_assembler()
/DragonOS/kernel/crates/rbpf/
H A DREADME.md551 .swap_bytes(Endian::Big).set_dst(0).set_imm(0x10).push()