HomeSort by relevance Sort by last modified time
    Searched defs:Throw (Results 1 - 25 of 102) sorted by null

1 2 3 4 5

  /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/v8/test/mjsunit/harmony/
generators-turbo.js 33 function Throw(generator, ...args) {
35 return generator.throw(...args);
45 assertThrowsEquals(() => Throw(g(), "not caught"), "not caught");
50 assertEquals({value: undefined, done: true}, Throw(x, "caught"));
57 assertThrowsEquals(() => Throw(x, "not caught"), "not caught");
75 let g = function*() { try {return 42} finally {Throw(x, 666)} };
92 assertThrowsEquals(() => Throw(x, 43), 43);
96 { // "throw" closes at suspendedStart
98 assertThrowsEquals(() => Throw(x, 666), 666);
101 assertThrowsEquals(() => Throw(x, 44), 44)
    [all...]
generators.js 28 function Throw(generator, ...args) {
30 return generator.throw(...args);
40 assertThrowsEquals(() => Throw(g(), "not caught"), "not caught");
45 assertEquals({value: undefined, done: true}, Throw(x, "caught"));
52 assertThrowsEquals(() => Throw(x, "not caught"), "not caught");
70 let g = function*() { try {return 42} finally {Throw(x, 666)} };
87 assertThrowsEquals(() => Throw(x, 43), 43);
91 { // "throw" closes at suspendedStart
93 assertThrowsEquals(() => Throw(x, 666), 666);
96 assertThrowsEquals(() => Throw(x, 44), 44)
    [all...]
  /external/compiler-rt/test/asan/TestCases/Windows/
dll_seh.cc 29 void Throw() {
31 fprintf(stderr, "Throw: %p\n", &local);
39 Throw();
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();
seh.cc 28 void Throw() {
30 fprintf(stderr, "Throw: %p\n", &local);
38 Throw();
throw_catch.cc 22 void Throw() {
24 fprintf(stderr, "Throw: %p\n", &local);
25 throw 1;
32 Throw();
43 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/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();
contiguous_container.cc 51 void Throw() { throw 1; }
56 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();
  /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/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/compiler-rt/test/asan/TestCases/Linux/
swapcontext_test.cc 21 void Throw() {
22 throw 1;
28 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();
  /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/v8/src/compiler/
control-builders.cc 179 void TryCatchBuilder::Throw(Node* exception) {
  /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/SemaCXX/
member-init.cpp 43 struct Throw { ThrowCtor tc = 42; };
46 static_assert(!noexcept(Throw()), "incorrect exception specification");
  /external/v8/src/interpreter/
bytecode-array-builder.cc 103 // throw. Hence we only invalidate the existing source position
463 BytecodeArrayBuilder& BytecodeArrayBuilder::Throw() {
  /external/v8/src/
d8.cc 170 static Local<Value> Throw(Isolate* isolate, const char* message) {
190 Throw(isolate, "this is not a Worker");
197 Throw(isolate, "Worker is defunct because main thread is terminating");
459 Throw(args.GetIsolate(), "Invalid argument");
466 Throw(args.GetIsolate(), "Invalid realm index");
504 Throw(args.GetIsolate(), "Invalid argument");
576 Throw(args.GetIsolate(), "Invalid realm index");
602 Throw(args.GetIsolate(), "Invalid argument");
683 Throw(args.GetIsolate(), "Error loading file");
688 Throw(args.GetIsolate(), "Error loading file")
    [all...]
isolate.h 162 return __isolate__->Throw<T>(__isolate__->factory()->call); \
168 return __isolate__->Throw(*__isolate__->factory()->call); \
323 // Communication channel between Isolate::Throw and message consumers.
656 // This method is called by the api after operations that may throw
717 // of Throw() as its return vaue.
718 Object* Throw(Object* exception, MessageLocation* location = NULL);
722 MUST_USE_RESULT MaybeHandle<T> Throw(Handle<Object> exception,
724 Throw(*exception, location);
728 // Re-throw an exception. This involves no error reporting since error
738 // clause will consume or re-throw an exception. We conservatively assume an
    [all...]
  /art/runtime/
check_jni.cc     [all...]

Completed in 629 milliseconds

1 2 3 4 5