Home
last modified time | relevance | path

Searched refs:trunc (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/rs/driver/runtime/arch/
Dneon.ll380 %4 = trunc <2 x i32> %3 to <2 x i8>
391 %7 = trunc <3 x i32> %6 to <3 x i8>
399 %4 = trunc <4 x i32> %3 to <4 x i8>
413 %4 = trunc <2 x i32> %3 to <2 x i16>
424 %7 = trunc <3 x i32> %6 to <3 x i16>
432 %4 = trunc <4 x i32> %3 to <4 x i16>
478 %4 = trunc <2 x i32> %3 to <2 x i8>
489 %7 = trunc <3 x i32> %6 to <3 x i8>
497 %4 = trunc <4 x i32> %3 to <4 x i8>
511 %4 = trunc <2 x i32> %3 to <2 x i16>
[all …]
Dasimd.ll376 %4 = trunc <2 x i32> %3 to <2 x i8>
387 %7 = trunc <3 x i32> %6 to <3 x i8>
395 %4 = trunc <4 x i32> %3 to <4 x i8>
409 %4 = trunc <2 x i32> %3 to <2 x i16>
420 %7 = trunc <3 x i32> %6 to <3 x i16>
428 %4 = trunc <4 x i32> %3 to <4 x i16>
474 %4 = trunc <2 x i32> %3 to <2 x i8>
485 %7 = trunc <3 x i32> %6 to <3 x i8>
493 %4 = trunc <4 x i32> %3 to <4 x i8>
507 %4 = trunc <2 x i32> %3 to <2 x i16>
[all …]
/frameworks/rs/cpu_ref/
DrsCpuRuntimeMathFuncs.cpp87 IMPORT_F32_FN_F32(trunc)
/frameworks/rs/api/
DUtilities.cpp198 open(path.c_str(), ios::out | ios::trunc); in start()
Drs_math.spec1945 @round() is similar but rounds away from zero. @trunc() truncates the decimal fraction.
1978 @rint() is similar but rounds half values toward even. @trunc() truncates the decimal fraction.
2178 function: trunc
2189 For example, <code>trunc(1.7f)</code> returns 1.f and <code>trunc(-1.7f)</code> returns -1.f.
/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rs142 TEST_FUNC_1(trunc);
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dapitest.rs881 f = trunc(f);
882 f2 = trunc(f2);
883 f3 = trunc(f3);
884 f4 = trunc(f4);
Dmath.rs327 TEST_FN_FUNC_FN(trunc);
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
Dapitest.rs881 f = trunc(f);
882 f2 = trunc(f2);
883 f3 = trunc(f3);
884 f4 = trunc(f4);
Dmath.rs327 TEST_FN_FUNC_FN(trunc);
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
Dmath.rs182 TEST_FN_FUNC_FN(trunc);
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
Dmath.rs327 TEST_FN_FUNC_FN(trunc);
Dmath.rs.bak313 TEST_FN_FUNC_FN(trunc);
Dmath.rs.orig327 TEST_FN_FUNC_FN(trunc);
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
Dmath.rs336 TEST_FN_FUNC_FN(trunc);
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
Dmath.rs327 TEST_FN_FUNC_FN(trunc);
/frameworks/rs/java/tests/ComputeBenchmark/src/com/example/android/rs/computebench/
Dcompute_benchmark.rs396 BENCH_FN_FUNC_FN(trunc);
/frameworks/rs/scriptc/
Drs_math.rsh3749 * round() is similar but rounds away from zero. trunc() truncates the decimal fraction.
3791 * rint() is similar but rounds half values toward even. trunc() truncates the decimal fraction.
4072 * trunc: Truncates a floating point
4076 * For example, trunc(1.7f) returns 1.f and trunc(-1.7f) returns -1.f.
4081 trunc(float v);
4084 trunc(float2 v);
4087 trunc(float3 v);
4090 trunc(float4 v);
/frameworks/base/docs/html/guide/topics/renderscript/reference/
Drs_math.jd1065 <a href='rs_math.html#android_rs:trunc'>trunc</a>
6487 … similar but rounds away from zero. <a href='rs_math.html#android_rs:trunc'>trunc</a>() truncates…
6570 …but rounds half values toward even. <a href='rs_math.html#android_rs:trunc'>trunc</a>() truncates…
7209 <a name='android_rs:trunc'></a>
7212 <span class='sympad'>trunc</span>
7218 <td>float trunc(float v);
7223 …<td><a href='rs_value_types.html#android_rs:float2'>float2</a> trunc(<a href='rs_value_types.html#…
7228 …<td><a href='rs_value_types.html#android_rs:float3'>float3</a> trunc(<a href='rs_value_types.html#…
7233 …<td><a href='rs_value_types.html#android_rs:float4'>float4</a> trunc(<a href='rs_value_types.html#…
7243 <p> For example, <code>trunc(1.7f)</code> returns 1.f and <code>trunc(-1.7f)</code> returns -1.f.
/frameworks/rs/driver/runtime/
Drs_cl.c647 extern float __attribute__((overloadable)) trunc(float);
648 FN_FUNC_FN(trunc) in FN_FUNC_FN() argument
/frameworks/compile/slang/tests/P_all_api_15/
Dall15.rs3399 *(float*)buf2393 = trunc(*(float*)buf2394);
3400 *(float2*)buf2395 = trunc(*(float2*)buf2396);
3401 *(float3*)buf2397 = trunc(*(float3*)buf2398);
3402 *(float4*)buf2399 = trunc(*(float4*)buf2400);
/frameworks/compile/slang/tests/P_all_api_16/
Dall16.rs3560 *(float*)buf2485 = trunc(*(float*)buf2486);
3561 *(float2*)buf2487 = trunc(*(float2*)buf2488);
3562 *(float3*)buf2489 = trunc(*(float3*)buf2490);
3563 *(float4*)buf2491 = trunc(*(float4*)buf2492);
/frameworks/compile/slang/tests/P_all_api_11/
Dall11.rs3292 *(float*)buf2323 = trunc(*(float*)buf2324);
3293 *(float2*)buf2325 = trunc(*(float2*)buf2326);
3294 *(float3*)buf2327 = trunc(*(float3*)buf2328);
3295 *(float4*)buf2329 = trunc(*(float4*)buf2330);
/frameworks/compile/slang/tests/P_all_api_12/
Dall12.rs3292 *(float*)buf2323 = trunc(*(float*)buf2324);
3293 *(float2*)buf2325 = trunc(*(float2*)buf2326);
3294 *(float3*)buf2327 = trunc(*(float3*)buf2328);
3295 *(float4*)buf2329 = trunc(*(float4*)buf2330);
/frameworks/compile/slang/tests/P_all_api_13/
Dall13.rs3292 *(float*)buf2323 = trunc(*(float*)buf2324);
3293 *(float2*)buf2325 = trunc(*(float2*)buf2326);
3294 *(float3*)buf2327 = trunc(*(float3*)buf2328);
3295 *(float4*)buf2329 = trunc(*(float4*)buf2330);

12