/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/ |
D | apitest.rscript | 81 volatile float2 f2; 352 f2 = rsGetElementAt_float2(aFloat2, 0); 353 rsSetElementAt_float2(aFloat2, f2, 0); 354 f2 = rsGetElementAt_float2(aFloat2, 0, 0); 355 rsSetElementAt_float2(aFloat2, f2, 0, 0); 356 f2 = rsGetElementAt_float2(aFloat2, 0, 0, 0); 357 rsSetElementAt_float2(aFloat2, f2, 0, 0, 0); 415 f4 += rsSample(allocDst, samplerNonNull, f2); 416 f4 += rsSample(allocDst, samplerNonNull, f2, f); 440 c2 = convert_char2(f2); [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | apitest.rscript | 83 volatile float2 f2; 354 f2 = rsGetElementAt_float2(aFloat2, 0); 355 rsSetElementAt_float2(aFloat2, f2, 0); 356 f2 = rsGetElementAt_float2(aFloat2, 0, 0); 357 rsSetElementAt_float2(aFloat2, f2, 0, 0); 358 f2 = rsGetElementAt_float2(aFloat2, 0, 0, 0); 359 rsSetElementAt_float2(aFloat2, f2, 0, 0, 0); 417 f4 += rsSample(allocDst, samplerNonNull, f2); 418 f4 += rsSample(allocDst, samplerNonNull, f2, f); 442 c2 = convert_char2(f2); [all …]
|
D | UT_copy_test.java | 39 float[] f2 = new float[1024 * 2]; in testFloat2() local 47 a2.copyTo(f2); in testFloat2() 49 if (f1[ct] != f2[ct]) { in testFloat2() 51 Log.v("RS Test", "Compare failed at " + ct + ", " + f1[ct] + ", " + f2[ct]); in testFloat2() 63 float[] f2 = new float[1024 * 4]; in testFloat3() local 71 a2.copyTo(f2); in testFloat3() 73 if ((f1[ct] != f2[ct]) && ((ct & 3) != 3)) { in testFloat3() 75 Log.v("RS Test", "Compare failed at " + ct + ", " + f1[ct] + ", " + f2[ct]); in testFloat3() 87 float[] f2 = new float[1024 * 4]; in testFloat4() local 95 a2.copyTo(f2); in testFloat4() [all …]
|
D | math.rscript | 24 volatile float2 f2; 163 f2 = fnc(f2); \ 170 f2 = fnc(f2, (float2*) &f2); \ 177 f2 = fnc(f2, f2); \ 189 f2 = fnc(f2, f1); \ 196 f2 = fnc(f1, f2); \ 203 f1 = fnc(f2); \ 210 f1 = fnc(f2, f2); \ 217 f2 = fnc(f2, i2); \ 224 f2 = fnc(f2, i1); \ [all …]
|
D | kernel_struct.rscript | 27 float f2; 39 out->f2 = 1.0f; 48 s.f2 = in.f2 + x; 60 _RS_ASSERT(aout[i].f2 == (i + ain[i].f2));
|
/frameworks/compile/slang/tests/P_math_fp/ |
D | math_fp.rscript | 10 float2 f2; 16 f2 = fnc(f2); \ 22 i2 = fnc(f2); \ 28 f2 = fnc(f2, f2); \ 34 f2 = fnc(f2, &f2); \ 40 f2 = fnc(f2, &i2); \ 46 f2 = fnc(f2, f2); \ 52 f2 = fnc(f2, i); \ 58 f2 = fnc(f2, i2); \ 64 f2 = fnc(f2, f2, f2); \ [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) { 44 f1 = f2; 45 f2 = tmp; 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); 65 p2[total] = f2.xy; [all …]
|
/frameworks/av/media/module/codecs/amrwb/enc/src/ |
D | isp_az.c | 47 Word32 f1[NC16k + 1], f2[NC16k]; in Isp_Az() local 66 Get_isp_pol_16kHz(&isp[1], f2, (nc - 1)); in Isp_Az() 69 f2[i] = f2[i] << 2; in Isp_Az() 72 Get_isp_pol(&isp[1], f2, (nc - 1)); in Isp_Az() 80 f2[i] = vo_L_sub(f2[i], f2[i - 2]); /* f2[i] -= f2[i-2]; */ in Isp_Az() 99 hi = f2[i] >> 16; in Isp_Az() 100 lo = (f2[i] & 0xffff)>>1; in Isp_Az() 102 f2[i] = vo_L_sub(f2[i], t0); in Isp_Az() 117 t0 = vo_L_add(f1[i], f2[i]); /* f1[i] + f2[i] */ in Isp_Az() 123 t0 = vo_L_sub(f1[i], f2[i]); /* f1[i] - f2[i] */ in Isp_Az() [all …]
|
D | az_isp.c | 70 Word16 f1[NC + 1], f2[NC]; in Az_isp() local 91 f2[i] = vo_round(t0 - (a[M - i] << 15)); /* =(a[i]-a[M-i])/2 */ in Az_isp() 95 f2[i] = add1(f2[i], f2[i - 2]); in Az_isp() 170 coef = f2; in Az_isp()
|
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | UT_copy_test.java | 37 float[] f2 = new float[1024 * 2]; in testFloat2() local 45 a2.copyTo(f2); in testFloat2() 47 if (f1[ct] != f2[ct]) { in testFloat2() 49 Log.v("RS Test", "Compare failed at " + ct + ", " + f1[ct] + ", " + f2[ct]); in testFloat2() 61 float[] f2 = new float[1024 * 4]; in testFloat3() local 69 a2.copyTo(f2); in testFloat3() 71 if ((f1[ct] != f2[ct]) && ((ct & 3) != 3)) { in testFloat3() 73 Log.v("RS Test", "Compare failed at " + ct + ", " + f1[ct] + ", " + f2[ct]); in testFloat3() 85 float[] f2 = new float[1024 * 4]; in testFloat4() local 93 a2.copyTo(f2); in testFloat4() [all …]
|
D | math.rscript | 22 volatile float2 f2; 161 f2 = fnc(f2); \ 168 f2 = fnc(f2, (float2*) &f2); \ 175 f2 = fnc(f2, f2); \ 187 f2 = fnc(f2, f1); \ 194 f2 = fnc(f1, f2); \ 201 f1 = fnc(f2); \ 208 f1 = fnc(f2, f2); \ 215 f2 = fnc(f2, i2); \ 222 f2 = fnc(f2, i1); \ [all …]
|
D | kernel_struct.rscript | 25 float f2; 37 out->f2 = 1.0f; 46 s.f2 = in.f2 + x; 58 _RS_ASSERT(aout[i].f2 == (i + ain[i].f2));
|
/frameworks/av/media/module/codecs/amrwb/dec/src/ |
D | isp_az.cpp | 142 int32 f1[NC16k + 1], f2[NC16k]; in Isp_Az() local 159 Get_isp_pol_16kHz(&isp[1], f2, nc - 1); in Isp_Az() 162 f2[i] = shl_int32(f2[i], 2); in Isp_Az() 168 Get_isp_pol(&isp[1], f2, nc - 1); in Isp_Az() 177 f2[i] -= f2[i - 2]; /* f2[i] -= f2[i-2]; */ in Isp_Az() 190 t1 = f2[i]; in Isp_Az() 194 f2[i] -= t1; in Isp_Az() 211 t0 = add_int32(f1[i], f2[i]); /* f1[i] + f2[i] */ in Isp_Az() 223 t0 = sub_int32(f1[i], f2[i]); /* f1[i] - f2[i] */ in Isp_Az() 255 t0 = add_int32(f1[i], f2[i]); /* f1[i] + f2[i] */ in Isp_Az() [all …]
|
/frameworks/libs/binary_translation/guest_abi/ |
D | guest_function_wrapper_signature_test.cc | 51 using f2 = int(double, double); typedef 52 static_assert(4 == sizeof(kGuestFunctionWrapperSignature<f2>)); 53 static_assert('i' == kGuestFunctionWrapperSignature<f2>[0]); 54 static_assert('d' == kGuestFunctionWrapperSignature<f2>[1]); 55 static_assert('d' == kGuestFunctionWrapperSignature<f2>[2]); 56 static_assert('\0' == kGuestFunctionWrapperSignature<f2>[3]);
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | math.rs.bak | 6 volatile float2 f2; 131 f2 = fnc(f2); \ 138 f2 = fnc(f2, (float2*) &f2); \ 145 f2 = fnc(f2, f2); \ 157 f2 = fnc(f2, f1); \ 164 f1 = fnc(f2); \ 171 f1 = fnc(f2, f2); \ 178 f2 = fnc(f2, i2); \ 185 f2 = fnc(f2, i1); \ 192 f2 = fnc(f2, f2, f2); \ [all …]
|
D | math.rscript | 6 volatile float2 f2; 145 f2 = fnc(f2); \ 152 f2 = fnc(f2, (float2*) &f2); \ 159 f2 = fnc(f2, f2); \ 171 f2 = fnc(f2, f1); \ 178 f1 = fnc(f2); \ 185 f1 = fnc(f2, f2); \ 192 f2 = fnc(f2, i2); \ 199 f2 = fnc(f2, i1); \ 206 f2 = fnc(f2, f2, f2); \ [all …]
|
D | math.rs.orig | 6 volatile float2 f2; 145 f2 = fnc(f2); \ 152 f2 = fnc(f2, (float2*) &f2); \ 159 f2 = fnc(f2, f2); \ 171 f2 = fnc(f2, f1); \ 178 f1 = fnc(f2); \ 185 f1 = fnc(f2, f2); \ 192 f2 = fnc(f2, i2); \ 199 f2 = fnc(f2, i1); \ 206 f2 = fnc(f2, f2, f2); \ [all …]
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | math.rscript | 6 volatile float2 f2; 43 f2 = fnc(f2); \ 50 f2 = fnc(f2, (float2*) &f2); \ 57 f2 = fnc(f2, f2); \ 64 f2 = fnc(f2, f1); \ 71 f2 = fnc(f2, i2); \ 78 f2 = fnc(f2, i1); \ 85 f2 = fnc(f2, f2, f2); \ 92 f2 = fnc(f2, (int2*) &i2); \ 99 f2 = fnc(f2, f2, (int2*) &i2); \ [all …]
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
D | math.rscript | 6 volatile float2 f2; 145 f2 = fnc(f2); \ 152 f2 = fnc(f2, (float2*) &f2); \ 159 f2 = fnc(f2, f2); \ 171 f2 = fnc(f2, f1); \ 178 f1 = fnc(f2); \ 185 f1 = fnc(f2, f2); \ 192 f2 = fnc(f2, i2); \ 199 f2 = fnc(f2, i1); \ 206 f2 = fnc(f2, f2, f2); \ [all …]
|
/frameworks/native/libs/ui/ |
D | Fence.cpp | 91 const sp<Fence>& f2) { in merge() argument 97 if (f1->isValid() && f2->isValid()) { in merge() 98 result = sync_merge(name, f1->mFenceFd, f2->mFenceFd); in merge() 101 } else if (f2->isValid()) { in merge() 102 result = sync_merge(name, f2->mFenceFd, f2->mFenceFd); in merge() 109 name, f1->mFenceFd.get(), f2->mFenceFd.get(), in merge() 117 const sp<Fence>& f2) { in merge() argument 118 return merge(name.c_str(), f1, f2); in merge()
|
/frameworks/rs/tests/java_api/ComputeBenchmark/src/com/example/android/rs/computebench/ |
D | compute_benchmark.rscript | 185 RUN_BENCH(res_f_2 = fnc(src1_f_2), "f2 " #fnc "(f2)") \ 192 RUN_BENCH(res_f_2 = fnc(src1_f_2, (float2*) &src2_f_2), "f2 " #fnc "(f2, f2*)") \ 199 RUN_BENCH(res_f_2 = fnc(src1_f_2, src2_f_2), "f2 " #fnc "(f2, f2)") \ 211 RUN_BENCH(res_f_2 = fnc(src1_f_2, src2_f_1), "f2 " #fnc "(f2, f1)") \ 218 RUN_BENCH(res_f_1 = fnc(src1_f_2), "f1 " #fnc "(f2)") \ 225 RUN_BENCH(res_f_1 = fnc(src1_f_2, src2_f_2), "f1 " #fnc "(f2, f2)") \ 232 RUN_BENCH(res_f_2 = fnc(src1_f_2, src1_i_2), "f2 " #fnc "(f2, i2)") \ 239 RUN_BENCH(res_f_2 = fnc(src1_f_2, src1_i_1), "f2 " #fnc "(f2, i1)") \ 246 RUN_BENCH(res_f_2 = fnc(src1_f_2, src2_f_2, src3_f_2), "f2 " #fnc "(f2, f2, f2)") \ 253 RUN_BENCH(res_f_2 = fnc(src1_f_2, src2_f_2, src3_f_1), "f2 " #fnc "(f2, f2, f1)") \ [all …]
|
/frameworks/av/media/module/codecs/amrnb/common/src/ |
D | lsp_az.cpp | 518 Word32 f2[6]; in Lsp_Az() local 527 Get_lsp_pol(&lsp[1], f2, pOverflow); in Lsp_Az() 530 p_f2 = &f2[5]; in Lsp_Az() 535 *(p_f2--) -= f2[i-1]; in Lsp_Az() 540 p_f2 = &f2[1]; in Lsp_Az()
|
/frameworks/compile/libbcc/tests/debuginfo/host-tests/ |
D | locals.cpp | 18 float f2[2]; member 41 s.f2[0] = 1e4f; in main() 42 s.f2[1] = 100.5f; in main()
|
/frameworks/compile/libbcc/tests/debuginfo/target-tests/ |
D | locals.rs | 20 float f2[2]; 44 s.f2[0] = 1e4f; 45 s.f2[1] = 100.5f;
|
/frameworks/compile/slang/lit-tests/opt/ |
D | locals_opt_0.rscript | 10 float f2[2]; 33 s.f2[0] = 1e4f; 34 s.f2[1] = 100.5f;
|