/external/llvm/test/Transforms/SimplifyCFG/ |
D | wineh-unreachable.ll | 23 to label %exit unwind label %catch.pad 24 catch.pad: 25 %cs1 = catchswitch within none [label %catch.body] unwind label %unreachable.unwind 26 ; CHECK: catch.pad: 27 ; CHECK-NEXT: catchswitch within none [label %catch.body] unwind to caller 28 catch.body: 29 ; CHECK: catch.body: 33 %catch = catchpad within %cs1 [] 35 catchret from %catch to label %unreachable 72 to label %exit unwind label %catch.pad [all …]
|
D | empty-cleanuppad.ll | 52 ; } catch (...) {} 55 ; In this case, the outermost cleanup pad can be eliminated and the catch block 65 ; CHECK: cleanupret from %0 unwind label %catch.dispatch 66 ; CHECK: catch.dispatch: 67 ; CHECK: catchswitch within none [label %catch] unwind to caller 68 ; CHECK: catch: 85 cleanupret from %0 unwind label %catch.dispatch 87 catch.dispatch: ; preds = %ehcleanup 88 %cs1 = catchswitch within none [label %catch] unwind label %ehcleanup.1 90 catch: ; preds = %catch.dispatch [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | funclet-layout.ll | 15 to label %unreachable unwind label %catch.dispatch 17 catch.dispatch: 18 %cs1 = catchswitch within none [label %catch] unwind to caller 20 catch: 22 br label %catch.loop 24 catch.loop: 25 br i1 %B, label %catchret, label %catch.loop 44 ; The catch funclet contains %catch and %catchret 45 ; CHECK: # %catch{{$}} 55 to label %unreachable unwind label %catch.dispatch [all …]
|
D | tail-merge-wineh.ll | 8 ; } catch (int) { 12 ; } catch (int) { 14 ; } catch (int) { 54 to label %unreachable unwind label %catch.dispatch 56 catch.dispatch: ; preds = %entry 57 %cs1 = catchswitch within none [label %catch] unwind label %catch.dispatch.7 59 catch: ; preds = %catch.dispatch 63 catchret.dest: ; preds = %catch 70 to label %unreachable unwind label %catch.dispatch.2 72 catch.dispatch.2: ; preds = %try.cont [all …]
|
D | branchfolding-catchpads.ll | 15 to label %cleanup unwind label %catch.dispatch 19 to label %cleanup unwind label %catch.dispatch 21 catch.dispatch: 22 %cs = catchswitch within none [ label %catch, label %catch.2 ] unwind to caller 24 catch: 29 catch.2: 57 to label %cleanup unwind label %catch.dispatch 61 to label %cleanup unwind label %catch.dispatch 63 catch.dispatch: 64 %cs = catchswitch within none [ label %catch, label %catch.2, label %catch.3 ] unwind to caller [all …]
|
/external/libcxxabi/test/ |
D | incomplete_type.sh.cpp | 91 } catch (int IncompleteAtThrow::*) { in main() 93 } catch (int CompleteAtThrow::*) { in main() 95 } catch (int NeverDefined::*p) { in main() 98 catch(...) { assert(!"FAIL: Didn't catch NeverDefined::*" ); } in main() 104 } catch (CompleteAtThrow**) { in main() 106 } catch (int CompleteAtThrow::*) { in main() 108 } catch (IncompleteAtThrow**) { in main() 110 } catch (int IncompleteAtThrow::*p) { in main() 113 catch(...) { assert(!"FAIL: Didn't catch IncompleteAtThrow::*" ); } in main() 119 } catch (int IncompleteAtThrow::*) { in main() [all …]
|
D | catch_member_data_pointer_01.pass.cpp | 41 catch (md2) in test1() 45 catch (md1) in test1() 57 catch (md2) in test2() 60 catch (...) in test2() 70 catch (md1) in test2() 73 catch (...) in test2() 87 catch (md2) in test3() 91 catch (der2) in test3() 95 catch (der1) in test3() 99 catch (md1) in test3() [all …]
|
D | catch_ptr_02.pass.cpp | 36 catch ( const A* ) in test1() 39 catch ( A *) in test1() 52 catch ( A* ) in test2() 55 catch ( const A *) in test2() 68 catch ( const A* ) in test3() 71 catch ( A *) in test3() 84 catch ( A *) in test4() 88 catch ( const A* ) in test4() 104 catch (base2 *p) { in test5() 107 catch (...) in test5() [all …]
|
/external/cronet/buildtools/third_party/libc++abi/trunk/test/ |
D | incomplete_type.sh.cpp | 90 } catch (int IncompleteAtThrow::*) { in main() 92 } catch (int CompleteAtThrow::*) { in main() 94 } catch (int NeverDefined::*p) { in main() 97 catch(...) { assert(!"FAIL: Didn't catch NeverDefined::*" ); } in main() 103 } catch (CompleteAtThrow**) { in main() 105 } catch (int CompleteAtThrow::*) { in main() 107 } catch (IncompleteAtThrow**) { in main() 109 } catch (int IncompleteAtThrow::*p) { in main() 112 catch(...) { assert(!"FAIL: Didn't catch IncompleteAtThrow::*" ); } in main() 118 } catch (int IncompleteAtThrow::*) { in main() [all …]
|
D | catch_member_data_pointer_01.pass.cpp | 43 catch (md2) in test1() 47 catch (md1) in test1() 59 catch (md2) in test2() 62 catch (...) in test2() 72 catch (md1) in test2() 75 catch (...) in test2() 89 catch (md2) in test3() 93 catch (der2) in test3() 97 catch (der1) in test3() 101 catch (md1) in test3() [all …]
|
D | catch_ptr_02.pass.cpp | 37 catch ( const A* ) in test1() 40 catch ( A *) in test1() 53 catch ( A* ) in test2() 56 catch ( const A *) in test2() 69 catch ( const A* ) in test3() 72 catch ( A *) in test3() 85 catch ( A *) in test4() 89 catch ( const A* ) in test4() 105 catch (base2 *p) { in test5() 108 catch (...) in test5() [all …]
|
/external/clang/test/SemaCXX/ |
D | exceptions.cpp | 11 } catch(int i) { // expected-note {{previous definition}} in trys() 14 } catch(float i) { in trys() 15 } catch(void v) { // expected-error {{cannot catch incomplete type 'void'}} in trys() 16 } catch(A a) { // expected-error {{cannot catch incomplete type 'A'}} in trys() 17 } catch(A *a) { // expected-error {{cannot catch pointer to incomplete type 'A'}} in trys() 18 } catch(A &a) { // expected-error {{cannot catch reference to incomplete type 'A'}} in trys() 19 } catch(Abstract) { // expected-error {{variable type 'Abstract' is an abstract class}} in trys() 20 } catch(...) { in trys() 25 } catch(...) { // expected-error {{catch-all handler must come last}} in trys() 26 } catch(int) { in trys() [all …]
|
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
D | JimfsFileSystemCloseTest.java | 84 } catch (FileSystemNotFoundException expected) { in testIsNotAvailableFromProvider() 102 } catch (IOException expected) { in testOpenStreamsClosed() 109 } catch (IOException expected) { in testOpenStreamsClosed() 134 } catch (ClosedChannelException expected) { in testOpenChannelsClosed() 140 } catch (ClosedChannelException expected) { in testOpenChannelsClosed() 146 } catch (ClosedChannelException expected) { in testOpenChannelsClosed() 162 } catch (ClosedDirectoryStreamException expected) { in testOpenDirectoryStreamsClosed() 180 } catch (ClosedWatchServiceException expected) { in testOpenWatchServicesClosed() 186 } catch (ClosedWatchServiceException expected) { in testOpenWatchServicesClosed() 202 } catch (ClosedWatchServiceException expected) { in testPathMethodsThrow() [all …]
|
/external/catch2/docs/ |
D | configuration.md | 7 [Prefixing Catch macros](#prefixing-catch-macros)<br> 19 [Overriding Catch's debug break (`-b`)](#overriding-catchs-debug-break--b)<br> 21 Catch is designed to "just work" as much as possible. For most people the only configuration needed… 23 Nonetheless there are still some occasions where finer control is needed. For these occasions Catch… 30 …Catch is header only it still, internally, maintains a distinction between interface headers and h… 36 Brings in various parts of Catch that are required for user defined Reporters and Listeners. This m… 40 ## Prefixing Catch macros 44 …Catch uses short macro names (e.g. ```TEST_CASE``` and ```REQUIRE```). Occasionally these may conf… 55 When sending output to the terminal, if it detects that it can, Catch will use colourised text. On … 61 Typically you should place the ```#define``` before #including "catch.hpp" in your main source file… [all …]
|
D | own-main.md | 5 [Let Catch take full control of args and config](#let-catch-take-full-control-of-args-and-config)<b… 10 The easiest way to use Catch is to let it supply ```main()``` for you and handle configuring itself… 12 This is achieved by writing ```#define CATCH_CONFIG_MAIN``` before the ```#include "catch.hpp"``` i… 14 …`` instead. Now you are free to write ```main()``` as normal and call into Catch yourself manually. 18 ## Let Catch take full control of args and config 20 If you just need to have code that executes before and/ or after Catch this is the simplest option. 24 #include "catch.hpp" 29 int result = Catch::Session().run( argc, argv ); 39 If you still want Catch to process the command line, but you want to programmatically tweak the con… 43 #include "catch.hpp" [all …]
|
/external/catch2/include/ |
D | catch.hpp | 105 // If this config identifier is defined then all CATCH macros are prefixed with CATCH_ 108 #define CATCH_REQUIRE( ... ) INTERNAL_CATCH_TEST( "CATCH_REQUIRE", Catch::ResultDisposition::Normal… 109 …ALSE( ... ) INTERNAL_CATCH_TEST( "CATCH_REQUIRE_FALSE", Catch::ResultDisposition::Normal | Catch::… 111 #define CATCH_REQUIRE_THROWS( ... ) INTERNAL_CATCH_THROWS( "CATCH_REQUIRE_THROWS", Catch::ResultDis… 112 …ype ) INTERNAL_CATCH_THROWS_AS( "CATCH_REQUIRE_THROWS_AS", exceptionType, Catch::ResultDisposition… 113 …matcher ) INTERNAL_CATCH_THROWS_STR_MATCHES( "CATCH_REQUIRE_THROWS_WITH", Catch::ResultDisposition… 115 …RNAL_CATCH_THROWS_MATCHES( "CATCH_REQUIRE_THROWS_MATCHES", exceptionType, Catch::ResultDisposition… 117 #define CATCH_REQUIRE_NOTHROW( ... ) INTERNAL_CATCH_NO_THROW( "CATCH_REQUIRE_NOTHROW", Catch::Resul… 119 #define CATCH_CHECK( ... ) INTERNAL_CATCH_TEST( "CATCH_CHECK", Catch::ResultDisposition::ContinueOn… 120 …E( ... ) INTERNAL_CATCH_TEST( "CATCH_CHECK_FALSE", Catch::ResultDisposition::ContinueOnFailure | C… [all …]
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | MapInterfaceTest.java | 141 } catch (UnsupportedOperationException e) { in makeEitherMap() 153 } catch (Exception e) { in supportsValuesHashCode() 271 } catch (UnsupportedOperationException e) { in testClear() 282 } catch (UnsupportedOperationException expected) { in testClear() 294 } catch (UnsupportedOperationException e) { in testContainsKey() 300 } catch (ClassCastException tolerated) { in testContainsKey() 308 } catch (NullPointerException optional) { in testContainsKey() 320 } catch (UnsupportedOperationException e) { in testContainsValue() 330 } catch (NullPointerException optional) { in testContainsValue() 341 } catch (UnsupportedOperationException e) { in testEntrySet() [all …]
|
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/ |
D | MapInterfaceTest.java | 141 } catch (UnsupportedOperationException e) { in makeEitherMap() 153 } catch (Exception e) { in supportsValuesHashCode() 271 } catch (UnsupportedOperationException e) { in testClear() 282 } catch (UnsupportedOperationException expected) { in testClear() 294 } catch (UnsupportedOperationException e) { in testContainsKey() 300 } catch (ClassCastException tolerated) { in testContainsKey() 308 } catch (NullPointerException optional) { in testContainsKey() 320 } catch (UnsupportedOperationException e) { in testContainsValue() 330 } catch (NullPointerException optional) { in testContainsValue() 341 } catch (UnsupportedOperationException e) { in testEntrySet() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timescale/ |
D | TimeScaleAPITest.java | 46 } catch (IllegalArgumentException iae) { in TestBigDecimalFromBigDecimal() 53 } catch (IllegalArgumentException iae) { in TestBigDecimalFromBigDecimal() 61 } catch (IllegalArgumentException iae) { in TestBigDecimalFromBigDecimal() 72 } catch (IllegalArgumentException iae) { in TestBigDecimalFromDouble() 79 } catch (IllegalArgumentException iae) { in TestBigDecimalFromDouble() 87 } catch (IllegalArgumentException iae) { in TestBigDecimalFromDouble() 98 } catch (IllegalArgumentException iae) { in TestBigDecimalFromLong() 105 } catch (IllegalArgumentException iae) { in TestBigDecimalFromLong() 113 } catch (IllegalArgumentException iae) { in TestBigDecimalFromLong() 126 } catch (IllegalArgumentException iae) { in TestFromLong() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/ |
D | TimeScaleAPITest.java | 43 } catch (IllegalArgumentException iae) { in TestBigDecimalFromBigDecimal() 50 } catch (IllegalArgumentException iae) { in TestBigDecimalFromBigDecimal() 58 } catch (IllegalArgumentException iae) { in TestBigDecimalFromBigDecimal() 69 } catch (IllegalArgumentException iae) { in TestBigDecimalFromDouble() 76 } catch (IllegalArgumentException iae) { in TestBigDecimalFromDouble() 84 } catch (IllegalArgumentException iae) { in TestBigDecimalFromDouble() 95 } catch (IllegalArgumentException iae) { in TestBigDecimalFromLong() 102 } catch (IllegalArgumentException iae) { in TestBigDecimalFromLong() 110 } catch (IllegalArgumentException iae) { in TestBigDecimalFromLong() 123 } catch (IllegalArgumentException iae) { in TestFromLong() [all …]
|
/external/catch2/projects/SelfTest/IntrospectiveTests/ |
D | InternalBenchmark.tests.cpp | 9 #include "catch.hpp" 57 struct TestChronometerModel : Catch::Benchmark::Detail::ChronometerConcept { 71 auto iterations = Catch::Benchmark::Detail::warmup<counting_clock>(); 74 REQUIRE((iterations * rate) > Catch::Benchmark::Detail::warmup_time.count()); 75 REQUIRE((end - start) > Catch::Benchmark::Detail::warmup_time); 83 auto res = Catch::Benchmark::Detail::resolution<counting_clock>(static_cast<int>(count)); 97 auto res = Catch::Benchmark::Detail::estimate_clock_resolution<counting_clock>(iters); 107 auto meter = Catch::Benchmark::Chronometer{ model, 1 }; 108 auto fn = Catch::Benchmark::Detail::BenchmarkFunction{ [&] { in __anon59c0f2f70402() 124 auto meter = Catch::Benchmark::Chronometer{ model, 1 }; [all …]
|
/external/smali/smalidea/src/main/antlr/ |
D | smalideaParser.g | 204 catch [RecognitionException re] { 213 catch [RecognitionException re] { 222 catch [RecognitionException re] { 231 catch [RecognitionException re] { 243 catch [RecognitionException re] { 252 catch [RecognitionException re] { 291 catch [RecognitionException re] { 306 catch [RecognitionException re] { 319 catch [RecognitionException re] { 326 catch [RecognitionException re] { [all …]
|
/external/python/pybind11/tools/ |
D | FindCatch.cmake | 1 # - Find the Catch test framework or download it (single header) 3 # This is a quick module for internal use. It assumes that Catch is 9 # CATCH_INCLUDE_DIR - path to catch.hpp 15 message(FATAL_ERROR "This module assumes Catch is not required.") 20 # Extract the version number from catch.hpp 23 STRINGS "${CATCH_INCLUDE_DIR}/catch.hpp" version_line 24 REGEX "Catch v.*" 26 if(version_line MATCHES "Catch v([0-9]+)\\.([0-9]+)\\.([0-9]+)") 33 # Download the single-header version of Catch 35 message(STATUS "Downloading catch v${version}...") [all …]
|
/external/llvm/test/Transforms/Inline/ |
D | invoke-combine-clauses.ll | 12 ; inlined function caused "catch i8* @exception_outer" to appear 22 catch i8* @exception_inner 38 catch i8* @exception_outer 43 ; CHECK-NEXT: catch i8* @exception_inner 44 ; CHECK-NEXT: catch i8* @exception_outer 45 ; Check that there isn't another "catch" clause: 50 ; inlined function caused "catch i8* @exception_outer" to appear 61 catch i8* @exception_inner 72 catch i8* @exception_outer 77 ; CHECK-NEXT: catch i8* @exception_inner [all …]
|
/external/guava/android/guava-tests/test/com/google/common/base/ |
D | ThrowablesTest.java | 48 } catch (SomeUncheckedException expected) { in testThrowIfUnchecked_Unchecked() 56 } catch (SomeError expected) { in testThrowIfUnchecked_Error() 73 } catch (Throwable t) { in testPropagateIfPossible_NoneDeclared_NoneThrown() 92 } catch (Throwable t) { in testPropagateIfPossible_NoneDeclared_UncheckedThrown() 103 } catch (SomeUncheckedException expected) { in testPropagateIfPossible_NoneDeclared_UncheckedThrown() 115 } catch (Throwable t) { in testPropagateIfPossible_NoneDeclared_UndeclaredThrown() 126 } catch (SomeChainingException expected) { in testPropagateIfPossible_NoneDeclared_UndeclaredThrown() 138 } catch (Throwable t) { in testPropagateIfPossible_OneDeclared_NoneThrown() 159 } catch (Throwable t) { in testPropagateIfPossible_OneDeclared_UncheckedThrown() 170 } catch (SomeUncheckedException expected) { in testPropagateIfPossible_OneDeclared_UncheckedThrown() [all …]
|