Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/nom-7.1.3/tests/
H A 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
/aosp_15_r20/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
/aosp_15_r20/external/rust/android-crates-io/crates/toml_edit/src/parser/
Dstate.rs17 pub(crate) fn into_document(mut self) -> Result<Document, CustomError> { in into_document() argument
44 ) -> Result<(), CustomError> { in on_keyval() argument
97 ) -> Result<(), CustomError> { in start_array_table() argument
130 ) -> Result<(), CustomError> { in start_table() argument
162 pub(crate) fn finalize_table(&mut self) -> Result<(), CustomError> { in finalize_table() argument
219 ) -> Result<&'t mut Table, CustomError> { in descend_path() argument
263 ) -> Result<(), CustomError> { in on_std_header() argument
286 ) -> Result<(), CustomError> { in on_array_header() argument
Derror.rs7 pub(crate) enum CustomError { enum
21 impl CustomError { impl
54 impl StdError for CustomError { implementation
60 impl Display for CustomError { implementation
Dinline_table.rs39 ) -> Result<InlineTable, CustomError> { in table_from_pairs() argument
76 ) -> Result<&'a mut InlineTable, CustomError> { in descend_path() argument
Dmod.rs98 pub(crate) fn check_depth(depth: usize) -> Result<(), super::error::CustomError> { in check_depth()
129 pub(crate) fn check_depth(_depth: usize) -> Result<(), super::error::CustomError> { in check_depth()
/aosp_15_r20/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
/aosp_15_r20/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()
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/nom-7.1.3/src/combinator/
H A 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
/aosp_15_r20/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
/aosp_15_r20/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()
/aosp_15_r20/external/tensorflow/tensorflow/python/autograph/pyct/
H A Derror_utils_test.py28 class CustomError(Exception): class
43 class CustomError(Exception): class
/aosp_15_r20/external/rust/android-crates-io/crates/winnow/examples/
Dcustom_error.rs7 pub enum CustomError<I> { enum
12 impl<I: Clone> ParserError<I> for CustomError<I> { implementation
/aosp_15_r20/external/rust/android-crates-io/crates/rusqlite/src/
Dlib.rs1794 enum CustomError { enum
1799 impl fmt::Display for CustomError { implementation
1808 impl StdError for CustomError { implementation
1821 impl From<Error> for CustomError { implementation
1822 fn from(se: Error) -> CustomError { in from()
/aosp_15_r20/external/llvm/unittests/Support/
H A DErrorTest.cpp23 class CustomError : public ErrorInfo<CustomError> { class
26 CustomError(int Info) : Info(Info) {} in CustomError() function in __anon8532757a0111::CustomError
48 CustomError() : Info(0) {} in CustomError() function in __anon8532757a0111::CustomError
/aosp_15_r20/external/rust/android-crates-io/crates/winnow/src/combinator/
Dtests.rs87 impl From<u32> for CustomError { implementation
93 impl<I> ParserError<I> for CustomError { implementation
103 struct CustomError; struct
105 fn custom_error(input: &[u8]) -> IResult<&[u8], &[u8], CustomError> { in custom_error() argument
/aosp_15_r20/external/connectedappssdk/tests/shared/src/main/java/com/google/android/enterprise/connectedapps/testapp/
H A DCustomError.java3 public class CustomError extends Error { class
/aosp_15_r20/prebuilts/go/linux-x86/src/text/template/
Dexec_test.go931 type CustomError struct{} struct
933 func (*CustomError) Error() string { return "heyo !" }
/aosp_15_r20/external/rust/android-crates-io/crates/pest/src/
Derror.rs53 CustomError { enumerator
/aosp_15_r20/external/parameter-framework/upstream/tools/coverage/
H A Dcoverage.py52 class CustomError(Exception): class
/aosp_15_r20/system/libbase/
H A Dresult_test.cpp197 enum class CustomError { A, B }; enum
/aosp_15_r20/external/python/apitools/samples/servicemanagement_sample/servicemanagement_v1/
Dservicemanagement_v1_messages.py543 class CustomError(_messages.Message): class
/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_dataclasses.py26 class CustomError(Exception): pass class
/aosp_15_r20/external/python/google-api-python-client/googleapiclient/discovery_cache/documents/
Dserviceusage.v1.json864 "CustomError": { object
Dservicenetworking.v1beta.json802 "CustomError": { object

12