Home
last modified time | relevance | path

Searched defs:ParseError (Results 1 – 25 of 114) sorted by relevance

12345

/external/rust/crates/macaddr/src/parser/
Dmod.rs17 pub enum ParseError { enum
35 impl fmt::Display for ParseError { implementation
47 impl Error for ParseError {} implementation
91 fn read_char(&mut self) -> Result<char, ParseError> { in read_char() argument
101 fn read_digit(&mut self) -> Result<u8, ParseError> { in read_digit() argument
112 fn probe_delimiter(&mut self) -> Result<Option<()>, ParseError> { in probe_delimiter() argument
138 pub fn read_v6_addr(&mut self) -> Result<MacAddr6, ParseError> { in read_v6_addr() argument
162 pub fn read_v8_addr(&mut self) -> Result<MacAddr8, ParseError> { in read_v8_addr() argument
186 pub fn read_addr(&mut self) -> Result<MacAddr, ParseError> { in read_addr() argument
/external/volley/core/src/main/java/com/android/volley/
DParseError.java21 public class ParseError extends VolleyError { class
22 public ParseError() {} in ParseError() method in ParseError
24 public ParseError(NetworkResponse networkResponse) { in ParseError() method in ParseError
28 public ParseError(Throwable cause) { in ParseError() method in ParseError
/external/jsoup/src/main/java/org/jsoup/parser/
DParseError.java6 public class ParseError { class
11 ParseError(CharacterReader reader, String errorMsg) { in ParseError() method in ParseError
17 ParseError(CharacterReader reader, String errorFormat, Object... args) { in ParseError() method in ParseError
23 ParseError(int pos, String errorMsg) { in ParseError() method in ParseError
29 ParseError(int pos, String errorFormat, Object... args) { in ParseError() method in ParseError
/external/rust/crates/mime/src/
Dparse.rs11 pub enum ParseError { enum
21 impl ParseError { implementation
34 impl fmt::Display for ParseError { implementation
44 impl Error for ParseError { implementation
111 pub fn parse(s: &str) -> Result<Mime, ParseError> { in parse() argument
185 …om_str(s: &str, iter: &mut Enumerate<Bytes>, mut start: usize) -> Result<ParamSource, ParseError> { in params_from_str() argument
/external/rust/crates/serde_derive/src/internals/
Dcase.rs50 pub fn from_str(rename_all_str: &str) -> Result<Self, ParseError> { in from_str() argument
117 pub struct ParseError<'a> { struct
121 impl<'a> Display for ParseError<'a> { argument
/external/rust/crates/bitflags/src/
Dparser.rs189 pub fn from_str_strict<B: Flags>(input: &str) -> Result<B, ParseError> { in from_str_strict() argument
244 pub struct ParseError(ParseErrorKind); struct
264 impl ParseError { implementation
299 impl fmt::Display for ParseError { implementation
332 impl std::error::Error for ParseError {} implementation
/external/rust/crates/litrs/src/
Derr.rs154 pub struct ParseError { struct
156 pub(crate) kind: ParseErrorKind, argument
159 impl ParseError { argument
171 pub(crate) fn perr(span: impl SpanLike, kind: ParseErrorKind) -> ParseError { in perr()
314 impl std::error::Error for ParseError {} implementation
316 impl fmt::Display for ParseError { implementation
Dparse.rs18 pub fn parse(input: B) -> Result<Self, ParseError> { in parse() argument
62 pub(crate) fn first_byte_or_empty(s: &str) -> Result<u8, ParseError> { in first_byte_or_empty() argument
Descape.rs5 pub(crate) fn unescape<E: Escapee>(input: &str, offset: usize) -> Result<(E, usize), ParseError> { in unescape() argument
120 ) -> Result<Option<String>, ParseError> { in unescape_string() argument
188 ) -> Result<(Option<String>, u32), ParseError> { in scan_raw_string() argument
/external/rust/crates/rustc-demangle/src/
Dv0.rs24 pub enum ParseError { enum
37 pub fn demangle(s: &str) -> Result<(Demangle, &str), ParseError> { in demangle() argument
405 fn push_depth(&mut self) -> Result<(), ParseError> { in push_depth() argument
431 fn next(&mut self) -> Result<u8, ParseError> { in next() argument
437 fn hex_nibbles(&mut self) -> Result<HexNibbles<'s>, ParseError> { in hex_nibbles() argument
451 fn digit_10(&mut self) -> Result<u8, ParseError> { in digit_10() argument
460 fn digit_62(&mut self) -> Result<u8, ParseError> { in digit_62() argument
471 fn integer_62(&mut self) -> Result<u64, ParseError> { in integer_62() argument
485 fn opt_integer_62(&mut self, tag: u8) -> Result<u64, ParseError> { in opt_integer_62() argument
492 fn disambiguator(&mut self) -> Result<u64, ParseError> { in disambiguator() argument
[all …]
/external/rust/crates/bindgen/
Dparse.rs10 pub(crate) enum ParseError { enum
40 ) -> Result<ParseResult<Self>, ParseError>; in parse() argument
/external/rust/crates/vulkano/src/shader/
Dspirv.rs607 fn map_err(&self, error: ParseErrors) -> ParseError { in map_err()
617 fn next_u32(&mut self) -> Result<u32, ParseError> { in next_u32() argument
638 fn next_string(&mut self) -> Result<String, ParseError> { in next_string() argument
682 ParseError(ParseError), enumerator
739 pub struct ParseError { struct
745 pub error: ParseErrors, argument
750 impl Display for ParseError { implementation
760 impl Error for ParseError {} implementation
/external/rust/crates/pdl-compiler/src/backends/rust_no_allocation/
Dpreamble.rs20 pub enum ParseError { enum
43 pub fn offset(&self, offset: usize) -> Result<BitSlice<'a>, ParseError> { in offset() argument
57 pub fn slice(&self, len: usize) -> Result<SizedBitSlice<'a>, ParseError> { in slice() argument
71 fn byte_at(&self, index: usize) -> Result<u8, ParseError> { in byte_at() argument
100 pub fn try_parse<T: TryFrom<u64>>(&self) -> Result<T, ParseError> { in try_parse() argument
152 fn try_parse_from_buffer(buf: impl Into<SizedBitSlice<'a>>) -> Result<Self, ParseError>; in try_parse_from_buffer() argument
153 fn try_parse(parent: Self::Parent) -> Result<Self, ParseError>; in try_parse() argument
163 fn try_parse(buf: Box<[u8]>) -> Result<Self, ParseError>; in try_parse() argument
/external/rust/crates/tracing-subscriber/src/filter/
Ddirective.rs11 pub struct ParseError { struct
12 kind: ParseErrorKind, argument
400 impl ParseError { implementation
415 impl fmt::Display for ParseError { implementation
428 impl std::error::Error for ParseError { implementation
443 impl From<Box<dyn std::error::Error + Send + Sync>> for ParseError { implementation
451 impl From<level::ParseError> for ParseError { implementation
/external/deqp/framework/xexml/
DxeDefs.hpp43 class ParseError : public Error class
46 ParseError(const std::string &message) : Error(message) in ParseError() function in xe::ParseError
/external/ktfmt/core/src/main/java/com/facebook/ktfmt/format/
DParseError.kt22 class ParseError(val errorDescription: String, val lineColumn: LineColumn) : class
/external/rust/crates/der_derive/src/
Dtag.rs84 fn from_str(s: &str) -> Result<Self, ParseError> { in from_str() argument
152 fn from_str(s: &str) -> Result<Self, ParseError> { in from_str() argument
171 pub(crate) struct ParseError; struct
Dasn1_type.rs105 fn from_str(s: &str) -> Result<Self, ParseError> { in from_str() argument
139 pub(crate) struct ParseError; struct
/external/rust/crates/strum/src/
Dlib.rs40 pub enum ParseError { enum
45 impl std::fmt::Display for ParseError { implementation
56 impl std::error::Error for ParseError { implementation
/external/rust/crates/litrs/src/char/
Dmod.rs25 pub fn parse(input: B) -> Result<Self, ParseError> { in parse() argument
71 pub(crate) fn parse_impl(input: &str) -> Result<char, ParseError> { in parse_impl() argument
/external/rust/crates/litrs/src/byte/
Dmod.rs24 pub fn parse(input: B) -> Result<Self, ParseError> { in parse() argument
72 pub(crate) fn parse_impl(input: &str) -> Result<u8, ParseError> { in parse_impl() argument
/external/rust/crates/itertools/examples/
Diris.rs22 enum ParseError { enum
27 impl From<ParseFloatError> for ParseError { implementation
/external/rust/crates/litrs/src/string/
Dmod.rs33 pub fn parse(input: B) -> Result<Self, ParseError> { in parse() argument
81 pub(crate) fn parse_impl(input: B) -> Result<Self, ParseError> { in parse_impl() argument
/external/rust/crates/litrs/src/bytestr/
Dmod.rs32 pub fn parse(input: B) -> Result<Self, ParseError> { in parse() argument
84 pub(crate) fn parse_impl(input: B) -> Result<Self, ParseError> { in parse_impl() argument
/external/rust/crates/url/src/
Dhost.rs77 pub fn parse(input: &str) -> Result<Self, ParseError> { in parse() argument
125 pub fn parse_opaque(input: &str) -> Result<Self, ParseError> { in parse_opaque() argument
165 fn domain_to_ascii(domain: &str) -> Result<String, ParseError> { in domain_to_ascii() argument

12345