OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:unavailable
(Results
1 - 25
of
1171
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/clang/test/SemaCXX/
attr-unavailable.cpp
6
// expected-note{{'foo' has been explicitly marked
unavailable
here}}
8
void bar(...) __attribute__((__unavailable__)); // expected-note 2{{explicitly marked
unavailable
}}
13
foo(sp); // expected-error{{call to
unavailable
function 'foo'}}
15
void (*fp)(...) = &bar; // expected-error{{'bar' is
unavailable
}}
16
void (*fp2)(...) = bar; // expected-error{{'bar' is
unavailable
}}
19
void (*fp4)(...) = foo; // expected-error{{'foo' is
unavailable
}}
24
#define FOO __attribute__((
unavailable
("not available - replaced")))
26
void foo() FOO; // expected-note {{candidate function has been explicitly made
unavailable
}}
28
foo(); // expected-error {{call to
unavailable
function 'foo': not available - replaced}}
34
// No complains inside an
unavailable
function
[
all
...]
/external/clang/test/SemaObjC/
no-warning-unavail-unimp.m
7
@property (getter=getVal) int val __attribute__((
unavailable
));
8
@property (getter=getVal) int val2 __attribute__((availability(macosx,
unavailable
)));
9
- Method __attribute__((
unavailable
));
10
+ CMethod __attribute__((
unavailable
));
objc-container-subscripting-attr.m
6
- (id)objectForKeyedSubscript:(id)sub __attribute__((
unavailable
)); // expected-note 2 {{'objectForKeyedSubscript:' has been explicitly marked
unavailable
here}}
7
- (void)setObject:(id)object forKeyedSubscript:(id)key __attribute__((
unavailable
)); // expected-note {{'setObject:forKeyedSubscript:' has been explicitly marked
unavailable
here}}
11
obj[obj] = obj; // expected-error {{'setObject:forKeyedSubscript:' is
unavailable
}}
12
return obj[obj]; // expected-error {{'objectForKeyedSubscript:' is
unavailable
}}
16
return [obj objectForKeyedSubscript:obj]; // expected-error {{'objectForKeyedSubscript:' is
unavailable
}}
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
...]
special-dep-unavail-warning.m
6
- (void) unavailMeth __attribute__((
unavailable
)); // expected-note {{has been explicitly marked
unavailable
here}}
10
- (void) unavailMeth2 __attribute__((
unavailable
)); // expected-note {{has been explicitly marked
unavailable
here}}
12
- (void) depunavailInA1 __attribute__((deprecated)) __attribute__((
unavailable
)); // expected-note {{has been explicitly marked
unavailable
here}}
14
- (void)FuzzyMeth1 __attribute__((
unavailable
));
18
- (void) unavailMeth1 __attribute__((
unavailable
)); // expected-note {{has been explicitly marked
unavailable
here}}
22
- (void) unavailMeth2 __attribute__((
unavailable
));
[
all
...]
arc-unavailable-system-function.m
6
id * foo(); // expected-note {{'foo' 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}}
arc-system-header.m
8
cp = test0(op); // expected-error {{'test0' is
unavailable
: converts between Objective-C and C pointers in -fobjc-arc}}
9
cp = *test1(&op); // expected-error {{'test1' is
unavailable
: converts between Objective-C and C pointers in -fobjc-arc}}
10
// expected-note@arc-system-header.h:1 {{marked
unavailable
here}}
11
// expected-note@arc-system-header.h:5 {{marked
unavailable
here}}
15
p->field = 0; // expected-error {{'field' is
unavailable
: this system declaration uses an unsupported type}}
16
// expected-note@arc-system-header.h:14 {{marked
unavailable
here}}
20
p->field1 = 0; // expected-error {{'field1' is
unavailable
: this system declaration uses an unsupported type}}
21
// expected-note@arc-system-header.h:19 {{marked
unavailable
here}}
26
p->field = 0; // expected-error {{'field' is
unavailable
: this system field has retaining ownership}}
27
// expected-note@arc-system-header.h:25 {{marked
unavailable
here}
[
all
...]
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
unavailable
}}
43
id <XProto> idX = 0; // expected-error {{'XProto' is
unavailable
}}
method-attributes.m
20
- (int) foo2: (int)arg1 __attribute__((deprecated)) __attribute__((
unavailable
));
21
- (int) foo3: (int)arg1 __attribute__((deprecated)) __attribute__((
unavailable
)) __attribute__((ns_consumes_self));
34
- (int) foo3: (int)arg1 __attribute__((deprecated)) __attribute__((
unavailable
)) __attribute__((ns_consumes_self)) {return 0; }
68
- (id) method3: (int)arg1 __attribute__((aligned(16))) __attribute__((deprecated)) __attribute__((
unavailable
));
69
- (id) method4: (int)arg1 __attribute__((aligned(16))) __attribute__((deprecated)) __attribute__((
unavailable
));
82
- (id) method3: (int)arg1 __attribute__((deprecated)) __attribute__((
unavailable
)) {
85
- (id) method4: (int)arg1 __attribute__((aligned(16))) __attribute__((deprecated)) __attribute__((
unavailable
)) {
/external/clang/test/Sema/
attr-unavailable-message.c
4
int foo(int) __attribute__((__unavailable__("USE IFOO INSTEAD"))); // expected-note {{'foo' has been explicitly marked
unavailable
here}}
5
double dfoo(double) __attribute__((__unavailable__("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}}
16
double dr = dfoo(1.0); // expected-error {{'dfoo' is
unavailable
: NO LONGER}}
18
void (*fp)() = &bar; // expected-error {{'bar' is
unavailable
}}
20
double (*fp4)(double) = dfoo; // expected-error {{'dfoo' is
unavailable
: NO LONGER}}
28
// No complains inside an
unavailable
function.
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
...]
attr-availability-macosx.c
7
void f4(int) __attribute__((availability(macosx,introduced=10.1,deprecated=10.3,obsoleted=10.5), availability(ios,introduced=2.0,deprecated=3.0))); // expected-note{{explicitly marked
unavailable
}}
8
void f5(int) __attribute__((availability(ios,introduced=3.2), availability(macosx,
unavailable
))); // expected-note{{'f5' has been explicitly marked
unavailable
here}}
15
f4(0); // expected-error{{f4' is
unavailable
: obsoleted in OS X 10.5}}
16
f5(0); // expected-error{{'f5' is
unavailable
: not available on OS X}}
/external/clang/test/Index/Inputs/CommentXML/
valid-unavailable-attr.xml
6
<
Unavailable
/>
/external/clang/test/PCH/Inputs/
chain-macro-override1.h
1
void f() __attribute__((
unavailable
));
/external/clang/test/ARCMT/
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")))
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
;
44
- (void)setNormal:(MKMapItem *)source
UNAVAILABLE
NS_AVAILABLE(10_9, 6_0);
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);
GC-check.m
4
#define CF_AUTOMATED_REFCOUNT_UNAVAILABLE __attribute__((
unavailable
("not available in automatic reference counting mode")))
7
CFTypeRef CFMakeCollectable(CFTypeRef cf) CF_AUTOMATED_REFCOUNT_UNAVAILABLE; // expected-note {{
unavailable
}}
12
// expected-error {{
unavailable
}}
atautorelease-check.m
4
#define NS_AUTOMATED_REFCOUNT_UNAVAILABLE __attribute__((
unavailable
("not available in automatic reference counting mode")))
51
@interface NSAutoreleasePool : NSObject { // expected-note 13 {{marked
unavailable
here}}
72
NSAutoreleasePool *chunkPool = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is
unavailable
}}
77
chunkPool = [[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
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is
unavailable
}} \
113
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is
unavailable
}} \
125
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is
unavailable
}} \
136
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; // expected-error 2 {{'NSAutoreleasePool' is
unavailable
}} \
[
all
...]
/external/valgrind/main/memcheck/tests/
file_locking.stderr.exp
4
fcntl: Resource temporarily
unavailable
/external/clang/test/SemaObjCXX/
arc-system-header.mm
7
a->data.a_b.b = 0; // expected-error{{'a_b' is
unavailable
: this system field has retaining ownership}}
9
// expected-note@arc-system-header.h:10{{'a_b' has been explicitly marked
unavailable
here}}
arc-unavailable-for-weakref.mm
17
ns1 = (__weak sub *)obj; // expected-error {{assignment of a weak-
unavailable
object to a __weak object}} \
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 object}}
34
return (__weak id)strong1; // expected-error {{cast of weak-
unavailable
object of type 'NOWEAK *' to a __weak object of type '__weak id'}} \
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 __weak object}}
47
return (__weak id<P, P1>)strong1; // expected-error {{cast of weak-
unavailable
object of type 'NOWEAK<P,P1> *' to a __weak object of type '__weak id<P,P1>'}} \
/external/clang/test/Parser/
attr-availability.c
15
void f4() __attribute__((availability(macosx,introduced=10.5), availability(ios,
unavailable
)));
17
void f5() __attribute__((availability(macosx,introduced=10.5), availability(ios,
unavailable
,
unavailable
))); // expected-error{{redundant '
unavailable
' availability change; only the last specified change will be used}}
19
void f6() __attribute__((availability(macosx,
unavailable
,introduced=10.5))); // expected-warning{{'
unavailable
' availability overrides all other availability information}}
access-spec-attrs.cpp
4
public __attribute__((
unavailable
)): // expected-error {{access specifier can only have annotation attributes}}
/external/clang/test/Modules/Inputs/declare-use/
module.map
23
header "
unavailable
.h"
30
header "
unavailable
.h"
/external/chromium_org/content/test/data/accessibility/
contenteditable-descendants.html
4
@WIN-ALLOW:
UNAVAILABLE
/external/clang/test/Index/
annotate-comments-availability-attrs.cpp
14
__attribute__((availability(ios,
unavailable
, message="not for iOS")));
16
// CHECK: FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments-availability-attrs.cpp" line="[[@LINE-3]]" column="6"><Name>attr_availability_1</Name><USR>c:@F@attr_availability_1#</USR><Declaration>void attr_availability_1()</Declaration><Abstract><Para> Aaa.</Para></Abstract><Availability distribution="iOS"><DeprecationSummary>not for iOS</DeprecationSummary><
Unavailable
/></Availability><Availability distribution="OS X"><IntroducedInVersion>8.0</IntroducedInVersion><DeprecatedInVersion>9.0</DeprecatedInVersion><RemovedAfterVersion>10.0</RemovedAfterVersion><DeprecationSummary>use availability_test in <foo.h></DeprecationSummary></Availability></Function>]
35
void attr_unavailable_1() __attribute__((
unavailable
));
37
// CHECK: FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments-availability-attrs.cpp" line="[[@LINE-2]]" column="6"><Name>attr_unavailable_1</Name><USR>c:@F@attr_unavailable_1#</USR><Declaration>void attr_unavailable_1()</Declaration><Abstract><Para> Aaa.</Para></Abstract><
Unavailable
/></Function>]
40
void attr_unavailable_2() __attribute__((
unavailable
("message 2 <foo.h>")));
42
// CHECK: FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments-availability-attrs.cpp" line="[[@LINE-2]]" column="6"><Name>attr_unavailable_2</Name><USR>c:@F@attr_unavailable_2#</USR><Declaration>void attr_unavailable_2()</Declaration><Abstract><Para> Aaa.</Para></Abstract><
Unavailable
>message 2 <foo.h></
Unavailable
></Function>]
Completed in 2036 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>