/external/valgrind/main/none/tests/s390x/ |
fpconv.c | 6 #define I2F(insn, initial, target,round) \ 14 #define F2L(insn, initial, type, round, cc) \ 18 asm volatile(insn " 2," #round ",0\n\t" \ 26 #define DO_INSN_I2F32(insn, round) \ 29 printf(#insn " %f\n", I2F(insn, 0, f32, round)); \ 30 printf(#insn " %f\n", I2F(insn, 1, f32, round)); \ 31 printf(#insn " %f\n", I2F(insn, 0xffffffffUL, f32, round)); \ 32 printf(#insn " %f\n", I2F(insn, 0x80000000UL, f32, round)); \ 33 printf(#insn " %f\n", I2F(insn, 0x7fffffffUL, f32, round)); \ 34 printf(#insn " %f\n", I2F(insn, 0x100000000UL, f32, round)); \ [all...] |
/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...] |
/bionic/libm/upstream-freebsd/lib/msun/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...] |
/packages/apps/Gallery2/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...] |
/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.'
|
/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...] |
/external/ceres-solver/internal/ceres/ |
parameter_block_ordering.cc | 71 int round = 0; local 78 ordering->AddElementToGroup(parameter_block->mutable_user_state(), round); 82 ++round;
|
/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;
|
/development/ndk/sources/android/libportable/arch-x86/ |
fenv.c | 150 int round = REAL(fegetround)(); local 151 return x86_get_rounding(round); 155 WRAP(fesetround)(int round) 157 return REAL(fesetround)(x86_change_rounding(round));
|
/external/icu4c/test/intltest/ |
dcfmtest.h | 53 const UnicodeString &round,
|
/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...] |
/cts/tests/tests/holo/src/android/holo/cts/ |
DisplayInfoActivity.java | 41 int width = Math.round(dm.widthPixels / dm.density); 42 int height = Math.round(dm.heightPixels / dm.density);
|