OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:__attribute
(Results
26 - 50
of
248
) sorted by null
1
2
3
4
5
6
7
8
9
10
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
copy_test.rs
31
float2
__attribute
((kernel)) copyFloat2(float2 i) {
35
float3
__attribute
((kernel)) copyFloat3(float3 i) {
39
float4
__attribute
((kernel)) copyFloat4(float4 i) {
/external/clang/test/CodeGen/
pragma-visibility.c
13
extern
__attribute
((visibility("default"))) int z;
22
__attribute
((visibility("default"))) void g();
pr2394.c
2
struct
__attribute
((packed)) x {int a : 24;};
weak_constant.c
4
const int x
__attribute
((weak)) = 123;
annotations-global.c
8
static
__attribute
((annotate("sfoo_0")))
__attribute
((annotate("sfoo_1"))) char sfoo;
9
__attribute
((annotate("foo_0")))
__attribute
((annotate("foo_1"))) char foo;
11
void
__attribute
((annotate("ann_a_0")))
__attribute
((annotate("ann_a_1")))
__attribute
((annotate("ann_a_2")))
__attribute
((annotate("ann_a_3"))) a(char *a);
12
void
__attribute
((annotate("ann_a_0")))
__attribute
((annotate("ann_a_1"))) a(char *a)
[
all
...]
attr-naked.c
15
__attribute
((naked, always_inline)) void t2() {
19
__attribute
((naked)) void t3(int x) {
annotations-loc.c
7
int
__attribute
((annotate("foo"))) foo(void) { return 0; }
pragma-weak.c
87
void __declfirstattr(void)
__attribute
((noinline));
94
//// ensure that pragma weak/
__attribute
((weak)) play nice
98
__attribute
((weak)) void mix(void) { }
104
void __mix2(void)
__attribute
((noinline));
105
void __mix2(void)
__attribute
((noinline));
109
////////////// test #pragma weak/
__attribute
combinations
113
void both(void)
__attribute
((alias("__both")));
123
void both2(void)
__attribute
((alias("__both2"))); // first, wins
130
void __a1(void)
__attribute
((noinline));
136
__attribute
((pure,noinline,const)) void __xxx(void) {
[
all
...]
align-param.c
14
int test2(struct X x
__attribute
((aligned(16)))) {
/external/clang/test/SemaObjC/
protocol-attribute.m
3
__attribute
((unavailable))
9
__attribute
((deprecated)) @protocol MyProto1 // expected-note 7 {{'MyProto1' has been explicitly marked deprecated here}}
41
__attribute
((unavailable))
__attribute
((deprecated)) @protocol XProto; // expected-note{{marked unavailable}}
super-dealloc-attribute.m
8
#define NS_REQUIRES_SUPER
__attribute
((objc_requires_super))
16
- MyDealloc
__attribute
((objc_requires_super));
17
- (void)XXX
__attribute
((objc_requires_super));
18
- (void) dealloc
__attribute
((objc_requires_super)); // expected-warning {{'objc_requires_super' attribute cannot be applied to dealloc}}
20
- (void) AnnotMyDeallocMeth
__attribute
((objc_requires_super));
23
+ (void)registerClass:(id)name
__attribute
((objc_requires_super));
28
- (void) MyDeallocMeth
__attribute
((objc_requires_super)); // 'Baz' author has annotated method
30
- (void) AnnotMeth
__attribute
((objc_requires_super)); // 'Baz' author has annotated method
61
- (void) AnnotMethCAT
__attribute
((objc_requires_super));
/external/clang/test/SemaObjCXX/
warn-missing-super.mm
4
__attribute
((objc_root_class)) @interface NSObject
/external/clang/test/SemaOpenCL/
init.cl
4
typedef float float8
__attribute
((ext_vector_type(8)));
/external/clang/test/Sema/
attr-mode.c
10
typedef int i16_1
__attribute
((mode(HI)));
12
typedef int i16_2
__attribute
((__mode__(__HI__)));
15
typedef float f64
__attribute
((mode(DF)));
18
typedef int invalid_1
__attribute
((mode)); // expected-error{{'mode' attribute takes one argument}}
19
typedef int invalid_2
__attribute
((mode())); // expected-error{{'mode' attribute takes one argument}}
20
typedef int invalid_3
__attribute
((mode(II))); // expected-error{{unknown machine mode}}
21
typedef struct {int i,j,k;} invalid_4
__attribute
((mode(SI))); // expected-error{{mode attribute only supported for integer and floating-point types}}
22
typedef float invalid_5
__attribute
((mode(SI))); // expected-error{{type of machine mode does not match type of base type}}
25
typedef unsigned unwind_word
__attribute
((mode(unwind_word)));
27
int **
__attribute
((mode(QI)))* i32; // expected-error{{mode attribute}
[
all
...]
mips16_attr_allowed.c
23
__attribute
((nomips16)) int a; // expected-error {{attribute only applies to functions}}
25
__attribute
((mips16)) int b; // expected-error {{attribute only applies to functions}}
/external/clang/test/CodeGenOpenCL/
vectorLoadStore.cl
3
typedef char char3
__attribute
((ext_vector_type(3)));;
vector_logops.cl
3
typedef int int2
__attribute
((ext_vector_type(2)));
bool_cast.cl
3
typedef unsigned char uchar4
__attribute
((ext_vector_type(4)));
4
typedef unsigned int int4
__attribute
((ext_vector_type(4)));
5
typedef float float4
__attribute
((ext_vector_type(4)));
vector_shufflevector_valid.cl
8
typedef unsigned int uint2
__attribute
((ext_vector_type(2)));
/external/clang/test/SemaCXX/
attr-visibility.cpp
20
}
__attribute
((visibility("default"))); // expected-warning {{attribute 'visibility' after definition is ignored}}
/external/libmojo/mojo/public/cpp/bindings/
bindings_export.h
21
#define MOJO_CPP_BINDINGS_EXPORT
__attribute
((visibility("default")))
/external/libmojo/mojo/public/cpp/system/
system_export.h
21
#define MOJO_CPP_SYSTEM_EXPORT
__attribute
((visibility("default")))
/cts/hostsidetests/gputools/layers/jni/
nullLayer.cpp
146
__attribute
((visibility("default"))) VKAPI_ATTR VkResult VKAPI_CALL vkEnumerateInstanceLayerProperties(uint32_t *pCount,
151
__attribute
((visibility("default"))) VKAPI_ATTR VkResult VKAPI_CALL vkEnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, uint32_t *pCount,
156
__attribute
((visibility("default"))) VKAPI_ATTR VkResult VKAPI_CALL vkEnumerateInstanceExtensionProperties(const char *pLayerName, uint32_t *pCount,
161
__attribute
((visibility("default"))) VKAPI_ATTR VkResult VKAPI_CALL vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice,
167
__attribute
((visibility("default"))) VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL vkGetDeviceProcAddr(VkDevice dev, const char *funcName) {
171
__attribute
((visibility("default"))) VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL vkGetInstanceProcAddr(VkInstance instance, const char *funcName) {
/external/clang/test/CodeGenCXX/
pragma-visibility.cpp
12
struct
__attribute
((visibility("default"))) x2 {
43
namespace n
__attribute
((visibility("default"))) {
49
namespace n
__attribute
((visibility("default"))) {
/external/clang/test/Preprocessor/
extension-warning.c
13
//
__attribute
; the standard allows implementation-defined extensions
Completed in 539 milliseconds
1
2
3
4
5
6
7
8
9
10