/external/compiler-rt/lib/asan/tests/ |
asan_exceptions_test.cc | 11 void Throw(const char& arg) const { 13 throw arg; 21 a.Throw('c');
|
/art/test/427-bounds/src/ |
Main.java | 21 $opt$Throw(new int[1]); 31 throw new Error("Wrong length in exception message"); 38 throw new Error("Wrong index in exception message"); 43 static void $opt$Throw(int[] array) {
|
/external/compiler-rt/test/asan/TestCases/Windows/ |
queue_user_work_item.cc | 1 // Make sure we can throw exceptions from work items executed via 20 void Throw() { 21 fprintf(stderr, "Throw\n"); 22 // CHECK: Throw 23 throw 1; 29 Throw();
|
throw_catch.cc | 22 void Throw() { 24 fprintf(stderr, "Throw: %p\n", &local); 25 throw 1; 32 Throw(); 43 Throw();
|
dll_seh.cc | 29 void Throw() { 31 fprintf(stderr, "Throw: %p\n", &local); 39 Throw();
|
seh.cc | 28 void Throw() { 30 fprintf(stderr, "Throw: %p\n", &local); 38 Throw();
|
bind_io_completion_callback.cc | 1 // Make sure we can throw exceptions from work items executed via 20 void Throw() { 21 fprintf(stderr, "Throw\n"); 22 // CHECK: Throw 23 throw 1; 29 Throw();
|
/external/libcxxabi/test/ |
catch_multi_level_pointer.pass.cpp | 49 template <class Throw, class Catch> 51 Throw throw_ptr = CreatePointer<Throw>()(); 52 // Use the compiler to determine if the exception of type Throw can be 56 throw throw_ptr; 87 template <class Throw, class Catch, int level, bool first = false> 89 typedef TestTypes<Throw, first> ThrowTypes; 122 template <class Throw, class Catch, bool first> 123 struct generate_tests_imp<Throw, Catch, 0, first> { 125 catch_pointer_test<Throw, Catch>() [all...] |
/external/compiler-rt/test/asan/TestCases/ |
throw_catch.cc | 11 void Throw() { 13 fprintf(stderr, "Throw: %p\n", &local); 14 throw 1; 21 Throw(); 48 Throw();
|
throw_call_test.cc | 21 throw 42; 25 void Throw() { 35 fprintf(stderr, "Throw stack = %p\n", &a); 50 Throw();
|
throw_invoke_test.cc | 18 throw 42; 20 throw 1.; 26 void Throw() { 33 fprintf(stderr, "Throw stack = %p\n", &a); 48 Throw();
|
contiguous_container.cc | 51 void Throw() { throw 1; } 56 Throw();
|
/external/chromium-trace/catapult/third_party/vinn/vinn/test_data/ |
error.js | 7 throw new Error('Throw ERROR');
|
/art/test/003-omnibus-opcodes/src/ |
Throw.java | 20 public class Throw { 22 throw new NullPointerException("npe!"); 26 throw new ArithmeticException(); 30 System.out.println("Throw.one"); 43 System.out.println("Throw.twoA"); 65 System.out.println("Throw.twoN"); 87 System.out.println("Throw.rethrow"); 102 throw (NullPointerException) ex; 117 Throw th = new Throw(); [all...] |
Main.java | 50 Throw.run(); 68 // We and the RI throw ClassNotFoundException, but that isn't declared so javac 78 throw new Error();
|
/ndk/tests/device/test-gnustl_shared-exception/jni/ |
Android.mk | 3 # Test -1: Throw in exec, catch in exec covered elsewhere 5 # Test 0: Throw in lib, catch in lib 18 # Test 1: Throw in lib, catch in exec 30 # Test 2: Throw in exec, catch in lib 50 # Test 3: Throw in lib2, catch in exec 69 # Test 4: Throw in lib2, catch in lib1
|
/ndk/tests/device/test-gnustl_static-exception/jni/ |
Android.mk | 3 # Test -1: Throw in exec, catch in exec covered elsewhere 5 # Test 0: Throw in lib, catch in lib 18 # Test 1: Throw in lib, catch in exec 30 # Test 2: Throw in exec, catch in lib 50 # Test 3: Throw in lib2, catch in exec 69 # Test 4: Throw in lib2, catch in lib1
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
swapcontext_test.cc | 21 void Throw() { 22 throw 1; 28 Throw();
|
/external/v8/src/ |
pending-compilation-error-handler.cc | 45 isolate->Throw(*error, &location); 64 isolate->Throw(*error, &location);
|
property-descriptor.cc | 86 // Bail out to slow path to throw an exception if necessary. 90 // Bail out to slow path to throw an exception if necessary. 97 // Bail out to slow path to throw an exception. 150 // 2. If Type(Obj) is not Object, throw a TypeError exception. 152 isolate->Throw(*isolate->factory()->NewTypeError( 214 // throw a TypeError exception. 216 isolate->Throw(*isolate->factory()->NewTypeError( 231 // throw a TypeError exception. 233 isolate->Throw(*isolate->factory()->NewTypeError( 243 // throw a TypeError exception [all...] |
/libcore/ojluni/src/main/native/ |
ObjectStreamClass.c | 66 (*env)->Throw(env, th); 95 (*env)->Throw(env, th);
|
/external/clang/include/clang/AST/ |
StmtObjC.h | 312 /// \brief Represents Objective-C's \@throw statement. 315 Stmt *Throw; 319 : Stmt(ObjCAtThrowStmtClass), Throw(throwExpr) { 325 const Expr *getThrowExpr() const { return reinterpret_cast<Expr*>(Throw); } 326 Expr *getThrowExpr() { return reinterpret_cast<Expr*>(Throw); } 327 void setThrowExpr(Stmt *S) { Throw = S; } 334 return Throw ? Throw->getLocEnd() : AtThrowLoc; 341 child_range children() { return child_range(&Throw, &Throw+1); [all...] |
/external/clang/test/CXX/except/except.spec/ |
p14.cpp | 8 virtual ~X0() throw(A); // expected-note{{overridden virtual function is here}} 11 virtual ~X1() throw(B); // expected-note{{overridden virtual function is here}} 17 CA0 &operator=(const CA0&) throw(A); 20 CA1 &operator=(const CA1&) throw(B); 25 CA2 &(CA2::*captr1)(const CA2&) throw(A, B) = &CA2::operator=; 26 CA2 &(CA2::*captr2)(const CA2&) throw(A, B, C) = &CA2::operator=; 27 CA2 &(CA2::*captr3)(const CA2&) throw(A) = &CA2::operator=; // expected-error{{target exception specification is not superset of source}} 28 CA2 &(CA2::*captr4)(const CA2&) throw(B) = &CA2::operator=; // expected-error{{target exception specification is not superset of source}} 36 int inClassInit = (throw B(), 0); 40 static_assert(noexcept(IC0()), "IC0() does not throw"); [all...] |
/external/libpng/contrib/visupng/ |
cexcept.h | 69 The Try/Catch and Throw statements (described below) implicitly 97 Try/Catch/Throw macros, so it shouldn't be expensive or have side 118 The Try/Catch/Throw macros are capitalized in order to avoid 132 If a Throw that uses the same exception context as the Try/Catch is 137 such Throw is executed, then the assignment is not performed, and 151 from a Try clause, it will suffice to use Throw, and then return 163 Throw expression; 165 A Throw statement is very much like a return statement, except that 167 where the current function was called, Throw jumps back to the Catch 243 #define Throw \ [all...] |
/external/clang/test/SemaCXX/ |
member-init.cpp | 43 struct Throw { ThrowCtor tc = 42; }; 46 static_assert(!noexcept(Throw()), "incorrect exception specification");
|