/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/libcxxabi/test/ |
catch_multi_level_pointer.pass.cpp | 51 template <class Throw, class Catch> 53 Throw throw_ptr = CreatePointer<Throw>()(); 54 // Use the compiler to determine if the exception of type Throw can be 58 throw throw_ptr; 89 template <class Throw, class Catch, int level, bool first = false> 91 typedef TestTypes<Throw, first> ThrowTypes; 124 template <class Throw, class Catch, bool first> 125 struct generate_tests_imp<Throw, Catch, 0, first> { 127 catch_pointer_test<Throw, Catch>() [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++abi/test/ |
catch_multi_level_pointer.pass.cpp | 51 template <class Throw, class Catch> 53 Throw throw_ptr = CreatePointer<Throw>()(); 54 // Use the compiler to determine if the exception of type Throw can be 58 throw throw_ptr; 89 template <class Throw, class Catch, int level, bool first = false> 91 typedef TestTypes<Throw, first> ThrowTypes; 124 template <class Throw, class Catch, bool first> 125 struct generate_tests_imp<Throw, Catch, 0, first> { 127 catch_pointer_test<Throw, Catch>() [all...] |
/external/compiler-rt/test/asan/TestCases/ |
throw_catch.cc | 8 void Throw() { 10 fprintf(stderr, "Throw: %p\n", &local); 11 throw 1; 18 Throw(); 45 Throw();
|
throw_call_test.cc | 18 throw 42; 22 void Throw() { 32 fprintf(stderr, "Throw stack = %p\n", &a); 47 Throw();
|
throw_invoke_test.cc | 15 throw 42; 17 throw 1.; 23 void Throw() { 30 fprintf(stderr, "Throw stack = %p\n", &a); 45 Throw();
|
/external/compiler-rt/test/asan/TestCases/Windows/ |
dll_seh.cc | 21 void Throw() { 23 fprintf(stderr, "Throw: %p\n", &local); 31 Throw();
|
queue_user_work_item.cc | 1 // Make sure we can throw exceptions from work items executed via 18 void Throw() { 19 fprintf(stderr, "Throw\n"); 20 // CHECK: Throw 21 throw 1; 27 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 18 void Throw() { 19 fprintf(stderr, "Throw\n"); 20 // CHECK: Throw 21 throw 1; 27 Throw();
|
/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...] |
/external/compiler-rt/test/asan/TestCases/Linux/ |
swapcontext_test.cc | 21 void Throw() { 22 throw 1; 28 Throw();
|
/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...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/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...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/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...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/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...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/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...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/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...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/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...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/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...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/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...] |
/prebuilts/clang/host/linux-x86/clang-4393122/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...] |
/prebuilts/clang/host/linux-x86/clang-4479392/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...] |