Home
last modified time | relevance | path

Searched full:catch (Results 1 – 25 of 4315) sorted by relevance

12345678910>>...173

/external/v8/test/webkit/
Dexception-propagate-from-dfg-to-llint.js34 try { shouldThrow = !shouldThrow; h(o); } catch (e) {}
35 try { shouldThrow = !shouldThrow; h(o); } catch (e) {}
36 try { shouldThrow = !shouldThrow; h(o); } catch (e) {}
37 try { shouldThrow = !shouldThrow; h(o); } catch (e) {}
38 try { shouldThrow = !shouldThrow; h(o); } catch (e) {}
39 try { shouldThrow = !shouldThrow; h(o); } catch (e) {}
40 try { shouldThrow = !shouldThrow; h(o); } catch (e) {}
41 try { shouldThrow = !shouldThrow; h(o); } catch (e) {}
42 try { shouldThrow = !shouldThrow; h(o); } catch (e) {}
43 try { shouldThrow = !shouldThrow; h(o); } catch (e) {}
[all …]
/external/v8/test/mjsunit/regress/
Dregress-1200351.js41 } catch (e) { if (e.message.length > 0) { print (e.message); } };
45 } catch (e) { if (e.message.length > 0) { print (e.message); } };
49 } catch (e) { if (e.message.length > 0) { print (e.message); } };
53 } catch (e) { if (e.message.length > 0) { print (e.message); } };
57 } catch (e) { if (e.message.length > 0) { print (e.message); } };
61 } catch (e) { if (e.message.length > 0) { print (e.message); } };
65 } catch (e) { if (e.message.length > 0) { print (e.message); } };
69 } catch (e) { if (e.message.length > 0) { print (e.message); } };
73 } catch (e) { if (e.message.length > 0) { print (e.message); } };
77 } catch (e) { if (e.message.length > 0) { print (e.message); } };
[all …]
/external/clang/test/SemaCXX/
Dexceptions.cpp9 } catch(int i) { // expected-note {{previous definition}} in trys()
12 } catch(float i) { in trys()
13 } catch(void v) { // expected-error {{cannot catch incomplete type 'void'}} in trys()
14 } catch(A a) { // expected-error {{cannot catch incomplete type 'A'}} in trys()
15 } catch(A *a) { // expected-error {{cannot catch pointer to incomplete type 'A'}} in trys()
16 } catch(A &a) { // expected-error {{cannot catch reference to incomplete type 'A'}} in trys()
17 } catch(Abstract) { // expected-error {{variable type 'Abstract' is an abstract class}} in trys()
18 } catch(...) { in trys()
23 } catch(...) { // expected-error {{catch-all handler must come last}} in trys()
24 } catch(int) { in trys()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DMapInterfaceTest.java150 } catch (UnsupportedOperationException e) { in makeEitherMap()
162 } catch (Exception e) { in supportsValuesHashCode()
278 } catch (UnsupportedOperationException e) { in testClear()
289 } catch (UnsupportedOperationException e) { in testClear()
302 } catch (UnsupportedOperationException e) { in testContainsKey()
308 } catch (ClassCastException tolerated) {} in testContainsKey()
315 } catch (NullPointerException optional) { in testContainsKey()
327 } catch (UnsupportedOperationException e) { in testContainsValue()
337 } catch (NullPointerException optional) { in testContainsValue()
348 } catch (UnsupportedOperationException e) { in testEntrySet()
[all …]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
DKeyStore_Impl2Test.java112 } catch (KeyStoreException e) { in checkResult()
117 } catch (NullPointerException e) { in checkResult()
124 } catch (KeyStoreException e) { in checkResult()
129 } catch (KeyStoreException e) { in checkResult()
134 } catch (KeyStoreException e) { in checkResult()
139 } catch (IOException e) { in checkResult()
144 } catch (IOException e) { in checkResult()
145 } catch (NullPointerException e) { in checkResult()
151 } catch (IOException e) { in checkResult()
159 } catch (UnsupportedOperationException e) { in checkResult()
[all …]
DKSBuilder_ImplTest.java89 } catch (IOException e) { in createKS()
120 } catch (NullPointerException e) { in testNewInstanceKeyStoreProtectionParameter()
131 } catch (NullPointerException e) { in testNewInstanceKeyStoreProtectionParameter()
153 } catch (IllegalArgumentException e) { in testNewInstanceKeyStoreProtectionParameter()
170 } catch (NullPointerException e) { in testNewInstanceKeyStoreProtectionParameter()
174 } catch (KeyStoreException e) { in testNewInstanceKeyStoreProtectionParameter()
180 } catch (KeyStoreException e) { in testNewInstanceKeyStoreProtectionParameter()
186 } catch (KeyStoreException e) { in testNewInstanceKeyStoreProtectionParameter()
252 } catch (NullPointerException e) { in testNewInstanceStringProviderFileProtectionParameter()
258 } catch (NullPointerException e) { in testNewInstanceStringProviderFileProtectionParameter()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/
DTimeScaleAPITest.java35 } catch (IllegalArgumentException iae) { in TestBigDecimalFromBigDecimal()
42 } catch (IllegalArgumentException iae) { in TestBigDecimalFromBigDecimal()
50 } catch (IllegalArgumentException iae) { in TestBigDecimalFromBigDecimal()
60 } catch (IllegalArgumentException iae) { in TestBigDecimalFromDouble()
67 } catch (IllegalArgumentException iae) { in TestBigDecimalFromDouble()
75 } catch (IllegalArgumentException iae) { in TestBigDecimalFromDouble()
85 } catch (IllegalArgumentException iae) { in TestBigDecimalFromLong()
92 } catch (IllegalArgumentException iae) { in TestBigDecimalFromLong()
100 } catch (IllegalArgumentException iae) { in TestBigDecimalFromLong()
112 } catch (IllegalArgumentException iae) { in TestFromLong()
[all …]
/external/llvm/test/Analysis/Lint/
Dcppeh-catch-intrinsics.ll5 ; See cppeh-catch-intrinsics-clean for correct uses.
25 catch i8* bitcast (i8** @_ZTIi to i8*)
30 br i1 %matches, label %catch, label %eh.resume
32 catch: ; preds = %lpad
37 invoke.cont2: ; preds = %catch
43 eh.resume: ; preds = %catch.dispatch
57 catch i8* bitcast (i8** @_ZTIi to i8*)
62 br i1 %matches, label %catch, label %eh.resume
64 catch: ; preds = %lpad
68 invoke.cont2: ; preds = %catch
[all …]
/external/libcxxabi/test/
Dcatch_ptr_02.pass.cpp23 catch ( const A* ) in test1()
26 catch ( A *) in test1()
39 catch ( A* ) in test2()
42 catch ( const A *) in test2()
55 catch ( const A* ) in test3()
58 catch ( A *) in test3()
71 catch ( A *) in test4()
75 catch ( const A* ) in test4()
91 catch (base2 *p) { in test5()
94 catch (...) in test5()
[all …]
Dinherited_exception.pass.cpp73 catch (const Child& c) in main()
77 catch (const Base& b) in main()
81 catch (...) in main()
91 catch (const Base& c) in main()
95 catch (const Child& b) in main()
99 catch (...) in main()
109 catch (const Base2& c) in main()
113 catch (const Child& b) in main()
117 catch (...) in main()
127 catch (const Child& c) in main()
[all …]
Dcatch_ptr.pass.cpp82 catch (const A* a) // can catch A in f2()
90 catch (const C1*) in f2()
94 catch (const C2*) in f2()
98 catch (const B*) in f2()
111 catch (const B* a) // can catch B in f3()
116 catch (const C1* c1) in f3()
120 catch (const C2*) in f3()
133 catch (const C2* c2) // can catch C2 in f4()
138 catch (const B* a) in f4()
142 catch (const C1*) in f4()
[all …]
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DSSLSocketImplTest.java85 } catch (Exception e) { in testSSLSocketImpl1()
97 } catch (Exception e) { in testSSLSocketImpl1()
103 } catch (IOException ex) { in testSSLSocketImpl1()
107 } catch (IOException ex) { in testSSLSocketImpl1()
116 } catch (IOException ex) { in testSSLSocketImpl1()
122 } catch (IOException ex) { in testSSLSocketImpl1()
149 } catch (Exception e) { in testSSLSocketImpl2()
161 } catch (Exception e) { in testSSLSocketImpl2()
167 } catch (IOException ex) { in testSSLSocketImpl2()
171 } catch (IOException ex) { in testSSLSocketImpl2()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DThrowablesTest.java42 } catch (Throwable t) { in testPropagateIfPossible_NoneDeclared_NoneThrown()
58 } catch (Throwable t) { in testPropagateIfPossible_NoneDeclared_UncheckedThrown()
69 } catch (SomeUncheckedException expected) { in testPropagateIfPossible_NoneDeclared_UncheckedThrown()
78 } catch (Throwable t) { in testPropagateIfPossible_NoneDeclared_UndeclaredThrown()
89 } catch (SomeChainingException expected) { in testPropagateIfPossible_NoneDeclared_UndeclaredThrown()
99 } catch (Throwable t) { in testPropagateIfPossible_OneDeclared_NoneThrown()
118 } catch (Throwable t) { in testPropagateIfPossible_OneDeclared_UncheckedThrown()
129 } catch (SomeUncheckedException expected) { in testPropagateIfPossible_OneDeclared_UncheckedThrown()
138 } catch (Throwable t) { in testPropagateIfPossible_OneDeclared_CheckedThrown()
149 } catch (SomeCheckedException expected) { in testPropagateIfPossible_OneDeclared_CheckedThrown()
[all …]
/external/llvm/test/Transforms/Inline/
Dinvoke-combine-clauses.ll12 ; 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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DTestUScriptRun.java104 } catch (IllegalArgumentException iae) { in TestContstruction()
111 } catch (IllegalArgumentException iae) { in TestContstruction()
118 } catch (IllegalArgumentException iae) { in TestContstruction()
125 } catch (IllegalArgumentException iae) { in TestContstruction()
132 } catch (IllegalArgumentException iae) { in TestContstruction()
139 } catch (IllegalArgumentException iae) { in TestContstruction()
146 } catch (IllegalArgumentException iae) { in TestContstruction()
153 } catch (IllegalArgumentException iae) { in TestContstruction()
160 } catch (IllegalArgumentException iae) { in TestContstruction()
167 }catch (IllegalArgumentException iae) { in TestContstruction()
[all …]
/external/easymock/src/org/easymock/internal/
DMocksControl.java53 } catch (RuntimeExceptionWrapper e) { in createMock()
64 } catch (RuntimeExceptionWrapper e) { in createMock()
100 } catch (RuntimeExceptionWrapper e) { in replay()
108 } catch (RuntimeExceptionWrapper e) { in verify()
110 } catch (AssertionErrorWrapper e) { in verify()
118 } catch (RuntimeExceptionWrapper e) { in checkOrder()
126 } catch (RuntimeExceptionWrapper e) { in makeThreadSafe()
134 } catch (RuntimeExceptionWrapper e) { in checkIsUsedInOneThread()
145 } catch (RuntimeExceptionWrapper e) { in andReturn()
154 } catch (RuntimeExceptionWrapper e) { in andThrow()
[all …]
/external/llvm/test/CodeGen/WinEH/
Dcppeh-multi-catch.ll9 ; } catch (int i) {
11 ; } catch (long long ll) {
13 ; } catch (SomeClass &obj) {
15 ; } catch (...) {
20 ; The catch handlers were edited to insert 'ret void' after the endcatch call.
22 ; ModuleID = 'catch-with-type.cpp'
73 ; CHECK-NEXT: catch %eh.HandlerMapEntry* @llvm.eh.handlermapentry.H
74 ; CHECK-NEXT: catch %eh.HandlerMapEntry* @llvm.eh.handlermapentry._J
75 ; CHECK-NEXT: catch %eh.HandlerMapEntry* @"llvm.eh.handlermapentry.reference.?AVSomeClass…
76 ; CHECK-NEXT: catch i8* null
[all …]
Dcppeh-nested-3.ll10 ; } catch (int i) {
14 ; catch (int j) {
19 ; } catch (float f) {
64 ; CHECK: catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)
65 ; CHECK: catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0M@8" to i8*)
66 …riptor2* @"\01??_R0H@8" to i8*), i32 0, i8* (i8*, i8*)* @"\01?test@@YAXXZ.catch", i32 1, i8* bitca…
71 catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0H@8" to i8*)
72 catch i8* bitcast (%rtti.TypeDescriptor2* @"\01??_R0M@8" to i8*)
77 br label %catch.dispatch
79 ; CHECK-NOT: catch.dispatch:
[all …]
Dcppeh-nested-2.ll21 ; } catch (int i) {
24 ; } catch (float f) {
95 ; CHECK-NEXT: catch i8* bitcast (i8** @_ZTIf to i8*)
96 …) @llvm.eh.actions(i32 1, i8* bitcast (i8** @_ZTIf to i8*), i32 0, i8* (i8*, i8*)* @_Z4testv.catch)
101 catch i8* bitcast (i8** @_ZTIf to i8*)
106 br label %catch.dispatch11
111 ; CHECK-NEXT: catch i8* bitcast (i8** @_ZTIi to i8*)
112 ; CHECK-NEXT: catch i8* bitcast (i8** @_ZTIf to i8*)
116 ; CHECK-SAME: i32 1, i8* bitcast (i8** @_ZTIf to i8*), i32 0, i8* (i8*, i8*)* @_Z4testv.catch)
122 catch i8* bitcast (i8** @_ZTIi to i8*)
[all …]
/external/guava/guava-tests/test/com/google/common/math/
DMathPreconditionsTest.java37 } catch (IllegalArgumentException expected) {} in testCheckPositive_zeroInt()
48 } catch (IllegalArgumentException expected) {} in testCheckPositive_minInt()
59 } catch (IllegalArgumentException expected) {} in testCheckPositive_negativeInt()
66 } catch (IllegalArgumentException expected) {} in testCheckPositive_zeroLong()
77 } catch (IllegalArgumentException expected) {} in testCheckPositive_minLong()
88 } catch (IllegalArgumentException expected) {} in testCheckPositive_negativeLong()
95 } catch (IllegalArgumentException expected) {} in testCheckPositive_zeroBigInteger()
106 } catch (IllegalArgumentException expected) {} in testCheckPositive_negativeBigInteger()
121 } catch (IllegalArgumentException expected) {} in testCheckNonNegative_minInt()
132 } catch (IllegalArgumentException expected) {} in testCheckNonNegative_negativeInt()
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
DCertificateFactorySpiTest.java66 } catch (UnsupportedOperationException e) { in testCertificateFactorySpi01()
71 } catch (UnsupportedOperationException e) { in testCertificateFactorySpi01()
77 } catch (UnsupportedOperationException e) { in testCertificateFactorySpi01()
82 } catch (UnsupportedOperationException e) { in testCertificateFactorySpi01()
90 } catch (CertificateException e) { in testCertificateFactorySpi01()
98 } catch (CertificateException e) { in testCertificateFactorySpi01()
106 } catch (CRLException e) { in testCertificateFactorySpi01()
115 } catch (CRLException e) { in testCertificateFactorySpi01()
132 } catch (CertificateException e) { in testCertificateFactorySpi02()
138 } catch (CertificateException e) { in testCertificateFactorySpi02()
[all …]
DCertificateFactory1Test.java103 } catch (Exception e) { in initCertFs()
139 } catch (CertificateException e) { in testCertificateFactory02()
140 } catch (NullPointerException e) { in testCertificateFactory02()
147 } catch (CertificateException e) { in testCertificateFactory02()
167 } catch (IllegalArgumentException e) { in testCertificateFactory03()
172 } catch (IllegalArgumentException e) { in testCertificateFactory03()
192 } catch (CertificateException e) { in testCertificateFactory04()
193 } catch (NullPointerException e) { in testCertificateFactory04()
202 } catch (CertificateException e) { in testCertificateFactory04()
243 } catch (IllegalArgumentException e) { in testCertificateFactory06()
[all …]
/external/clang/test/SemaObjC/
Dscope-check.m11 } @catch (A *x) { // expected-note {{jump bypasses initialization of @catch block}}
13 } @catch (B *x) {
14 } @catch (C *c) {
22 } @catch (C *c) { // expected-note {{jump bypasses initialization of @catch block}}
25 } @catch (B *c) { // expected-note {{jump bypasses initialization of @catch block}}
34 } @catch (C *c) {
42 } @catch (A *c) {
43 } @catch (B *c) {
44 } @catch (C *c) { // expected-note {{jump bypasses initialization of @catch block}}
71 } @catch (...) {}
[all …]
/external/jmonkeyengine/engine/src/xml/com/jme3/export/xml/
DDOMInputCapsule.java130 } catch (NumberFormatException nfe) { in readByte()
134 } catch (DOMException de) { in readByte()
167 } catch (IOException ioe) { in readByteArray()
169 } catch (NumberFormatException nfe) { in readByteArray()
173 } catch (DOMException de) { in readByteArray()
213 } catch (IOException ioe) { in readByteArray2D()
215 } catch (NumberFormatException nfe) { in readByteArray2D()
219 } catch (DOMException de) { in readByteArray2D()
231 } catch (NumberFormatException nfe) { in readInt()
235 } catch (DOMException de) { in readInt()
[all …]
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DDESedeKeySpecTest.java48 } catch (NullPointerException e) { in testDESedeKeySpec()
49 } catch (InvalidKeyException e) { in testDESedeKeySpec()
56 } catch (NullPointerException e) { in testDESedeKeySpec()
58 } catch (InvalidKeyException e) { in testDESedeKeySpec()
64 } catch (NullPointerException e) { in testDESedeKeySpec()
66 } catch (InvalidKeyException e) { in testDESedeKeySpec()
73 } catch (NullPointerException e) { in testDESedeKeySpec()
74 } catch (InvalidKeyException e) { in testDESedeKeySpec()
83 } catch (NullPointerException e) { in testDESedeKeySpec()
85 } catch (InvalidKeyException e) { in testDESedeKeySpec()
[all …]

12345678910>>...173