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

1 2 3 4 5 6 7 8 910

  /external/webkit/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/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...]
  /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 x) { method in class:FastMath
  /cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
HasCoverage.java 28 int diff = Math.round(entity.getCoveragePercentage())
29 - Math.round(otherEntity.getCoveragePercentage());
XmlReport.java 64 + Math.round(pkg.getCoveragePercentage())
76 + Math.round(apiClass.getCoveragePercentage())
  /external/libvpx/vp8/encoder/arm/
quantize_arm.c 32 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);
44 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 367 const UnicodeString &round, // rounding mode
383 if (round=="ceiling") {
385 } else if (round=="floor") {
387 } else if (round=="down") {
389 } else if (round=="up") {
391 } else if (round=="halfeven") {
393 } else if (round=="halfdown") {
395 } else if (round=="halfup") {
397 } else if (round=="default") {
402 lineNum, UnicodeStringPiece(round).data())
    [all...]
  /external/srec/audio/AudioIn/UNIX/include/
filter.h 45 typeAccum round; // used for roundoff member in struct:fir_struct
  /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_inline.h 30 __inline int32 aan_scale(int32 q_value, int32 coeff, int32 round, int32 QPdiv2)
32 q_value = coeff * q_value + round;
83 __inline int32 smlabb(int32 q_value, int32 coeff, int32 round)
85 q_value = coeff * q_value + round;
174 int32 round, int32 QPdiv2)
178 smlabb q_value, coeff, q_value, round
221 __inline int32 smlabb(int32 q_value, int32 coeff, int32 round)
225 smlabb q_value, coeff, q_value, round
269 int32 round, int32 QPdiv2)
273 mla q_value, coeff, q_value, round
    [all...]
dct_inline.h 38 __inline int32 mla392(int32 k0, int32 k14, int32 round)
44 k1 = k0 * 392 + round;
123 __inline int32 mla392(int32 k0, int32 k14, int32 round)
129 smlabt k1, k0, k14, round
187 __inline int32 mla392(int32 k0, int32 k14, int32 round)
194 mla k1, k0, k1, round
285 __inline int32 mla392(int32 k0, int32 k14, int32 round)
290 register int32 cc = (int32)round;
  /libcore/luni/src/main/java/org/apache/xpath/functions/
FuncSubstring.java 70 start = Math.round(start);
77 int end = (int) (Math.round(len) + start) - 1;
  /external/icu4c/i18n/
decContext.c 34 /* round-for-reround digits */
77 context->round=DEC_ROUND_HALF_UP; /* 0.5 rises */
92 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */
103 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */
114 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */
138 return context->round;
197 context->round=newround;
  /frameworks/base/core/java/android/widget/
Scroller.java 213 mCurrX = mStartX + Math.round(x * mDeltaX);
214 mCurrY = mStartY + Math.round(x * mDeltaY);
221 mCurrX = mStartX + Math.round(distance * mCoeffX);
226 mCurrY = mStartY + Math.round(distance * mCoeffY);
335 mFinalX = startX + Math.round(totalDistance * mCoeffX);
340 mFinalY = startY + Math.round(totalDistance * mCoeffY);
  /external/libvpx/vp8/encoder/
quantize.c 28 short *round_ptr = b->round;
75 short *round_ptr = b->round;
151 int round; local
157 round = dq >> 1;
161 x += round;
187 short *round_ptr = b->round;
223 short *round_ptr = b->round;
  /external/srec/audio/AudioIn/UNIX/src/
filter.c 45 /* bRounded = round(b*2^15); */
106 pFIR->round = (1 << (scale-1));
283 accum += pFIR->round;
285 accum -= pFIR->round;
  /external/webkit/WebCore/inspector/front-end/
Color.js 221 h = Math.round(h);
222 s = Math.round(s*100);
223 l = Math.round(l*100);
245 var r = Math.round(hueToRGB(p, q, tr) * 255);
246 var g = Math.round(hueToRGB(p, q, tg) * 255);
247 var b = Math.round(hueToRGB(p, q, tb) * 255);
SummaryBar.js 151 var percents = segments.map(function(s) { return Math.max(Math.round(100 * s.value / total), 1) });
249 var segmentWidth = Math.round(w * percents[i] / 100);
259 ctx.moveTo(x + (i * Math.round(w / 20)) + 0.5, y);
260 ctx.lineTo(x + (i * Math.round(w / 20)) + 0.5, y + h);
267 ctx.moveTo(x + (i * Math.round(w / 20)) + 1.5, y);
268 ctx.lineTo(x + (i * Math.round(w / 20)) + 1.5, y + h);
  /external/chromium/third_party/icu/source/i18n/
digitlst.h 161 * The maximum fraction digits helps us round properly.
234 * Round the representation to the given number of digits.
238 void round(int32_t maximumDigits);

Completed in 1690 milliseconds

1 2 3 4 5 6 7 8 910