/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
D | ball_physics.rs | 35 int2 gridPos[9]; 38 gridPos[1] = (int2){gridPos[0].x - 1, gridPos[0].y - 1}; 39 gridPos[2] = (int2){gridPos[0].x + 0, gridPos[0].y - 1}; 40 gridPos[3] = (int2){gridPos[0].x + 1, gridPos[0].y - 1}; 41 gridPos[4] = (int2){gridPos[0].x - 1, gridPos[0].y}; 42 gridPos[5] = (int2){gridPos[0].x + 1, gridPos[0].y}; 43 gridPos[6] = (int2){gridPos[0].x - 1, gridPos[0].y + 1}; 44 gridPos[7] = (int2){gridPos[0].x + 0, gridPos[0].y + 1}; 45 gridPos[8] = (int2){gridPos[0].x + 1, gridPos[0].y + 1};
|
D | balls.rs | 46 int2 gridDims = (int2){ rsAllocationGetDimX(gGrid), 70 int2 p = convert_int2(balls[ct].position / 100.f);
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicInlines.h | 41 typedef int int2 __attribute__((ext_vector_type(2))); typedef 103 static inline int2 clamp(int2 amount, int low, int high) { in clamp() 104 int2 r; in clamp()
|
D | rsCpuRuntimeStubs.cpp | 50 typedef int32_t int2 __attribute__((ext_vector_type(2))); typedef 169 static void SC_debugI2(const char *s, const int2 *i) { in SC_debugI2()
|
/frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/ |
D | yuv.rs | 68 int2 vignette_half_dims; 70 int2 xy = {x, y}; 122 vignette_half_dims = (int2){w / 2, h / 2};
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | CursorWindowTest.java | 87 long int2 = window.getLong(0, 1); in doTestValues() local 88 assertEquals(int1, int2); in doTestValues()
|
/frameworks/rs/tests/typecheck/ |
D | kernels.rs | 60 int2 i2; 61 int2 i2i = {1, 2};
|
/frameworks/compile/slang/tests/F_global_init/ |
D | global_init.rs | 6 int2 i2 = {3, 4};
|
/frameworks/compile/slang/tests/P_kernel_cpp/ |
D | kernel_cpp.rs | 10 int2 i2 = 2;
|
/frameworks/compile/slang/tests/F_vector_cast/ |
D | vector_cast.rs | 5 int2 i;
|
D | stderr.txt.expect | 1 …ctor values of different size ('float2' (vector of 2 'float' values) and 'int2' (vector of 2 'int'…
|
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/ |
D | math.rs | 11 volatile int2 i2; 92 f2 = fnc(f2, (int2*) &i2); \ 99 f2 = fnc(f2, f2, (int2*) &i2); \ 214 volatile int2 prefix##_i_2 = 1; \
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
D | math.rs | 11 volatile int2 i2; 58 volatile int2 prefix##_i_2 = 1; \ 220 f2 = fnc(f2, (int2*) &i2); \ 227 f2 = fnc(f2, f2, (int2*) &i2); \
|
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/ |
D | math.rs | 11 volatile int2 i2; 58 volatile int2 prefix##_i_2 = 1; \ 220 f2 = fnc(f2, (int2*) &i2); \ 227 f2 = fnc(f2, f2, (int2*) &i2); \
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | math.rs | 11 volatile int2 i2; 58 volatile int2 prefix##_i_2 = 1; \ 227 f2 = fnc(f2, (int2*) &i2); \ 234 f2 = fnc(f2, f2, (int2*) &i2); \
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
D | math.rs | 11 volatile int2 i2; 58 volatile int2 prefix##_i_2 = 1; \ 220 f2 = fnc(f2, (int2*) &i2); \ 227 f2 = fnc(f2, f2, (int2*) &i2); \
|
D | math.rs.bak | 11 volatile int2 i2; 58 volatile int2 prefix##_i_2 = 1; \ 206 f2 = fnc(f2, (int2*) &i2); \ 213 f2 = fnc(f2, f2, (int2*) &i2); \
|
D | math.rs.orig | 11 volatile int2 i2; 58 volatile int2 prefix##_i_2 = 1; \ 220 f2 = fnc(f2, (int2*) &i2); \ 227 f2 = fnc(f2, f2, (int2*) &i2); \
|
/frameworks/compile/slang/tests/P_math_int/ |
D | math_int.rs | 30 int2 i2;
|
/frameworks/rs/driver/runtime/ |
D | rs_cl.c | 3 extern float2 __attribute__((overloadable)) convert_float2(int2 c); 7 extern int2 __attribute__((overloadable)) convert_int2(float2 c); 48 extern int2 __attribute__((overloadable)) fnc(float2 v) { \ 49 int2 r; \ 117 extern float2 __attribute__((overloadable)) fnc(float2 v1, int2 v2) { \ 201 extern float2 __attribute__((overloadable)) fnc(float2 v1, int2 *v2) { \ 263 fnc(float2 v1, float2 v2, int2 *v3) { \ 1122 int2 iv = convert_int2(v); in native_exp2() 1123 int2 x = iv + (iv >> (int2)31);//floor(v); in native_exp2() 1128 float2 fo = (float2)(x << (int2)23); in native_exp2() [all …]
|
/frameworks/rs/scriptc/ |
D | rs_core_math.rsh | 108 extern uint2 __attribute__((const, overloadable))abs(int2 value); 919 extern int2 __attribute__((const, overloadable))clamp(int2 value, int2 min_value, int2 max_value); 1270 extern int2 __attribute__((const, overloadable))clamp(int2 value, int min_value, int max_value); 1575 extern int2 __attribute__((const, overloadable))clz(int2 value); 1769 * Component wise conversion from int2 to float2 1773 extern float2 __attribute__((const, overloadable))convert_float2(int2 v); 1958 * Component wise conversion from int2 to char2 1962 extern char2 __attribute__((const, overloadable))convert_char2(int2 v); 2147 * Component wise conversion from int2 to uchar2 2151 extern uchar2 __attribute__((const, overloadable))convert_uchar2(int2 v); [all …]
|
D | rs_allocation.rsh | 191 GET_ELEMENT_AT(int2) 326 SET_ELEMENT_AT(int2) 405 VOP(int2)
|
/frameworks/rs/driver/runtime/arch/ |
D | generic.c | 287 extern int2 __attribute__((overloadable)) max(int2 v1, int2 v2) { in max() 288 int2 r; in max() 488 extern int2 __attribute__((overloadable)) min(int2 v1, int2 v2) { in min() 489 int2 r; in min()
|
/frameworks/rs/java/tests/ComputeBenchmark/src/com/example/android/rs/computebench/ |
D | compute_benchmark.rs | 49 static volatile int2 prefix##_i_2 = 1; \ 247 RUN_BENCH(res_f_2 = fnc(src1_f_2, (int2*) &src1_i_2), "f2 " #fnc "(f2, i2*)") \ 254 RUN_BENCH(res_f_2 = fnc(src1_f_2, src2_f_2, (int2*) &src1_i_2), "f2 " #fnc "(f2, f2, i2*)") \
|
/frameworks/compile/slang/tests/P_math_fp/ |
D | math_fp.rs | 5 int2 i2;
|