/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | apitest.rscript | 84 volatile float3 f3; 360 f3 = rsGetElementAt_float3(aFloat3, 0); 361 rsSetElementAt_float3(aFloat3, f3, 0); 362 f3 = rsGetElementAt_float3(aFloat3, 0, 0); 363 rsSetElementAt_float3(aFloat3, f3, 0, 0); 364 f3 = rsGetElementAt_float3(aFloat3, 0, 0, 0); 365 rsSetElementAt_float3(aFloat3, f3, 0, 0, 0); 449 c3 = convert_char3(f3); 471 uc3 = convert_uchar3(f3); 493 s3 = convert_short3(f3); [all …]
|
D | math.rscript | 25 volatile float3 f3; 164 f3 = fnc(f3); \ 171 f3 = fnc(f3, (float3*) &f3); \ 178 f3 = fnc(f3, f3); \ 183 f3 = fnc(f3, f3); \ 190 f3 = fnc(f3, f1); \ 197 f3 = fnc(f1, f3); \ 204 f1 = fnc(f3); \ 211 f1 = fnc(f3, f3); \ 218 f3 = fnc(f3, i3); \ [all …]
|
D | math_24.rscript | 25 volatile float3 f3; 32 f3 = fnc(f3); \
|
D | vector.rscript | 23 float3 f3 = { 1.0f, 2.0f, 3.0f }; 69 _RS_ASSERT(f3.x == 2.99f); 70 _RS_ASSERT(f3.y == 3.99f); 71 _RS_ASSERT(f3.z == 4.99f);
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/ |
D | apitest.rscript | 82 volatile float3 f3; 358 f3 = rsGetElementAt_float3(aFloat3, 0); 359 rsSetElementAt_float3(aFloat3, f3, 0); 360 f3 = rsGetElementAt_float3(aFloat3, 0, 0); 361 rsSetElementAt_float3(aFloat3, f3, 0, 0); 362 f3 = rsGetElementAt_float3(aFloat3, 0, 0, 0); 363 rsSetElementAt_float3(aFloat3, f3, 0, 0, 0); 447 c3 = convert_char3(f3); 469 uc3 = convert_uchar3(f3); 491 s3 = convert_short3(f3); [all …]
|
/frameworks/compile/slang/tests/P_math_fp/ |
D | math_fp.rscript | 11 float3 f3; 17 f3 = fnc(f3); \ 23 i3 = fnc(f3); \ 29 f3 = fnc(f3, f3); \ 35 f3 = fnc(f3, &f3); \ 41 f3 = fnc(f3, &i3); \ 47 f3 = fnc(f3, f3); \ 53 f3 = fnc(f3, i); \ 59 f3 = fnc(f3, i3); \ 65 f3 = fnc(f3, f3, f3); \ [all …]
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | rasterize.rscript | 41 triangleSetup(float3 f1, float3 f2, float3 f3) { 42 if (((f1.x - f2.x) * (f3.y - f2.y) - (f1.y - f2.y) * (f3.x - f2.x)) < 0) { 50 double d = (f1.x * (f3.y - f2.y) - f2.x * f3.y + f3.x * f2.y + (f2.x - f3.x) 57 slope[total].x = (-(f1.y * (f3.z - f2.z) - f2.y * f3.z + f3.y * f2.z + (f2.y - f3.y) * f1.z) 59 slope[total].y = ((f1.x * (f3.z - f2.z) - f2.x * f3.z + f3.x * f2.z + (f2.x - f3.x) * f1.z) 61 zoff[total] = ((f1.x * (f3.y * f2.z - f2.y * f3.z) + f1.y * (f2.x * f3.z - f3.x * f2.z) + 62 (f3.x * f2.y - f2.x * f3.y) * f1.z) / d); 66 p3[total] = f3.xy; 80 float3 f3; 91 f3.x = vert[p3]; [all …]
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | math.rs.bak | 7 volatile float3 f3; 132 f3 = fnc(f3); \ 139 f3 = fnc(f3, (float3*) &f3); \ 146 f3 = fnc(f3, f3); \ 151 f3 = fnc(f3, f3); \ 158 f3 = fnc(f3, f1); \ 165 f1 = fnc(f3); \ 172 f1 = fnc(f3, f3); \ 179 f3 = fnc(f3, i3); \ 186 f3 = fnc(f3, i1); \ [all …]
|
D | math.rs.orig | 7 volatile float3 f3; 146 f3 = fnc(f3); \ 153 f3 = fnc(f3, (float3*) &f3); \ 160 f3 = fnc(f3, f3); \ 165 f3 = fnc(f3, f3); \ 172 f3 = fnc(f3, f1); \ 179 f1 = fnc(f3); \ 186 f1 = fnc(f3, f3); \ 193 f3 = fnc(f3, i3); \ 200 f3 = fnc(f3, i1); \ [all …]
|
D | math.rscript | 7 volatile float3 f3; 146 f3 = fnc(f3); \ 153 f3 = fnc(f3, (float3*) &f3); \ 160 f3 = fnc(f3, f3); \ 165 f3 = fnc(f3, f3); \ 172 f3 = fnc(f3, f1); \ 179 f1 = fnc(f3); \ 186 f1 = fnc(f3, f3); \ 193 f3 = fnc(f3, i3); \ 200 f3 = fnc(f3, i1); \ [all …]
|
D | vector.rscript | 5 float3 f3 = { 1.0f, 2.0f, 3.0f }; 51 _RS_ASSERT(f3.x == 2.99f); 52 _RS_ASSERT(f3.y == 3.99f); 53 _RS_ASSERT(f3.z == 4.99f);
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
D | math.rscript | 7 volatile float3 f3; 146 f3 = fnc(f3); \ 153 f3 = fnc(f3, (float3*) &f3); \ 160 f3 = fnc(f3, f3); \ 165 f3 = fnc(f3, f3); \ 172 f3 = fnc(f3, f1); \ 179 f1 = fnc(f3); \ 186 f1 = fnc(f3, f3); \ 193 f3 = fnc(f3, i3); \ 200 f3 = fnc(f3, i1); \ [all …]
|
D | vector.rscript | 5 float3 f3 = { 1.0f, 2.0f, 3.0f }; 51 _RS_ASSERT(f3.x == 2.99f); 52 _RS_ASSERT(f3.y == 3.99f); 53 _RS_ASSERT(f3.z == 4.99f);
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | math.rscript | 23 volatile float3 f3; 162 f3 = fnc(f3); \ 169 f3 = fnc(f3, (float3*) &f3); \ 176 f3 = fnc(f3, f3); \ 181 f3 = fnc(f3, f3); \ 188 f3 = fnc(f3, f1); \ 195 f3 = fnc(f1, f3); \ 202 f1 = fnc(f3); \ 209 f1 = fnc(f3, f3); \ 216 f3 = fnc(f3, i3); \ [all …]
|
D | math_24.rscript | 23 volatile float3 f3; 30 f3 = fnc(f3); \
|
D | vector.rscript | 21 float3 f3 = { 1.0f, 2.0f, 3.0f }; 67 _RS_ASSERT(f3.x == 2.99f); 68 _RS_ASSERT(f3.y == 3.99f); 69 _RS_ASSERT(f3.z == 4.99f);
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | math.rscript | 7 volatile float3 f3; 44 f3 = fnc(f3); \ 51 f3 = fnc(f3, (float3*) &f3); \ 58 f3 = fnc(f3, f3); \ 65 f3 = fnc(f3, f1); \ 72 f3 = fnc(f3, i3); \ 79 f3 = fnc(f3, i1); \ 86 f3 = fnc(f3, f3, f3); \ 93 f3 = fnc(f3, (int3*) &i3); \ 100 f3 = fnc(f3, f3, (int3*) &i3); \ [all …]
|
/frameworks/rs/tests/java_api/ComputeBenchmark/src/com/example/android/rs/computebench/ |
D | compute_benchmark.rscript | 186 RUN_BENCH(res_f_3 = fnc(src1_f_3), "f3 " #fnc "(f3)") \ 193 RUN_BENCH(res_f_3 = fnc(src1_f_3, (float3*) &src2_f_3), "f3 " #fnc "(f3, f3*)") \ 200 RUN_BENCH(res_f_3 = fnc(src1_f_3, src2_f_3), "f3 " #fnc "(f3, f3)") \ 205 RUN_BENCH(res_f_3 = fnc(src1_f_3, src2_f_3), "f3 " #fnc "(f3, f3)") \ 212 RUN_BENCH(res_f_3 = fnc(src1_f_3, src2_f_1), "f3 " #fnc "(f3, f1)") \ 219 RUN_BENCH(res_f_1 = fnc(src1_f_3), "f1 " #fnc "(f3)") \ 226 RUN_BENCH(res_f_1 = fnc(src1_f_3, src2_f_3), "f1 " #fnc "(f3, f3)") \ 233 RUN_BENCH(res_f_3 = fnc(src1_f_3, src1_i_3), "f3 " #fnc "(f3, i3)") \ 240 RUN_BENCH(res_f_3 = fnc(src1_f_3, src1_i_1), "f3 " #fnc "(f3, i1)") \ 247 RUN_BENCH(res_f_3 = fnc(src1_f_3, src2_f_3, src3_f_3), "f3 " #fnc "(f3, f3, f3)") \ [all …]
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/utilities/easing/ |
D | CubicEasing.java | 82 float f3 = t * t * t; in getX() local 83 return mX1 * f1 + mX2 * f2 + f3; in getX() 91 float f3 = t * t * t; in getY() local 92 return mY1 * f1 + mY2 * f2 + f3; in getY()
|
/frameworks/base/tests/JankBench/app/src/main/jni/ |
D | Bench.cpp | 62 float f3 = 0.f; in testWork() local 76 f3 += src[i * 4 + 2] * ipk[i]; in testWork() 77 f4 += sqrtf(f1 + f2 + f3); in testWork() 81 out[2] = f3; in testWork()
|
/frameworks/libs/binary_translation/tests/perf_tests/ |
D | perf_test.cc | 35 int f3() { in f3() function 93 static const FuncPtr fptrs[4] = {f0, f1, f2, f3}; in TEST()
|
/frameworks/libs/binary_translation/tests/inline_asm_tests/ |
D | utility.h | 34 inline __uint128_t MakeF32x4(float f1, float f2, float f3, float f4) { in MakeF32x4() argument 35 float array[] = {f1, f2, f3, f4}; in MakeF32x4()
|
/frameworks/base/core/java/android/widget/ |
D | EdgeEffect.java | 679 private float min(float f1, float f2, float f3, float f4) { in min() argument 681 min = Math.min(min, f3); in min() 685 private float max(float f1, float f2, float f3, float f4) { in max() argument 687 max = Math.max(max, f3); in max()
|
/frameworks/compile/slang/lit-tests/padding/ |
D | more_structs.rscript | 51 // CHECK-JAVA-FIVE-STRUCT-NEXT: eb.add(Element.I16(rs), "f3"); 101 short f3; 119 (g_five_struct.f3 != arg3) ||
|
/frameworks/compile/slang/tests/P_math_int/ |
D | math_int.rscript | 36 float3 f3;
|