/external/compiler-rt/lib/asan/tests/ |
asan_exceptions_test.cc | 11 void Throw(const char& arg) const { 13 throw arg; 21 a.Throw('c');
|
/external/oprofile/libutil++/tests/ |
utility_tests.cpp | 24 void* operator new(size_t size) throw(bad_alloc) 30 void* operator new[](size_t size) throw(bad_alloc) 36 void operator delete(void * p) throw() 43 void operator delete[](void * p) throw() 67 template <typename Throw, typename Catch> 73 throw Throw(""); 80 template <typename Throw, typename Catch> 86 throw Throw(""); [all...] |
/external/compiler-rt/test/asan/TestCases/ |
throw_call_test.cc | 21 throw 42; 25 void Throw() { 32 fprintf(stderr, "Throw stack = %p\n", &a); 47 Throw();
|
throw_invoke_test.cc | 18 throw 42; 20 throw 1.; 26 void Throw() { 33 fprintf(stderr, "Throw stack = %p\n", &a); 48 Throw();
|
throw_catch.cc | 14 void Throw() { 16 fprintf(stderr, "Throw: %p\n", &local); 17 throw 1; 24 Throw(); 47 Throw();
|
contiguous_container.cc | 43 void Throw() { throw 1; } 48 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...] |
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/clang/test/SemaCXX/ |
member-init.cpp | 40 struct Throw { ThrowCtor tc = 42; }; 43 static_assert(!noexcept(Throw()), "incorrect exception specification");
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
swapcontext_test.cc | 21 void Throw() { 22 throw 1; 28 Throw();
|
/external/clang/include/clang/AST/ |
StmtObjC.h | 311 /// \brief Represents Objective-C's \@throw statement. 313 Stmt *Throw; 317 : Stmt(ObjCAtThrowStmtClass), Throw(throwExpr) { 323 const Expr *getThrowExpr() const { return reinterpret_cast<Expr*>(Throw); } 324 Expr *getThrowExpr() { return reinterpret_cast<Expr*>(Throw); } 325 void setThrowExpr(Stmt *S) { Throw = S; } 332 return Throw ? Throw->getLocEnd() : AtThrowLoc; 339 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...] |
PngFile.c | 44 Throw msg; 362 Throw "Visualpng: Out of memory";
|
/libcore/luni/src/main/native/ |
ExecStrings.cpp | 61 // Re-throw any pending exception. 63 if (env_->Throw(pending_exception) < 0) {
|
java_util_regex_Pattern.cpp | 71 env->Throw(reinterpret_cast<jthrowable>(exception));
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-binop-nosse2.js | 75 throw e; 112 // Throw on left 114 // Throw on right 116 // Throw both
|
regress-binop.js | 75 throw e; 112 // Throw on left 114 // Throw on right 116 // Throw both
|
/art/runtime/native/ |
java_lang_Class.cc | 76 env->Throw(cnfe);
|
/external/chromium_org/v8/test/mjsunit/ |
call-non-function-call.js | 28 // Throw exception when invoking Function.prototype.call with a
|
/external/chromium_org/v8/src/ |
d8.cc | 60 static Handle<Value> Throw(Isolate* isolate, const char* message) { 277 Throw(args.GetIsolate(), "Invalid argument"); 284 Throw(args.GetIsolate(), "Invalid realm index"); 315 Throw(args.GetIsolate(), "Invalid argument"); 361 Throw(args.GetIsolate(), "Invalid realm index"); 385 Throw(args.GetIsolate(), "Invalid argument"); 453 Throw(args.GetIsolate(), "Error loading file"); 458 Throw(args.GetIsolate(), "Error loading file"); 503 Throw(args.GetIsolate(), "Error loading file"); 508 Throw(args.GetIsolate(), "Error loading file") [all...] |
/frameworks/base/core/jni/ |
android_os_MessageQueue.cpp | 100 env->Throw(mExceptionObj);
|
/cts/tests/tests/nativeopengl/standalone/jni/ |
GLTestHelper.cpp | 272 env->Throw(exception);
|