/bionic/libm/src/ |
s_round.c | 33 round(double x) function
|
/frameworks/base/core/java/com/android/internal/util/ |
FastMath.java | 25 * Fast round from float to int. This is faster than Math.round() 29 public static int round(float x) { method in class:FastMath
|
/external/v8/tools/ |
generate-ten-powers.scm | 56 (define (round-n-cut n e nb-bits) 58 (define (round n) 59 (case *round* 63 ;; with the -1 it will only round up if the cut off part is 68 ((round) 73 (cut (bit-rshbx (round n) shift)) 77 (round-n-cut n (+fx e 1) nb-bits)))) 80 (case *round* 83 ((round) (let ((tmp (/bx (*bx #z2 x) y))) 126 (round-n-cut n e nb-bits [all...] |
/frameworks/base/graphics/java/android/graphics/ |
RectF.java | 417 public void round(Rect dst) { method in class:RectF 418 dst.set(FastMath.round(left), FastMath.round(top), 419 FastMath.round(right), FastMath.round(bottom));
|
/external/srec/audio/AudioIn/UNIX/include/ |
filter.h | 45 typeAccum round; // used for roundoff member in struct:fir_struct
|
/external/libvpx/vp8/encoder/ |
quantize.c | 28 short *round_ptr = b->round; 74 short *round_ptr = b->round; 113 short *round_ptr = b->round; 186 int round; local 192 round = dq >> 1; 196 x += round; 225 short *round_ptr = b->round;
|
block.h | 40 short *round; member in struct:__anon7720
|
/hardware/invensense/mlsdk/platform/include/ |
mlmath.h | 34 #define round(x)(((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro 70 #define round(x) (((double)((long long)((x)>0?(x)+.5:(x)-.5)))) macro
|
/external/bouncycastle/src/main/java/org/bouncycastle/math/ec/ |
SimpleBigDecimal.java | 159 public BigInteger round() method in class:SimpleBigDecimal
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
ImageAndroid.cpp | 158 static void round(SkIRect* dst, const WebCore::FloatRect& src) function in namespace:WebCore 284 round(&srcR, srcRect);
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/ |
dct.cpp | 42 Int round; local 53 round = 1 << (FDCT_SHIFT - 1); 118 k1 = mla724(k12, k5, round); 119 k0 = mla724(k12, k2, round); 136 k1 = mla392(k0, k14, round); 213 k1 = mla724(k12, k5, round); 214 k0 = mla724(k12, k2, round); 231 k1 = mla392(k0, k14, round); 271 Int round; local 282 round = 1 << (FDCT_SHIFT - 1) 477 Int round; local 656 Int round; local 867 Int round; local 1054 Int round; local [all...] |
fastquant.cpp | 159 Int round = 1 << 15; local 224 coeff = aan_scale(q_value, coeff, round, QPdiv2); 278 Int round = 1 << 15; local 326 q_value = round + (coeff << 12); 383 q_value = smlabb(q_value, coeff, round); 553 Int round = 1 << 15; local 583 q_value = smlabb(q_value, coeff, round); 682 Int round = 1 << 15; local 708 q_value = round + (coeff << 12); 754 /* q_value = coeff*q_value + round */ [all...] |
/external/dropbear/libtomcrypt/src/ciphers/safer/ |
safer.c | 258 unsigned int round; local 268 if (SAFER_MAX_NOF_ROUNDS < (round = *key)) round = SAFER_MAX_NOF_ROUNDS; 269 while(round-- > 0) 312 unsigned int round; local 322 if (SAFER_MAX_NOF_ROUNDS < (round = *key)) round = SAFER_MAX_NOF_ROUNDS; 323 key += SAFER_BLOCK_LEN * (1 + 2 * round); 326 while (round--)
|
/external/iproute2/ip/ |
ipneigh.c | 382 int round = 0; local 390 while (round < MAX_ROUNDS) { 402 if (round == 0) 405 printf("*** Flush is complete after %d round%s ***\n", round, round>1?"s":""); 410 round++; 414 printf("\n*** Round %d, deleting %d entries ***\n", round, filter.flushed);
|
/external/qemu/ |
d3des.c | 325 register int round; local 347 for( round = 0; round < 8; round++ ) {
|
/external/webkit/Source/JavaScriptCore/wtf/ |
MathExtras.h | 112 static double round(double num) function 126 inline long long llround(double num) { return static_cast<long long>(round(num)); } 128 inline long lround(double num) { return static_cast<long>(round(num)); }
|
/frameworks/base/core/java/android/widget/ |
RatingBar.java | 112 // than 1 so boundaries round up). 191 setProgress(Math.round(rating * getProgressPerStar()));
|
/frameworks/base/core/tests/coretests/src/android/text/ |
StaticLayoutDirectionsTest.java | 129 b.setWidth(Math.round(width));
|
/libcore/luni/src/main/java/java/lang/ |
Math.java | 368 * 754 rules. The result is {@code x-round(x/p)*p} where {@code round(x/p)} 723 * <li>{@code round(+0.0) = +0.0}</li> 724 * <li>{@code round(-0.0) = +0.0}</li> 725 * <li>{@code round((anything > Long.MAX_VALUE) = Long.MAX_VALUE}</li> 726 * <li>{@code round((anything < Long.MIN_VALUE) = Long.MIN_VALUE}</li> 727 * <li>{@code round(+infinity) = Long.MAX_VALUE}</li> 728 * <li>{@code round(-infinity) = Long.MIN_VALUE}</li> 729 * <li>{@code round(NaN) = +0.0}</li> 736 public static long round(double d) method in class:Math 763 public static int round(float f) { method in class:Math [all...] |
StrictMath.java | 373 * 754 rules. The result is {@code x-round(x/p)*p} where {@code round(x/p)} 724 * <li>{@code round(+0.0) = +0.0}</li> 725 * <li>{@code round(-0.0) = +0.0}</li> 726 * <li>{@code round((anything > Long.MAX_VALUE) = Long.MAX_VALUE}</li> 727 * <li>{@code round((anything < Long.MIN_VALUE) = Long.MIN_VALUE}</li> 728 * <li>{@code round(+infinity) = Long.MAX_VALUE}</li> 729 * <li>{@code round(-infinity) = Long.MIN_VALUE}</li> 730 * <li>{@code round(NaN) = +0.0}</li> 737 public static long round(double d) method in class:StrictMath 760 public static int round(float f) { method in class:StrictMath [all...] |
HexStringParser.java | 217 round(); method 226 round(); method 256 private void round() { method in class:HexStringParser
|
/packages/apps/Camera/src/com/android/camera/ui/ |
FaceView.java | 138 mFaceIndicator.setBounds(Math.round(mRect.left), Math.round(mRect.top), 139 Math.round(mRect.right), Math.round(mRect.bottom));
|
/external/skia/tests/ |
MathTest.cpp | 125 assert_float_equal(reporter, "round", x, ix, iix); 175 // round (down) large ints the same as IEEE... 223 int round = (int)floorf(s + 0.5f); local 229 REPORTER_ASSERT(reporter, iround == round);
|
/prebuilt/darwin-x86/toolchain/arm-eabi-4.3.1/lib/gcc/arm-eabi/4.3.1/include/ |
tgmath.h | 160 #define round(x) __TGMATH_REAL(x, round) macro
|
/prebuilt/darwin-x86/toolchain/arm-eabi-4.4.0/lib/gcc/arm-eabi/4.4.0/include/ |
tgmath.h | 157 #define round(x) __TGMATH_REAL(x, round) macro
|