/frameworks/compile/slang/tests/P_overload/ |
overload.rs | 4 void __attribute__((overloadable)) foo(int i) { 7 void __attribute__((overloadable)) foo(float f) {
|
/frameworks/rs/scriptc/ |
rs_object.rsh | 33 extern void __attribute__((overloadable)) 38 extern void __attribute__((overloadable)) 43 extern void __attribute__((overloadable)) 48 extern void __attribute__((overloadable)) 53 extern void __attribute__((overloadable)) 58 extern void __attribute__((overloadable)) 63 extern void __attribute__((overloadable)) 68 extern void __attribute__((overloadable)) 73 extern void __attribute__((overloadable)) 78 extern void __attribute__((overloadable)) [all...] |
rs_cl.rsh | 28 _RS_RUNTIME typeout##2 __attribute__((overloadable)) \ 30 _RS_RUNTIME typeout##3 __attribute__((overloadable)) \ 32 _RS_RUNTIME typeout##4 __attribute__((overloadable)) \ 55 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v); \ 56 _RS_RUNTIME float3 __attribute__((overloadable)) fnc(float3 v); \ 57 _RS_RUNTIME float4 __attribute__((overloadable)) fnc(float4 v); 60 _RS_RUNTIME int2 __attribute__((overloadable)) fnc(float2 v); \ 61 _RS_RUNTIME int3 __attribute__((overloadable)) fnc(float3 v); \ 62 _RS_RUNTIME int4 __attribute__((overloadable)) fnc(float4 v); 65 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2); [all...] |
rs_matrix.rsh | 36 _RS_RUNTIME void __attribute__((overloadable)) 41 _RS_RUNTIME void __attribute__((overloadable)) 46 _RS_RUNTIME void __attribute__((overloadable)) 58 _RS_RUNTIME float __attribute__((overloadable)) 63 _RS_RUNTIME float __attribute__((overloadable)) 68 _RS_RUNTIME float __attribute__((overloadable)) 76 extern void __attribute__((overloadable)) rsMatrixLoadIdentity(rs_matrix4x4 *m); 80 extern void __attribute__((overloadable)) rsMatrixLoadIdentity(rs_matrix3x3 *m); 84 extern void __attribute__((overloadable)) rsMatrixLoadIdentity(rs_matrix2x2 *m); 91 extern void __attribute__((overloadable)) rsMatrixLoad(rs_matrix4x4 *m, const float *v) [all...] |
rs_debug.rsh | 34 extern void __attribute__((overloadable)) 39 extern void __attribute__((overloadable)) 44 extern void __attribute__((overloadable)) 49 extern void __attribute__((overloadable)) 54 extern void __attribute__((overloadable)) 59 extern void __attribute__((overloadable)) 64 extern void __attribute__((overloadable)) 69 extern void __attribute__((overloadable)) 74 extern void __attribute__((overloadable)) 79 extern void __attribute__((overloadable)) [all...] |
rs_program.rsh | 33 extern rs_depth_func __attribute__((overloadable)) 41 extern bool __attribute__((overloadable)) 48 extern bool __attribute__((overloadable)) 56 extern bool __attribute__((overloadable)) 64 extern bool __attribute__((overloadable)) 72 extern bool __attribute__((overloadable)) 80 extern rs_blend_src_func __attribute__((overloadable)) 88 extern rs_blend_dst_func __attribute__((overloadable)) 96 extern bool __attribute__((overloadable)) 104 extern bool __attribute__((overloadable)) [all...] |
rs_graphics.rsh | 35 extern void __attribute__((overloadable)) 42 extern void __attribute__((overloadable)) 49 extern void __attribute__((overloadable)) 55 extern void __attribute__((overloadable)) 62 extern void __attribute__((overloadable)) 68 extern uint __attribute__((overloadable)) 78 extern void __attribute__((overloadable)) 86 extern void __attribute__((overloadable)) 94 extern void __attribute__((overloadable)) 102 extern void __attribute__((overloadable)) [all...] |
rs_sampler.rsh | 35 extern rs_sampler_value __attribute__((overloadable)) 44 extern rs_sampler_value __attribute__((overloadable)) 53 extern rs_sampler_value __attribute__((overloadable)) 62 extern rs_sampler_value __attribute__((overloadable)) 71 extern float __attribute__((overloadable))
|
/prebuilts/sdk/renderscript/include/ |
rs_object.rsh | 33 extern void __attribute__((overloadable)) 38 extern void __attribute__((overloadable)) 43 extern void __attribute__((overloadable)) 48 extern void __attribute__((overloadable)) 53 extern void __attribute__((overloadable)) 58 extern void __attribute__((overloadable)) 63 extern void __attribute__((overloadable)) 68 extern void __attribute__((overloadable)) 73 extern void __attribute__((overloadable)) 78 extern void __attribute__((overloadable)) [all...] |
rs_cl.rsh | 28 _RS_RUNTIME typeout##2 __attribute__((overloadable)) \ 30 _RS_RUNTIME typeout##3 __attribute__((overloadable)) \ 32 _RS_RUNTIME typeout##4 __attribute__((overloadable)) \ 55 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v); \ 56 _RS_RUNTIME float3 __attribute__((overloadable)) fnc(float3 v); \ 57 _RS_RUNTIME float4 __attribute__((overloadable)) fnc(float4 v); 60 _RS_RUNTIME int2 __attribute__((overloadable)) fnc(float2 v); \ 61 _RS_RUNTIME int3 __attribute__((overloadable)) fnc(float3 v); \ 62 _RS_RUNTIME int4 __attribute__((overloadable)) fnc(float4 v); 65 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2); [all...] |
rs_matrix.rsh | 36 _RS_RUNTIME void __attribute__((overloadable)) 41 _RS_RUNTIME void __attribute__((overloadable)) 46 _RS_RUNTIME void __attribute__((overloadable)) 58 _RS_RUNTIME float __attribute__((overloadable)) 63 _RS_RUNTIME float __attribute__((overloadable)) 68 _RS_RUNTIME float __attribute__((overloadable)) 76 extern void __attribute__((overloadable)) rsMatrixLoadIdentity(rs_matrix4x4 *m); 80 extern void __attribute__((overloadable)) rsMatrixLoadIdentity(rs_matrix3x3 *m); 84 extern void __attribute__((overloadable)) rsMatrixLoadIdentity(rs_matrix2x2 *m); 91 extern void __attribute__((overloadable)) rsMatrixLoad(rs_matrix4x4 *m, const float *v) [all...] |
rs_debug.rsh | 34 extern void __attribute__((overloadable)) 39 extern void __attribute__((overloadable)) 44 extern void __attribute__((overloadable)) 49 extern void __attribute__((overloadable)) 54 extern void __attribute__((overloadable)) 59 extern void __attribute__((overloadable)) 64 extern void __attribute__((overloadable)) 69 extern void __attribute__((overloadable)) 74 extern void __attribute__((overloadable)) 79 extern void __attribute__((overloadable)) [all...] |
rs_graphics.rsh | 31 extern void __attribute__((overloadable)) 38 extern void __attribute__((overloadable)) 45 extern void __attribute__((overloadable)) 51 extern void __attribute__((overloadable)) 58 extern void __attribute__((overloadable)) 64 extern uint __attribute__((overloadable)) 74 extern void __attribute__((overloadable)) 82 extern void __attribute__((overloadable)) 90 extern void __attribute__((overloadable)) 98 extern void __attribute__((overloadable)) [all...] |
/external/clang/test/CodeGen/ |
overloadable.c | 2 int __attribute__((overloadable)) f(int x) { return x; } 3 float __attribute__((overloadable)) f(float x) { return x; } 4 double __attribute__((overloadable)) f(double x) { return x; } 5 double _Complex __attribute__((overloadable)) f(double _Complex x) { return x; } 7 v4hi __attribute__((overloadable)) f(v4hi x) { return x; } 10 void __attribute__((overloadable)) f(struct X (*ptr)[10]) { } 12 void __attribute__((overloadable)) f(int x, int y, ...) { }
|
/external/clang/test/CodeGenObjC/ |
overloadable.m | 7 void __attribute__((overloadable)) f(id c) { } 10 void __attribute__((overloadable)) f(C *c) { }
|
/external/clang/test/Sema/ |
overloadable.c | 3 int var __attribute__((overloadable)); // expected-error{{'overloadable' attribute can only be applied to a function}} 5 int *f(int) __attribute__((overloadable)); // expected-note 2{{previous overload of function is here}} 6 float *f(float); // expected-error{{overloaded function 'f' must have the 'overloadable' attribute}} 7 int *f(int); // expected-error{{redeclaration of 'f' must have the 'overloadable' attribute}} \ 9 double *f(double) __attribute__((overloadable)); // okay, new 17 int *accept_funcptr(int (*)()) __attribute__((overloadable)); // \ 19 float *accept_funcptr(int (*)(int, double)) __attribute__((overloadable)); // \ 31 float* accept_struct(struct Y y) __attribute__((overloadable)); 38 double *f(int) __attribute__((overloadable)); // expected-error{{conflicting types for 'f'} [all...] |
overloaded-func-transparent-union.c | 14 __attribute__((overloadable)) void Class_Init(Instance this, char *str, void *str2) { 19 __attribute__((overloadable)) void Class_Init(Instance this, char *str) {
|
/frameworks/compile/libbcc/lib/ScriptCRT/ |
rs_sampler.c | 8 extern rs_sampler_value __attribute__((overloadable)) 17 extern rs_sampler_value __attribute__((overloadable)) 26 extern rs_sampler_value __attribute__((overloadable)) 35 extern rs_sampler_value __attribute__((overloadable)) 44 extern float __attribute__((overloadable))
|
rs_cl.c | 5 extern typeout##2 __attribute__((overloadable)) \ 10 extern typeout##3 __attribute__((overloadable)) \ 15 extern typeout##4 __attribute__((overloadable)) \ 41 extern float2 __attribute__((overloadable)) fnc(float2 v) { \ 47 extern float3 __attribute__((overloadable)) fnc(float3 v) { \ 54 extern float4 __attribute__((overloadable)) fnc(float4 v) { \ 64 extern int2 __attribute__((overloadable)) fnc(float2 v) { \ 70 extern int3 __attribute__((overloadable)) fnc(float3 v) { \ 77 extern int4 __attribute__((overloadable)) fnc(float4 v) { \ 87 extern float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2) { [all...] |
rs_core.c | 6 extern void __attribute__((overloadable)) 8 extern void __attribute__((overloadable)) 10 extern void __attribute__((overloadable)) 12 extern float4 __attribute__((overloadable)) convert_float4(uchar4 c); 16 extern void __attribute__((overloadable)) rsDebug(const char *s, float2 v) { 20 extern void __attribute__((overloadable)) rsDebug(const char *s, float3 v) { 24 extern void __attribute__((overloadable)) rsDebug(const char *s, float4 v) { 29 extern uchar4 __attribute__((overloadable)) rsPackColorTo8888(float r, float g, float b) 39 extern uchar4 __attribute__((overloadable)) rsPackColorTo8888(float r, float g, float b, float a) 49 extern uchar4 __attribute__((overloadable)) rsPackColorTo8888(float3 color [all...] |
rs_program.c | 8 extern rs_depth_func __attribute__((overloadable)) 17 extern bool __attribute__((overloadable)) 26 extern bool __attribute__((overloadable)) 35 extern bool __attribute__((overloadable)) 44 extern bool __attribute__((overloadable)) 53 extern bool __attribute__((overloadable)) 62 extern rs_blend_src_func __attribute__((overloadable)) 71 extern rs_blend_dst_func __attribute__((overloadable)) 80 extern bool __attribute__((overloadable)) 92 extern bool __attribute__((overloadable)) [all...] |
rs_element.c | 8 extern uint32_t __attribute__((overloadable)) 17 extern rs_element __attribute__((overloadable)) 28 extern uint32_t __attribute__((overloadable)) 37 extern uint32_t __attribute__((overloadable)) 59 extern uint32_t __attribute__((overloadable)) 68 extern uint32_t __attribute__((overloadable)) 77 extern uint32_t __attribute__((overloadable)) 86 extern rs_data_type __attribute__((overloadable)) 95 extern rs_data_kind __attribute__((overloadable)) 104 extern uint32_t __attribute__((overloadable)) [all...] |
rs_allocation.c | 6 extern uint32_t __attribute__((overloadable)) 12 extern uint32_t __attribute__((overloadable)) 18 extern uint32_t __attribute__((overloadable)) 24 extern uint32_t __attribute__((overloadable)) 30 extern uint32_t __attribute__((overloadable)) 36 extern const void * __attribute__((overloadable)) 44 extern const void * __attribute__((overloadable)) 53 extern const void * __attribute__((overloadable)) 63 extern rs_element __attribute__((overloadable))
|
rs_mesh.c | 8 extern uint32_t __attribute__((overloadable)) 17 extern uint32_t __attribute__((overloadable)) 26 extern rs_allocation __attribute__((overloadable)) 37 extern rs_allocation __attribute__((overloadable)) 48 extern rs_primitive __attribute__((overloadable))
|
/external/clang/test/PCH/ |
attrs.c | 11 int f(int) __attribute__((visibility("default"), overloadable)); // expected-note{{previous overload}} 15 double f(double); // expected-error{{overloadable}}
|