/external/skia/bench/ |
H A D | bench_util.py | 107 x = int(round(0.5 * self._len + 0.5)) 109 x = int(round(0.25 * self._len + 0.5))
|
/external/valgrind/none/tests/s390x/ |
H A D | pfpo.c | 29 #define PFPO(initial, src_type, dst_type, fn_code, round, ret_code, cc) \ 33 register unsigned long fn asm("0") = fn_code | (round & 0xf); \ 84 printf("f32 -> d32: round=%x ", i); 94 printf("f32 -> d64: round=%x ", i); 104 printf("f32 -> d128: round=%x ", i); 114 printf("f64 -> d32: round=%x ", i); 124 printf("f64 -> d64: round=%x ", i); 134 printf("f64 -> d128: round=%x ", i); 144 printf("f128 -> d32: round=%x ", i); 154 printf("f128 -> d6: round [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
H A D | MathUtils.java | 1459 * @param x the value to round. 1464 public static double round(double x, int scale) { method in class:MathUtils 1465 return round(x, scale, BigDecimal.ROUND_HALF_UP); 1473 * @param x the value to round. 1480 public static double round(double x, int scale, int roundingMethod) { method in class:MathUtils 1499 * @param x the value to round. 1504 public static float round(float x, int scale) { method in class:MathUtils 1505 return round(x, scale, BigDecimal.ROUND_HALF_UP); 1513 * @param x the value to round. 1520 public static float round(floa method in class:MathUtils [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
H A D | Dfp.java | 527 round((striped[q] - '0')*1000); 673 /* Note that shiftRight() does not call round() as that round() itself 688 * Align doesn't round, so it will return the last digit destroyed 911 /** Round to nearest integer using the round-half-even method. 912 * That is round to nearest integer unless both are equidistant. 913 * In which case round to the even one. 920 /** Round to an integer using the round floor mode. 921 * That is, round toward -Infinity 928 /** Round to an integer using the round cei 1330 protected int round(int n) { method in class:Dfp [all...] |
/external/iproute2/ip/ |
H A D | ipaddress.c | 877 int round = 0; local 884 while ((max_flush_loops == 0) || (round < max_flush_loops)) { 911 if (round == 0) 914 printf("*** Flush is complete after %d round%s ***\n", round, round>1?"s":""); 919 round++; 924 printf("\n*** Round %d, deleting %d addresses ***\n", round, filter.flushed); 929 * want to flush only a single round. Otherwise, we'll
|
/external/bison/darwin-lib/ |
H A D | math.h | 2088 # undef round 2089 # define round rpl_round 2091 _GL_FUNCDECL_RPL (round, double, (double x)); 2092 _GL_CXXALIAS_RPL (round, double, (double x)); 2095 _GL_FUNCDECL_SYS (round, double, (double x)); 2097 _GL_CXXALIAS_SYS (round, double, (double x)); 2099 _GL_CXXALIASWARN (round); 2101 # undef round macro 2103 _GL_WARN_ON_USE (round, "round i [all...] |
/external/bison/lib/ |
H A D | math.in.h | 1776 # undef round macro 1777 # define round rpl_round macro 1779 _GL_FUNCDECL_RPL (round, double, (double x)); 1780 _GL_CXXALIAS_RPL (round, double, (double x)); 1783 _GL_FUNCDECL_SYS (round, double, (double x)); 1785 _GL_CXXALIAS_SYS (round, double, (double x)); 1787 _GL_CXXALIASWARN (round); variable 1789 # undef round macro 1791 _GL_WARN_ON_USE (round, "round i [all...] |
/external/bison/linux-lib/ |
H A D | math.h | 2088 # undef round 2089 # define round rpl_round 2091 _GL_FUNCDECL_RPL (round, double, (double x)); 2092 _GL_CXXALIAS_RPL (round, double, (double x)); 2095 _GL_FUNCDECL_SYS (round, double, (double x)); 2097 _GL_CXXALIAS_SYS (round, double, (double x)); 2099 _GL_CXXALIASWARN (round); 2101 # undef round macro 2103 _GL_WARN_ON_USE (round, "round i [all...] |
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
H A D | TextureHelper.java | 372 int r = Math.round(255 * (x + 1f) / 2f);
373 int g = Math.round(255 * (y + 1f) / 2f);
374 int b = Math.round(255 * (z + 1f) / 2f);
|
/external/clang/test/CodeGen/ |
H A D | libcall-declarations.c | 151 double round(double); 292 F(rintl), F(round), F(roundf), F(roundl), F(scalbln), 450 // CHECK-NOERRNO: declare double @round(double) [[NUW]] 563 // CHECK-ERRNO: declare double @round(double) [[NUW]]
|
/external/glide/library/src/main/java/com/bumptech/glide/request/ |
H A D | GenericRequest.java | 406 width = Math.round(sizeMultiplier * width); 407 height = Math.round(sizeMultiplier * height);
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
H A D | TerrainGrid.java | 292 gridOffset[0] = Math.round(camCell.x * (size / 2)); 293 gridOffset[1] = Math.round(camCell.z * (size / 2));
|
/external/libvpx/libvpx/test/ |
H A D | dct32x32_test.cc | 33 static int round(double x) { function in namespace:__anon9387 179 << "Error: 32x32 FDCT/IDCT has an individual round-trip error > 1"; 182 << "Error: 32x32 FDCT/IDCT has average round-trip error > 1 per block"; 289 coeff[j] = static_cast<tran_low_t>(round(out_r[j]));
|
/external/libvpx/libvpx/vp8/common/x86/ |
H A D | subpixel_ssse3.asm | 942 paddw xmm3, [GLOBAL(rd)] ; xmm3 += round value 945 paddw xmm4, [GLOBAL(rd)] ; xmm4 += round value 966 paddw xmm6, [GLOBAL(rd)] ; xmm6 += round value 969 paddw xmm4, [GLOBAL(rd)] ; xmm4 += round value 981 paddw xmm5, [GLOBAL(rd)] ; xmm5 += round value 984 paddw xmm7, [GLOBAL(rd)] ; xmm7 += round value 1226 paddw xmm3, [GLOBAL(rd)] ; xmm3 += round value 1243 paddw xmm6, [GLOBAL(rd)] ; xmm6 += round value 1251 paddw xmm7, [GLOBAL(rd)] ; xmm7 += round value
|
H A D | mfqe_sse2.asm | 67 ; sum, round and shift 138 ; sum, round and shift
|
H A D | subpixel_sse2.asm | 1035 paddw xmm3, [GLOBAL(rd)] ; xmm3 += round value 1076 paddw xmm3, [GLOBAL(rd)] ; xmm3 += round value 1091 paddw xmm3, [GLOBAL(rd)] ; xmm3 += round value 1156 paddw xmm3, [GLOBAL(rd)] ; xmm3 += round value 1200 paddw xmm3, [GLOBAL(rd)] ; xmm3 += round value 1316 paddw xmm3, [GLOBAL(rd)] ; xmm3 += round value 1335 paddw xmm3, [GLOBAL(rd)] ; xmm3 += round value 1345 paddw xmm3, [GLOBAL(rd)] ; xmm3 += round value
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
H A D | entropy_coding.c | 177 WebRtc_Word16 round, shftVal = 0, sh; local 188 round = 32; 192 round = 256; 201 CorrQ11[k] = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(sum, tmpGain) + round, shftVal); 249 WebRtc_Word16 round, shftVal = 0, sh; local 261 round = 32; 265 round = 256; 274 CorrQ11[k] = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL(sum, tmpGain) + round, shftVal);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/ |
H A D | LruBitmapPool.java | 59 maxSize = Math.round(initialMaxSize * sizeMultiplier);
|
/external/guava/guava/src/com/google/common/hash/ |
H A D | BloomFilter.java | 366 return Math.max(1, (int) Math.round(m / n * Math.log(2)));
|
/external/jmonkeyengine/engine/src/android/jme3tools/android/ |
H A D | Fixed.java | 135 * Value to add in order to round down a fixed point number when 392 * Math.round()</code> in the standard library. 394 public static int round(int n) { method in class:Fixed
|
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/ |
H A D | BulletAppState.java | 110 executor.schedule(detachedPhysicsUpdate, Math.round(getPhysicsSpace().getAccuracy() * 1000000.0f) - (update * 1000), TimeUnit.MICROSECONDS);
|
/external/libvpx/libvpx/vp9/common/x86/ |
H A D | vp9_mfqe_sse2.asm | 68 ; sum, round and shift 139 ; sum, round and shift
|
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_aq_variance.c | 206 return clamp((int)round(energy), ENERGY_MIN, ENERGY_MAX);
|
/external/llvm/include/llvm/Analysis/ |
H A D | TargetLibraryInfo.h | 243 case LibFunc::round: case LibFunc::roundf: case LibFunc::roundl:
|
/external/llvm/test/MC/Mips/mips2/ |
H A D | invalid-mips3.s | 50 round.l.d $f12,$f1 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled 51 round.l.s $f25,$f5 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
|