Searched refs:MyError (Results 1 – 8 of 8) sorted by relevance
/external/v8/test/mjsunit/ |
D | error-constructors.js | 89 function MyError() {} class 90 MyError.prototype = new Error; 91 var errors = [Error, RangeError, EvalError, URIError, MyError];
|
/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 | 174 class MyError extends Error {} in testTaskThrowsError() class 183 throw new MyError(); in testTaskThrowsError()
|
D | FuturesTest.java | 328 static class MyError extends Error {} class in FuturesTest 352 runGetIdempotencyTest(errorComposedFuture, MyError.class); in testTransformExceptionRemainsMemoized() 362 runGetIdempotencyTest(Futures.transform(errorInput, newOneTimeErrorThrower()), MyError.class); in testTransformExceptionRemainsMemoized() 363 runGetIdempotencyTest(errorComposedFuture, MyError.class); in testTransformExceptionRemainsMemoized() 401 throw new MyError(); in newOneTimeErrorThrower() 1023 Futures.allAsList(immediateFailedFuture(new MyError())).get(); 1026 assertTrue(e.getCause() instanceof MyError); 1029 assertTrue(logged.get(0).getThrown() instanceof MyError); 1707 immediateFailedFuture(new MyError())).get()); 1710 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…
|