Home
last modified time | relevance | path

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

/external/rust/crates/nom/tests/
Dcustom_errors.rs14 pub struct CustomError(String); struct
16 impl<'a> From<(&'a str, ErrorKind)> for CustomError { implementation
22 impl<'a> ParseError<&'a str> for CustomError { implementation
34 fn test1(input: &str) -> IResult<&str, &str, CustomError> { in test1() argument
39 fn test2(input: &str) -> IResult<&str, &str, CustomError> { in test2() argument
44 fn test3(input: &str) -> IResult<&str, &str, CustomError> { in test3() argument
51 fn test4(input: &str) -> IResult<&str, Vec<&str>, CustomError> { in test4() argument
/external/rust/crates/nom/src/combinator/
Dmacros.rs1086 pub struct CustomError(&'static str); struct
1087 impl<I> From<(I, ErrorKind)> for CustomError { implementation
1093 impl<I> ParseError<I> for CustomError { implementation
1107 fn f_true(i: &[u8]) -> IResult<&[u8], Option<&[u8]>, CustomError> { in cond() argument
1111 fn f_false(i: &[u8]) -> IResult<&[u8], Option<&[u8]>, CustomError> { in cond() argument
1129 fn f_true(i: &[u8]) -> IResult<&[u8], Option<&[u8]>, CustomError> { in cond_wrapping() argument
1133 fn f_false(i: &[u8]) -> IResult<&[u8], Option<&[u8]>, CustomError> { in cond_wrapping() argument
Dmod.rs786 impl From<u32> for CustomError { implementation
792 impl<I> ParseError<I> for CustomError { implementation
802 struct CustomError; struct
804 fn custom_error(input: &[u8]) -> IResult<&[u8], &[u8], CustomError> { in custom_error() argument
/external/tensorflow/tensorflow/python/autograph/pyct/
Derror_utils_test.py32 class CustomError(Exception): class
47 class CustomError(Exception): class
/external/llvm/unittests/Support/
DErrorTest.cpp23 class CustomError : public ErrorInfo<CustomError> { class
26 CustomError(int Info) : Info(Info) {} in CustomError() function in __anonc55b4acb0111::CustomError
48 CustomError() : Info(0) {} in CustomError() function in __anonc55b4acb0111::CustomError
/external/llvm-project/llvm/unittests/Support/
DErrorTest.cpp26 class CustomError : public ErrorInfo<CustomError> { class
29 CustomError(int Info) : Info(Info) {} in CustomError() function in __anon36e9a6790111::CustomError
51 CustomError() : Info(0) {} in CustomError() function in __anon36e9a6790111::CustomError
682 [](const CustomError&) { /* do nothing */ }); in TEST()
/external/rust/crates/rusqlite/src/
Dlib.rs1544 enum CustomError { enum
1549 impl fmt::Display for CustomError { implementation
1558 impl StdError for CustomError { implementation
1571 impl From<Error> for CustomError { implementation
1572 fn from(se: Error) -> CustomError { in from()
/external/parameter-framework/upstream/tools/coverage/
Dcoverage.py52 class CustomError(Exception): class
/external/python/apitools/samples/servicemanagement_sample/servicemanagement_v1/
Dservicemanagement_v1_messages.py543 class CustomError(_messages.Message): class
/external/python/cpython3/Lib/test/
Dtest_dataclasses.py21 class CustomError(Exception): pass class
/external/python/apitools/samples/servicemanagement_sample/
Dservicemanagement_v1.json1267 "CustomError": { object