/external/v8/test/mjsunit/es6/ |
D | string-raw.js | 158 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 …]
|
D | spread-array.js | 106 function MyError() {} class in TestIteratorResultDoneThrows 113 throw new MyError(); 123 }, MyError); 129 function MyError() {} class in TestIteratorResultValueThrows 137 throw new MyError(); 147 }, MyError);
|
D | computed-property-names.js | 281 function MyError() {}; class in TestExceptionInName 283 throw new MyError(); 289 }, MyError); 294 }, MyError); 299 }, MyError);
|
D | computed-property-names-classes.js | 423 function MyError() {}; class in TestExceptionInName 425 throw new MyError(); 431 }, MyError); 436 }, MyError); 441 }, MyError);
|
/external/v8/test/mjsunit/harmony/ |
D | do-expressions.js | 10 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);
|
D | reflect-apply.js | 82 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);
|
D | array-concat.js | 111 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 …]
|
D | reflect-construct.js | 148 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/ |
D | has-own-property-evaluation-order.js | 5 function MyError() {} class 10 throw new MyError(); 13 }, MyError);
|
D | error-constructors.js | 93 function MyError() {} class 94 MyError.prototype = new Error; 96 SyntaxError, ReferenceError, TypeError, MyError];
|
/external/autotest/client/common_lib/test_utils/ |
D | mock_demo.py | 7 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/ |
D | btPATHSolver.h | 29 void __stdcall MyError(Void *data, Char *msg) in MyError() function 54 e.error = MyError; in btPathSolver()
|
/external/clang/test/SemaObjC/ |
D | objcbridge-attribute.m | 6 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…
|
D | objcbridge-attribute-arc.m | 6 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/ |
D | SerializingExecutorTest.java | 175 class MyError extends Error {} in testTaskThrowsError() class 184 throw new MyError(); in testTaskThrowsError()
|
D | FuturesTest.java | 346 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/ |
D | objcbridge-static-cast.mm | 6 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…
|
D | objcbridge-attribute.mm | 6 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…
|
D | objcbridge-attribute-arc.mm | 6 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/ |
D | job_unittest.py | 499 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")
|