Searched refs:ErrorKind (Results 1 – 7 of 7) sorted by relevance
/DragonOS/kernel/crates/rbpf/src/ |
H A D | no_std_error.rs | 14 kind: ErrorKind, 22 pub fn new<S: Into<String>>(kind: ErrorKind, error: S) -> Error { in new() argument 37 pub enum ErrorKind { enum
|
H A D | lib.rs | 54 pub use std::io::{Error, ErrorKind}; 59 pub use crate::no_std_error::{Error, ErrorKind}; 326 ErrorKind::Other, in jit_compile() 413 ErrorKind::Other, in execute_program_jit() 445 ErrorKind::Other, in cranelift_compile() 520 ErrorKind::Other, in execute_program_cranelift() 802 …Err(Error::new(ErrorKind::Other, format!("Error: buffer too small ({:?}), cannot use data_offset {… in execute_program() 844 ErrorKind::Other, in jit_compile() 921 ErrorKind::Other, in execute_program_jit() 957 ErrorKind::Other, in cranelift_compile() [all …]
|
H A D | verifier.rs | 23 use crate::{ebpf, Error, ErrorKind}; 27 Err(Error::new(ErrorKind::Other, full_msg)) in reject()
|
H A D | interpreter.rs | 67 Err(Error::new(ErrorKind::Other, format!( in check_mem() 95 ErrorKind::Other, in execute_program() 682 Err(Error::new(ErrorKind::Other, e))?; in execute_program()
|
H A D | jit.rs | 10 io::{Error, ErrorKind}, 901 ErrorKind::Other, in jit_compile() 920 ErrorKind::Other, in jit_compile()
|
H A D | cranelift.rs | 5 use std::io::ErrorKind; 917 ErrorKind::Other, in translate_program()
|
/DragonOS/kernel/crates/rbpf/tests/ |
H A D | misc.rs | 24 use rbpf::{assembler::assemble, Error, ErrorKind}; 543 Err(Error::new(ErrorKind::Other, "Gaggablaghblagh!")) in verifier_fail()
|