Home
last modified time | relevance | path

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

123

/external/clang/test/SemaObjC/
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' maybe unavailable because receiver type is un…
36 …[c unavailMeth1]; // expected-warning {{'unavailMeth1' maybe unavailable because receiver type is …
[all …]
Darc-system-header.m1 // silly workaround expected-note {{marked unavailable here}}
5 // another silly workaround expected-note {{marked unavailable here}}
10 …cp = test0(op); // expected-error {{'test0' is unavailable: converts between Objective-C and C poi…
11 …cp = *test1(&op); // expected-error {{'test1' is unavailable: converts between Objective-C and C p…
14 // workaround expected-note {{marked unavailable here}}
16 …p->field = 0; // expected-error {{'field' is unavailable: this system declaration uses an unsuppor…
19 // workaround expected-note {{marked unavailable here}}
21 …p->field1 = 0; // expected-error {{'field1' is unavailable: this system declaration uses an unsupp…
25 // workaround expected-note {{marked unavailable here}}
27 …p->field = 0; // expected-error {{'field' is unavailable: this system field has retaining ownershi…
[all …]
Dclass-unavail-warning.m4 __attribute__((unavailable("not available")))
5 @interface MyClass { // expected-note 8 {{declaration 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}}
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-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<…
63 @synthesize font = _font; // expected-error {{synthesis of a weak-unavailable property is disallowe…
Dmethod-attributes.m18 - (int) foo2: (int)arg1 __attribute__((deprecated)) __attribute__((unavailable)); // expected-note … argument
19 - (int) foo3: (int)arg1 __attribute__((deprecated)) __attribute__((unavailable)) __attribute__((ns_…
32 - (int) foo3: (int)arg1 __attribute__((deprecated)) __attribute__((unavailable)) __attribute__((ns_…
66 …attribute__((aligned(16))) __attribute__((deprecated)) __attribute__((unavailable)); // expected-… argument
67 … (int)arg1 __attribute__((aligned(16))) __attribute__((deprecated)) __attribute__((unavailable)); argument
80 - (id) method3: (int)arg1 __attribute__((deprecated)) __attribute__((unavailable)) { // expected-w… argument
83 …: (int)arg1 __attribute__((aligned(16))) __attribute__((deprecated)) __attribute__((unavailable)) { argument
Dno-warning-unavail-unimp.m5 @property (getter=getVal) int val __attribute__((unavailable));
6 - Method __attribute__((unavailable)); argument
7 + CMethod __attribute__((unavailable)); argument
Darc-unavailable-system-function.m6 id * foo(); // expected-note {{function has been explicitly marked unavailable here}}
8 # 1 "arc-unavailable-system-function.m" 2
10 …foo(); // expected-error {{'foo' is unavailable: this system declaration uses an unsupported type}}
/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…
Darc-system-header.mm7 …a->data.a_b.b = 0; // expected-error{{'a_b' is unavailable: this system field has retaining owners…
10 // expected-note{{declaration has been explicitly marked unavailable here}}
Doverload.mm118 void foo(A*) __attribute__((unavailable)); // expected-note {{explicitly made unavailable}}
121 foo(b); // expected-error {{call to unavailable function 'foo'}}
/external/clang/test/ARCMT/
Datautorelease-check.m5 #define NS_AUTOMATED_REFCOUNT_UNAVAILABLE __attribute__((unavailable("not available in automatic re…
52 @interface NSAutoreleasePool : NSObject { // expected-note 13 {{marked unavailable here}}
73 …Pool = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is unavailable}}
78 …nkPool = [[NSAutoreleasePool alloc] init]; // expected-error {{'NSAutoreleasePool' is unavailable}}
88 NSAutoreleasePool * pool; // expected-error {{'NSAutoreleasePool' is unavailable}}
95 … pool = [[NSAutoreleasePool alloc] init]; // expected-error {{'NSAutoreleasePool' is unavailable}}
101 …ol = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is unavailable}} \
114 …ol = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is unavailable}} \
126 …ol = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is unavailable}} \
137 …ol = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is unavailable}} \
DGC-check.m5 #define CF_AUTOMATED_REFCOUNT_UNAVAILABLE __attribute__((unavailable("not available in automatic re…
8 …CFMakeCollectable(CFTypeRef cf) CF_AUTOMATED_REFCOUNT_UNAVAILABLE; // expected-note {{unavailable}}
13 // expected-error {{unavailable}}
Dchecking.m5 #define NS_AUTOMATED_REFCOUNT_UNAVAILABLE __attribute__((unavailable("not available in automatic re…
48 - (id)retain; // expected-note {{declaration has been explicitly marked unavailable here}}
49 - (id)retainCount; // expected-note {{declaration has been explicitly marked unavailable here}}
50 - (id)autorelease; // expected-note 2 {{declaration has been explicitly marked unavailable here}}
83 // expected-error {{'retain' is unavailable}}
92 // expected-error {{'retainCount' is unavailable}}
96 // expected-error {{'autorelease' is unavailable}}
99 // expected-error {{'autorelease' is 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{{'…
Daccess-spec-attrs.cpp4 public __attribute__((unavailable)): // expected-error {{access specifier can only have annotation …
Dcxx11-stmt-attributes.cpp35 …[[unavailable]] continue; // TODO: only noreturn, alignas and carries_dependency are parsed in C++… in foo()
/external/clang/test/Modules/Inputs/NoUmbrella.framework/
Dmodule.map5 module unavailable {
6 requires 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()
/external/clang/include/clang/Sema/
DAttributeList.h172 SourceLocation unavailable, in AttributeList() argument
180 UnavailableLoc(unavailable), MessageExpr(messageExpr), in AttributeList()
466 SourceLocation unavailable, in create() argument
474 unavailable, MessageExpr, syntax)); in create()
606 SourceLocation unavailable, in addNew() argument
611 introduced, deprecated, obsoleted, unavailable, in addNew()
/external/clang/test/PCH/Inputs/
Dchain-macro-override1.h1 void f() __attribute__((unavailable));
/external/valgrind/main/memcheck/tests/
Dfile_locking.stderr.exp4 fcntl: Resource temporarily unavailable
/external/clang/test/Index/
Dcomplete-exprs.c4 int f(int) __attribute__((unavailable));
/external/clang/test/SemaCXX/
Dattr-unavailable.cpp24 #define FOO __attribute__((unavailable("not available - replaced")))

123