Lines Matching refs:format
8 format,
101 entry(&format!("{name}32"), AluBinary, ebpf::BPF_ALU | opc); in make_instruction_map()
102 entry(&format!("{name}64"), AluBinary, ebpf::BPF_ALU64 | opc); in make_instruction_map()
108 &format!("ldabs{suffix}"), in make_instruction_map()
113 &format!("ldind{suffix}"), in make_instruction_map()
118 &format!("ldx{suffix}"), in make_instruction_map()
123 &format!("st{suffix}"), in make_instruction_map()
128 &format!("stx{suffix}"), in make_instruction_map()
138 &format!("{name}32"), in make_instruction_map()
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()
156 return Err(format!("Invalid destination register {dst}")); in insn()
159 return Err(format!("Invalid source register {src}")); in insn()
162 return Err(format!("Invalid offset {off}")); in insn()
165 return Err(format!("Invalid immediate {imm}")); in insn()
209 _ => Err(format!("Unexpected operands: {operands:?}")), in encode()
222 Err(msg) => return Err(format!("Failed to encode {name}: {msg}")), in assemble_internal()
231 None => return Err(format!("Invalid instruction {name:?}")), in assemble_internal()