Searched refs:rounding (Results 1 - 25 of 41) sorted by relevance

12

/external/chromium_org/ui/base/l10n/
H A Dl10n_util_win_unittest.cc23 float rounding = size < 0 ? -0.5f : 0.5f;
30 lf.lfHeight = static_cast<int>(1.4 * size + rounding);
34 lf.lfHeight = static_cast<int>(1.8 * size + rounding);
/external/chromium_org/third_party/icu/source/i18n/
H A DdecContext.h36 /* round -- must be one of the enumerated rounding modes */
74 enum rounding { enum
91 enum rounding round; /* rounding mode */
252 U_INTERNAL enum rounding U_EXPORT2 uprv_decContextGetRounding(decContext *);
256 U_INTERNAL decContext * U_EXPORT2 uprv_decContextSetRounding(decContext *, enum rounding);
H A DdecContext.c130 /* decContextGetRounding -- return current rounding mode */
133 /* returns the rounding mode */
137 U_CAPI enum rounding U_EXPORT2 uprv_decContextGetRounding(decContext *context) {
187 /* decContextSetRounding -- set current rounding mode */
196 enum rounding newround) {
/external/icu4c/i18n/
H A DdecContext.h37 /* round -- must be one of the enumerated rounding modes */
75 enum rounding { enum
92 enum rounding round; /* rounding mode */
253 U_INTERNAL enum rounding U_EXPORT2 uprv_decContextGetRounding(decContext *);
257 U_INTERNAL decContext * U_EXPORT2 uprv_decContextSetRounding(decContext *, enum rounding);
H A DdecContext.c121 /* decContextGetRounding -- return current rounding mode */
124 /* returns the rounding mode */
128 U_CAPI enum rounding U_EXPORT2 uprv_decContextGetRounding(decContext *context) {
178 /* decContextSetRounding -- set current rounding mode */
187 enum rounding newround) {
/external/arduino/hardware/arduino/cores/arduino/
H A DPrint.cpp197 double rounding = 0.5; local
199 rounding /= 10.0;
201 number += rounding;
/external/valgrind/main/none/tests/ppc32/
H A Dtest_dfp2.stdout.exp3 test with rounding mode 0
20 test with rounding mode 1
37 test with rounding mode 2
54 test with rounding mode 3
71 test with rounding mode 4
88 test with rounding mode 5
105 test with rounding mode 6
122 test with rounding mode 7
140 test with rounding mode 0
157 test with rounding mod
[all...]
H A Dtest_dfp1.stdout.exp378 Test DFP rounding modes
379 test #0: dmul with rounding mode 0: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f5
381 test #0: dmul with rounding mode 1: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f5
383 test #0: dmul with rounding mode 2: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f6
385 test #0: dmul with rounding mode 3: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f5
387 test #0: dmul with rounding mode 4: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f5
389 test #0: dmul with rounding mode 5: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f5
391 test #0: dmul with rounding mode 6: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f6
393 test #0: dmul with rounding mode 7: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f6
395 test #1: dmul with rounding mod
[all...]
/external/valgrind/main/none/tests/ppc64/
H A Dtest_dfp2.stdout.exp3 test with rounding mode 0
20 test with rounding mode 1
37 test with rounding mode 2
54 test with rounding mode 3
71 test with rounding mode 4
88 test with rounding mode 5
105 test with rounding mode 6
122 test with rounding mode 7
140 test with rounding mode 0
157 test with rounding mod
[all...]
H A Dtest_dfp1.stdout.exp378 Test DFP rounding modes
379 test #0: dmul with rounding mode 0: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f5
381 test #0: dmul with rounding mode 1: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f5
383 test #0: dmul with rounding mode 2: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f6
385 test #0: dmul with rounding mode 3: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f5
387 test #0: dmul with rounding mode 4: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f5
389 test #0: dmul with rounding mode 5: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f5
391 test #0: dmul with rounding mode 6: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f6
393 test #0: dmul with rounding mode 7: 26cc3f1f534acdd4 * 27feff197a42ba06 => 4ccf3810908e09f6
395 test #1: dmul with rounding mod
[all...]
/external/libyuv/files/unit_test/
H A Dscale_test.cc22 FilterMode f, int rounding, int benchmark_iterations) {
23 const int b = 128 * rounding;
24 int src_width_uv = (src_width + rounding) >> 1;
25 int src_height_uv = (src_height + rounding) >> 1;
37 int dst_width_uv = (dst_width + rounding) >> 1;
38 int dst_height_uv = (dst_height + rounding) >> 1;
122 // operations may introduce rounding somewhere. So do a difference
20 TestFilter(int src_width, int src_height, int dst_width, int dst_height, FilterMode f, int rounding, int benchmark_iterations) argument
/external/libvpx/libvpx/vp9/common/x86/
H A Dvp9_idct_intrin_sse2.c35 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local
59 input0 = _mm_add_epi32(input0, rounding);
60 input1 = _mm_add_epi32(input1, rounding);
61 input2 = _mm_add_epi32(input2, rounding);
62 input3 = _mm_add_epi32(input3, rounding);
98 input0 = _mm_add_epi32(input0, rounding);
99 input1 = _mm_add_epi32(input1, rounding);
100 input2 = _mm_add_epi32(input2, rounding);
101 input3 = _mm_add_epi32(input3, rounding);
401 tmp0 = _mm_add_epi32(tmp0, rounding); \
506 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local
624 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local
962 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local
1240 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local
2434 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local
3130 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local
3489 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local
[all...]
H A Dvp9_subpixel_8t_sse2.asm77 paddsw xmm0, krd ;rounding
124 movdqa krd, xmm6 ;rounding
169 paddsw xmm0, krd ;rounding
/external/chromium/base/third_party/dmg_fp/
H A Ddtoa.cc24 * necessary to specify double-precision (53-bit) rounding precision
39 * biased rounding (add half and chop).
76 * is also #defined, fegetround() will be queried for the rounding mode.
87 * #define ROUND_BIASED for IEEE-format with biased rounding.
485 BCinfo { int dp0, dp1, dplen, dsign, e0, inexact, nd, nd0, rounding, scale, uflchk; }; member in struct:dmg_fp::BCinfo
1693 enum { /* rounding values: same as FLT_ROUNDS */
1733 gethex(sp, rvp, rounding, sign)
1734 CONST char **sp; U *rvp; int rounding, sign; member in namespace:dmg_fp
1736 gethex( CONST char **sp, U *rvp, int rounding, int sign)
1869 switch(rounding) {
[all...]
/external/chromium_org/base/third_party/dmg_fp/
H A Ddtoa.cc24 * necessary to specify double-precision (53-bit) rounding precision
39 * biased rounding (add half and chop).
76 * is also #defined, fegetround() will be queried for the rounding mode.
87 * #define ROUND_BIASED for IEEE-format with biased rounding.
485 BCinfo { int dp0, dp1, dplen, dsign, e0, inexact, nd, nd0, rounding, scale, uflchk; }; member in struct:dmg_fp::BCinfo
1693 enum { /* rounding values: same as FLT_ROUNDS */
1733 gethex(sp, rvp, rounding, sign)
1734 CONST char **sp; U *rvp; int rounding, sign; member in namespace:dmg_fp
1736 gethex( CONST char **sp, U *rvp, int rounding, int sign)
1869 switch(rounding) {
[all...]
/external/webrtc/src/common_audio/signal_processing/
H A Dspl_sqrt_floor.s85 bic r0, r2, #3 << 30 @ for rounding add: cmp r0, r2 adc r2, #1
/external/libvpx/libvpx/vp8/common/ppc/
H A Dfilter_bilinear_altivec.asm51 ;# rounding added in on the multiply
66 ;# v18 rounding
446 ;# v18 rounding
H A Dvariance_subpixel_altivec.asm54 ;# rounding added in on the multiply
69 ;# v18 rounding
549 ;# v18 rounding
H A Dfilter_altivec.asm216 ;# rounding added in on the multiply
406 ;# rounding added in on the multiply
578 ;# rounding added in on the multiply
831 ;# rounding added in on the multiply
/external/libvorbis/doc/
H A D09-helper.tex131 rounding division of both positive and negative numbers toward zero.
/external/libvpx/libvpx/vp8/common/arm/neon/
H A Dshortidct4x4llm_neon.asm31 ; static const int rounding = 0;
H A Didct_dequant_full_2x_neon.asm145 ; +4 >> 3 (rounding)
/external/libvpx/libvpx/vp8/encoder/x86/
H A Dtemporal_filter_apply_sse2.asm49 ; calculate the rounding bit outside the loop
/external/libvpx/libvpx/vp9/encoder/x86/
H A Dvp9_temporal_filter_apply_sse2.asm49 ; calculate the rounding bit outside the loop
/external/libvpx/libvpx/vp8/encoder/
H A Dquantize.c158 /* Perform regular quantization, with unbiased rounding and no zero bin. */
187 int rounding; local
193 rounding = dq >> 1;
197 x += rounding;

Completed in 679 milliseconds

12