Lines Matching refs:reject
25 fn reject<S: AsRef<str>>(msg: S) -> Result<(), Error> { in reject() function
32 reject(format!( in check_prog_len()
38 reject(format!( in check_prog_len()
46 reject("no program set, call set_program() to load one")?; in check_prog_len()
50 reject("program does not end with “EXIT” instruction")?; in check_prog_len()
59 _ => reject(format!( in check_imm_endian()
70 reject(format!("incomplete LD_DW instruction (insn #{insn_ptr:?})"))?; in check_load_dw()
79 reject(format!("infinite loop (insn #{insn_ptr:?})"))?; in check_jmp_offset()
84 reject(format!( in check_jmp_offset()
91 reject(format!( in check_jmp_offset()
101 reject(format!("invalid source register (insn #{insn_ptr:?})"))?; in check_registers()
106 (10, false) => reject(format!( in check_registers()
109 (_, _) => reject(format!("invalid destination register (insn #{insn_ptr:?})")), in check_registers()
368 reject(format!( in check()
382 reject(format!("jumped out of code to #{insn_ptr:?}"))?; in check()