Home
last modified time | relevance | path

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

1234567

/external/rust/android-crates-io/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/rust/android-crates-io/crates/spdx/src/
Derror.rs6 pub struct ParseError { struct
16 /// The particular reason for a `ParseError` argument
50 impl fmt::Display for ParseError { implementation
105 impl Error for ParseError { implementation
/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/android-crates-io/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/cronet/tot/third_party/rust/chromium_crates_io/vendor/bitflags-2.6.0/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/android-crates-io/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 { impl
299 impl fmt::Display for ParseError { implementation
332 impl std::error::Error for ParseError {} implementation
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/bitflags-2.6.0/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 { impl
299 impl fmt::Display for ParseError { implementation
332 impl std::error::Error for ParseError {} implementation
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/serde_derive-1.0.215/src/internals/
Dcase.rs45 pub fn from_str(rename_all_str: &str) -> Result<Self, ParseError> { in from_str() argument
120 pub struct ParseError<'a> { struct
124 impl<'a> Display for ParseError<'a> { implementation
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/serde_derive-1.0.215/src/internals/
Dcase.rs45 pub fn from_str(rename_all_str: &str) -> Result<Self, ParseError> { in from_str() argument
120 pub struct ParseError<'a> { struct
124 impl<'a> Display for ParseError<'a> { argument
/external/rust/android-crates-io/crates/serde_derive/src/internals/
Dcase.rs45 pub fn from_str(rename_all_str: &str) -> Result<Self, ParseError> { in from_str() argument
120 pub struct ParseError<'a> { struct
124 impl<'a> Display for ParseError<'a> { argument
/external/rust/android-crates-io/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()
318 impl std::error::Error for ParseError {} implementation
320 impl fmt::Display for ParseError { implementation
/external/rust/android-crates-io/crates/tinystr/src/
Derror.rs7 impl core::error::Error for ParseError {} implementation
11 pub enum ParseError { enum
/external/rust/android-crates-io/crates/icu_locale_core/src/parser/
Derrors.rs12 pub enum ParseError { enum
69 impl core::error::Error for ParseError {} implementation
Dlangid.rs35 ) -> Result<LanguageIdentifier, ParseError> { in parse_language_identifier_from_iter() argument
110 ) -> Result<LanguageIdentifier, ParseError> { in parse_language_identifier() argument
127 ParseError, in parse_locale_with_single_variant_single_keyword_unicode_extension_from_iter() argument
266 ParseError, in parse_language_identifier_with_single_variant() argument
/external/rust/android-crates-io/crates/env_filter/src/
Dparser.rs28 pub(crate) fn ok(self) -> Result<(Vec<Directive>, Option<FilterOp>), ParseError> { in ok() argument
44 pub struct ParseError { struct
48 impl Display for ParseError { implementation
54 impl Error for ParseError {} implementation
124 impl IntoData for ParseError { implementation
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/rustc-demangle-0.1.24/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/cronet/stable/third_party/rust/chromium_crates_io/vendor/rustc-demangle-0.1.24/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/android-crates-io/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/android-crates-io/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/android-crates-io/crates/bindgen/
Dparse.rs10 pub(crate) enum ParseError { enum
40 ) -> Result<ParseResult<Self>, ParseError>; in parse() argument
/external/rust/android-crates-io/crates/icu_locale_core/src/
Dlangid.rs104 pub fn try_from_str(s: &str) -> Result<Self, ParseError> { in try_from_str() argument
110 pub fn try_from_utf8(code_units: &[u8]) -> Result<Self, ParseError> { in try_from_utf8() argument
127 ParseError, in try_from_utf8_with_single_variant() argument
152 pub fn try_from_locale_bytes(v: &[u8]) -> Result<Self, ParseError> { in try_from_locale_bytes() argument
189 pub fn normalize_utf8(input: &[u8]) -> Result<Cow<str>, ParseError> { in normalize_utf8() argument
209 pub fn normalize(input: &str) -> Result<Cow<str>, ParseError> { in normalize() argument
/external/rust/android-crates-io/crates/spdx/src/expression/
Dparser.rs25 pub fn parse(original: &str) -> Result<Self, ParseError> { in parse() argument
49 pub fn canonicalize(original: &str) -> Result<Option<String>, ParseError> { in canonicalize() argument
104 pub fn parse_mode(original: &str, mode: ParseMode) -> Result<Self, ParseError> { in parse_mode() argument
/external/rust/android-crates-io/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/android-crates-io/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

1234567