Home
last modified time | relevance | path

Searched refs:ErrorKind (Results 1 – 7 of 7) sorted by relevance

/DragonOS/kernel/crates/rbpf/src/
H A Dno_std_error.rs14 kind: ErrorKind,
22 pub fn new<S: Into<String>>(kind: ErrorKind, error: S) -> Error { in new() argument
37 pub enum ErrorKind { enum
H A Dlib.rs54 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 Dverifier.rs23 use crate::{ebpf, Error, ErrorKind};
27 Err(Error::new(ErrorKind::Other, full_msg)) in reject()
H A Dinterpreter.rs67 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 Djit.rs10 io::{Error, ErrorKind},
901 ErrorKind::Other, in jit_compile()
920 ErrorKind::Other, in jit_compile()
H A Dcranelift.rs5 use std::io::ErrorKind;
917 ErrorKind::Other, in translate_program()
/DragonOS/kernel/crates/rbpf/tests/
H A Dmisc.rs24 use rbpf::{assembler::assemble, Error, ErrorKind};
543 Err(Error::new(ErrorKind::Other, "Gaggablaghblagh!")) in verifier_fail()