/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__((const, overloadable)) \ 30 _RS_RUNTIME typeout##3 __attribute__((const, overloadable)) \ 32 _RS_RUNTIME typeout##4 __attribute__((const, overloadable)) \ 115 _RS_RUNTIME float2 __attribute__((const, overloadable)) fnc(float2 v); \ 116 _RS_RUNTIME float3 __attribute__((const, overloadable)) fnc(float3 v); \ 117 _RS_RUNTIME float4 __attribute__((const, overloadable)) fnc(float4 v); 120 _RS_RUNTIME float __attribute__((const, overloadable)) fnc(float2 v); \ 121 _RS_RUNTIME float __attribute__((const, overloadable)) fnc(float3 v); \ 122 _RS_RUNTIME float __attribute__((const, overloadable)) fnc(float4 v); 125 _RS_RUNTIME int2 __attribute__((const, overloadable)) fnc(float2 v); [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 | 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_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__((const, overloadable)) \ 30 _RS_RUNTIME typeout##3 __attribute__((const, overloadable)) \ 32 _RS_RUNTIME typeout##4 __attribute__((const, overloadable)) \ 115 _RS_RUNTIME float2 __attribute__((const, overloadable)) fnc(float2 v); \ 116 _RS_RUNTIME float3 __attribute__((const, overloadable)) fnc(float3 v); \ 117 _RS_RUNTIME float4 __attribute__((const, overloadable)) fnc(float4 v); 120 _RS_RUNTIME float __attribute__((const, overloadable)) fnc(float2 v); \ 121 _RS_RUNTIME float __attribute__((const, overloadable)) fnc(float3 v); \ 122 _RS_RUNTIME float __attribute__((const, overloadable)) fnc(float4 v); 125 _RS_RUNTIME int2 __attribute__((const, overloadable)) fnc(float2 v); [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 | 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_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))
|
/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/Sema/ |
overloadable.c | 3 int var __attribute__((overloadable)); // expected-error{{'overloadable' attribute can only be applied to a function}} 4 void params(void) __attribute__((overloadable(12))); // expected-error {{'overloadable' attribute takes no arguments}} 6 int *f(int) __attribute__((overloadable)); // expected-note 2{{previous overload of function is here}} 7 float *f(float); // expected-error{{overloaded function 'f' must have the 'overloadable' attribute}} 8 int *f(int); // expected-error{{redeclaration of 'f' must have the 'overloadable' attribute}} \ 10 double *f(double) __attribute__((overloadable)); // okay, new 18 int *accept_funcptr(int (*)()) __attribute__((overloadable)); // \ 20 float *accept_funcptr(int (*)(int, double)) __attribute__((overloadable)); // \ [all...] |
/frameworks/rs/driver/runtime/ |
rs_core.c | 6 extern float4 __attribute__((overloadable)) convert_float4(uchar4 c); 16 extern int32_t __attribute__((overloadable)) rsAtomicCas(volatile int32_t *ptr, int32_t expectedValue, int32_t newValue) { 20 extern uint32_t __attribute__((overloadable)) rsAtomicCas(volatile uint32_t *ptr, uint32_t expectedValue, uint32_t newValue) { 24 extern int32_t __attribute__((overloadable)) rsAtomicInc(volatile int32_t *ptr) { 28 extern int32_t __attribute__((overloadable)) rsAtomicDec(volatile int32_t *ptr) { 32 extern int32_t __attribute__((overloadable)) rsAtomicAdd(volatile int32_t *ptr, int32_t value) { 36 extern int32_t __attribute__((overloadable)) rsAtomicSub(volatile int32_t *ptr, int32_t value) { 40 extern int32_t __attribute__((overloadable)) rsAtomicAnd(volatile int32_t *ptr, int32_t value) { 44 extern int32_t __attribute__((overloadable)) rsAtomicOr(volatile int32_t *ptr, int32_t value) { 48 extern int32_t __attribute__((overloadable)) rsAtomicXor(volatile int32_t *ptr, int32_t value) [all...] |
rs_cl.c | 3 extern float2 __attribute__((overloadable)) convert_float2(int2 c); 4 extern float3 __attribute__((overloadable)) convert_float3(int3 c); 5 extern float4 __attribute__((overloadable)) convert_float4(int4 c); 7 extern int2 __attribute__((overloadable)) convert_int2(float2 c); 8 extern int3 __attribute__((overloadable)) convert_int3(float3 c); 9 extern int4 __attribute__((overloadable)) convert_int4(float4 c); 12 extern float __attribute__((overloadable)) fmin(float v, float v2); 13 extern float2 __attribute__((overloadable)) fmin(float2 v, float v2); 14 extern float3 __attribute__((overloadable)) fmin(float3 v, float v2); 15 extern float4 __attribute__((overloadable)) fmin(float4 v, float v2) [all...] |
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_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_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/CodeGenObjC/ |
overloadable.m | 7 void __attribute__((overloadable)) f(id c) { } 10 void __attribute__((overloadable)) f(C *c) { }
|
/external/clang/test/SemaOpenCL/ |
sampler_t_overload.cl | 3 void __attribute__((overloadable)) foo(sampler_t, read_only image1d_t); 4 void __attribute__((overloadable)) foo(sampler_t, read_only image2d_t);
|