Home
last modified time | relevance | path

Searched refs:unavailable (Results 1 – 25 of 171) sorted by relevance

1234567

/external/clang/test/SemaObjC/
Dclass-unavail-warning.m4 __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 …]
Dspecial-dep-unavail-warning.m6 - (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 …]
Dobjc-container-subscripting-attr.m6 …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}}
Dprotocol-attribute.m3 __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}}
Darc-system-header.m8 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}}
Dattr-availability.m24 - (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")))
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…
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
224 [obj methodB]; // expected-error{{'methodB' is unavailable}}
[all …]
Dno-warning-unavail-unimp.m7 @property (getter=getVal) int val __attribute__((unavailable));
8 @property (getter=getVal) int val2 __attribute__((availability(macosx,unavailable)));
9 - Method __attribute__((unavailable)); argument
10 + CMethod __attribute__((unavailable)); argument
Dmethod-attributes.m20 - (int) foo2: (int)arg1 __attribute__((deprecated)) __attribute__((unavailable)); argument
21 - (int) foo3: (int)arg1 __attribute__((deprecated)) __attribute__((unavailable)) __attribute__((ns_…
34 - (int) foo3: (int)arg1 __attribute__((deprecated)) __attribute__((unavailable)) __attribute__((ns_…
68 …: (int)arg1 __attribute__((aligned(16))) __attribute__((deprecated)) __attribute__((unavailable)); argument
69 … (int)arg1 __attribute__((aligned(16))) __attribute__((deprecated)) __attribute__((unavailable)); argument
82 - (id) method3: (int)arg1 __attribute__((deprecated)) __attribute__((unavailable)) { argument
85 …: (int)arg1 __attribute__((aligned(16))) __attribute__((deprecated)) __attribute__((unavailable)) { argument
Darc-unavailable-for-weakref.m17 …ns1 = (__weak sub *)obj; // expected-error {{assignment of a weak-unavailable object to a __weak o…
31 weak1 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak object}}
33 …__weak id weak2 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak…
34 …return (__weak id)strong1; // expected-error {{cast of weak-unavailable object of type 'NOWEAK *' …
44 weak1 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak object}}
46 …__weak id<P> weak2 = strong1; // expected-error {{assignment of a weak-unavailable object to a __w…
47 …return (__weak id<P>)strong1; // expected-error {{cast of weak-unavailable object of type 'NOWEAK<…
Dattr-availability-1.m21 - (void)overridden5 __attribute__((availability(macosx,unavailable))); argument
33 …n6 __attribute__((availability(macosx,unavailable))); // expected-warning{{overriding method canno… argument
109 …troduced=NA))); // expected-note {{'interface_method' has been explicitly marked unavailable here}}
110 …eprecated=NA))); // expected-note {{'strange_method' has been explicitly marked unavailable here}}
115 …[pa interface_method]; // expected-error {{'interface_method' is unavailable: not available on OS …
117 [pa strange_method]; // expected-error {{'strange_method' is unavailable: not available on OS X}}
Darc-unavailable-system-function.m8 # 1 "arc-unavailable-system-function.m" 2
10 foo(); // expected-error {{'foo' is unavailable in ARC}}
/external/clang/test/Sema/
Dattr-availability.c47 __attribute__((availability(macos, unavailable))) // expected-warning {{attribute 'availability' is…
86 …OriginalUnavailable __attribute__((availability(macosx, unavailable))) // expected-note + {{'Origi…
91 …AllDeprecatedUnavailable __attribute__((availability(macosx, unavailable))) // expected-note + {{'…
96 } __attribute__((availability(macosx, unavailable)));
101 UserODUnavailable __attribute__((availability(macosx, unavailable))) = OriginalDeprecated,
105 UserOUUnavailable __attribute__((availability(macosx, unavailable))) = OriginalUnavailable,
109 UserADUnavailable __attribute__((availability(macosx, unavailable))) = AllDeprecatedCase,
113 UserADUUnavailable __attribute__((availability(macosx, unavailable))) = AllDeprecatedUnavailable,
117 UserAUUnavailable __attribute__((availability(macosx, unavailable))) = AllUnavailableCase,
123 …UserDeprecatedODUnavailable __attribute__((availability(macosx, unavailable))) = OriginalDeprecate…
[all …]
Dattr-availability-app-extensions.c7 __attribute__((availability(macosx_app_extension,unavailable)))
9 __attribute__((availability(ios_app_extension,unavailable)))
11 __attribute__((availability(tvos_app_extension,unavailable)))
16 __attribute__((availability(macosx,unavailable)))
18 __attribute__((availability(ios,unavailable)))
20 __attribute__((availability(tvos,unavailable)))
/external/clang/test/Modules/
Dattr-unavailable.m2 …dules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs/attr-unavailable %s -fsyntax-onl…
11 [x method2]; // expected-error{{'method2' is unavailable}}
12 // expected-note@oneA.h:2 {{'method2' has been explicitly marked unavailable here}}
13 [x method3]; // expected-error{{'method3' is unavailable}}
14 // expected-note@oneA.h:3 {{'method3' has been explicitly marked unavailable here}}
/external/clang/test/ARCMT/
Datautorelease-check.m4 #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}} \
DGC-check.m4 #define CF_AUTOMATED_REFCOUNT_UNAVAILABLE __attribute__((unavailable("not available in automatic re…
7 …CFMakeCollectable(CFTypeRef cf) CF_AUTOMATED_REFCOUNT_UNAVAILABLE; // expected-note {{unavailable}}
12 // expected-error {{unavailable}}
/external/clang/test/SemaObjCXX/
Darc-unavailable-for-weakref.mm17 …ns1 = (__weak sub *)obj; // expected-error {{assignment of a weak-unavailable object to a __weak o…
31 weak1 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak object}}
33 …__weak id weak2 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak…
34 …return (__weak id)strong1; // expected-error {{cast of weak-unavailable object of type 'NOWEAK *' …
44 weak1 = strong1; // expected-error {{assignment of a weak-unavailable object to a __weak object}}
46 …__weak id<P> weak2 = strong1; // expected-error {{assignment of a weak-unavailable object to a __w…
47 …return (__weak id<P, P1>)strong1; // expected-error {{cast of weak-unavailable object of type 'NOW…
/external/clang/test/SemaCXX/
Dattr-unavailable.cpp24 #define FOO __attribute__((unavailable("not available - replaced")))
52 enum UnavailableEnum { UE_A, UE_B } __attribute__((unavailable)); // expected-note {{'UnavailableEn…
53 __attribute__((unavailable)) typedef enum UnavailableEnum UnavailableEnum;
57 __attribute__((unavailable))
/external/clang/test/Parser/
Dattr-availability.c15 void f4() __attribute__((availability(macosx,introduced=10.5), availability(ios,unavailable)));
17 …ibute__((availability(macosx,introduced=10.5), availability(ios,unavailable, unavailable))); // ex…
19 void f6() __attribute__((availability(macosx,unavailable,introduced=10.5))); // expected-warning{{'…
/external/clang/test/Index/
Dannotate-comments-availability-attrs.cpp14 __attribute__((availability(ios,unavailable, message="not for iOS")));
35 void attr_unavailable_1() __attribute__((unavailable));
40 void attr_unavailable_2() __attribute__((unavailable("message 2 <foo.h>")));
Dannotate-tokens.c36 __attribute__((unavailable)) Int __attribute__((unavailable)) test() __attribute__((unavailable));
/external/clang/test/SemaObjCXX/Inputs/
Dnullability-consistency-7.h18 -(null_unspecified A*)transform:(null_unspecified A*)input __attribute__((unavailable("anything but…
24 @property (nonatomic) int intValue __attribute__((unavailable("wouldn't work anyway")));
30 __attribute__((unavailable("just don't")))
/external/clang/test/Modules/Inputs/attr-unavailable/
DoneA.h2 -(void)method2 __attribute__((unavailable));
3 -(void)method3 __attribute__((unavailable));
/external/svox/pico/src/com/svox/pico/
DEngineSettings.java52 …ArrayList<String> unavailable = data.getStringArrayListExtra(TextToSpeech.Engine.EXTRA_UNAVAILABLE… in onActivityResult() local
67 for (int i = 0; i < unavailable.size(); i++){ in onActivityResult()
68 final String unavailableLang = unavailable.get(i); in onActivityResult()
DCheckVoiceData.java65 ArrayList<String> unavailable = new ArrayList<String>(); in onCreate() local
89 unavailable.add(supportedLanguages[i]); in onCreate()
108 … returnData.putStringArrayListExtra(TextToSpeech.Engine.EXTRA_UNAVAILABLE_VOICES, unavailable); in onCreate()

1234567