Home
last modified time | relevance | path

Searched refs:MyError (Results 1 – 20 of 20) sorted by relevance

/external/v8/test/mjsunit/es6/
Dstring-raw.js158 function MyError() {} class
160 get: function() { throw new MyError(); }
162 assertThrows(function() { String.raw(callSiteObj); }, MyError);
196 function MyError() {} class
198 throw new MyError();
204 }, MyError);
209 }, MyError);
216 function MyError() {} class
219 throw new MyError();
225 }, MyError);
[all …]
Dspread-array.js106 function MyError() {} class in TestIteratorResultDoneThrows
113 throw new MyError();
123 }, MyError);
129 function MyError() {} class in TestIteratorResultValueThrows
137 throw new MyError();
147 }, MyError);
Dcomputed-property-names.js281 function MyError() {}; class in TestExceptionInName
283 throw new MyError();
289 }, MyError);
294 }, MyError);
299 }, MyError);
Dcomputed-property-names-classes.js423 function MyError() {}; class in TestExceptionInName
425 throw new MyError();
431 }, MyError);
436 }, MyError);
441 }, MyError);
/external/v8/test/mjsunit/harmony/
Ddo-expressions.js10 function MyError() {} class
34 throw new MyError();
37 }, MyError);
41 throw new MyError();
44 }, MyError);
182 function thrower() { throw new MyError(); }
187 assertInstanceof(fn3(), MyError);
189 function fn4(exception = do { throw new MyError() }) {}
195 assertInstanceof(e, MyError);
Dreflect-apply.js82 function MyError() {} class
86 get: function() { throw new MyError(); }
91 }, MyError);
95 }, MyError);
102 function MyError() {} class
106 get: function() { throw new MyError(); }
111 }, MyError);
115 }, MyError);
Darray-concat.js111 function MyError() {} class
114 throw new MyError();
124 }, MyError);
130 function MyError() {} class
133 throw new MyError();
143 }, MyError);
160 function MyError() {} class
163 get: function() { throw new MyError(); }
168 }, MyError);
172 }, MyError);
[all …]
Dreflect-construct.js148 function MyError() {} class
152 get: function() { throw new MyError(); }
157 }, MyError);
161 }, MyError);
168 function MyError() {} class
172 get: function() { throw new MyError(); }
177 }, MyError);
181 }, MyError);
/external/v8/test/mjsunit/
Dhas-own-property-evaluation-order.js5 function MyError() {} class
10 throw new MyError();
13 }, MyError);
Derror-constructors.js93 function MyError() {} class
94 MyError.prototype = new Error;
96 SyntaxError, ReferenceError, TypeError, MyError];
/external/autotest/client/common_lib/test_utils/
Dmock_demo.py7 class MyError(Exception): class
43 raise MyError("woops")
124 m3.method6.expect_call(True).and_raises(MyError("woops"))
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/MLCPSolvers/
DbtPATHSolver.h29 void __stdcall MyError(Void *data, Char *msg) in MyError() function
54 e.error = MyError; in btPathSolver()
/external/clang/test/SemaObjC/
Dobjcbridge-attribute.m6 typedef struct __attribute__ ((objc_bridge(MyError))) __CFMyErrorRef * CFMyErrorRef; // expected-no…
66 @interface MyError : NSError // expected-note 1 {{declared here}} interface
76 …(void)(MyError*)cf; // expected-warning {{'CFErrorRef2' (aka 'struct __CFErrorRef *') bridges to N…
96 …cted-warning {{'CFMyErrorRef' (aka 'struct __CFMyErrorRef *') bridges to MyError, not 'id<P1,P2,P4…
Dobjcbridge-attribute-arc.m6 typedef struct __attribute__ ((objc_bridge(MyError))) __CFMyErrorRef * CFMyErrorRef; // expected-no…
63 @interface MyError : NSError // expected-note 1 {{declared here}} interface
78 …(void)(MyError*)cf; // expected-error {{cast of C pointer type 'CFErrorRef2' (aka 'struct __CFErro…
81 … expected-warning {{'CFErrorRef2' (aka 'struct __CFErrorRef *') bridges to NSError, not 'MyError'}}
129 …cted-warning {{'CFMyErrorRef' (aka 'struct __CFMyErrorRef *') bridges to MyError, not 'id<P1,P2,P4…
220 …(void)(__bridge MyError*)cf; // expected-warning {{'CFErrorRef2' (aka 'struct __CFErrorRef *') bri…
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DSerializingExecutorTest.java175 class MyError extends Error {} in testTaskThrowsError() class
184 throw new MyError(); in testTaskThrowsError()
DFuturesTest.java346 static class MyError extends Error {} class in FuturesTest
370 runGetIdempotencyTest(errorComposedFuture, MyError.class); in testTransformExceptionRemainsMemoized()
380 runGetIdempotencyTest(Futures.transform(errorInput, newOneTimeErrorThrower()), MyError.class); in testTransformExceptionRemainsMemoized()
381 runGetIdempotencyTest(errorComposedFuture, MyError.class); in testTransformExceptionRemainsMemoized()
419 throw new MyError(); in newOneTimeErrorThrower()
1041 Futures.allAsList(immediateFailedFuture(new MyError())).get();
1044 assertTrue(e.getCause() instanceof MyError);
1047 assertTrue(logged.get(0).getThrown() instanceof MyError);
1725 immediateFailedFuture(new MyError())).get());
1728 assertTrue(logged.get(0).getThrown() instanceof MyError);
/external/clang/test/SemaObjCXX/
Dobjcbridge-static-cast.mm6 typedef struct __attribute__ ((objc_bridge(MyError))) __CFMyErrorRef * CFMyErrorRef; // expected-no…
48 @interface MyError : NSError // expected-note 1 {{declared here}} interface
63 …tatic_cast<MyError*>(cf); // expected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFError…
66 // expected-warning {{'CFErrorRef2' (aka '__CFErrorRef *') bridges to NSError, not 'MyError'}}
114 …// expected-warning {{'CFMyErrorRef' (aka '__CFMyErrorRef *') bridges to MyError, not 'id<P1,P2,P4…
Dobjcbridge-attribute.mm6 typedef struct __attribute__ ((objc_bridge(MyError))) __CFMyErrorRef * CFMyErrorRef; // expected-no…
48 @interface MyError : NSError // expected-note 1 {{declared here}} interface
63 …(void)(MyError*)cf; // expected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *'…
66 // expected-warning {{'CFErrorRef2' (aka '__CFErrorRef *') bridges to NSError, not 'MyError'}}
114 …// expected-warning {{'CFMyErrorRef' (aka '__CFMyErrorRef *') bridges to MyError, not 'id<P1,P2,P4…
205 …(void)(__bridge MyError*)cf; // expected-warning {{'CFErrorRef2' (aka '__CFErrorRef *') bridges to…
Dobjcbridge-attribute-arc.mm6 typedef struct __attribute__ ((objc_bridge(MyError))) __CFMyErrorRef * CFMyErrorRef; // expected-no…
48 @interface MyError : NSError // expected-note 1 {{declared here}} interface
63 …(void)(MyError*)cf; // expected-error {{cast of C pointer type 'CFErrorRef2' (aka '__CFErrorRef *'…
66 // expected-warning {{'CFErrorRef2' (aka '__CFErrorRef *') bridges to NSError, not 'MyError'}}
114 …// expected-warning {{'CFMyErrorRef' (aka '__CFMyErrorRef *') bridges to MyError, not 'id<P1,P2,P4…
/external/autotest/client/bin/
Djob_unittest.py499 class MyError(error.TestError): class
501 real_error = MyError("this is the real error message")
533 class MyError(Exception): class
535 real_error = MyError("this is the real error message")