Home
last modified time | relevance | path

Searched refs:round (Results 1 – 25 of 1467) sorted by relevance

12345678910>>...59

/external/libxml2/test/XPath/expr/
Dfunctions28 round(0.1)
29 round(5.2)
30 round(5.5)
31 round(5.6)
32 round(-0.1)
33 round(-5.2)
34 round(-5.5)
35 round(-5.6)
36 round(0.5)
37 round(-0.5)
[all …]
/external/libvpx/libvpx/vpx_dsp/x86/
Dquantize_avx.c34 __m128i zbin, round, quant, dequant, shift; in vpx_quantize_b_avx() local
47 load_b_values(zbin_ptr, &zbin, round_ptr, &round, quant_ptr, &quant, in vpx_quantize_b_avx()
72 round = _mm_unpackhi_epi64(round, round); in vpx_quantize_b_avx()
77 calculate_qcoeff(&qcoeff0, round, quant, shift); in vpx_quantize_b_avx()
78 round = _mm_unpackhi_epi64(round, round); in vpx_quantize_b_avx()
81 calculate_qcoeff(&qcoeff1, round, quant, shift); in vpx_quantize_b_avx()
124 calculate_qcoeff(&qcoeff0, round, quant, shift); in vpx_quantize_b_avx()
125 calculate_qcoeff(&qcoeff1, round, quant, shift); in vpx_quantize_b_avx()
160 __m128i zbin, round, quant, dequant, shift; in vpx_quantize_b_32x32_avx() local
182 round = _mm_load_si128((const __m128i *)round_ptr); in vpx_quantize_b_32x32_avx()
[all …]
Dquantize_ssse3.c30 __m128i zbin, round, quant, dequant, shift; in vpx_quantize_b_ssse3() local
40 load_b_values(zbin_ptr, &zbin, round_ptr, &round, quant_ptr, &quant, in vpx_quantize_b_ssse3()
54 calculate_qcoeff(&qcoeff0, round, quant, shift); in vpx_quantize_b_ssse3()
55 round = _mm_unpackhi_epi64(round, round); in vpx_quantize_b_ssse3()
58 calculate_qcoeff(&qcoeff1, round, quant, shift); in vpx_quantize_b_ssse3()
88 calculate_qcoeff(&qcoeff0, round, quant, shift); in vpx_quantize_b_ssse3()
89 calculate_qcoeff(&qcoeff1, round, quant, shift); in vpx_quantize_b_ssse3()
125 __m128i zbin, round, quant, dequant, shift; in vpx_quantize_b_32x32_ssse3() local
147 round = _mm_load_si128((const __m128i *)round_ptr); in vpx_quantize_b_32x32_ssse3()
148 round = _mm_add_epi16(round, one); in vpx_quantize_b_32x32_ssse3()
[all …]
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dprng.cc60 auto round = [](ThreeFry2x32State v, int rotation) { in ThreeFry2x32() local
69 x = round(x, rotations[0]); in ThreeFry2x32()
70 x = round(x, rotations[1]); in ThreeFry2x32()
71 x = round(x, rotations[2]); in ThreeFry2x32()
72 x = round(x, rotations[3]); in ThreeFry2x32()
76 x = round(x, rotations[4]); in ThreeFry2x32()
77 x = round(x, rotations[5]); in ThreeFry2x32()
78 x = round(x, rotations[6]); in ThreeFry2x32()
79 x = round(x, rotations[7]); in ThreeFry2x32()
83 x = round(x, rotations[0]); in ThreeFry2x32()
[all …]
/external/python/cpython3/Python/
Dpytime.c100 double rounded = round(x); in _PyTime_RoundHalfEven()
103 rounded = 2.0*round(x/2.0); in _PyTime_RoundHalfEven()
109 _PyTime_Round(double x, _PyTime_round_t round) in _PyTime_Round() argument
115 if (round == _PyTime_ROUND_HALF_EVEN) { in _PyTime_Round()
118 else if (round == _PyTime_ROUND_CEILING) { in _PyTime_Round()
121 else if (round == _PyTime_ROUND_FLOOR) { in _PyTime_Round()
125 assert(round == _PyTime_ROUND_UP); in _PyTime_Round()
133 long idenominator, _PyTime_round_t round) in _PyTime_DoubleToDenominator() argument
143 floatpart = _PyTime_Round(floatpart, round); in _PyTime_DoubleToDenominator()
166 long denominator, _PyTime_round_t round) in _PyTime_ObjectToDenominator() argument
[all …]
/external/libxml2/result/XPath/expr/
Dfunctions111 Expression: round(0.1)
115 Expression: round(5.2)
119 Expression: round(5.5)
123 Expression: round(5.6)
127 Expression: round(-0.1)
131 Expression: round(-5.2)
135 Expression: round(-5.5)
139 Expression: round(-5.6)
143 Expression: round(0.5)
147 Expression: round(-0.5)
[all …]
/external/tensorflow/tensorflow/compiler/xla/g3doc/images/
Dops_xla_gather_1.svg1round" stroke-linecap="butt" d="m385.85303 8.472441l300.063 0l0 434.3937l-300.063 0z" fill-rule="e…
Dops_xla_gather_0.svg1round" stroke-linecap="butt" d="m218.29134 20.871391l293.88977 0l0 427.33856l-293.88977 0z" fill-r…
Dops_xla_gather_2.svg1round" stroke-linecap="butt" d="m241.7559 188.68767l292.75592 0l0 424.5984l-292.75592 0z" fill-rul…
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/
Dround.ll3 declare float @llvm.round.f32(float) #0
4 declare double @llvm.round.f64(double) #0
9 %x = call float @llvm.round.f32(float 1.25) #0
16 %x = call float @llvm.round.f32(float -1.25) #0
23 %x = call float @llvm.round.f32(float 1.5) #0
30 %x = call float @llvm.round.f32(float -1.5) #0
37 %x = call float @llvm.round.f32(float 2.75) #0
44 %x = call float @llvm.round.f32(float -2.75) #0
51 %x = call double @llvm.round.f64(double 1.3) #0
58 %x = call double @llvm.round.f64(double -1.3) #0
[all …]
/external/llvm/test/Transforms/InstCombine/
Dround.ll3 declare float @llvm.round.f32(float) #0
4 declare double @llvm.round.f64(double) #0
9 %x = call float @llvm.round.f32(float 1.25) #0
16 %x = call float @llvm.round.f32(float -1.25) #0
23 %x = call float @llvm.round.f32(float 1.5) #0
30 %x = call float @llvm.round.f32(float -1.5) #0
37 %x = call float @llvm.round.f32(float 2.75) #0
44 %x = call float @llvm.round.f32(float -2.75) #0
51 %x = call double @llvm.round.f64(double 1.3) #0
58 %x = call double @llvm.round.f64(double -1.3) #0
[all …]
/external/skqp/src/core/
DSkTDynamicHash.h92 for (int round = 0; round < fCapacity; round++) { in find() local
101 index = this->nextIndex(index, round); in find()
146 for (int round = 0; round < fCapacity; round++) { in countCollisions() local
150 return round; in countCollisions()
152 index = this->nextIndex(index, round); in countCollisions()
210 for (int round = 0; round < fCapacity; round++) { in innerAdd() local
221 index = this->nextIndex(index, round); in innerAdd()
229 for (int round = 0; round < fCapacity; round++) { in innerRemove() local
238 index = this->nextIndex(index, round); in innerRemove()
284 int nextIndex(int index, int round) const { in nextIndex() argument
[all …]
/external/skia/src/core/
DSkTDynamicHash.h92 for (int round = 0; round < fCapacity; round++) { in find() local
101 index = this->nextIndex(index, round); in find()
146 for (int round = 0; round < fCapacity; round++) { in countCollisions() local
150 return round; in countCollisions()
152 index = this->nextIndex(index, round); in countCollisions()
210 for (int round = 0; round < fCapacity; round++) { in innerAdd() local
221 index = this->nextIndex(index, round); in innerAdd()
229 for (int round = 0; round < fCapacity; round++) { in innerRemove() local
238 index = this->nextIndex(index, round); in innerRemove()
284 int nextIndex(int index, int round) const { in nextIndex() argument
[all …]
/external/tensorflow/tensorflow/tools/gcs_test/python/
Dgcs_smoke.py58 starttime_ms = int(round(time.time() * 1000))
62 elapsed_ms = int(round(time.time() * 1000)) - starttime_ms
71 starttime_ms = int(round(time.time() * 1000))
77 elapsed_ms = int(round(time.time() * 1000)) - starttime_ms
94 starttime_ms = int(round(time.time() * 1000))
97 elapsed_ms = int(round(time.time() * 1000)) - starttime_ms
108 starttime_ms = int(round(time.time() * 1000))
111 elapsed_ms = int(round(time.time() * 1000)) - starttime_ms
119 starttime_ms = int(round(time.time() * 1000))
121 elapsed_ms = int(round(time.time() * 1000)) - starttime_ms
[all …]
/external/libaom/libaom/aom_dsp/x86/
Djnt_variance_ssse3.c57 const uint16_t round = ((1 << DIST_PRECISION_BITS) >> 1); in aom_dist_wtd_comp_avg_pred_ssse3() local
59 _mm_set_epi16(round, round, round, round, round, round, round, round); in aom_dist_wtd_comp_avg_pred_ssse3()
136 const uint16_t round = ((1 << DIST_PRECISION_BITS) >> 1); in aom_dist_wtd_comp_avg_upsampled_pred_ssse3() local
138 _mm_set_epi16(round, round, round, round, round, round, round, round); in aom_dist_wtd_comp_avg_upsampled_pred_ssse3()
Dquantize_ssse3.c22 static INLINE void calculate_qcoeff_64x64(__m128i *coeff, const __m128i round, in calculate_qcoeff_64x64() argument
26 qcoeff = _mm_adds_epi16(*coeff, round); in calculate_qcoeff_64x64()
75 __m128i zbin, round, quant, dequant, shift; in aom_quantize_b_64x64_ssse3() local
85 round = _mm_load_si128((const __m128i *)round_ptr); in aom_quantize_b_64x64_ssse3()
92 round = _mm_add_epi16(round, two); in aom_quantize_b_64x64_ssse3()
94 round = _mm_srli_epi16(round, 2); in aom_quantize_b_64x64_ssse3()
116 round = _mm_unpackhi_epi64(round, round); in aom_quantize_b_64x64_ssse3()
121 calculate_qcoeff_64x64(&qcoeff0, round, quant, &shift); in aom_quantize_b_64x64_ssse3()
122 round = _mm_unpackhi_epi64(round, round); in aom_quantize_b_64x64_ssse3()
125 calculate_qcoeff_64x64(&qcoeff1, round, quant, &shift); in aom_quantize_b_64x64_ssse3()
[all …]
Dadaptive_quantize_sse2.c28 __m128i zbin, round, quant, dequant, shift; in aom_quantize_b_adaptive_sse2() local
64 load_b_values(zbin_ptr, &zbin, round_ptr, &round, quant_ptr, &quant, in aom_quantize_b_adaptive_sse2()
94 round = _mm_unpackhi_epi64(round, round); in aom_quantize_b_adaptive_sse2()
99 calculate_qcoeff(&qcoeff0, round, quant, shift); in aom_quantize_b_adaptive_sse2()
101 round = _mm_unpackhi_epi64(round, round); in aom_quantize_b_adaptive_sse2()
105 calculate_qcoeff(&qcoeff1, round, quant, shift); in aom_quantize_b_adaptive_sse2()
159 calculate_qcoeff(&qcoeff0, round, quant, shift); in aom_quantize_b_adaptive_sse2()
160 calculate_qcoeff(&qcoeff1, round, quant, shift); in aom_quantize_b_adaptive_sse2()
228 __m128i zbin, round, quant, dequant, shift; in aom_quantize_b_32x32_adaptive_sse2() local
265 round = _mm_load_si128((const __m128i *)round_ptr); in aom_quantize_b_32x32_adaptive_sse2()
[all …]
/external/python/cpython2/Lib/test/
Dtest_float.py752 self.assertAlmostEqual(round(12.34, True), 12.3)
756 self.assertAlmostEqual(round(-0.123456, MyIndex()), -0.1235)
758 self.assertRaises(TypeError, round, 3.14159, 2.0)
764 self.assertEqual(round(INF), INF)
765 self.assertEqual(round(-INF), -INF)
766 self.assertTrue(math.isnan(round(NAN)))
768 self.assertEqual(round(INF, n), INF)
769 self.assertEqual(round(-INF, n), -INF)
770 self.assertTrue(math.isnan(round(NAN, n)))
772 self.assertRaises(TypeError, round, INF, 0.0)
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
Dbuiltins-ppc-p9-f128.ll12 %0 = call fp128 @llvm.ppc.sqrtf128.round.to.odd(fp128 %a)
19 declare fp128 @llvm.ppc.sqrtf128.round.to.odd(fp128)
23 %0 = call fp128 @llvm.ppc.fmaf128.round.to.odd(fp128 %a, fp128 %b, fp128 %c)
26 %1 = call fp128 @llvm.ppc.fmaf128.round.to.odd(fp128 %a, fp128 %b, fp128 %sub)
28 %2 = call fp128 @llvm.ppc.fmaf128.round.to.odd(fp128 %a, fp128 %b, fp128 %c)
32 %3 = call fp128 @llvm.ppc.fmaf128.round.to.odd(fp128 %a, fp128 %b, fp128 %sub2)
44 declare fp128 @llvm.ppc.fmaf128.round.to.odd(fp128, fp128, fp128)
48 %0 = call fp128 @llvm.ppc.addf128.round.to.odd(fp128 %a, fp128 %b)
55 declare fp128 @llvm.ppc.addf128.round.to.odd(fp128, fp128)
59 %0 = call fp128 @llvm.ppc.subf128.round.to.odd(fp128 %a, fp128 %b)
[all …]
/external/libvpx/libvpx/vpx_dsp/ppc/
Dquantize_vsx.c40 int16x8_t round, int16x8_t quant, in quantize_coeff() argument
42 const int16x8_t rounded = vec_vaddshs(coeff_abs, round); in quantize_coeff()
52 int16x8_t round, int16x8_t quant, in quantize_coeff_32() argument
55 const int16x8_t rounded = vec_vaddshs(coeff_abs, round); in quantize_coeff_32()
109 int16x8_t round = vec_vsx_ld(0, round_ptr); in vpx_quantize_b_vsx() local
129 quantize_coeff(coeff0, coeff0_abs, round, quant, quant_shift, zero_mask0); in vpx_quantize_b_vsx()
131 round = vec_splat(round, 1); in vpx_quantize_b_vsx()
135 quantize_coeff(coeff1, coeff1_abs, round, quant, quant_shift, zero_mask1); in vpx_quantize_b_vsx()
164 qcoeff0 = quantize_coeff(coeff0, coeff0_abs, round, quant, quant_shift, in vpx_quantize_b_vsx()
166 qcoeff1 = quantize_coeff(coeff1, coeff1_abs, round, quant, quant_shift, in vpx_quantize_b_vsx()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dcombine-ftrunc.ll8 %round = tail call double @llvm.rint.f64(double %v)
9 %trunc = tail call double @llvm.trunc.f64(double %round)
19 %round = tail call float @llvm.rint.f32(float %v)
20 %trunc = tail call float @llvm.trunc.f32(float %round)
33 %round = tail call <2 x float> @llvm.rint.v2f32(<2 x float> %v)
34 %trunc = tail call <2 x float> @llvm.trunc.v2f32(<2 x float> %round)
44 %round = tail call float @llvm.ceil.f32(float %v)
45 %trunc = tail call float @llvm.trunc.f32(float %round)
55 %round = tail call float @llvm.floor.f32(float %v)
56 %trunc = tail call float @llvm.trunc.f32(float %round)
[all …]
Dllvm.round.ll25 %result = call float @llvm.round.f32(float %x) #1
39 %result = call <2 x float> @llvm.round.v2f32(<2 x float> %in) #1
48 %result = call <4 x float> @llvm.round.v4f32(<4 x float> %in) #1
57 %result = call <8 x float> @llvm.round.v8f32(<8 x float> %in) #1
78 %result = call half @llvm.round.f16(half %x) #1
94 %result = call <2 x half> @llvm.round.v2f16(<2 x half> %in)
99 declare float @llvm.round.f32(float) #1
100 declare <2 x float> @llvm.round.v2f32(<2 x float>) #1
101 declare <4 x float> @llvm.round.v4f32(<4 x float>) #1
102 declare <8 x float> @llvm.round.v8f32(<8 x float>) #1
[all …]
/external/webrtc/talk/app/webrtc/androidtests/src/org/webrtc/
DRendererCommonTest.java95 private static double[] round(float[] array) { in round() method in RendererCommonTest
99 doubleArray[i] = Math.round(100 * array[i]) / 100.0; in round()
120 0, 0, 0, 1}, round(layoutMatrix)); in testLayoutMatrixDefault()
133 1, 0, 0, 1}, round(layoutMatrix)); in testLayoutMatrixMirror()
148 0.25, 0, 0, 1}, round(layoutMatrix)); in testLayoutMatrixScale()
161 MoreAsserts.assertEquals(round(matrix), round(rotatedMatrix)); in testRotateTextureMatrixDefault()
174 1, 0, 0, 1}, round(samplingMatrix)); in testRotateTextureMatrix90Deg()
187 1, 1, 0, 1}, round(samplingMatrix)); in testRotateTextureMatrix180Deg()
/external/libvpx/libvpx/vp9/encoder/ppc/
Dvp9_quantize_vsx.c50 int16x8_t round = vec_vsx_ld(0, round_ptr); in vp9_quantize_fp_vsx() local
63 qcoeff0 = vec_mulhi(vec_vaddshs(vec_abs(coeff0), round), quant); in vp9_quantize_fp_vsx()
72 round = vec_splat(round, 1); in vp9_quantize_fp_vsx()
79 qcoeff1 = vec_mulhi(vec_vaddshs(vec_abs(coeff1), round), quant); in vp9_quantize_fp_vsx()
110 qcoeff0 = vec_mulhi(vec_vaddshs(vec_abs(coeff0), round), quant); in vp9_quantize_fp_vsx()
117 qcoeff1 = vec_mulhi(vec_vaddshs(vec_abs(coeff1), round), quant); in vp9_quantize_fp_vsx()
124 qcoeff2 = vec_mulhi(vec_vaddshs(vec_abs(coeff2), round), quant); in vp9_quantize_fp_vsx()
185 int16x8_t round = vec_vsx_ld(0, round_ptr); in vp9_quantize_fp_32x32_vsx() local
202 round = vec_sra(vec_add(round, vec_ones_s16), vec_ones_u16); in vp9_quantize_fp_32x32_vsx()
204 qcoeff0 = vec_madds(vec_vaddshs(abs_coeff0, round), quant, vec_zeros_s16); in vp9_quantize_fp_32x32_vsx()
[all …]
/external/python/cpython3/Modules/_decimal/libmpdec/
Dcontext.c90 ctx->round=MPD_ROUND_HALF_EVEN; in mpd_maxcontext()
104 ctx->round=MPD_ROUND_HALF_UP; in mpd_defaultcontext()
118 ctx->round=MPD_ROUND_HALF_UP; in mpd_basiccontext()
136 ctx->round=MPD_ROUND_HALF_EVEN; in mpd_ieee_context()
167 return ctx->round; in mpd_getround()
226 mpd_qsetround(mpd_context_t *ctx, int round) in mpd_qsetround() argument
228 if (!(0 <= round && round < MPD_ROUND_GUARD)) { in mpd_qsetround()
231 ctx->round = round; in mpd_qsetround()

12345678910>>...59