Home
last modified time | relevance | path

Searched defs:CustomError (Results 1 – 25 of 41) sorted by relevance

12

/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/nom-7.1.3/tests/
Dcustom_errors.rs13 pub struct CustomError(String); struct
15 impl<'a> From<(&'a str, ErrorKind)> for CustomError { implementation
21 impl<'a> ParseError<&'a str> for CustomError { implementation
31 fn test1(input: &str) -> IResult<&str, &str, CustomError> { in test1() argument
36 fn test2(input: &str) -> IResult<&str, &str, CustomError> { in test2() argument
41 fn test3(input: &str) -> IResult<&str, &str, CustomError> { in test3() argument
46 fn test4(input: &str) -> IResult<&str, Vec<&str>, CustomError> { in test4() argument
/external/rust/android-crates-io/crates/nom/tests/
Dcustom_errors.rs13 pub struct CustomError(String); struct
15 impl<'a> From<(&'a str, ErrorKind)> for CustomError { implementation
21 impl<'a> ParseError<&'a str> for CustomError { implementation
31 fn test1(input: &str) -> IResult<&str, &str, CustomError> { in test1() argument
36 fn test2(input: &str) -> IResult<&str, &str, CustomError> { in test2() argument
41 fn test3(input: &str) -> IResult<&str, &str, CustomError> { in test3() argument
46 fn test4(input: &str) -> IResult<&str, Vec<&str>, CustomError> { in test4() argument
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/nom-7.1.3/tests/
Dcustom_errors.rs13 pub struct CustomError(String); struct
15 impl<'a> From<(&'a str, ErrorKind)> for CustomError { implementation
21 impl<'a> ParseError<&'a str> for CustomError { implementation
31 fn test1(input: &str) -> IResult<&str, &str, CustomError> { in test1() argument
36 fn test2(input: &str) -> IResult<&str, &str, CustomError> { in test2() argument
41 fn test3(input: &str) -> IResult<&str, &str, CustomError> { in test3() argument
46 fn test4(input: &str) -> IResult<&str, Vec<&str>, CustomError> { in test4() argument
/external/rust/android-crates-io/crates/toml_edit/src/parser/
Derror.rs7 pub(crate) enum CustomError { enum
21 impl CustomError { implementation
54 impl StdError for CustomError { implementation
60 impl Display for CustomError { implementation
Dstate.rs30 pub(crate) fn into_document<S>(mut self, raw: S) -> Result<ImDocument<S>, CustomError> { in into_document() argument
60 ) -> Result<(), CustomError> { in on_keyval() argument
113 ) -> Result<(), CustomError> { in start_array_table() argument
146 ) -> Result<(), CustomError> { in start_table() argument
178 pub(crate) fn finalize_table(&mut self) -> Result<(), CustomError> { in finalize_table() argument
235 ) -> Result<&'t mut Table, CustomError> { in descend_path() argument
279 ) -> Result<(), CustomError> { in on_std_header() argument
302 ) -> Result<(), CustomError> { in on_array_header() argument
Dinline_table.rs38 ) -> Result<InlineTable, CustomError> { in table_from_pairs() argument
75 ) -> Result<&'a mut InlineTable, CustomError> { in descend_path() argument
Dmod.rs108 pub(crate) fn check_depth(_depth: usize) -> Result<(), super::error::CustomError> { in check_depth()
117 fn enter(&mut self) -> Result<(), super::error::CustomError> { in enter()
/external/rust/android-crates-io/crates/num_enum/tests/try_build/compile_fail/
Dcustom_error_type_parsing.rs47 struct CustomError {} struct
49 impl CustomError { implementation
50 fn new(_: u8) -> CustomError { in new()
/external/rust/android-crates-io/crates/winnow/examples/
Dcustom_error.rs10 pub enum CustomError<I> { enum
20 impl<I: Stream + Clone> ParserError<I> for CustomError<I> { implementation
30 impl<C, I: Stream> AddContext<I, C> for CustomError<I> { implementation
42 impl<I: Stream + Clone, E: std::error::Error + Send + Sync + 'static> FromExternalError<I, E>
/external/rust/android-crates-io/crates/mls-rs/examples/
Dcustom.rs292 fn new(name: &str, role: UserRole) -> Result<Self, CustomError> { in new() argument
314 fn new(name: &str, user: &User) -> Result<Self, CustomError> { in new() argument
345 fn make_client(member: Member) -> Result<Client<impl MlsConfig>, CustomError> { in make_client() argument
418 struct CustomError; struct
420 impl IntoAnyError for CustomError { implementation
426 impl Display for CustomError { implementation
432 impl From<MlsError> for CustomError { implementation
438 impl From<mls_rs_codec::Error> for CustomError { implementation
444 impl From<ExtensionError> for CustomError { implementation
/external/tensorflow/tensorflow/python/autograph/pyct/
Derror_utils_test.py28 class CustomError(Exception): class
43 class CustomError(Exception): class
/external/rust/android-crates-io/crates/nom/src/combinator/
Dtests.rs93 impl From<u32> for CustomError { implementation
99 impl<I> ParseError<I> for CustomError { implementation
109 struct CustomError; struct
111 fn custom_error(input: &[u8]) -> IResult<&[u8], &[u8], CustomError> { in custom_error() argument
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/nom-7.1.3/src/combinator/
Dtests.rs93 impl From<u32> for CustomError { implementation
99 impl<I> ParseError<I> for CustomError { implementation
109 struct CustomError; struct
111 fn custom_error(input: &[u8]) -> IResult<&[u8], &[u8], CustomError> { in custom_error() argument
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/nom-7.1.3/src/combinator/
Dtests.rs93 impl From<u32> for CustomError { implementation
99 impl<I> ParseError<I> for CustomError { implementation
109 struct CustomError; struct
111 fn custom_error(input: &[u8]) -> IResult<&[u8], &[u8], CustomError> { in custom_error() argument
/external/connectedappssdk/tests/shared/src/main/java/com/google/android/enterprise/connectedapps/testapp/
DCustomError.java3 public class CustomError extends Error { class
/external/rust/android-crates-io/crates/num_enum/tests/
Dtry_from_primitive.rs526 struct CustomError { in custom_error() struct
527 bad_value: u8, in custom_error()
530 impl CustomError { in custom_error() impl
531 fn new(value: u8) -> CustomError { in custom_error()
/external/llvm/unittests/Support/
DErrorTest.cpp23 class CustomError : public ErrorInfo<CustomError> { class
26 CustomError(int Info) : Info(Info) {} in CustomError() function in __anonf49e9ffa0111::CustomError
48 CustomError() : Info(0) {} in CustomError() function in __anonf49e9ffa0111::CustomError
/external/python/cpython3/Lib/test/test_capi/
Dtest_exceptions.py21 class CustomError(Exception): class
/external/rust/android-crates-io/crates/winnow/src/combinator/
Dtests.rs69 impl From<u32> for CustomError { implementation
75 impl<I: Stream> ParserError<I> for CustomError { implementation
85 struct CustomError; struct
87 fn custom_error(input: &[u8]) -> IResult<&[u8], &[u8], CustomError> { in custom_error() argument
/external/rust/android-crates-io/crates/rusqlite/src/
Dlib.rs1944 enum CustomError { enum
1949 impl fmt::Display for CustomError { implementation
1958 impl StdError for CustomError { implementation
1971 impl From<Error> for CustomError { implementation
1972 fn from(se: Error) -> CustomError { in from()
/external/python/cpython3/Lib/test/test_email/
Dtest_message.py699 class CustomError(Exception): class in TestEmailMessageBase._TestSetRaisingContentManager
/external/rust/android-crates-io/crates/pest/src/
Derror.rs58 CustomError { enumerator
/external/parameter-framework/upstream/tools/coverage/
Dcoverage.py52 class CustomError(Exception): class
/external/python/cpython3/Lib/test/
Dtest_abc.py451 class CustomError(Exception): ... class
/external/python/cpython3/Lib/test/test_unittest/testmock/
Dtestasync.py462 class CustomError(Exception): pass class

12