/external/clang/test/Parser/ |
attr-availability.c | 4 # error 'availability' attribute is not available 7 void f0() __attribute__((availability(macosx,introduced=10.2,deprecated=10.4,obsoleted=10.6))); 9 void f1() __attribute__((availability(macosx,deprecated=10.4,introduced=10.2,obsoleted=10.6))); 11 void f2() __attribute__((availability(ios,deprecated=10.4.7,introduced=10,obsoleted=10.6))); 13 void f3() __attribute__((availability(ios,deprecated=10.4.7,introduced=10,obsoleted=10.6,introduced=10.2))); // expected-error{{redundant 'introduced' availability change; only the last specified change will be used}} 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; o (…) [all...] |
/external/clang/test/Sema/ |
attr-availability.c | 2 // RUN: %clang_cc1 -D WARN_PARTIAL -Wpartial-availability -triple x86_64-apple-darwin9 -fsyntax-only -fblocks -verify %s 5 void f0() __attribute__((availability(macosx,introduced=10.4,deprecated=10.2))); // expected-warning{{feature cannot be deprecated in OS X version 10.2 before it was introduced in version 10.4; attribute ignored}} 6 void f1() __attribute__((availability(ios,obsoleted=2.1,deprecated=3.0))); // expected-warning{{feature cannot be obsoleted in iOS version 2.1 before it was deprecated in version 3.0; attribute ignored}} 7 void f2() __attribute__((availability(ios,introduced=2.1,deprecated=2.1))); 9 void f3() __attribute__((availability(otheros,introduced=2.2))); // expected-warning{{unknown platform 'otheros' in availability macro}} 13 ATSFontGetName(const char *oName) __attribute__((availability(macosx,introduced=8.0,deprecated=9.0, message="use CTFontCopyFullName"))); // expected-note {{'ATSFontGetName' has been explicitly marked deprecated here}} 16 ATSFontGetPostScriptName(int flags) __attribute__((availability(macosx,introduced=8.0,obsoleted=9.0, message="use ATSFontGetFullPostScriptName"))); // expected-note {{'ATSFontGetPostScriptName' has been explicitly marked unavailable here}} 22 PartiallyAvailable() __attribute__((availability(macosx,introduced=10.8))); 24 enum __attribute__((availability(macosx,introduced=10.8))) PartialEnum [all...] |
attr-availability-tvos.c | 3 void f0(int) __attribute__((availability(tvos,introduced=2.0,deprecated=2.1))); // expected-note {{'f0' has been explicitly marked deprecated here}} 4 void f1(int) __attribute__((availability(tvos,introduced=2.1))); 5 void f2(int) __attribute__((availability(tvos,introduced=2.0,deprecated=3.0))); // expected-note {{'f2' has been explicitly marked deprecated here}} 6 void f3(int) __attribute__((availability(tvos,introduced=3.0))); 7 void f4(int) __attribute__((availability(macosx,introduced=10.1,deprecated=10.3,obsoleted=10.5), availability(tvos,introduced=2.0,deprecated=2.1,obsoleted=3.0))); // expected-note{{explicitly marked unavailable}} 9 void f5(int) __attribute__((availability(tvos,introduced=2.0))) __attribute__((availability(tvos,deprecated=3.0))); // expected-note {{'f5' has been explicitly marked deprecated here}} 10 void f6(int) __attribute__((availability(tvos,deprecated=3.0))); 11 void f6(int) __attribute__((availability(tvos,introduced=2.0))); // expected-note {{'f6' has been explicitly marked deprecated here} [all...] |
attr-availability-watchos.c | 3 void f0(int) __attribute__((availability(ios,introduced=2.0,deprecated=2.1))); // expected-note {{'f0' has been explicitly marked deprecated here}} 4 void f1(int) __attribute__((availability(ios,introduced=2.1))); 5 void f2(int) __attribute__((availability(ios,introduced=2.0,deprecated=3.0))); // expected-note {{'f2' has been explicitly marked deprecated here}} 6 void f3(int) __attribute__((availability(ios,introduced=3.0))); 7 void f4(int) __attribute__((availability(macosx,introduced=10.1,deprecated=10.3,obsoleted=10.5), availability(ios,introduced=2.0,deprecated=2.1,obsoleted=3.0))); // expected-note{{explicitly marked unavailable}} 8 void f5(int) __attribute__((availability(ios,introduced=2.0))) __attribute__((availability(ios,deprecated=3.0))); // expected-note {{'f5' has been explicitly marked deprecated here}} 9 void f6(int) __attribute__((availability(ios,deprecated=12.1))); // OK - not deprecated for watchOS 10 void f7(int) __attribute__((availability(ios,deprecated=8.3))); // expected-note {{'f7' has been explicitly marked deprecated here} [all...] |
attr-availability-android.c | 3 void f0(int) __attribute__((availability(android,introduced=14,deprecated=19))); 4 void f1(int) __attribute__((availability(android,introduced=16))); 5 void f2(int) __attribute__((availability(android,introduced=14,deprecated=16))); // expected-note {{'f2' has been explicitly marked deprecated here}} 6 void f3(int) __attribute__((availability(android,introduced=19))); 7 void f4(int) __attribute__((availability(android,introduced=9,deprecated=11,obsoleted=16), availability(ios,introduced=2.0,deprecated=3.0))); // expected-note{{explicitly marked unavailable}} 8 void f5(int) __attribute__((availability(ios,introduced=3.2), availability(android,unavailable))); // expected-note{{'f5' has been explicitly marked unavailable here}} 22 foo __attribute__((availability(android,introduced=8.0,deprecated=9.0))) 26 bar __attribute__((availability(android,introduced=8.0,deprecated=9.0))) = fo [all...] |
attr-availability-macosx.c | 3 void f0(int) __attribute__((availability(macosx,introduced=10.4,deprecated=10.6))); 4 void f1(int) __attribute__((availability(macosx,introduced=10.5))); 5 void f2(int) __attribute__((availability(macosx,introduced=10.4,deprecated=10.5))); // expected-note {{'f2' has been explicitly marked deprecated here}} 6 void f3(int) __attribute__((availability(macosx,introduced=10.6))); 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}} 22 foo __attribute__((availability(macosx,introduced=8.0,deprecated=9.0))) 26 bar __attribute__((availability(macosx,introduced=8.0,deprecated=9.0))) = fo [all...] |
attr-availability-ios.c | 3 void f0(int) __attribute__((availability(ios,introduced=2.0,deprecated=2.1))); // expected-note {{'f0' has been explicitly marked deprecated here}} 4 void f1(int) __attribute__((availability(ios,introduced=2.1))); 5 void f2(int) __attribute__((availability(ios,introduced=2.0,deprecated=3.0))); // expected-note {{'f2' has been explicitly marked deprecated here}} 6 void f3(int) __attribute__((availability(ios,introduced=3.0))); 7 void f4(int) __attribute__((availability(macosx,introduced=10.1,deprecated=10.3,obsoleted=10.5), availability(ios,introduced=2.0,deprecated=2.1,obsoleted=3.0))); // expected-note{{explicitly marked unavailable}} 9 void f5(int) __attribute__((availability(ios,introduced=2.0))) __attribute__((availability(ios,deprecated=3.0))); // expected-note {{'f5' has been explicitly marked deprecated here}} 10 void f6(int) __attribute__((availability(ios,deprecated=3.0))); 11 void f6(int) __attribute__((availability(ios,introduced=2.0))); // expected-note {{'f6' has been explicitly marked deprecated here} [all...] |
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))) 16 __attribute__((availability(macosx,unavailable))) 18 __attribute__((availability(ios,unavailable))) 20 __attribute__((availability(tvos,unavailable)))
|
/external/clang/test/Misc/ |
ast-print-objectivec.m | 6 - (void)MethP __attribute__((availability(macosx,introduced=10.1.0,deprecated=10.2))); 10 - (void)MethI __attribute__((availability(macosx,introduced=10.1.0,deprecated=10.2))); 14 - (void)MethCAT __attribute__((availability(macosx,introduced=10_1_0,deprecated=10_2))); 18 - (void)MethP __attribute__((availability(macosx,introduced=10.1.0,deprecated=10.2))) {} 19 - (void)MethI __attribute__((availability(macosx,introduced=10.1.0,deprecated=10.2))) {} 23 // CHECK: - (void) MethP __attribute__((availability(macosx, introduced=10.1.0, deprecated=10.2))); 27 // CHECK: - (void) MethI __attribute__((availability(macosx, introduced=10.1.0, deprecated=10.2))); 31 // CHECK: - (void) MethCAT __attribute__((availability(macosx, introduced=10_1_0, deprecated=10_2))); 35 // CHECK: - (void) MethP __attribute__((availability(macosx, introduced=10.1.0, deprecated=10.2))) { 38 // CHECK: - (void) MethI __attribute__((availability(macosx, introduced=10.1.0, deprecated=10.2))) [all...] |
/external/clang/test/Index/Inputs/CommentXML/ |
valid-availability-attr-01.xml | 5 <Availability distribution="OS X"> 10 </Availability>
|
valid-availability-attr-02.xml | 5 <Availability distribution="OS X"> 10 </Availability>
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ec2/ |
test_instancetype.py | 27 <availability/><ephemeralDisk/> 31 <availability/><ephemeralDisk/> 35 <availability/><ephemeralDisk/> 39 <availability/><ephemeralDisk/> 43 <availability/><ephemeralDisk/> 47 <availability/><ephemeralDisk/> 51 <availability/><ephemeralDisk/> 55 <availability/><ephemeralDisk/> 59 <availability/><ephemeralDisk/> 63 <availability/><ephemeralDisk/ [all...] |
/external/clang/bindings/python/tests/cindex/ |
test_code_completion.py | 31 "{'int', ResultType} | {'test1', TypedText} || Priority: 50 || Availability: Available || Brief comment: Aaa.", 32 "{'void', ResultType} | {'test2', TypedText} | {'(', LeftParen} | {')', RightParen} || Priority: 50 || Availability: Available || Brief comment: Bbb.", 33 "{'return', TypedText} || Priority: 40 || Availability: Available || Brief comment: None" 60 "{'const', TypedText} || Priority: 40 || Availability: Available || Brief comment: None", 61 "{'volatile', TypedText} || Priority: 40 || Availability: Available || Brief comment: None", 62 "{'operator', TypedText} || Priority: 40 || Availability: Available || Brief comment: None", 63 "{'P', TypedText} | {'::', Text} || Priority: 75 || Availability: Available || Brief comment: None", 64 "{'Q', TypedText} | {'::', Text} || Priority: 75 || Availability: Available || Brief comment: None" 70 "{'P', TypedText} | {'::', Text} || Priority: 75 || Availability: Available || Brief comment: None", 71 "{'P &', ResultType} | {'operator=', TypedText} | {'(', LeftParen} | {'const P &', Placeholder} | {')', RightParen} || Priority: 34 || Availability: Available || Brief comment: None" [all...] |
/external/clang/test/SemaObjC/ |
builtin_objc_msgSend.m | 13 __attribute__((availability(macosx,introduced=10.0))); 16 __attribute__((availability(macosx,introduced=10.0))); 19 __attribute__((availability(macosx,introduced=10.0)));
|
attr-availability-1.m | 11 - (void)proto_method __attribute__((availability(macosx,introduced=10_1,deprecated=10_2))); // expected-note 2 {{'proto_method' has been explicitly marked deprecated here}} 15 - (void)method __attribute__((availability(macosx,introduced=10_1,deprecated=10_2))); // expected-note {{'method' has been explicitly marked deprecated here}} 17 - (void)overridden __attribute__((availability(macosx,introduced=10_3))); // expected-note{{overridden method is here}} 18 - (void)overridden2 __attribute__((availability(macosx,introduced=10_3))); 19 - (void)overridden3 __attribute__((availability(macosx,deprecated=10_3))); 20 - (void)overridden4 __attribute__((availability(macosx,deprecated=10_3))); // expected-note{{overridden method is here}} 21 - (void)overridden5 __attribute__((availability(macosx,unavailable))); 22 - (void)overridden6 __attribute__((availability(macosx,introduced=10_3))); // expected-note{{overridden method is here}} 27 - (void)method; // NOTE: we expect 'method' to *not* inherit availability. 28 - (void)overridden __attribute__((availability(macosx,introduced=10_4))); // expected-warning{{overriding method introduced after overridden meth (…) [all...] |
attr-availability.m | 2 // RUN: %clang_cc1 -D WARN_PARTIAL -Wpartial-availability -triple x86_64-apple-darwin9.0.0 -fsyntax-only -verify %s 5 - (void)proto_method __attribute__((availability(macosx,introduced=10.1,deprecated=10.2))); // expected-note 2 {{'proto_method' has been explicitly marked deprecated here}} 10 - (void)partial_proto_method __attribute__((availability(macosx,introduced=10.8))); 14 - (void)method __attribute__((availability(macosx,introduced=10.1,deprecated=10.2))); // expected-note {{'method' has been explicitly marked deprecated here}} 18 - (void)partialMethod __attribute__((availability(macosx,introduced=10.8))); 20 - (void)overridden __attribute__((availability(macosx,introduced=10.3))); // expected-note{{overridden method is here}} 21 - (void)overridden2 __attribute__((availability(macosx,introduced=10.3))); 22 - (void)overridden3 __attribute__((availability(macosx,deprecated=10.3))); 23 - (void)overridden4 __attribute__((availability(macosx,deprecated=10.3))); // expected-note{{overridden method is here}} 24 - (void)overridden5 __attribute__((availability(macosx,unavailable))) [all...] |
no-warning-unavail-unimp.m | 8 @property (getter=getVal) int val2 __attribute__((availability(macosx,unavailable)));
|
/external/testng/src/main/java/org/testng/internal/ |
Dynamic.java | 4 * Determine the availability of certain jar files at runtime.
|
/external/clang/test/Index/ |
annotate-comments-availability-attrs.cpp | 13 void attr_availability_1() __attribute__((availability(macosx,obsoleted=10.0,introduced=8.0,deprecated=9.0, message="use availability_test in <foo.h>"))) 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>] 19 void attr_availability_2() __attribute__((availability(macosx,obsoleted=10.0.1,introduced=8.0.1,deprecated=9.0.1))); 21 // CHECK: FullCommentAsXML=[<Function file="{{[^"]+}}annotate-comments-availability-attrs.cpp" line="[[@LINE-2]]" column="6"><Name>attr_availability_2</Name><USR>c:@F@attr_availability_2#</USR><Declaration>void attr_availability_2()</Declaration><Abstract><Para> Aaa.</Para></Abstract><Availability distribution="OS X"><IntroducedInVersion>8.0.1</IntroducedInVersion><DeprecatedInVersion>9.0.1</De (…) [all...] |
availability.c | 3 void foo(void) __attribute__((availability(macosx,introduced=10.4,deprecated=10.5,obsoleted=10.7), availability(ios,introduced=3.2,deprecated=4.1))); 11 } __attribute__((availability(macosx,introduced=10.4,deprecated=10.5,obsoleted=10.7)
|
/packages/apps/Settings/src/com/android/settings/ |
SelfAvailablePreference.java | 22 * Interface for classes whose instances can provide the availability of the preference. 26 * @return the availability of the preference. Please make sure the availability in managed
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/ |
omxVCM4P10_PredictIntraChroma_8x8.c | 50 * [in] availability Neighboring 16x16 MB availability flag 63 OMX_S32 availability 68 if (availability & OMX_VC_UPPER) 76 else if (availability & OMX_VC_LEFT) 112 * [in] availability Neighboring 16x16 MB availability flag 125 OMX_S32 availability 130 if (availability & OMX_VC_LEFT) 138 else if (availability & OMX_VC_UPPER [all...] |
omxVCM4P10_PredictIntra_16x16.c | 57 * availability - Neighboring 16x16 MB availability flag. Refer to 74 * predMode is OMX_VC_16X16_VERT, but availability doesn't set 76 * predMode is OMX_VC_16X16_HOR, but availability doesn't set OMX_VC_LEFT 78 * predMode is OMX_VC_16X16_PLANE, but availability doesn't set 82 * availability sets OMX_VC_UPPER, but pSrcAbove is NULL. 83 * availability sets OMX_VC_LEFT, but pSrcLeft is NULL. 84 * availability sets OMX_VC_UPPER_LEFT, but pSrcAboveLeft is NULL. 102 OMX_S32 availability) 113 armRetArgErrIf((availability & OMX_VC_UPPER) && pSrcAbove == NULL, OMX_Sts_BadArgErr) [all...] |
omxVCM4P10_PredictIntra_4x4.c | 58 * availability - Neighboring 4x4 block availability flag, refer to 59 * "Neighboring Macroblock Availability" . 75 * predMode is OMX_VC_4x4_VERT, but availability doesn't set OMX_VC_UPPER 77 * predMode is OMX_VC_4x4_HOR, but availability doesn't set OMX_VC_LEFT 79 * predMode is OMX_VC_4x4_DIAG_DL, but availability doesn't set 81 * predMode is OMX_VC_4x4_DIAG_DR, but availability doesn't set 85 * predMode is OMX_VC_4x4_VR, but availability doesn't set 89 * predMode is OMX_VC_4x4_HD, but availability doesn't set 93 * predMode is OMX_VC_4x4_VL, but availability doesn't set OMX_VC_UPPER [all...] |
/external/clang/test/CodeGenObjC/ |
private-extern-selector-reference.m | 8 __attribute__((visibility("default"))) __attribute__((availability(ios,introduced=7.0)))
|