HomeSort by relevance Sort by last modified time
    Searched refs:round (Results 1 - 25 of 484) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/
15.8.2.15.js 24 ECMA Section: 15.8.2.15 Math.round(x)
39 Math.round( 3.5 ) == 4
40 Math.round( -3.5 ) == 3
42 - Math.round(x) == Math.floor( x + 0.5 )
43 except if x = -0. in that case, Math.round(x) = -0
55 var TITLE = "Math.round(x)";
69 array[item++] = new TestCase( SECTION, "Math.round.length", 1, Math.round.length );
71 array[item++] = new TestCase( SECTION, "Math.round()", Number.NaN, Math.round() );
    [all...]
  /external/webkit/Source/WebCore/platform/mac/
ThreadCheck.mm 65 void setDefaultThreadViolationBehavior(ThreadViolationBehavior behavior, ThreadViolationRound round)
67 ASSERT(round < MaximumThreadViolationRound);
68 if (round >= MaximumThreadViolationRound)
73 threadViolationBehavior[round] = behavior;
76 void reportThreadViolation(const char* function, ThreadViolationRound round)
78 ASSERT(round < MaximumThreadViolationRound);
79 if (round >= MaximumThreadViolationRound)
83 if (threadViolationBehavior[round] == NoThreadCheck)
87 WebCoreReportThreadViolation(function, round);
93 void WebCoreReportThreadViolation(const char* function, WebCore::ThreadViolationRound round)
    [all...]
  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/util/
FormatUtils.java 40 sizeStr = String.format("%d KiB", Math.round(size / 1024.0));
43 Math.round(10.0 * size / (1024 * 1024.0))/ 10.0);
46 Math.round(10.0 * size / (1024 * 1024 * 1024.0))/ 10.0);
  /bionic/libm/src/
s_llround.c 5 #define roundit round
s_round.c 33 round(double x) function
s_lround.c 35 #define roundit round
  /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 value) { method in class:FastMath
  /external/compiler-rt/lib/
floatunsisf.c 11 // compiler-rt library in the IEEE-754 default round-to-nearest, ties-to-even
41 rep_t round = (rep_t)a << (typeWidth - shift); local
42 if (round > signBit) result++;
43 if (round == signBit) result += result & 1;
floatsisf.c 11 // compiler-rt library in the IEEE-754 default round-to-nearest, ties-to-even
49 rep_t round = (rep_t)a << (typeWidth - shift); local
50 if (round > signBit) result++;
51 if (round == signBit) result += result & 1;
  /packages/apps/Camera/src/com/android/camera/
SwitchAnimManager.java 84 int previewX = Math.round(centerX - previewWidth / 2);
85 int previewY = Math.round(centerY - previewHeight / 2);
104 int reviewX = Math.round(centerX - reviewWidth / 2);
105 int reviewY = Math.round(centerY - reviewHeight / 2);
110 preview.directDraw(canvas, previewX, previewY, Math.round(previewWidth),
111 Math.round(previewHeight));
115 review.draw(canvas, reviewX, reviewY, Math.round(reviewWidth),
116 Math.round(reviewHeight));
134 int reviewX = Math.round(centerX - reviewWidth / 2);
135 int reviewY = Math.round(centerY - reviewHeight / 2)
    [all...]
Thumbnail.java 62 int w = Math.round(scale * width);
63 int h = Math.round(scale * height);
  /external/jmonkeyengine/engine/src/desktop/jme3tools/navigation/
NumUtil.java 24 public float Round(float Rval, int Rpl) {
27 float tmp = Math.round(Rval);
  /cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
HasCoverage.java 28 int diff = Math.round(entity.getCoveragePercentage())
29 - Math.round(otherEntity.getCoveragePercentage());
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
FlingScroller.java 69 return (int)Math.round(mCurrV * mCosAngle);
73 return (int)Math.round(mCurrV * mSinAngle);
96 mDuration = (int)Math.round(FLING_DURATION_PARAM
100 mDistance = (int)Math.round(
117 int r = (int) Math.round(mStartX + f * mDistance * mCosAngle);
127 int r = (int) Math.round(mStartY + f * mDistance * mSinAngle);
  /external/webkit/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/
transition-property-names.js 2 'This test checks that CSS property names work round trip in the transition property.'
  /external/libvpx/vp8/encoder/arm/
quantize_arm.c 31 d->eob = vp8_fast_quantize_b_neon_func(b->coeff, b->zbin, d->qcoeff, d->dqcoeff, d->dequant, vp8_rvsplus1_default_zig_zag1d, b->round, b->quant_fast);
43 short *round_ptr = &b->Round[0][0];
  /libcore/luni/src/test/java/libcore/java/math/
OldBigDecimalArithmeticTest.java 36 a.round(mc).toString());
38 b.round(mc).toString());
40 a.round(mc).add(b.round(mc)).toString());
61 a.round(mc).subtract(b.round(mc)).toString());
83 res = a.round(mc).multiply(b.round(mc));
85 res = res.round(mc);
131 a.round(mc).pow(1000).round(mc).toString())
    [all...]
  /frameworks/base/services/java/com/android/server/
TwilightCalculator.java 86 float n = Math.round(daysSince2000 - J0 - arcLongitude);
113 mSunset = Math.round((solarTransitJ2000 + hourAngle) * DateUtils.DAY_IN_MILLIS) + UTC_2000;
114 mSunrise = Math.round((solarTransitJ2000 - hourAngle) * DateUtils.DAY_IN_MILLIS) + UTC_2000;
  /external/icu4c/test/intltest/
dcfmtest.h 46 const UnicodeString &round,
dcfmtest.cpp 368 const UnicodeString &round, // rounding mode
384 if (round=="ceiling") {
386 } else if (round=="floor") {
388 } else if (round=="down") {
390 } else if (round=="up") {
392 } else if (round=="halfeven") {
394 } else if (round=="halfdown") {
396 } else if (round=="halfup") {
398 } else if (round=="default") {
400 } else if (round=="unnecessary")
    [all...]
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
HillHeightMap.java 172 int xMin = Math.round(x - radius - 1);
173 int xMax = Math.round(x + radius + 1);
175 int yMin = Math.round(y - radius - 1);
176 int yMax = Math.round(y + radius + 1);
  /external/srec/audio/AudioIn/UNIX/include/
filter.h 45 typeAccum round; // used for roundoff member in struct:fir_struct
  /frameworks/av/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...]
  /external/openssl/crypto/aes/asm/
vpaes-x86.pl 57 my ($round, $base, $magic, $key, $const, $inp, $out)=
135 ## Round function constants
182 &mov ($round,&DWP(240,$key));
200 # middle of middle round
224 &sub ($round,1); # nr--
227 # top of round
250 # middle of last round
268 &mov ($round,&DWP(240,$key));
273 &mov ($magic,$round);
300 &add ($key,16); # next round ke
    [all...]
  /external/apache-xml/src/main/java/org/apache/xpath/functions/
FuncSubstring.java 70 start = Math.round(start);
77 int end = (int) (Math.round(len) + start) - 1;

Completed in 692 milliseconds

1 2 3 4 5 6 7 8 91011>>