Searched refs:ParseError (Results 1 – 3 of 3) sorted by relevance
/DragonOS/kernel/src/libs/ |
H A D | elf.rs | 402 fn parse_ehdr(data: &[u8]) -> Result<FileHeader<AnyEndian>, elf::ParseError> { in parse_ehdr() argument 433 ) -> Result<Option<elf::segment::SegmentTable<'a, AnyEndian>>, elf::ParseError> { in parse_segments() argument 448 .map_err(|_| elf::ParseError::BadOffset(shoff as u64))?; in parse_segments() 452 .map_err(|_| elf::ParseError::BadOffset(shoff as u64))?; in parse_segments() 472 .ok_or(elf::ParseError::IntegerOverflow)?; in parse_segments() 475 .ok_or(elf::ParseError::IntegerOverflow)?; in parse_segments() 480 .map_err(|_| elf::ParseError::BadOffset(phoff as u64))?; in parse_segments() 542 .map_err(|_| ExecError::ParseError)? in load() 543 .ok_or(ExecError::ParseError)?; in load() 901 fn get_bytes(self, range: Range<usize>) -> Result<&'data [u8], elf::ParseError>; in get_bytes() argument [all …]
|
/DragonOS/kernel/crates/rbpf/src/ |
H A D | asm_parser.rs | 21 ParseError, Parser, Stream, 49 I::Error: ParseError<I::Token, I::Range, I::Position>, in ident() 57 I::Error: ParseError<I::Token, I::Range, I::Position>, in integer() 73 I::Error: ParseError<I::Token, I::Range, I::Position>, in register() 83 I::Error: ParseError<I::Token, I::Range, I::Position>, in operand() 95 I::Error: ParseError<I::Token, I::Range, I::Position>, in instruction()
|
/DragonOS/kernel/src/process/ |
H A D | exec.rs | 64 ParseError, enumerator 80 ExecError::ParseError => SystemError::ENOEXEC, in from()
|