/frameworks/compile/slang/tests/P_overload/ |
overload.rs | 4 void __attribute__((overloadable)) foo(int i) { 7 void __attribute__((overloadable)) foo(float f) {
|
/prebuilt/sdk/11/renderscript/include/ |
rs_cl.rsh | 8 _RS_RUNTIME typeout##2 __attribute__((overloadable)) \ 10 _RS_RUNTIME typeout##3 __attribute__((overloadable)) \ 12 _RS_RUNTIME typeout##4 __attribute__((overloadable)) \ 35 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v); \ 36 _RS_RUNTIME float3 __attribute__((overloadable)) fnc(float3 v); \ 37 _RS_RUNTIME float4 __attribute__((overloadable)) fnc(float4 v); 40 _RS_RUNTIME int2 __attribute__((overloadable)) fnc(float2 v); \ 41 _RS_RUNTIME int3 __attribute__((overloadable)) fnc(float3 v); \ 42 _RS_RUNTIME int4 __attribute__((overloadable)) fnc(float4 v); 45 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2); [all...] |
rs_core.rsh | 9 extern void __attribute__((overloadable)) 14 extern void __attribute__((overloadable)) 19 extern void __attribute__((overloadable)) 24 extern void __attribute__((overloadable)) 29 extern void __attribute__((overloadable)) 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)) [all...] |
rs_math.rsh | 10 extern void __attribute__((overloadable)) 12 extern void __attribute__((overloadable)) 14 extern void __attribute__((overloadable)) 16 extern void __attribute__((overloadable)) 18 extern void __attribute__((overloadable)) 20 extern void __attribute__((overloadable)) 22 extern void __attribute__((overloadable)) 24 extern void __attribute__((overloadable)) 26 extern void __attribute__((overloadable)) 28 extern void __attribute__((overloadable)) [all...] |
rs_time.rsh | 18 extern rs_time_t __attribute__((overloadable)) 21 extern rs_tm * __attribute__((overloadable)) 25 extern int64_t __attribute__((overloadable)) 29 extern int64_t __attribute__((overloadable)) 33 extern float __attribute__((overloadable))
|
rs_graphics.rsh | 10 extern void __attribute__((overloadable)) 18 extern void __attribute__((overloadable)) 26 extern void __attribute__((overloadable)) 34 extern void __attribute__((overloadable)) 43 extern void __attribute__((overloadable)) 54 extern void __attribute__((overloadable)) 58 extern void __attribute__((overloadable)) 60 extern void __attribute__((overloadable)) 62 extern void __attribute__((overloadable)) 65 extern void __attribute__((overloadable)) [all...] |
/prebuilt/sdk/12/renderscript/include/ |
rs_cl.rsh | 8 _RS_RUNTIME typeout##2 __attribute__((overloadable)) \ 10 _RS_RUNTIME typeout##3 __attribute__((overloadable)) \ 12 _RS_RUNTIME typeout##4 __attribute__((overloadable)) \ 35 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v); \ 36 _RS_RUNTIME float3 __attribute__((overloadable)) fnc(float3 v); \ 37 _RS_RUNTIME float4 __attribute__((overloadable)) fnc(float4 v); 40 _RS_RUNTIME int2 __attribute__((overloadable)) fnc(float2 v); \ 41 _RS_RUNTIME int3 __attribute__((overloadable)) fnc(float3 v); \ 42 _RS_RUNTIME int4 __attribute__((overloadable)) fnc(float4 v); 45 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2); [all...] |
rs_math.rsh | 10 extern void __attribute__((overloadable)) 12 extern void __attribute__((overloadable)) 14 extern void __attribute__((overloadable)) 16 extern void __attribute__((overloadable)) 18 extern void __attribute__((overloadable)) 20 extern void __attribute__((overloadable)) 22 extern void __attribute__((overloadable)) 24 extern void __attribute__((overloadable)) 26 extern void __attribute__((overloadable)) 28 extern void __attribute__((overloadable)) [all...] |
rs_time.rsh | 18 extern rs_time_t __attribute__((overloadable)) 21 extern rs_tm * __attribute__((overloadable)) 25 extern int64_t __attribute__((overloadable)) 29 extern int64_t __attribute__((overloadable)) 33 extern float __attribute__((overloadable))
|
rs_graphics.rsh | 10 extern void __attribute__((overloadable)) 18 extern void __attribute__((overloadable)) 26 extern void __attribute__((overloadable)) 34 extern void __attribute__((overloadable)) 43 extern void __attribute__((overloadable)) 54 extern void __attribute__((overloadable)) 58 extern void __attribute__((overloadable)) 60 extern void __attribute__((overloadable)) 62 extern void __attribute__((overloadable)) 65 extern void __attribute__((overloadable)) [all...] |
/prebuilt/sdk/13/renderscript/include/ |
rs_cl.rsh | 8 _RS_RUNTIME typeout##2 __attribute__((overloadable)) \ 10 _RS_RUNTIME typeout##3 __attribute__((overloadable)) \ 12 _RS_RUNTIME typeout##4 __attribute__((overloadable)) \ 35 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v); \ 36 _RS_RUNTIME float3 __attribute__((overloadable)) fnc(float3 v); \ 37 _RS_RUNTIME float4 __attribute__((overloadable)) fnc(float4 v); 40 _RS_RUNTIME int2 __attribute__((overloadable)) fnc(float2 v); \ 41 _RS_RUNTIME int3 __attribute__((overloadable)) fnc(float3 v); \ 42 _RS_RUNTIME int4 __attribute__((overloadable)) fnc(float4 v); 45 _RS_RUNTIME float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2); [all...] |
rs_math.rsh | 10 extern void __attribute__((overloadable)) 12 extern void __attribute__((overloadable)) 14 extern void __attribute__((overloadable)) 16 extern void __attribute__((overloadable)) 18 extern void __attribute__((overloadable)) 20 extern void __attribute__((overloadable)) 22 extern void __attribute__((overloadable)) 24 extern void __attribute__((overloadable)) 26 extern void __attribute__((overloadable)) 28 extern void __attribute__((overloadable)) [all...] |
rs_time.rsh | 18 extern rs_time_t __attribute__((overloadable)) 21 extern rs_tm * __attribute__((overloadable)) 25 extern int64_t __attribute__((overloadable)) 29 extern int64_t __attribute__((overloadable)) 33 extern float __attribute__((overloadable))
|
rs_graphics.rsh | 10 extern void __attribute__((overloadable)) 18 extern void __attribute__((overloadable)) 26 extern void __attribute__((overloadable)) 34 extern void __attribute__((overloadable)) 43 extern void __attribute__((overloadable)) 54 extern void __attribute__((overloadable)) 58 extern void __attribute__((overloadable)) 60 extern void __attribute__((overloadable)) 62 extern void __attribute__((overloadable)) 65 extern void __attribute__((overloadable)) [all...] |
/frameworks/base/libs/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...] |
/prebuilt/sdk/14/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...] |
/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) { }
|
/frameworks/compile/libbcc/lib/ScriptCRT/ |
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...] |
/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...] |