/external/smali/baksmali/src/test/smali/deodex_test1/ |
main.smali | 20 #and this will always throw an exception. It should be 56 .catch Ljava/lang/Exception; {:try_start .. :try_end} :handler 59 #this tests that the parameter register types are correctly propagated to the exception handlers, in the 60 #case that the first instruction of the method can throw an exception and is in a try black 64 .catch Ljava/lang/Exception; {:inner_try_start .. :inner_try_end} :inner_handler 67 #instruction in the exception handler can also throw an exception, and is covered by a try block
|
/libcore/luni/src/test/java/libcore/java/lang/ref/ |
ReferenceQueueTest.java | 27 public void testRemoveWithInvalidTimeout() throws Exception { 36 public void testRemoveWithVeryLargeTimeout() throws Exception { 42 public void testRemoveWithSpuriousNotify() throws Exception { 60 public void testRemoveWithImmediateResultAndNoTimeout() throws Exception { 66 public void testRemoveWithImmediateResultAndTimeout() throws Exception { 72 public void testRemoveWithDelayedResultAndNoTimeout() throws Exception { 82 public void testRemoveWithDelayedResultAndTimeout() throws Exception {
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
ExemptionMechanismExceptionTest.java | 41 static Throwable tCause = new Throwable("Throwable for exception"); 43 static String createErr(Exception tE, Exception eE) { 45 " is not equal to caught exception: ").concat(eE.toString()); 58 } catch (Exception e) { 77 } catch (Exception e) { 95 } catch (Exception e) {
|
/libcore/luni/src/test/java/tests/api/java/lang/ref/ |
WeakReferenceTest.java | 42 } catch (Exception e) { 43 fail("Exception during test : " + e.getMessage()); 48 boolean exception = false; 52 exception = true; 54 assertTrue("Should not throw NullPointerException", !exception); 68 } catch (Exception e) { 69 fail("Exception during test : " + e.getMessage());
|
/ndk/sources/cxx-stl/gabi++/src/ |
exception.cc | 28 #include <exception> 36 exception::exception() _GABIXX_NOEXCEPT { 40 exception::~exception() _GABIXX_NOEXCEPT { 43 const char* exception::what() const _GABIXX_NOEXCEPT { 44 return "std::exception";
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidXmlAutoEditStrategyTest.java | 33 public void checkInsertNewline(String before, String after) throws Exception { 98 public void testCornerCase1() throws Exception { 102 public void testCornerCase2() throws Exception { 109 public void testCornerCase3() throws Exception { 117 public void testSimpleIndentation1() throws Exception { 125 public void testSimpleIndentation2() throws Exception { 135 public void testSimpleIndentation3() throws Exception { 145 public void testSimpleIndentation4() throws Exception { 155 public void testSimpleIndentation5() throws Exception { 164 public void testSplitAttribute() throws Exception { [all...] |
/cts/suite/cts/deviceTests/opengl/src/com/android/cts/opengl/primitive/ |
GLPrimitiveBenchmark.java | 41 public void testFullPipelineOffscreen() throws Exception { 49 public void testFullPipelineOnscreen() throws Exception { 57 public void testPixelOutputOffscreen() throws Exception { 65 public void testPixelOutputOnscreen() throws Exception { 73 public void testShaderPerfOffscreen() throws Exception { 81 public void testShaderPerfOnscreen() throws Exception { 89 public void testContextSwitchOffscreen() throws Exception { 97 public void testContextSwitchOnscreen() throws Exception { 109 * @throws Exception If the benchmark could not be run. 112 int numIterations, int timeout) throws Exception { [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
SSLCertificateSocketFactoryTest.java | 36 protected void setUp() throws Exception { 42 public void testAccessProperties() throws Exception { 49 public void testCreateSocket() throws Exception { 57 fail("should throw exception!"); 66 fail("should throw exception!"); 74 fail("should throw exception!"); 84 // it throw exception when calling createSocket(String, int, InetAddress, int) 100 public void test_createSocket_simple() throws Exception { 116 public void test_createSocket_wrapping() throws Exception { 134 public void test_createSocket_bind() throws Exception { [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
SimpleEntryTest.java | 32 public void test_SimpleEntry_Constructor_K_V() throws Exception { 37 public void test_SimpleEntry_Constructor_LEntry() throws Exception { 59 public void test_SimpleEntry_getKey() throws Exception { 66 public void test_SimpleEntry_getValue() throws Exception { 73 public void test_SimpleEntry_setValue() throws Exception { 82 public void test_SimpleEntry_equals() throws Exception { 93 public void test_SimpleEntry_hashCode() throws Exception { 100 public void test_SimpleEntry_toString() throws Exception { 109 public void testSerializationSelf_SimpleEntry() throws Exception { 118 public void testSerializationCompatibility_SimpleEntry() throws Exception { [all...] |
/external/chromium_org/v8/test/webkit/ |
instance-of-immediates-expected.txt | 29 PASS (1 instanceof 1) threw exception TypeError: Expecting a function in instanceof check, but got 1. 30 PASS ({} instanceof 1) threw exception TypeError: Expecting a function in instanceof check, but got 1. 31 PASS (obj instanceof 1) threw exception TypeError: Expecting a function in instanceof check, but got 1. 32 PASS (1 instanceof {}) threw exception TypeError: Expecting a function in instanceof check, but got #<Object>. 33 PASS ({} instanceof {}) threw exception TypeError: Expecting a function in instanceof check, but got #<Object>. 34 PASS (obj instanceof {}) threw exception TypeError: Expecting a function in instanceof check, but got #<Object>. 39 PASS ({} instanceof Constructor) threw exception TypeError: Function has non-object prototype '1' in instanceof check. 40 PASS (obj instanceof Constructor) threw exception TypeError: Function has non-object prototype '1' in instanceof check. 45 PASS ({} instanceof Constructor) threw exception TypeError: Function has non-object prototype 'null' in instanceof check. 46 PASS (obj instanceof Constructor) threw exception TypeError: Function has non-object prototype 'null' in instanceof check [all...] |
/external/clang/test/CXX/except/except.spec/ |
p5-virtual.cpp | 84 virtual void g1() throw(int); // expected-error {{exception specification of overriding function is more lax}} 85 virtual void g2(); // expected-error {{exception specification of overriding function is more lax}} 86 virtual void g3() throw(D); // expected-error {{exception specification of overriding function is more lax}} 87 virtual void g4() throw(A); // expected-error {{exception specification of overriding function is more lax}} 88 virtual void g5() throw(P); // expected-error {{exception specification of overriding function is more lax}} 90 virtual void g6() noexcept(false); // expected-error {{exception specification of overriding function is more lax}} 91 virtual void g7(); // expected-error {{exception specification of overriding function is more lax}} 93 virtual void g8() throw(int); // expected-error {{exception specification of overriding function is more lax}} 94 virtual void g9() noexcept(false); // expected-error {{exception specification of overriding function is more lax}} 95 virtual void g10() noexcept(false); // expected-error {{exception specification of overriding function is more lax} [all...] |
/external/elfutils/config/ |
version.h.in | 18 In addition, as a special exception, Red Hat, Inc. gives You the 24 this exception must only link to the code of Red Hat elfutils through 25 those well defined interfaces identified in the file named EXCEPTION 31 Red Hat's grant of this exception is conditioned upon your not adding 33 exception, please contact Red Hat. You must obey the GNU General Public 36 covered by this exception. If you modify this file, you may extend this 37 exception to your version of the file, but you are not obligated to do 38 so. If you do not wish to provide this exception without modification, 39 you must delete this exception statement from your version and license 40 this file solely under the GPL without exception [all...] |
/external/elfutils/lib/ |
next_prime.c | 19 In addition, as a special exception, Red Hat, Inc. gives You the 24 exception must only link to the code of Red Hat elfutils through those 25 well defined interfaces identified in the file named EXCEPTION found in 31 this exception is conditioned upon your not adding any new exceptions. 32 If you wish to add a new Approved Interface or exception, please contact 35 with Red Hat elfutils except the Non-GPL Code covered by this exception. 36 If you modify this file, you may extend this exception to your version 38 provide this exception without modification, you must delete this 39 exception statement from your version and license this file solely under 40 the GPL without exception [all...] |
system.h | 18 In addition, as a special exception, Red Hat, Inc. gives You the 23 exception must only link to the code of Red Hat elfutils through those 24 well defined interfaces identified in the file named EXCEPTION found in 30 this exception is conditioned upon your not adding any new exceptions. 31 If you wish to add a new Approved Interface or exception, please contact 34 with Red Hat elfutils except the Non-GPL Code covered by this exception. 35 If you modify this file, you may extend this exception to your version 37 provide this exception without modification, you must delete this 38 exception statement from your version and license this file solely under 39 the GPL without exception [all...] |
/external/elfutils/libdw/ |
dwarf_abbrev_hash.c | 19 In addition, as a special exception, Red Hat, Inc. gives You the 25 this exception must only link to the code of Red Hat elfutils through 26 those well defined interfaces identified in the file named EXCEPTION 32 Red Hat's grant of this exception is conditioned upon your not adding 34 exception, please contact Red Hat. You must obey the GNU General Public 37 covered by this exception. If you modify this file, you may extend this 38 exception to your version of the file, but you are not obligated to do 39 so. If you do not wish to provide this exception without modification, 40 you must delete this exception statement from your version and license 41 this file solely under the GPL without exception [all...] |
dwarf_abbrev_hash.h | 19 In addition, as a special exception, Red Hat, Inc. gives You the 25 this exception must only link to the code of Red Hat elfutils through 26 those well defined interfaces identified in the file named EXCEPTION 32 Red Hat's grant of this exception is conditioned upon your not adding 34 exception, please contact Red Hat. You must obey the GNU General Public 37 covered by this exception. If you modify this file, you may extend this 38 exception to your version of the file, but you are not obligated to do 39 so. If you do not wish to provide this exception without modification, 40 you must delete this exception statement from your version and license 41 this file solely under the GPL without exception [all...] |
dwarf_abbrevhaschildren.c | 19 In addition, as a special exception, Red Hat, Inc. gives You the 25 this exception must only link to the code of Red Hat elfutils through 26 those well defined interfaces identified in the file named EXCEPTION 32 Red Hat's grant of this exception is conditioned upon your not adding 34 exception, please contact Red Hat. You must obey the GNU General Public 37 covered by this exception. If you modify this file, you may extend this 38 exception to your version of the file, but you are not obligated to do 39 so. If you do not wish to provide this exception without modification, 40 you must delete this exception statement from your version and license 41 this file solely under the GPL without exception [all...] |
dwarf_addrdie.c | 19 In addition, as a special exception, Red Hat, Inc. gives You the 25 this exception must only link to the code of Red Hat elfutils through 26 those well defined interfaces identified in the file named EXCEPTION 32 Red Hat's grant of this exception is conditioned upon your not adding 34 exception, please contact Red Hat. You must obey the GNU General Public 37 covered by this exception. If you modify this file, you may extend this 38 exception to your version of the file, but you are not obligated to do 39 so. If you do not wish to provide this exception without modification, 40 you must delete this exception statement from your version and license 41 this file solely under the GPL without exception [all...] |
dwarf_arrayorder.c | 19 In addition, as a special exception, Red Hat, Inc. gives You the 25 this exception must only link to the code of Red Hat elfutils through 26 those well defined interfaces identified in the file named EXCEPTION 32 Red Hat's grant of this exception is conditioned upon your not adding 34 exception, please contact Red Hat. You must obey the GNU General Public 37 covered by this exception. If you modify this file, you may extend this 38 exception to your version of the file, but you are not obligated to do 39 so. If you do not wish to provide this exception without modification, 40 you must delete this exception statement from your version and license 41 this file solely under the GPL without exception [all...] |
dwarf_attr.c | 19 In addition, as a special exception, Red Hat, Inc. gives You the 25 this exception must only link to the code of Red Hat elfutils through 26 those well defined interfaces identified in the file named EXCEPTION 32 Red Hat's grant of this exception is conditioned upon your not adding 34 exception, please contact Red Hat. You must obey the GNU General Public 37 covered by this exception. If you modify this file, you may extend this 38 exception to your version of the file, but you are not obligated to do 39 so. If you do not wish to provide this exception without modification, 40 you must delete this exception statement from your version and license 41 this file solely under the GPL without exception [all...] |
dwarf_attr_integrate.c | 18 In addition, as a special exception, Red Hat, Inc. gives You the 24 this exception must only link to the code of Red Hat elfutils through 25 those well defined interfaces identified in the file named EXCEPTION 31 Red Hat's grant of this exception is conditioned upon your not adding 33 exception, please contact Red Hat. You must obey the GNU General Public 36 covered by this exception. If you modify this file, you may extend this 37 exception to your version of the file, but you are not obligated to do 38 so. If you do not wish to provide this exception without modification, 39 you must delete this exception statement from your version and license 40 this file solely under the GPL without exception [all...] |
dwarf_bitoffset.c | 19 In addition, as a special exception, Red Hat, Inc. gives You the 25 this exception must only link to the code of Red Hat elfutils through 26 those well defined interfaces identified in the file named EXCEPTION 32 Red Hat's grant of this exception is conditioned upon your not adding 34 exception, please contact Red Hat. You must obey the GNU General Public 37 covered by this exception. If you modify this file, you may extend this 38 exception to your version of the file, but you are not obligated to do 39 so. If you do not wish to provide this exception without modification, 40 you must delete this exception statement from your version and license 41 this file solely under the GPL without exception [all...] |
dwarf_bitsize.c | 19 In addition, as a special exception, Red Hat, Inc. gives You the 25 this exception must only link to the code of Red Hat elfutils through 26 those well defined interfaces identified in the file named EXCEPTION 32 Red Hat's grant of this exception is conditioned upon your not adding 34 exception, please contact Red Hat. You must obey the GNU General Public 37 covered by this exception. If you modify this file, you may extend this 38 exception to your version of the file, but you are not obligated to do 39 so. If you do not wish to provide this exception without modification, 40 you must delete this exception statement from your version and license 41 this file solely under the GPL without exception [all...] |
dwarf_bytesize.c | 19 In addition, as a special exception, Red Hat, Inc. gives You the 25 this exception must only link to the code of Red Hat elfutils through 26 those well defined interfaces identified in the file named EXCEPTION 32 Red Hat's grant of this exception is conditioned upon your not adding 34 exception, please contact Red Hat. You must obey the GNU General Public 37 covered by this exception. If you modify this file, you may extend this 38 exception to your version of the file, but you are not obligated to do 39 so. If you do not wish to provide this exception without modification, 40 you must delete this exception statement from your version and license 41 this file solely under the GPL without exception [all...] |
dwarf_cuoffset.c | 19 In addition, as a special exception, Red Hat, Inc. gives You the 25 this exception must only link to the code of Red Hat elfutils through 26 those well defined interfaces identified in the file named EXCEPTION 32 Red Hat's grant of this exception is conditioned upon your not adding 34 exception, please contact Red Hat. You must obey the GNU General Public 37 covered by this exception. If you modify this file, you may extend this 38 exception to your version of the file, but you are not obligated to do 39 so. If you do not wish to provide this exception without modification, 40 you must delete this exception statement from your version and license 41 this file solely under the GPL without exception [all...] |