/dports/devel/llvm70/llvm-7.0.1.src/unittests/Support/ |
H A D | ErrorTest.cpp | 25 class CustomError : public ErrorInfo<CustomError> { class 50 CustomError() : Info(0) {} in CustomError() function in __anon3912d9440111::CustomError 55 char CustomError::ID = 0; 177 handleAllErrors(make_error<CustomError>(42), [&](const CustomError &CE) { in TEST() 199 handleAllErrors(make_error<CustomError>(42), [](const CustomError &CE) {}); in TEST() 211 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) {}); in TEST() 216 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) mutable {}); in TEST() 771 EXPECT_THAT_ERROR(make_error<CustomError>(0), Failed<CustomError>()); in TEST() 780 joinErrors(make_error<CustomError>(0), make_error<CustomError>(1)), in TEST() 786 Failed<CustomError>(testing::Property(&CustomError::getInfo, 0))); in TEST() [all …]
|
/dports/devel/llvm10/llvm-10.0.1.src/unittests/Support/ |
H A D | ErrorTest.cpp | 26 class CustomError : public ErrorInfo<CustomError> { class 51 CustomError() : Info(0) {} in CustomError() function in __anon89a6e9080111::CustomError 56 char CustomError::ID = 0; 178 handleAllErrors(make_error<CustomError>(42), [&](const CustomError &CE) { in TEST() 200 handleAllErrors(make_error<CustomError>(42), [](const CustomError &CE) {}); in TEST() 212 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) {}); in TEST() 217 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) mutable {}); in TEST() 774 EXPECT_THAT_ERROR(make_error<CustomError>(0), Failed<CustomError>()); in TEST() 783 joinErrors(make_error<CustomError>(0), make_error<CustomError>(1)), in TEST() 789 Failed<CustomError>(testing::Property(&CustomError::getInfo, 0))); in TEST() [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/unittests/Support/ |
H A D | ErrorTest.cpp | 26 class CustomError : public ErrorInfo<CustomError> { class 51 CustomError() : Info(0) {} in CustomError() function in __anon34bc03ab0111::CustomError 56 char CustomError::ID = 0; 178 handleAllErrors(make_error<CustomError>(42), [&](const CustomError &CE) { in TEST() 200 handleAllErrors(make_error<CustomError>(42), [](const CustomError &CE) {}); in TEST() 212 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) {}); in TEST() 217 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) mutable {}); in TEST() 774 EXPECT_THAT_ERROR(make_error<CustomError>(0), Failed<CustomError>()); in TEST() 783 joinErrors(make_error<CustomError>(0), make_error<CustomError>(1)), in TEST() 789 Failed<CustomError>(testing::Property(&CustomError::getInfo, 0))); in TEST() [all …]
|
/dports/devel/llvm80/llvm-8.0.1.src/unittests/Support/ |
H A D | ErrorTest.cpp | 27 class CustomError : public ErrorInfo<CustomError> { class 52 CustomError() : Info(0) {} in CustomError() function in __anon4f64b4460111::CustomError 57 char CustomError::ID = 0; 179 handleAllErrors(make_error<CustomError>(42), [&](const CustomError &CE) { in TEST() 201 handleAllErrors(make_error<CustomError>(42), [](const CustomError &CE) {}); in TEST() 213 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) {}); in TEST() 218 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) mutable {}); in TEST() 772 EXPECT_THAT_ERROR(make_error<CustomError>(0), Failed<CustomError>()); in TEST() 781 joinErrors(make_error<CustomError>(0), make_error<CustomError>(1)), in TEST() 787 Failed<CustomError>(testing::Property(&CustomError::getInfo, 0))); in TEST() [all …]
|
/dports/devel/llvm90/llvm-9.0.1.src/unittests/Support/ |
H A D | ErrorTest.cpp | 26 class CustomError : public ErrorInfo<CustomError> { class 51 CustomError() : Info(0) {} in CustomError() function in __anon65b68f480111::CustomError 56 char CustomError::ID = 0; 178 handleAllErrors(make_error<CustomError>(42), [&](const CustomError &CE) { in TEST() 200 handleAllErrors(make_error<CustomError>(42), [](const CustomError &CE) {}); in TEST() 212 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) {}); in TEST() 217 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) mutable {}); in TEST() 771 EXPECT_THAT_ERROR(make_error<CustomError>(0), Failed<CustomError>()); in TEST() 780 joinErrors(make_error<CustomError>(0), make_error<CustomError>(1)), in TEST() 786 Failed<CustomError>(testing::Property(&CustomError::getInfo, 0))); in TEST() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/unittests/Support/ |
H A D | ErrorTest.cpp | 26 class CustomError : public ErrorInfo<CustomError> { class 51 CustomError() : Info(0) {} in CustomError() function in __anonf29b7f3b0111::CustomError 56 char CustomError::ID = 0; 178 handleAllErrors(make_error<CustomError>(42), [&](const CustomError &CE) { in TEST() 200 handleAllErrors(make_error<CustomError>(42), [](const CustomError &CE) {}); in TEST() 212 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) {}); in TEST() 217 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) mutable {}); in TEST() 790 EXPECT_THAT_ERROR(make_error<CustomError>(0), Failed<CustomError>()); in TEST() 805 Failed<CustomError>(testing::Property(&CustomError::getInfo, 0))); in TEST() 809 Failed<CustomError>(testing::Property(&CustomError::getInfo, 1))), in TEST() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/unittests/Support/ |
H A D | ErrorTest.cpp | 26 class CustomError : public ErrorInfo<CustomError> { class 51 CustomError() : Info(0) {} in CustomError() function in __anonbd41ed300111::CustomError 56 char CustomError::ID = 0; 178 handleAllErrors(make_error<CustomError>(42), [&](const CustomError &CE) { in TEST() 200 handleAllErrors(make_error<CustomError>(42), [](const CustomError &CE) {}); in TEST() 212 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) {}); in TEST() 217 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) mutable {}); in TEST() 784 EXPECT_THAT_ERROR(make_error<CustomError>(0), Failed<CustomError>()); in TEST() 799 Failed<CustomError>(testing::Property(&CustomError::getInfo, 0))); in TEST() 803 Failed<CustomError>(testing::Property(&CustomError::getInfo, 1))), in TEST() [all …]
|
/dports/devel/llvm11/llvm-11.0.1.src/unittests/Support/ |
H A D | ErrorTest.cpp | 26 class CustomError : public ErrorInfo<CustomError> { class 51 CustomError() : Info(0) {} in CustomError() function in __anon9ff8c40a0111::CustomError 56 char CustomError::ID = 0; 178 handleAllErrors(make_error<CustomError>(42), [&](const CustomError &CE) { in TEST() 200 handleAllErrors(make_error<CustomError>(42), [](const CustomError &CE) {}); in TEST() 212 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) {}); in TEST() 217 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) mutable {}); in TEST() 784 EXPECT_THAT_ERROR(make_error<CustomError>(0), Failed<CustomError>()); in TEST() 799 Failed<CustomError>(testing::Property(&CustomError::getInfo, 0))); in TEST() 803 Failed<CustomError>(testing::Property(&CustomError::getInfo, 1))), in TEST() [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/unittests/Support/ |
H A D | ErrorTest.cpp | 26 class CustomError : public ErrorInfo<CustomError> { class 51 CustomError() : Info(0) {} in CustomError() function in __anon6aa08ada0111::CustomError 56 char CustomError::ID = 0; 178 handleAllErrors(make_error<CustomError>(42), [&](const CustomError &CE) { in TEST() 200 handleAllErrors(make_error<CustomError>(42), [](const CustomError &CE) {}); in TEST() 212 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) {}); in TEST() 217 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) mutable {}); in TEST() 784 EXPECT_THAT_ERROR(make_error<CustomError>(0), Failed<CustomError>()); in TEST() 799 Failed<CustomError>(testing::Property(&CustomError::getInfo, 0))); in TEST() 803 Failed<CustomError>(testing::Property(&CustomError::getInfo, 1))), in TEST() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/unittests/Support/ |
H A D | ErrorTest.cpp | 26 class CustomError : public ErrorInfo<CustomError> { class 51 CustomError() : Info(0) {} in CustomError() function in __anonc079943d0111::CustomError 56 char CustomError::ID = 0; 178 handleAllErrors(make_error<CustomError>(42), [&](const CustomError &CE) { in TEST() 200 handleAllErrors(make_error<CustomError>(42), [](const CustomError &CE) {}); in TEST() 212 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) {}); in TEST() 217 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) mutable {}); in TEST() 792 EXPECT_THAT_ERROR(make_error<CustomError>(0), Failed<CustomError>()); in TEST() 807 Failed<CustomError>(testing::Property(&CustomError::getInfo, 0))); in TEST() 811 Failed<CustomError>(testing::Property(&CustomError::getInfo, 1))), in TEST() [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/unittests/Support/ |
H A D | ErrorTest.cpp | 26 class CustomError : public ErrorInfo<CustomError> { class 51 CustomError() : Info(0) {} in CustomError() function in __anon5160ffee0111::CustomError 56 char CustomError::ID = 0; 178 handleAllErrors(make_error<CustomError>(42), [&](const CustomError &CE) { in TEST() 200 handleAllErrors(make_error<CustomError>(42), [](const CustomError &CE) {}); in TEST() 212 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) {}); in TEST() 217 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) mutable {}); in TEST() 784 EXPECT_THAT_ERROR(make_error<CustomError>(0), Failed<CustomError>()); in TEST() 799 Failed<CustomError>(testing::Property(&CustomError::getInfo, 0))); in TEST() 803 Failed<CustomError>(testing::Property(&CustomError::getInfo, 1))), in TEST() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/unittests/Support/ |
H A D | ErrorTest.cpp | 26 class CustomError : public ErrorInfo<CustomError> { class 51 CustomError() : Info(0) {} in CustomError() function in __anon2faf1d300111::CustomError 56 char CustomError::ID = 0; 178 handleAllErrors(make_error<CustomError>(42), [&](const CustomError &CE) { in TEST() 200 handleAllErrors(make_error<CustomError>(42), [](const CustomError &CE) {}); in TEST() 212 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) {}); in TEST() 217 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) mutable {}); in TEST() 792 EXPECT_THAT_ERROR(make_error<CustomError>(0), Failed<CustomError>()); in TEST() 807 Failed<CustomError>(testing::Property(&CustomError::getInfo, 0))); in TEST() 811 Failed<CustomError>(testing::Property(&CustomError::getInfo, 1))), in TEST() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/unittests/Support/ |
H A D | ErrorTest.cpp | 26 class CustomError : public ErrorInfo<CustomError> { class 51 CustomError() : Info(0) {} in CustomError() function in __anoneac9dd5b0111::CustomError 56 char CustomError::ID = 0; 178 handleAllErrors(make_error<CustomError>(42), [&](const CustomError &CE) { in TEST() 200 handleAllErrors(make_error<CustomError>(42), [](const CustomError &CE) {}); in TEST() 212 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) {}); in TEST() 217 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) mutable {}); in TEST() 784 EXPECT_THAT_ERROR(make_error<CustomError>(0), Failed<CustomError>()); in TEST() 799 Failed<CustomError>(testing::Property(&CustomError::getInfo, 0))); in TEST() 803 Failed<CustomError>(testing::Property(&CustomError::getInfo, 1))), in TEST() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/unittests/Support/ |
H A D | ErrorTest.cpp | 26 class CustomError : public ErrorInfo<CustomError> { class 51 CustomError() : Info(0) {} in CustomError() function in __anonb6744f680111::CustomError 56 char CustomError::ID = 0; 178 handleAllErrors(make_error<CustomError>(42), [&](const CustomError &CE) { in TEST() 200 handleAllErrors(make_error<CustomError>(42), [](const CustomError &CE) {}); in TEST() 212 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) {}); in TEST() 217 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) mutable {}); in TEST() 792 EXPECT_THAT_ERROR(make_error<CustomError>(0), Failed<CustomError>()); in TEST() 807 Failed<CustomError>(testing::Property(&CustomError::getInfo, 0))); in TEST() 811 Failed<CustomError>(testing::Property(&CustomError::getInfo, 1))), in TEST() [all …]
|
/dports/graphics/llvm-mesa/llvm-13.0.1.src/unittests/Support/ |
H A D | ErrorTest.cpp | 26 class CustomError : public ErrorInfo<CustomError> { class 51 CustomError() : Info(0) {} in CustomError() function in __anon7a0d2bfe0111::CustomError 56 char CustomError::ID = 0; 178 handleAllErrors(make_error<CustomError>(42), [&](const CustomError &CE) { in TEST() 200 handleAllErrors(make_error<CustomError>(42), [](const CustomError &CE) {}); in TEST() 212 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) {}); in TEST() 217 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) mutable {}); in TEST() 792 EXPECT_THAT_ERROR(make_error<CustomError>(0), Failed<CustomError>()); in TEST() 807 Failed<CustomError>(testing::Property(&CustomError::getInfo, 0))); in TEST() 811 Failed<CustomError>(testing::Property(&CustomError::getInfo, 1))), in TEST() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/unittests/Support/ |
H A D | ErrorTest.cpp | 26 class CustomError : public ErrorInfo<CustomError> { class 51 CustomError() : Info(0) {} in CustomError() function in __anon48eea81c0111::CustomError 56 char CustomError::ID = 0; 178 handleAllErrors(make_error<CustomError>(42), [&](const CustomError &CE) { in TEST() 200 handleAllErrors(make_error<CustomError>(42), [](const CustomError &CE) {}); in TEST() 212 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) {}); in TEST() 217 handleAllErrors(make_error<CustomError>(42), [](CustomError &CE) mutable {}); in TEST() 792 EXPECT_THAT_ERROR(make_error<CustomError>(0), Failed<CustomError>()); in TEST() 807 Failed<CustomError>(testing::Property(&CustomError::getInfo, 0))); in TEST() 811 Failed<CustomError>(testing::Property(&CustomError::getInfo, 1))), in TEST() [all …]
|
/dports/devel/py-marshmallow/marshmallow-3.14.1/tests/ |
H A D | test_error_store.py | 11 CustomError = namedtuple("CustomError", ["code", "message"]) variable 20 None, CustomError(123, "error1") 34 CustomError(123, "error1"), None 48 CustomError(123, "error1"), "error2" 53 "error1", CustomError(123, "error2") 57 assert [CustomError(123, "error1"), CustomError(456, "error2")] == merge_errors( 58 CustomError(123, "error1"), CustomError(456, "error2") 76 CustomError(123, "error1"), ["error2"] 81 "_schema": CustomError(123, "error1"), 98 ["error1"], CustomError(123, "error2") [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web/System.Web.Configuration_2.0/ |
H A D | CustomErrorCollection.cs | 48 public void Add (CustomError customError) in Add() 60 return new CustomError (); in CreateNewElement() 73 public CustomError Get (string statusCode) in Get() 75 return (CustomError)BaseGet (statusCode); in Get() 78 public CustomError Get (int index) in Get() 80 return (CustomError)BaseGet (index); in Get() 93 public void Set (CustomError customError) in Set() 124 public CustomError this [int index] { 125 get { return (CustomError)BaseGet (index); } 129 public new CustomError this [string statusCode] { [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web/Test/System.Web.Configuration/ |
H A D | CustomErrorCollectionTest.cs | 49 col.Add (new CustomError (404, "http://404-error.com/")); in GetKey() 67 col.Add (new CustomError (404, "http://404-error.com/")); in Set() 68 col.Add (new CustomError (403, "http://403-error.com/")); in Set() 69 col.Add (new CustomError (999, "http://403-error.com/")); in Set() 71 col.Set (new CustomError (403, "http://403-error2.com/")); in Set() 84 col.Add (new CustomError (404, "http://404-error.com/")); in SetToDuplicate() 85 col.Add (new CustomError (403, "http://403-error.com/")); in SetToDuplicate() 86 col.Add (new CustomError (999, "http://403-error.com/")); in SetToDuplicate() 89 col[2] = new CustomError (403, "http://403-error2.com/"); in SetToDuplicate() 105 col.Add (new CustomError (404, "http://404-error.com/")); in DuplicateKeyInAdd() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web/Configuration/ |
H A D | CustomErrorCollection.cs | 20 [ConfigurationCollection(typeof(CustomError), AddItemName = "error", 51 public new CustomError this[string statusCode] { 57 public CustomError this[int index] { 59 return (CustomError)BaseGet(index); 71 return new CustomError(); in CreateNewElement() 75 return ((CustomError)element).StatusCode; in GetElementKey() 91 public void Add(CustomError customError) { in Add() 99 public CustomError Get(int index) { in Get() 100 return (CustomError)BaseGet(index); in Get() 103 public CustomError Get(string statusCode) { in Get() [all …]
|
/dports/multimedia/navidrome/navidrome-0.40.0/vendor/github.com/Djarvur/go-err113/testdata/ |
H A D | custom.go | 3 type CustomError struct { struct 7 func (e CustomError) Error() string { argument 11 var _ error = (*CustomError)(nil) 13 func CustomEqual(e1, e2 CustomError) bool { argument 17 func CustomNotEqual(e1, e2 CustomError) bool { argument 21 func CustomCastedEqual(ce1, ce2 CustomError) bool { argument 26 func CustomCastedNotEqual(ce1, ce2 CustomError) bool { argument 31 func CustomPCastedEqual(ce1, ce2 *CustomError) bool { argument 36 func CustomPCastedNotEqual(ce1, ce2 *CustomError) bool { argument 41 func CustomHalfCastedEqual(e1 CustomError, e2 error) bool { argument
|
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/nom-5.1.2/tests/ |
H A D | custom_errors.rs | 14 pub struct CustomError(String); struct 16 impl<'a> From<(&'a str, ErrorKind)> for CustomError { implementation 18 CustomError(format!("error code was: {:?}", error)) in from() 22 impl<'a> ParseError<&'a str> for CustomError { implementation 24 CustomError(format!("error code was: {:?}", kind)) in from_error_kind() 27 fn append(_: &'a str, kind: ErrorKind, other: CustomError) -> Self { in append() 28 CustomError(format!("{:?}\nerror code was: {:?}", other, kind)) in append() 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 [all …]
|
/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/nom-5.1.2/tests/ |
H A D | custom_errors.rs | 14 pub struct CustomError(String); struct 16 impl<'a> From<(&'a str, ErrorKind)> for CustomError { implementation 18 CustomError(format!("error code was: {:?}", error)) in from() 22 impl<'a> ParseError<&'a str> for CustomError { implementation 24 CustomError(format!("error code was: {:?}", kind)) in from_error_kind() 27 fn append(_: &'a str, kind: ErrorKind, other: CustomError) -> Self { in append() 28 CustomError(format!("{:?}\nerror code was: {:?}", other, kind)) in append() 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 [all …]
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/nom-6.1.2/tests/ |
H A D | custom_errors.rs | 14 pub struct CustomError(String); struct 16 impl<'a> From<(&'a str, ErrorKind)> for CustomError { implementation 18 CustomError(format!("error code was: {:?}", error)) in from() 22 impl<'a> ParseError<&'a str> for CustomError { implementation 24 CustomError(format!("error code was: {:?}", kind)) in from_error_kind() 27 fn append(_: &'a str, kind: ErrorKind, other: CustomError) -> Self { in append() 28 CustomError(format!("{:?}\nerror code was: {:?}", other, kind)) in append() 32 fn test1(input: &str) -> IResult<&str, &str, CustomError> { in test1() argument 37 fn test2(input: &str) -> IResult<&str, &str, CustomError> { in test2() argument 42 fn test3(input: &str) -> IResult<&str, &str, CustomError> { in test3() argument [all …]
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/nom-5.1.2/tests/ |
H A D | custom_errors.rs | 14 pub struct CustomError(String); struct 16 impl<'a> From<(&'a str, ErrorKind)> for CustomError { implementation 18 CustomError(format!("error code was: {:?}", error)) in from() 22 impl<'a> ParseError<&'a str> for CustomError { implementation 24 CustomError(format!("error code was: {:?}", kind)) in from_error_kind() 27 fn append(_: &'a str, kind: ErrorKind, other: CustomError) -> Self { in append() 28 CustomError(format!("{:?}\nerror code was: {:?}", other, kind)) in append() 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 [all …]
|