/external/chromium_org/third_party/WebKit/Source/core/xml/ |
XPathFunctions.cpp | 228 static double round(double); 505 long pos = static_cast<long>(FunRound::round(doublePos)); 512 len = static_cast<long>(FunRound::round(doubleLen)); 657 double FunRound::round(double val) function in class:WebCore::XPath::FunRound 670 return round(arg(0)->evaluate().toNumber()); 698 { "round", { &createFunRound, 1 } },
|
/external/llvm/lib/CodeGen/ |
RegAllocPBQP.cpp | 78 cl::desc("Dump graphs for each function/round in the compilation unit."), 512 // We need another round if spill intervals were added. 583 unsigned round = 0; local 586 DEBUG(dbgs() << " PBQP Regalloc round " << round << ":\n"); 594 rs << round; local 598 DEBUG(dbgs() << "Dumping graph for round " << round << " to \"" 610 ++round;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
DynamicGrid.java | 142 numRows = Math.round(invDistWeightedInterpolate(minWidth, minHeight, points)); 148 numColumns = Math.round(invDistWeightedInterpolate(minWidth, minHeight, points)); 170 numHotseatIcons = Math.round(invDistWeightedInterpolate(minWidth, minHeight, points)); 494 return (int) Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 498 return (int) Math.round(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP,
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
Util.java | 109 return Math.round(sPixelDensity * dp); 173 * request is 3. So we round up the sample size to avoid OOM. 570 rect.left = Math.round(rectF.left); 571 rect.top = Math.round(rectF.top); 572 rect.right = Math.round(rectF.right); 573 rect.bottom = Math.round(rectF.bottom);
|
/bionic/tests/ |
math_test.cpp | 836 TEST(math, round) { 837 fesetround(FE_TOWARDZERO); // round ignores the rounding mode and always rounds away from zero. 838 ASSERT_FLOAT_EQ(1.0, round(0.5)); 839 ASSERT_FLOAT_EQ(-1.0, round(-0.5)); 840 ASSERT_FLOAT_EQ(0.0, round(0.0)); 841 ASSERT_FLOAT_EQ(-0.0, round(-0.0)); 842 ASSERT_TRUE(isnan(round(nan("")))); 843 ASSERT_FLOAT_EQ(HUGE_VAL, round(HUGE_VAL));
|
/external/libvpx/libvpx/vp8/encoder/ |
quantize.c | 29 short *round_ptr = b->round; 75 short *round_ptr = b->round; 114 short *round_ptr = b->round; 226 short *round_ptr = b->round; 676 x->block[i].round = cpi->Y1round[QIndex]; 690 x->block[i].round = cpi->UVround[QIndex]; 702 x->block[24].round = cpi->Y2round[QIndex];
|
/system/core/libpixelflinger/ |
pixelflinger.cpp | 230 // it is very important to round the iterated value here because 234 const int32_t round = 0x8000; local 235 c->shade.r0 = grad[ 0] + round; 238 c->shade.g0 = grad[ 3] + round; 241 c->shade.b0 = grad[ 6] + round; 244 c->shade.a0 = grad[ 9] + round; 254 const uint32_t round = 0x8000; local 255 c->shade.z0 = grad[0] + round;
|
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
FoldingLayout.java | 283 int delta = Math.round(mIsHorizontal ? ((float) w) / ((float) mNumberOfFolds) : 351 float translatedDistancePerFold = Math.round(translatedDistance / mNumberOfFolds); 440 mDst[y] = Math.round(mDst[y]);
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/benchmark/ |
background.js | 5 // Round a number to the 1's place. 332 Math.round((load_times.startLoadTime - requested) * 1000.0); 334 Math.round((load_times.commitLoadTime - started) * 1000.0); 336 Math.round((load_times.finishDocumentLoadTime - started) * 1000.0); 338 Math.round((load_times.firstPaintTime - started) * 1000.0); 340 Math.round((load_times.finishLoadTime - started) * 1000.0); 342 Math.round((load_times.firstPaintAfterLoadTime - started) * 1000.0);
|
/external/chromium_org/third_party/WebKit/PerformanceTests/DOM/resources/dom-perf/ |
template.js | 187 return round(numPixels) + "px"; 372 var round = Math.round; variable [all...] |
/art/runtime/gc/space/ |
space_test.cc | 33 int round, size_t growth_limit); 307 int round, size_t growth_limit) { 354 if (round <= 1) { 435 if (round <= 1) { 472 // In this round we don't allocate with growth and therefore can't grow past the initial size.
|
/development/apps/NinePatchLab/src/com/android/ninepatch/ |
NinePatchLab.java | 132 final int gapSize = Math.round(mScale * 8);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
SensorTest.java | 89 diff[i] = Math.round(mScale[i] * (event.values[i] - mPrev[i]) * 0.45f);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
SimpleBigDecimal.java | 159 public BigInteger round() method in class:SimpleBigDecimal
|
Tnaf.java | 166 public static ZTauElement round(SimpleBigDecimal lambda0, method in class:Tnaf 181 BigInteger f0 = lambda0.round(); 182 BigInteger f1 = lambda1.round(); 299 // round up 629 ZTauElement q = round(lambda0, lambda1, mu);
|
/external/chromium_org/chrome/browser/resources/image_loader/ |
image_loader.js | 169 targetWidth = Math.round(targetWidth); 170 targetHeight = Math.round(targetHeight);
|
/external/chromium_org/chrome/browser/ui/webui/help/ |
version_updater_chromeos.cc | 188 progress = static_cast<int>(round(status.download_progress * 100));
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
crypto-aes.js | 9 * applies Nr rounds (10/12/14) using key schedule w for 'add round key' stage 22 for (var round=1; round<Nr; round++) { 26 state = AddRoundKey(state, w, round, Nb); 75 function AddRoundKey(state, w, rnd, Nb) { // xor Round Key into state S [§5.1.4] 141 // Rcon is Round Constant used for the Key Expansion [1st col is 2^(r-1) in GF(2^8)] [§5.2] 185 // generate key schedule - an expansion of the key into distinct Key Rounds for each round
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
crypto-aes.js | 9 * applies Nr rounds (10/12/14) using key schedule w for 'add round key' stage 22 for (var round=1; round<Nr; round++) { 26 state = AddRoundKey(state, w, round, Nb); 75 function AddRoundKey(state, w, rnd, Nb) { // xor Round Key into state S [§5.1.4] 141 // Rcon is Round Constant used for the Key Expansion [1st col is 2^(r-1) in GF(2^8)] [§5.2] 185 // generate key schedule - an expansion of the key into distinct Key Rounds for each round
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
crypto-aes.js | 9 * applies Nr rounds (10/12/14) using key schedule w for 'add round key' stage 22 for (var round=1; round<Nr; round++) { 26 state = AddRoundKey(state, w, round, Nb); 75 function AddRoundKey(state, w, rnd, Nb) { // xor Round Key into state S [§5.1.4] 141 // Rcon is Round Constant used for the Key Expansion [1st col is 2^(r-1) in GF(2^8)] [§5.2] 185 // generate key schedule - an expansion of the key into distinct Key Rounds for each round
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
LengthFunctions.cpp | 50 return static_cast<LayoutUnit>(round(maximumValue * length.percent() / 100.0f));
|
/external/chromium_org/third_party/WebKit/Source/core/platform/ |
LayoutUnit.h | 147 int round() const function in class:WebCore::LayoutUnit 769 return (fraction + size).round() - fraction.round(); 774 return value.round();
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/servers/data/rebaselineserver/ |
loupe.js | 124 sourceA = Math.round(sourceA * 10)/10;
|
/external/chromium_org/third_party/icu/source/i18n/ |
decContext.h | 36 /* round -- must be one of the enumerated rounding modes */ 75 DEC_ROUND_CEILING, /* round towards +infinity */ 76 DEC_ROUND_UP, /* round away from 0 */ 80 DEC_ROUND_DOWN, /* round towards 0 (truncate) */ 81 DEC_ROUND_FLOOR, /* round towards -infinity */ 82 DEC_ROUND_05UP, /* round for reround */ 91 enum rounding round; /* rounding mode */ member in struct:__anon13358
|
/external/chromium_org/third_party/skia/src/effects/ |
Sk2DPathEffect.cpp | 29 tmp.getBounds().round(&ir);
|