Home
last modified time | relevance | path

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

/external/v8/test/mjsunit/
Derror-constructors.js89 function MyError() {} class
90 MyError.prototype = new Error;
91 var errors = [Error, RangeError, EvalError, URIError, MyError];
/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.java174 class MyError extends Error {} in testTaskThrowsError() class
183 throw new MyError(); in testTaskThrowsError()
DFuturesTest.java328 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/
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…