Home
last modified time | relevance | path

Searched refs:typeout (Results 1 – 11 of 11) sorted by relevance

/frameworks/rs/driver/runtime/
Drs_convert.c20 #define CVT_FUNC_2(typeout, typein) \ argument
21 extern typeout##2 __attribute__((const, overloadable)) \
22 convert_##typeout##2(typein##2 i) { \
23 return __builtin_convertvector(i, typeout##2); \
25 extern typeout##3 __attribute__((const, overloadable)) \
26 convert_##typeout##3(typein##3 i) { \
27 return __builtin_convertvector(i, typeout##3); \
29 extern typeout##4 __attribute__((const, overloadable)) \
30 convert_##typeout##4(typein##4 i) { \
31 return __builtin_convertvector(i, typeout##4); \
Drs_cl.c811 #define XN_FUNC_YN(typeout, fnc, typein) \ in FN_FUNC_FN() argument
812 extern typeout __attribute__((overloadable)) fnc(typein); \ in FN_FUNC_FN()
813 extern typeout##2 __attribute__((overloadable)) fnc(typein##2 v) { \
814 typeout##2 r; \
819 extern typeout##3 __attribute__((overloadable)) fnc(typein##3 v) { \
820 typeout##3 r; \
826 extern typeout##4 __attribute__((overloadable)) fnc(typein##4 v) { \
827 typeout##4 r; \
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicInlines.h55 #define CVT_FUNC_2(typeout, typein) \ argument
56 static inline typeout##2 __attribute__((const, overloadable)) \
57 convert_##typeout##2(typein##2 i) { \
58 return __builtin_convertvector(i, typeout##2); \
60 static inline typeout##3 __attribute__((const, overloadable)) \
61 convert_##typeout##3(typein##3 i) { \
62 return __builtin_convertvector(i, typeout##3); \
64 static inline typeout##4 __attribute__((const, overloadable)) \
65 convert_##typeout##4(typein##4 i) { \
66 return __builtin_convertvector(i, typeout##4); \
/frameworks/rs/tests/java_api/ComputeBenchmark/src/com/example/android/rs/computebench/
Dcompute_benchmark.rscript134 #define BENCH_XN_FUNC_YN(typeout, fnc, typein) \
135 RUN_BENCH(res_##typeout##_1 = fnc(src1_##typein##_1);, #typeout "1 " #fnc "(" #typein "1)") \
136 RUN_BENCH(res_##typeout##_2 = fnc(src1_##typein##_2);, #typeout "2 " #fnc "(" #typein "2)") \
137 RUN_BENCH(res_##typeout##_3 = fnc(src1_##typein##_3);, #typeout "3 " #fnc "(" #typein "3)") \
138 RUN_BENCH(res_##typeout##_4 = fnc(src1_##typein##_4);, #typeout "4 " #fnc "(" #typein "4)")
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
Dmath.rs.bak80 #define TEST_XN_FUNC_YN(typeout, fnc, typein) \
81 res_##typeout##_1 = fnc(src1_##typein##_1); \
82 res_##typeout##_2 = fnc(src1_##typein##_2); \
83 res_##typeout##_3 = fnc(src1_##typein##_3); \
84 res_##typeout##_4 = fnc(src1_##typein##_4);
Dmath.rs.orig94 #define TEST_XN_FUNC_YN(typeout, fnc, typein) \
95 res_##typeout##_1 = fnc(src1_##typein##_1); \
96 res_##typeout##_2 = fnc(src1_##typein##_2); \
97 res_##typeout##_3 = fnc(src1_##typein##_3); \
98 res_##typeout##_4 = fnc(src1_##typein##_4);
Dmath.rscript94 #define TEST_XN_FUNC_YN(typeout, fnc, typein) \
95 res_##typeout##_1 = fnc(src1_##typein##_1); \
96 res_##typeout##_2 = fnc(src1_##typein##_2); \
97 res_##typeout##_3 = fnc(src1_##typein##_3); \
98 res_##typeout##_4 = fnc(src1_##typein##_4);
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
Dmath.rscript94 #define TEST_XN_FUNC_YN(typeout, fnc, typein) \
95 res_##typeout##_1 = fnc(src1_##typein##_1); \
96 res_##typeout##_2 = fnc(src1_##typein##_2); \
97 res_##typeout##_3 = fnc(src1_##typein##_3); \
98 res_##typeout##_4 = fnc(src1_##typein##_4);
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dmath.rscript94 #define TEST_XN_FUNC_YN(typeout, fnc, typein) \
95 res_##typeout##_1 = fnc(src1_##typein##_1); \
96 res_##typeout##_2 = fnc(src1_##typein##_2); \
97 res_##typeout##_3 = fnc(src1_##typein##_3); \
98 res_##typeout##_4 = fnc(src1_##typein##_4);
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmath.rscript110 #define TEST_XN_FUNC_YN(typeout, fnc, typein) \
111 res_##typeout##_1 = fnc(src1_##typein##_1); \
112 res_##typeout##_2 = fnc(src1_##typein##_2); \
113 res_##typeout##_3 = fnc(src1_##typein##_3); \
114 res_##typeout##_4 = fnc(src1_##typein##_4);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dmath.rscript112 #define TEST_XN_FUNC_YN(typeout, fnc, typein) \
113 res_##typeout##_1 = fnc(src1_##typein##_1); \
114 res_##typeout##_2 = fnc(src1_##typein##_2); \
115 res_##typeout##_3 = fnc(src1_##typein##_3); \
116 res_##typeout##_4 = fnc(src1_##typein##_4);