| /external/clang/test/SemaCXX/ |
| D | attr-unavailable.cpp | 6 // expected-note{{'foo' has been explicitly marked unavailable here}} 8 void bar(...) __attribute__((__unavailable__)); // expected-note 2{{explicitly marked unavailable}}… 9 // expected-note 2{{candidate function has been explicitly made unavailable}} 14 foo(sp); // expected-error{{call to unavailable function 'foo'}} in test_foo() 16 void (*fp)(...) = &bar; // expected-error{{'bar' is unavailable}} in test_foo() 17 void (*fp2)(...) = bar; // expected-error{{'bar' is unavailable}} in test_foo() 20 void (*fp4)(...) = foo; // expected-error{{'foo' is unavailable}} in test_foo() 25 #define FOO __attribute__((unavailable("not available - replaced"))) 27 void foo() FOO; // expected-note {{candidate function has been explicitly made unavailable}} 29 foo(); // expected-error {{call to unavailable function 'foo': not available - replaced}} in bar() [all …]
|
| /external/clang/test/SemaObjC/ |
| D | class-unavail-warning.m | 4 __attribute__((unavailable("not available"))) 5 @interface MyClass { // expected-note 8 {{'MyClass' has been explicitly marked unavailable here}} 19 MyClass *ivar; // expected-error {{unavailable}} 21 - (MyClass *)meth; // expected-error {{unavailable}} 31 @implementation MyClass (Cat2) // expected-error {{unavailable}} 35 [MyClass new]; // expected-error {{'MyClass' is unavailable: not available}} 36 [MyClass self]; // expected-error {{'MyClass' is unavailable: not available}} 37 [MyClass addObject:((void *)0)]; // expected-error {{'MyClass' is unavailable: not available}} 39 MyClass *foo = [MyClass new]; // expected-error 2 {{'MyClass' is unavailable: not available}} 47 __attribute__((visibility("default"))) __attribute__((availability(macosx,unavailable))) [all …]
|
| D | special-dep-unavail-warning.m | 6 - (void) unavailMeth __attribute__((unavailable)); // expected-note {{has been explicitly marked un… argument 10 - (void) unavailMeth2 __attribute__((unavailable)); // expected-note {{has been explicitly marked u… argument 12 …ttribute__((deprecated)) __attribute__((unavailable)); // expected-note {{has been explicitly mark… argument 14 - (void)FuzzyMeth1 __attribute__((unavailable)); argument 18 - (void) unavailMeth1 __attribute__((unavailable)); // expected-note {{has been explicitly marked u… argument 22 - (void) unavailMeth2 __attribute__((unavailable)); argument 23 …ttribute__((deprecated)) __attribute__((unavailable)); // expected-note {{has been explicitly mark… argument 25 - (void)FuzzyMeth __attribute__((unavailable)); argument 34 …[c unavailMeth]; // expected-warning {{'unavailMeth' may be unavailable because the receiver type … 36 …[c unavailMeth1]; // expected-warning {{'unavailMeth1' may be unavailable because the receiver typ… [all …]
|
| D | arc-system-header.m | 8 cp = test0(op); // expected-error {{'test0' is unavailable in ARC}} 9 cp = *test1(&op); // expected-error {{'test1' is unavailable in ARC}} 15 p->field = 0; // expected-error {{'field' is unavailable in ARC}} 20 p->field1 = 0; // expected-error {{'field1' is unavailable in ARC}} 26 p->field = 0; // expected-error {{'field' is unavailable in ARC}} 42 *p.prop = 0; // expected-error {{'prop' is unavailable in ARC}} 43 p.prop = 0; // expected-error {{'prop' is unavailable in ARC}} 44 *[p prop] = 0; // expected-error {{'prop' is unavailable in ARC}} 45 [p setProp: 0]; // expected-error {{'setProp:' is unavailable in ARC}} 47 // expected-note@arc-system-header.h:41 2 {{property 'prop' is declared unavailable here}} [all …]
|
| D | attr-availability.m | 24 - (void)overridden5 __attribute__((availability(macosx,unavailable))); argument 26 - (void)unavailableMethod __attribute__((unavailable)); argument 38 …n6 __attribute__((availability(macosx,unavailable))); // expected-warning{{overriding method canno… argument 199 #define UNAVAILABLE __attribute__((unavailable("not available"))) macro 202 enum MyEnum : int { // expected-note {{'MyEnum' has been explicitly marked unavailable here}} 203 …MyEnum_Blah UNAVAILABLE, // expected-note {{'MyEnum_Blah' has been explicitly marked unavailable h… 204 } UNAVAILABLE; 207 // expected-error@+2 {{'MyEnum' is unavailable: not available}} 208 // expected-error@+1 {{MyEnum_Blah' is unavailable: not available}} 218 -(void)methodB __attribute__((unavailable)); // expected-note 4{{'methodB' has been explicitly mark… argument [all …]
|
| D | protocol-attribute.m | 3 __attribute ((unavailable)) 4 @protocol FwProto; // expected-note{{marked unavailable}} 6 Class <FwProto> cFw = 0; // expected-error {{'FwProto' is unavailable}} 36 @protocol FwProto @end // expected-note{{marked unavailable}} 38 @interface MyClass2 <FwProto> // expected-error {{'FwProto' is unavailable}} 41 __attribute ((unavailable)) __attribute ((deprecated)) @protocol XProto; // expected-note{{marked u… 43 id <XProto> idX = 0; // expected-error {{'XProto' is unavailable}}
|
| D | objc-container-subscripting-attr.m | 6 …pt:(id)sub __attribute__((unavailable)); // expected-note 2 {{'objectForKeyedSubscript:' has been … argument 7 …t:(id)key __attribute__((unavailable)); // expected-note {{'setObject:forKeyedSubscript:' has been… argument 11 obj[obj] = obj; // expected-error {{'setObject:forKeyedSubscript:' is unavailable}} 12 return obj[obj]; // expected-error {{'objectForKeyedSubscript:' is unavailable}} 16 … [obj objectForKeyedSubscript:obj]; // expected-error {{'objectForKeyedSubscript:' is unavailable}}
|
| /external/cronet/third_party/libc++/src/test/libcxx/thread/ |
| D | atomic.availability.verify.cpp | 22 i.wait(4); // expected-error {{is unavailable}} in f() 23 i.wait(4, m); // expected-error {{is unavailable}} in f() 24 i.notify_one(); // expected-error {{is unavailable}} in f() 25 i.notify_all(); // expected-error {{is unavailable}} in f() 27 std::atomic_wait(&i, 4); // expected-error {{is unavailable}} in f() 28 std::atomic_wait_explicit(&i, 4, m); // expected-error {{is unavailable}} in f() 29 std::atomic_notify_one(&i); // expected-error {{is unavailable}} in f() 30 std::atomic_notify_all(&i); // expected-error {{is unavailable}} in f() 37 i.wait(4); // expected-error {{is unavailable}} in f() 38 i.wait(4, m); // expected-error {{is unavailable}} in f() [all …]
|
| D | semaphore.availability.verify.cpp | 21 sem.release(); // expected-error {{is unavailable}} in f() 22 sem.release(5); // expected-error {{is unavailable}} in f() 23 sem.acquire(); // expected-error {{is unavailable}} in f() 24 sem.try_acquire_for(std::chrono::milliseconds{3}); // expected-error 1-2 {{is unavailable}} in f() 25 sem.try_acquire(); // expected-error {{is unavailable}} in f() 26 … sem.try_acquire_until(std::chrono::steady_clock::now()); // expected-error 1-2 {{is unavailable}} in f() 31 sem.release(); // expected-error {{is unavailable}} in f() 32 sem.release(5); // expected-error {{is unavailable}} in f() 33 sem.acquire(); // expected-error {{is unavailable}} in f() 34 sem.try_acquire_for(std::chrono::milliseconds{3}); // expected-error 1-2 {{is unavailable}} in f() [all …]
|
| D | barrier.availability.verify.cpp | 24 std::barrier<> b(10); // expected-error {{is unavailable}} in f() 25 auto token = b.arrive(); // expected-error {{is unavailable}} in f() 26 (void)b.arrive(10); // expected-error {{is unavailable}} in f() 27 b.wait(std::move(token)); // expected-error {{is unavailable}} in f() 28 b.arrive_and_wait(); // expected-error {{is unavailable}} in f() 29 b.arrive_and_drop(); // expected-error {{is unavailable}} in f() 34 std::barrier<CompletionF> b(10); // expected-error {{is unavailable}} in f() 35 auto token = b.arrive(); // expected-error {{is unavailable}} in f() 36 (void)b.arrive(10); // expected-error {{is unavailable}} in f() 37 b.wait(std::move(token)); // expected-error {{is unavailable}} in f() [all …]
|
| /external/cronet/third_party/libc++/src/test/libcxx/utilities/utility/mem.res/ |
| D | pmr.availability.verify.cpp | 30 … [[maybe_unused]] std::pmr::match_results<const char8_t*> m1; // expected-error {{is unavailable}} in f() 31 … [[maybe_unused]] std::pmr::cmatch m2; // expected-error {{is unavailable}} in f() 32 … [[maybe_unused]] std::pmr::wcmatch m3; // expected-error {{is unavailable}} in f() 33 … [[maybe_unused]] std::pmr::smatch m4; // expected-error {{is unavailable}} in f() 34 … [[maybe_unused]] std::pmr::wsmatch m5; // expected-error {{is unavailable}} in f() 35 … [[maybe_unused]] std::pmr::deque<int> m6; // expected-error {{is unavailable}} in f() 36 … [[maybe_unused]] std::pmr::forward_list<int> m7; // expected-error {{is unavailable}} in f() 37 … [[maybe_unused]] std::pmr::list<int> m8; // expected-error {{is unavailable}} in f() 38 … [[maybe_unused]] std::pmr::map<int, int> m9; // expected-error {{is unavailable}} in f() 39 … [[maybe_unused]] std::pmr::multimap<int, int> m10; // expected-error {{is unavailable}} in f() [all …]
|
| /external/clang/test/Sema/ |
| D | attr-availability.c | 16 …me"))); // expected-note {{'ATSFontGetPostScriptName' has been explicitly marked unavailable here}} 30 …ATSFontGetPostScriptName(100); // expected-error {{'ATSFontGetPostScriptName' is unavailable: obso… in test_10095131() 47 __attribute__((availability(macos, unavailable))) // expected-warning {{attribute 'availability' is… 86 …ute__((availability(macosx, unavailable))) // expected-note + {{'OriginalUnavailable' has been exp… 91 …e__((availability(macosx, unavailable))) // expected-note + {{'AllDeprecatedUnavailable' has been … 95 …ilableCase, // expected-note + {{'AllUnavailableCase' has been explicitly marked unavailable here}} 96 } __attribute__((availability(macosx, unavailable))); 101 UserODUnavailable __attribute__((availability(macosx, unavailable))) = OriginalDeprecated, 103 UserOU = OriginalUnavailable, // expected-error {{unavailable}} 104 …_((availability(macosx, deprecated=10.2))) = OriginalUnavailable, // expected-error {{unavailable}} [all …]
|
| D | attr-unavailable-message.c | 4 …ble__("USE IFOO INSTEAD"))); // expected-note {{'foo' has been explicitly marked unavailable here}} 5 …ailable__("NO LONGER"))); // expected-note 2 {{'dfoo' has been explicitly marked unavailable here}} 7 void bar() __attribute__((__unavailable__)); // expected-note {{explicitly marked unavailable}} 15 int ir = foo(1); // expected-error {{'foo' is unavailable: USE IFOO INSTEAD}} in test_foo() 16 double dr = dfoo(1.0); // expected-error {{'dfoo' is unavailable: NO LONGER}} in test_foo() 18 void (*fp)() = &bar; // expected-error {{'bar' is unavailable}} in test_foo() 20 double (*fp4)(double) = dfoo; // expected-error {{'dfoo' is unavailable: NO LONGER}} in test_foo() 28 // No complains inside an unavailable function. in unavail() 42 enum fee { // expected-note {{'fee' has been explicitly marked unavailable here}} 43 r = 1, // expected-note {{'r' has been explicitly marked unavailable here}} [all …]
|
| D | attr-availability-app-extensions.c | 7 __attribute__((availability(macosx_app_extension,unavailable))) 9 __attribute__((availability(ios_app_extension,unavailable))) 11 __attribute__((availability(tvos_app_extension,unavailable))) 14 void f0(int); // expected-note {{'f0' has been explicitly marked unavailable here}} 16 __attribute__((availability(macosx,unavailable))) 18 __attribute__((availability(ios,unavailable))) 20 __attribute__((availability(tvos,unavailable))) 22 void f1(int); // expected-note {{'f1' has been explicitly marked unavailable here}} 25 f0(1); // expected-error {{'f0' is unavailable: not available on}} in test() 26 f1(1); // expected-error {{'f1' is unavailable}} in test()
|
| D | attr-availability-macosx.c | 11 …vailability(ios,introduced=2.0,deprecated=3.0))); // expected-note{{explicitly marked unavailable}} 12 …,introduced=3.2), availability(macosx,unavailable))); // expected-note{{'f5' has been explicitly m… 13 …cosx,strict,introduced=10.6))); //expected-note{{'f6' has been explicitly marked unavailable here}} 20 f4(0); // expected-error{{f4' is unavailable: obsoleted in macOS 10.5}} in test() 21 f5(0); // expected-error{{'f5' is unavailable: not available on macOS}} in test() 22 f6(0); // expected-error{{'f6' is unavailable: introduced in macOS 10.6}} in test() 27 expected-note{{'not_yet_introduced_struct' has been explicitly marked unavailable here}} 30 expected-error{{'not_yet_introduced_struct' is unavailable: introduced in macOS 10.6}} 51 expected-note{{'type_info' has been explicitly marked unavailable here}} 56 struct type_info *t; // expected-error{{'type_info' is unavailable: introduced in macOS 10.9}} in test2()
|
| /external/clang/test/Index/ |
| D | annotate-tokens.c | 36 __attribute__((unavailable)) Int __attribute__((unavailable)) test() __attribute__((unavailable)); 170 …ord: "__attribute__" [36:1 - 36:14] FunctionDecl=test:36:63 (unavailable) (always unavailable: "") 171 …K: Punctuation: "(" [36:14 - 36:15] FunctionDecl=test:36:63 (unavailable) (always unavailable: "") 172 …K: Punctuation: "(" [36:15 - 36:16] FunctionDecl=test:36:63 (unavailable) (always unavailable: "") 173 // CHECK: Identifier: "unavailable" [36:16 - 36:27] UnexposedAttr= 174 …K: Punctuation: ")" [36:27 - 36:28] FunctionDecl=test:36:63 (unavailable) (always unavailable: "") 175 …K: Punctuation: ")" [36:28 - 36:29] FunctionDecl=test:36:63 (unavailable) (always unavailable: "") 177 …rd: "__attribute__" [36:34 - 36:47] FunctionDecl=test:36:63 (unavailable) (always unavailable: "") 178 …K: Punctuation: "(" [36:47 - 36:48] FunctionDecl=test:36:63 (unavailable) (always unavailable: "") 179 …K: Punctuation: "(" [36:48 - 36:49] FunctionDecl=test:36:63 (unavailable) (always unavailable: "") [all …]
|
| /external/python/google-api-python-client/googleapiclient/discovery_cache/documents/ |
| D | mybusinesslodging.v1.json | 222 "Amenity or service is unavailable due to ongoing work orders.", 238 "Amenity or service is unavailable due to ongoing work orders.", 258 "Amenity or service is unavailable due to ongoing work orders.", 278 "Amenity or service is unavailable due to ongoing work orders.", 305 "Amenity or service is unavailable due to ongoing work orders.", 325 "Amenity or service is unavailable due to ongoing work orders.", 345 "Amenity or service is unavailable due to ongoing work orders.", 365 "Amenity or service is unavailable due to ongoing work orders.", 385 "Amenity or service is unavailable due to ongoing work orders.", 405 "Amenity or service is unavailable due to ongoing work orders.", [all …]
|
| /external/clang/test/ARCMT/ |
| D | objcmt-property-availability.m | 13 #define CF_AVAILABLE_IOS(_ios) __attribute__((availability(macosx,unavailable))) 19 #define UNAVAILABLE __attribute__((unavailable("not available in automatic reference counting mode"… macro 35 - (void)setComp:(MKMapItem *)source UNAVAILABLE; 37 - (MKMapItem *)tally UNAVAILABLE NS_AVAILABLE(10_9, 6_0); 38 - (void)setTally:(MKMapItem *)source UNAVAILABLE NS_AVAILABLE(10_9, 6_0); 41 - (void)setItally:(MKMapItem *)source UNAVAILABLE NS_AVAILABLE(10_9, 6_0); 43 - (MKMapItem *)normal UNAVAILABLE; method 44 - (void)setNormal:(MKMapItem *)source UNAVAILABLE NS_AVAILABLE(10_9, 6_0);
|
| D | objcmt-property-availability.m.result | 13 #define CF_AVAILABLE_IOS(_ios) __attribute__((availability(macosx,unavailable))) 19 #define UNAVAILABLE __attribute__((unavailable("not available in automatic reference counting mode"… 33 - (void)setComp:(MKMapItem *)source UNAVAILABLE; 35 @property (nonatomic, strong) MKMapItem *tally UNAVAILABLE NS_AVAILABLE(10_9, 6_0); 38 - (void)setItally:(MKMapItem *)source UNAVAILABLE NS_AVAILABLE(10_9, 6_0); 40 - (MKMapItem *)normal UNAVAILABLE; 41 - (void)setNormal:(MKMapItem *)source UNAVAILABLE NS_AVAILABLE(10_9, 6_0);
|
| D | atautorelease-check.m | 4 #define NS_AUTOMATED_REFCOUNT_UNAVAILABLE __attribute__((unavailable("not available in automatic re… 51 @interface NSAutoreleasePool : NSObject { // expected-note 13 {{marked unavailable here}} 72 …Pool = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is unavailable}} 77 …nkPool = [[NSAutoreleasePool alloc] init]; // expected-error {{'NSAutoreleasePool' is unavailable}} 87 NSAutoreleasePool * pool; // expected-error {{'NSAutoreleasePool' is unavailable}} 94 … pool = [[NSAutoreleasePool alloc] init]; // expected-error {{'NSAutoreleasePool' is unavailable}} 100 …ol = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is unavailable}} \ 113 …ol = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is unavailable}} \ 125 …ol = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is unavailable}} \ 136 …ol = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is unavailable}} \
|
| /external/clang/test/Modules/ |
| D | auto-import-unavailable.cpp | 2 …fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs/auto-import-unavailable %s 2>&1 | FileC… 3 …fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs/auto-import-unavailable %s 2>&1 | FileC… 4 …fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs/auto-import-unavailable %s 2>&1 | FileC… 10 // unavailable and we issue an error. 13 // MISSING-HEADER-DAG: auto-import-unavailable.cpp:[[@LINE+1]]:10: note: submodule of top-level mod… 29 // NONREQUIRED-MISSING-HEADER: auto-import-unavailable.cpp:[[@LINE+2]]:10: remark: building module … 30 // NONREQUIRED-MISSING-HEADER: auto-import-unavailable.cpp:[[@LINE+1]]:10: remark: finished buildin… 38 // If the header is unavailable due to a missing requirement, an error 42 // MISSING-REQUIREMENT: auto-import-unavailable.cpp:[[@LINE+1]]:10: note: submodule of top-level mo…
|
| /external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
| D | CallCredentialsApplyingTest.java | 244 transport.shutdown(Status.UNAVAILABLE); in credentialThrows() 247 verify(mockTransport).shutdown(Status.UNAVAILABLE); in credentialThrows() 262 transport.shutdown(Status.UNAVAILABLE); in applyMetadata_inline() 265 verify(mockTransport).shutdown(Status.UNAVAILABLE); in applyMetadata_inline() 270 final Status error = Status.UNAVAILABLE.withDescription("channel not secure for creds"); in fail_inline() 290 transport.shutdownNow(Status.UNAVAILABLE); in fail_inline() 293 verify(mockTransport).shutdownNow(Status.UNAVAILABLE); in fail_inline() 322 transport.shutdownNow(Status.UNAVAILABLE); in fail_inline_inappropriate_error() 325 verify(mockTransport).shutdownNow(Status.UNAVAILABLE); in fail_inline_inappropriate_error() 344 transport.shutdown(Status.UNAVAILABLE); in applyMetadata_delayed() [all …]
|
| /external/pdfium/core/fpdfapi/parser/ |
| D | cpdf_object_avail_unittest.cpp | 40 Unavailable, enumerator 53 if (obj_data.state == ObjectState::Unavailable) { in ParseIndirectObject() 89 ObjectState state = ObjectState::Unavailable; 133 TestHolder::ObjectState::Unavailable); in TEST() 143 TestHolder::ObjectState::Unavailable); in TEST() 145 TestHolder::ObjectState::Unavailable); in TEST() 159 TestHolder::ObjectState::Unavailable); in TEST() 161 TestHolder::ObjectState::Unavailable); in TEST() 163 TestHolder::ObjectState::Unavailable); in TEST() 181 TestHolder::ObjectState::Unavailable); in TEST() [all …]
|
| /external/sdk-platform-java/gax-java/gax/src/test/java/com/google/api/gax/rpc/ |
| D | ApiResultRetryAlgorithmTest.java | 53 new ApiException(null, new FakeStatusCode(Code.UNAVAILABLE), /* retryable = */ true); in testShouldRetryNoContext() 68 new ApiException(null, new FakeStatusCode(Code.UNAVAILABLE), /* retryable = */ false); in testShouldRetryWithContextWithoutRetryableCodes() 70 new ApiException(null, new FakeStatusCode(Code.UNAVAILABLE), /* retryable = */ true); in testShouldRetryWithContextWithoutRetryableCodes() 82 Sets.newHashSet(StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)); in testShouldRetryWithContextWithRetryableCodes() 84 StatusCode unavailable = mock(StatusCode.class); in testShouldRetryWithContextWithRetryableCodes() local 85 when(unavailable.getCode()).thenReturn(Code.UNAVAILABLE); in testShouldRetryWithContextWithRetryableCodes() 89 // The return value of isRetryable() will be ignored, as UNAVAILABLE has been added as a in testShouldRetryWithContextWithRetryableCodes() 92 new ApiException(null, new FakeStatusCode(Code.UNAVAILABLE), /* retryable = */ false); in testShouldRetryWithContextWithRetryableCodes() 108 new ApiException(null, new FakeStatusCode(Code.UNAVAILABLE), /* retryable = */ true); in testShouldRetryWithContextWithEmptyRetryableCodes()
|
| /external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
| D | CellSignalStrengthNrBuilder.java | 19 private int csiRrsp = CellInfo.UNAVAILABLE; 20 private int csiRsrq = CellInfo.UNAVAILABLE; 21 private int csiSinr = CellInfo.UNAVAILABLE; 22 private int csiCqiTableIndex = CellInfo.UNAVAILABLE; 24 private int ssRsrp = CellInfo.UNAVAILABLE; 25 private int ssRsrq = CellInfo.UNAVAILABLE; 26 private int ssSinr = CellInfo.UNAVAILABLE; 27 private int timingAdvance = CellInfo.UNAVAILABLE;
|