/external/chromium_org/ui/base/l10n/ |
l10n_util_win_unittest.cc | 23 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);
|
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/ |
strtord.c | 76 strtord(s, sp, rounding, d) CONST char *s; char **sp; int rounding; double *d; 78 strtord(CONST char *s, char **sp, int rounding, double *d) 88 if (rounding != FPI_Round_near) { 90 fpi1.rounding = rounding;
|
strtorQ.c | 100 strtorQ(s, sp, rounding, L) CONST char *s; char **sp; int rounding; void *L; 102 strtorQ(CONST char *s, char **sp, int rounding, void *L) 112 if (rounding != FPI_Round_near) { 114 fpi1.rounding = rounding;
|
gdtoa_fltrnds.h | 2 int Rounding; 4 Rounding = Flt_Rounds; 6 Rounding = 1; 8 case FE_TOWARDZERO: Rounding = 0; break; 9 case FE_UPWARD: Rounding = 2; break; 10 case FE_DOWNWARD: Rounding = 3; 14 if (Rounding != 1) { 17 fpi1.rounding = Rounding;
|
ldtoa.c | 56 FLT_ROUNDS, /* rounding */ 71 * if the number is negative, we need to swap rounding modes of 75 fpi.rounding ^= (fpi.rounding >> 1) & p->ext_sign;
|
gethex.c | 157 switch(fpi->rounding) { 176 switch(fpi->rounding) { 277 switch (fpi->rounding) { 320 switch(fpi->rounding) {
|
/external/chromium_org/third_party/libwebp/dsp/ |
yuv.h | 155 // Rounding diff is only +/-1 though. 272 // Stub functions that can be called with various rounding values: 273 static WEBP_INLINE int VP8ClipUV(int uv, int rounding) { 274 uv = (uv + rounding + (128 << (YUV_FIX + 2))) >> (YUV_FIX + 2); 280 static WEBP_INLINE int VP8RGBToY(int r, int g, int b, int rounding) { 282 return (luma + rounding + (16 << YUV_FIX)) >> YUV_FIX; // no need to clip 285 static WEBP_INLINE int VP8RGBToU(int r, int g, int b, int rounding) { 287 return VP8ClipUV(u, rounding); 290 static WEBP_INLINE int VP8RGBToV(int r, int g, int b, int rounding) { 292 return VP8ClipUV(v, rounding); [all...] |
/development/ndk/sources/android/libportable/arch-mips64/ |
fenv.c | 43 int rounding = flags & 0x03; local 45 // rounding flags 46 switch(rounding) 84 int rounding = mips64flags & _FCSR_RMASK; local 86 // rounding flags 87 switch(rounding)
|
/development/ndk/sources/android/libportable/arch-x86/ |
fenv.c | 48 int rounding = flags & 0x03; local 50 // rounding flags 51 switch(rounding) 91 int rounding = x86flags & _ROUND_MASK; local 93 // rounding flags 94 switch(rounding)
|
/development/ndk/sources/android/libportable/arch-mips/ |
fenv.c | 45 int rounding = flags & 0x03; local 47 // rounding flags 48 switch(rounding) 88 int rounding = mipsflags & _FCSR_RMASK; local 90 // rounding flags 91 switch(rounding)
|
/development/ndk/sources/android/libportable/arch-x86_64/ |
fenv.c | 54 int rounding = flag & 0x03; local 56 switch(rounding) { 98 int rounding = x86_64flag & _ROUND_MASK; local 100 switch(rounding) {
|
/external/chromium_org/third_party/icu/source/i18n/ |
decContext.h | 37 /* 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);
|
/external/chromium_org/v8/test/mjsunit/ |
number-literal.js | 32 test('rounding-down', '1.12512512512512452', '1.1251251251251244'); 33 test('rounding-up', '1.12512512512512453', '1.1251251251251246');
|
/external/icu/icu4c/source/i18n/ |
decContext.h | 37 /* 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);
|
/external/libhevc/common/arm/ |
ihevc_itrans_recon_4x4_ttype1.s | 162 vqrshrn.s32 d14,q3,#shift_stage1_idct @ (pi2_out[0] + rounding ) >> shift_stage1_idct 163 vqrshrn.s32 d15,q4,#shift_stage1_idct @ (pi2_out[1] + rounding ) >> shift_stage1_idct 164 vqrshrn.s32 d16,q5,#shift_stage1_idct @ (pi2_out[2] + rounding ) >> shift_stage1_idct 165 vqrshrn.s32 d17,q6,#shift_stage1_idct @ (pi2_out[3] + rounding ) >> shift_stage1_idct 202 vqrshrn.s32 d0,q3,#shift_stage2_idct @ (pi2_out[0] + rounding ) >> shift_stage1_idct 203 vqrshrn.s32 d1,q4,#shift_stage2_idct @ (pi2_out[1] + rounding ) >> shift_stage1_idct 204 vqrshrn.s32 d2,q5,#shift_stage2_idct @ (pi2_out[2] + rounding ) >> shift_stage1_idct 205 vqrshrn.s32 d3,q6,#shift_stage2_idct @ (pi2_out[3] + rounding ) >> shift_stage1_idct
|
ihevc_inter_pred_chroma_vert_w16inp.s | 155 vqrshrun.s16 d0,q0,#6 @rounding shift 156 vqrshrun.s16 d30,q15,#6 @rounding shift 213 vqrshrun.s16 d30,q15,#6 @rounding shift 228 vqrshrun.s16 d28,q14,#6 @rounding shift 241 vqrshrun.s16 d26,q13,#6 @rounding shift 253 vqrshrun.s16 d24,q12,#6 @rounding shift 266 vqrshrun.s16 d30,q15,#6 @rounding shift 280 vqrshrun.s16 d28,q14,#6 @rounding shift 295 vqrshrun.s16 d26,q13,#6 @rounding shift 305 vqrshrun.s16 d24,q12,#6 @rounding shif [all...] |
/external/arduino/hardware/arduino/cores/arduino/ |
Print.cpp | 197 double rounding = 0.5; local 199 rounding /= 10.0; 201 number += rounding;
|
/external/libyuv/files/unit_test/ |
scale_test.cc | 22 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
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/x86/ |
vp9_idct_intrin_ssse3.c | 388 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 439 tmp1 = _mm_add_epi32(tmp1, rounding); 440 tmp3 = _mm_add_epi32(tmp3, rounding); 441 tmp2 = _mm_add_epi32(tmp2, rounding); 442 tmp4 = _mm_add_epi32(tmp4, rounding); 532 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 596 tmp0 = _mm_add_epi32(tmp0, rounding); 597 tmp1 = _mm_add_epi32(tmp1, rounding); 598 tmp2 = _mm_add_epi32(tmp2, rounding); 599 tmp3 = _mm_add_epi32(tmp3, rounding); [all...] |
vp9_idct_intrin_sse2.c | 30 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 54 input0 = _mm_add_epi32(input0, rounding); 55 input1 = _mm_add_epi32(input1, rounding); 56 input2 = _mm_add_epi32(input2, rounding); 57 input3 = _mm_add_epi32(input3, rounding); 93 input0 = _mm_add_epi32(input0, rounding); 94 input1 = _mm_add_epi32(input1, rounding); 95 input2 = _mm_add_epi32(input2, rounding); 96 input3 = _mm_add_epi32(input3, rounding); 399 tmp0 = _mm_add_epi32(tmp0, rounding); \ 518 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 607 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 929 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 1306 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 2368 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 3289 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 3574 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local [all...] |
vp9_subpixel_bilinear_sse2.asm | 25 movq xmm3, rcx ;rounding 45 paddsw xmm0, xmm3 ;rounding 73 movq xmm4, rcx ;rounding 90 paddsw xmm0, xmm4 ;rounding 118 paddsw xmm0, xmm4 ;rounding
|
vp9_subpixel_bilinear_ssse3.asm | 24 movq xmm2, rcx ;rounding 36 paddsw xmm0, xmm2 ;rounding 62 movq xmm6, rcx ;rounding 74 paddsw xmm0, xmm6 ;rounding 95 paddsw xmm0, xmm6 ;rounding
|
/external/libvpx/libvpx/vp9/common/x86/ |
vp9_idct_intrin_sse2.c | 35 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); 413 tmp0 = _mm_add_epi32(tmp0, rounding); \ 542 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 678 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 1000 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 1377 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 2532 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 3453 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local 3738 const __m128i rounding = _mm_set1_epi32(DCT_CONST_ROUNDING); local [all...] |
vp9_subpixel_bilinear_sse2.asm | 25 movq xmm3, rcx ;rounding 45 paddsw xmm0, xmm3 ;rounding 73 movq xmm4, rcx ;rounding 90 paddsw xmm0, xmm4 ;rounding 118 paddsw xmm0, xmm4 ;rounding
|
vp9_subpixel_bilinear_ssse3.asm | 24 movq xmm2, rcx ;rounding 36 paddsw xmm0, xmm2 ;rounding 62 movq xmm6, rcx ;rounding 74 paddsw xmm0, xmm6 ;rounding 95 paddsw xmm0, xmm6 ;rounding
|