Searched refs:__attribute__ (Results 1 - 25 of 110) sorted by relevance

12345

/frameworks/rs/scriptc/
H A Drs_debug.rsh33 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__((overloadabl
[all...]
H A Drs_object.rsh33 extern void __attribute__((overloadable))
38 extern void __attribute__((overloadable))
43 extern void __attribute__((overloadable))
48 extern void __attribute__((overloadable))
53 extern void __attribute__((overloadable))
60 extern void __attribute__((overloadable))
65 extern void __attribute__((overloadable))
70 extern void __attribute__((overloadable))
75 extern void __attribute__((overloadable))
80 extern void __attribute__((overloadabl
[all...]
H A Drs_matrix.rsh66 _RS_RUNTIME void __attribute__((overloadable))
71 _RS_RUNTIME void __attribute__((overloadable))
76 _RS_RUNTIME void __attribute__((overloadable))
91 _RS_RUNTIME float __attribute__((overloadable))
96 _RS_RUNTIME float __attribute__((overloadable))
101 _RS_RUNTIME float __attribute__((overloadable))
109 extern void __attribute__((overloadable)) rsMatrixLoadIdentity(rs_matrix4x4 *m);
113 extern void __attribute__((overloadable)) rsMatrixLoadIdentity(rs_matrix3x3 *m);
117 extern void __attribute__((overloadable)) rsMatrixLoadIdentity(rs_matrix2x2 *m);
130 extern void __attribute__((overloadabl
[all...]
H A Drs_program.rsh33 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__((overloadabl
[all...]
H A Drs_graphics.rsh39 extern void __attribute__((overloadable))
46 extern void __attribute__((overloadable))
53 extern void __attribute__((overloadable))
59 extern void __attribute__((overloadable))
66 extern void __attribute__((overloadable))
72 extern uint __attribute__((overloadable))
82 extern void __attribute__((overloadable))
90 extern void __attribute__((overloadable))
98 extern void __attribute__((overloadable))
106 extern void __attribute__((overloadabl
[all...]
H A Drs_element.rsh38 extern uint32_t __attribute__((overloadable))
49 extern rs_element __attribute__((overloadable))
61 extern uint32_t __attribute__((overloadable))
75 extern uint32_t __attribute__((overloadable))
88 extern uint32_t __attribute__((overloadable))
100 extern uint32_t __attribute__((overloadable))
109 extern uint32_t __attribute__((overloadable))
118 extern rs_data_type __attribute__((overloadable))
127 extern rs_data_kind __attribute__((overloadable))
137 extern uint32_t __attribute__((overloadabl
[all...]
H A Drs_atomic.rsh36 extern int32_t __attribute__((overloadable))
46 extern int32_t __attribute__((overloadable))
57 extern int32_t __attribute__((overloadable))
68 extern int32_t __attribute__((overloadable))
79 extern int32_t __attribute__((overloadable))
90 extern int32_t __attribute__((overloadable))
101 extern int32_t __attribute__((overloadable))
113 extern uint32_t __attribute__((overloadable))
124 extern int32_t __attribute__((overloadable))
136 extern uint32_t __attribute__((overloadabl
[all...]
H A Drs_mesh.rsh37 extern uint32_t __attribute__((overloadable))
49 extern uint32_t __attribute__((overloadable))
60 extern rs_allocation __attribute__((overloadable))
71 extern rs_allocation __attribute__((overloadable))
82 extern rs_primitive __attribute__((overloadable))
H A Drs_sampler.rsh35 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))
H A Drs_time.rsh74 extern rs_time_t __attribute__((overloadable))
87 extern rs_tm * __attribute__((overloadable))
95 extern int64_t __attribute__((overloadable))
103 extern int64_t __attribute__((overloadable))
112 extern float __attribute__((overloadable))
H A Drs_core_math.rsh27 extern uchar __attribute__((const, overloadable))abs(char value);
36 extern uchar2 __attribute__((const, overloadable))abs(char2 value);
45 extern uchar3 __attribute__((const, overloadable))abs(char3 value);
54 extern uchar4 __attribute__((const, overloadable))abs(char4 value);
63 extern ushort __attribute__((const, overloadable))abs(short value);
72 extern ushort2 __attribute__((const, overloadable))abs(short2 value);
81 extern ushort3 __attribute__((const, overloadable))abs(short3 value);
90 extern ushort4 __attribute__((const, overloadable))abs(short4 value);
99 extern uint __attribute__((const, overloadable))abs(int value);
108 extern uint2 __attribute__((cons
[all...]
H A Drs_core.rsh51 #define RS_KERNEL __attribute__((kernel))
71 extern bool __attribute__((overloadable))
76 extern bool __attribute__((overloadable))
82 extern void __attribute__((overloadable))
87 extern void __attribute__((overloadable))
141 extern void __attribute__((overloadable))
148 extern void __attribute__((overloadable))
171 extern void __attribute__((overloadable))
177 extern void __attribute__((overloadable))
183 extern void __attribute__((overloadabl
[all...]
H A Drs_types.rsh128 #define RS_BASE_OBJ typedef struct { const int* const p; } __attribute__((packed, aligned(4)))
170 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_mesh;
176 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_path;
182 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_fragment;
188 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_vertex;
194 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_raster;
200 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_program_store;
206 typedef struct { const int* const p; } __attribute__((packed, aligned(4))) rs_font;
214 typedef float float2 __attribute__((ext_vector_type(2)));
219 typedef float float3 __attribute__((ext_vector_typ
[all...]
H A Drs_math.rsh31 extern int __attribute__((overloadable))
36 extern int __attribute__((overloadable))
41 extern float __attribute__((overloadable))
46 extern float __attribute__((overloadable))
52 extern float __attribute__((const, overloadable))
67 _RS_RUNTIME uint __attribute__((const, overloadable, always_inline)) rsClamp(uint amount, uint low, uint high);
72 _RS_RUNTIME int __attribute__((const, overloadable, always_inline)) rsClamp(int amount, int low, int high);
76 _RS_RUNTIME ushort __attribute__((const, overloadable, always_inline)) rsClamp(ushort amount, ushort low, ushort high);
80 _RS_RUNTIME short __attribute__((const, overloadable, always_inline)) rsClamp(short amount, short low, short high);
84 _RS_RUNTIME uchar __attribute__((cons
[all...]
H A Drs_allocation.rsh34 extern rs_allocation __attribute__((overloadable))
42 extern uint32_t __attribute__((overloadable))
50 extern uint32_t __attribute__((overloadable))
58 extern uint32_t __attribute__((overloadable))
66 extern uint32_t __attribute__((overloadable))
74 extern uint32_t __attribute__((overloadable))
92 extern void __attribute__((overloadable))
120 extern void __attribute__((overloadable))
136 extern const void * __attribute__((overloadable))
141 extern const void * __attribute__((overloadabl
[all...]
/frameworks/rs/driver/runtime/
H A Drs_core.c5 extern float4 __attribute__((overloadable)) convert_float4(uchar4 c);
15 extern float __attribute__((overloadable)) rsClamp(float v, float l, float h) {
18 extern char __attribute__((overloadable)) rsClamp(char v, char l, char h) {
21 extern uchar __attribute__((overloadable)) rsClamp(uchar v, uchar l, uchar h) {
24 extern short __attribute__((overloadable)) rsClamp(short v, short l, short h) {
27 extern ushort __attribute__((overloadable)) rsClamp(ushort v, ushort l, ushort h) {
30 extern int __attribute__((overloadable)) rsClamp(int v, int l, int h) {
33 extern uint __attribute__((overloadable)) rsClamp(uint v, uint l, uint h) {
37 extern int32_t __attribute__((overloadable)) rsAtomicCas(volatile int32_t *ptr, int32_t expectedValue, int32_t newValue) {
41 extern uint32_t __attribute__((overloadabl
[all...]
H A Drs_cl.c3 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__((overloadabl
[all...]
H A Drs_program.c10 extern rs_depth_func __attribute__((overloadable))
19 extern bool __attribute__((overloadable))
28 extern bool __attribute__((overloadable))
37 extern bool __attribute__((overloadable))
46 extern bool __attribute__((overloadable))
55 extern bool __attribute__((overloadable))
64 extern rs_blend_src_func __attribute__((overloadable))
73 extern rs_blend_dst_func __attribute__((overloadable))
82 extern bool __attribute__((overloadable))
94 extern bool __attribute__((overloadabl
[all...]
H A Drs_mesh.c10 extern uint32_t __attribute__((overloadable))
19 extern uint32_t __attribute__((overloadable))
28 extern rs_allocation __attribute__((overloadable))
39 extern rs_allocation __attribute__((overloadable))
50 extern rs_primitive __attribute__((overloadable))
H A Drs_sampler.c7 extern rs_sampler_value __attribute__((overloadable))
16 extern rs_sampler_value __attribute__((overloadable))
25 extern rs_sampler_value __attribute__((overloadable))
34 extern rs_sampler_value __attribute__((overloadable))
43 extern float __attribute__((overloadable))
H A Drs_convert.c21 extern typeout##2 __attribute__((const, overloadable)) \
25 extern typeout##3 __attribute__((const, overloadable)) \
29 extern typeout##4 __attribute__((const, overloadable)) \
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
H A Dpass-function.c41 __attribute__((noinline)) static int function_test();
42 __attribute__((always_inline)) static int inline_test();
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicInlines.h23 typedef float float2 __attribute__((ext_vector_type(2)));
24 typedef float float3 __attribute__((ext_vector_type(3)));
25 typedef float float4 __attribute__((ext_vector_type(4)));
26 typedef uchar uchar2 __attribute__((ext_vector_type(2)));
27 typedef uchar uchar3 __attribute__((ext_vector_type(3)));
28 typedef uchar uchar4 __attribute__((ext_vector_type(4)));
29 typedef ushort ushort2 __attribute__((ext_vector_type(2)));
30 typedef ushort ushort3 __attribute__((ext_vector_type(3)));
31 typedef ushort ushort4 __attribute__((ext_vector_type(4)));
32 typedef uint uint2 __attribute__((ext_vector_typ
[all...]
H A DrsCpuRuntimeMathFuncs.cpp25 uint32_t __attribute__((overloadable)) abs(int32_t v) {return SC_abs_i32(v);}
29 float __attribute__((overloadable)) func(float v) {return SC_##func##f(v);}
33 float __attribute__((overloadable)) func(float t, float v) {return SC_##func##f(t, v);}
55 float __attribute__((overloadable)) fma(float u, float t, float v) {return SC_fmaf(u, t, v);}
60 float __attribute__((overloadable)) frexp(float v, int* ptr) {return SC_frexpf(v, ptr);}
64 float __attribute__((overloadable)) ldexp(float v, int i) {return SC_ldexpf(v, i);}
67 float __attribute__((overloadable)) lgamma(float v, int* ptr) {return SC_lgammaf_r(v, ptr);}
90 float __attribute__((overloadable)) rsRand(float min, float max) {
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/
H A Dlaunchtest.rs23 void __attribute__((kernel)) k_x(uchar in, uint32_t x) {
29 uchar __attribute__((kernel)) k_xy(uint32_t x, uint32_t y) {

Completed in 2167 milliseconds

12345