/external/valgrind/main/none/tests/s390x/ |
D | fpconv.c | 6 #define I2F(insn, initial, target,round) \ argument 14 #define F2L(insn, initial, type, round, cc) \ argument 18 asm volatile(insn " 2," #round ",0\n\t" \ 26 #define DO_INSN_I2F32(insn, round) \ argument 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/skia/src/core/ |
D | SkTDynamicHash.h | 38 for (int round = 0; round < fCapacity; round++) { in find() local 46 index = this->nextIndex(index, round); in find() 78 for (int round = 0; round < fCapacity; round++) { in countCollisions() local 81 return round; in countCollisions() 83 index = this->nextIndex(index, round); in countCollisions() 159 for (int round = 0; round < fCapacity; round++) { in innerAdd() local 169 index = this->nextIndex(index, round); in innerAdd() 177 for (int round = 0; round < fCapacity; round++) { in innerRemove() local 185 index = this->nextIndex(index, round); in innerRemove() 228 int nextIndex(int index, int round) const { in nextIndex() argument [all …]
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkTDynamicHash.h | 38 for (int round = 0; round < fCapacity; round++) { in find() local 46 index = this->nextIndex(index, round); in find() 78 for (int round = 0; round < fCapacity; round++) { in countCollisions() local 81 return round; in countCollisions() 83 index = this->nextIndex(index, round); in countCollisions() 159 for (int round = 0; round < fCapacity; round++) { in innerAdd() local 169 index = this->nextIndex(index, round); in innerAdd() 177 for (int round = 0; round < fCapacity; round++) { in innerRemove() local 185 index = this->nextIndex(index, round); in innerRemove() 228 int nextIndex(int index, int round) const { in nextIndex() argument [all …]
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/image_editor/ |
D | viewport.js | 236 return Math.round((x - this.imageOnScreen_.left) / this.getScale()); 244 return Math.round((y - this.imageOnScreen_.top) / this.getScale()); 272 return Math.round(this.imageOnScreen_.left + x * this.getScale()); 280 return Math.round(this.imageOnScreen_.top + y * this.getScale()); 291 Math.round(this.imageToScreenSize(rect.width)), 292 Math.round(this.imageToScreenSize(rect.height))); 311 var screenCenterX = Math.round( 313 var screenCenterY = Math.round( 341 return Math.round( 351 return Math.round( [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
D | LayoutUnitTest.cpp | 84 ASSERT_EQ(LayoutUnit(-1.9f).round(), -2); in TEST() 85 ASSERT_EQ(LayoutUnit(-1.6f).round(), -2); in TEST() 86 ASSERT_EQ(LayoutUnit::fromFloatRound(-1.51f).round(), -2); in TEST() 87 ASSERT_EQ(LayoutUnit::fromFloatRound(-1.5f).round(), -1); in TEST() 88 ASSERT_EQ(LayoutUnit::fromFloatRound(-1.49f).round(), -1); in TEST() 89 ASSERT_EQ(LayoutUnit(-1.0f).round(), -1); in TEST() 90 ASSERT_EQ(LayoutUnit::fromFloatRound(-0.99f).round(), -1); in TEST() 91 ASSERT_EQ(LayoutUnit::fromFloatRound(-0.51f).round(), -1); in TEST() 92 ASSERT_EQ(LayoutUnit::fromFloatRound(-0.50f).round(), 0); in TEST() 93 ASSERT_EQ(LayoutUnit::fromFloatRound(-0.49f).round(), 0); in TEST() [all …]
|
/external/chromium_org/v8/test/webkit/ |
D | math-expected.txt | 140 PASS Math.round(NaN) is NaN 141 PASS Math.round(0) is 0 142 PASS Math.round(-0) is -0 143 PASS Math.round(0.4) is 0 144 PASS Math.round(-0.4) is -0 145 PASS Math.round(0.5) is 1 146 PASS Math.round(-0.5) is -0 147 PASS Math.round(0.6) is 1 148 PASS Math.round(-0.6) is -1 149 PASS Math.round(1) is 1 [all …]
|
/external/chromium_org/v8/test/webkit/fast/js/kde/ |
D | math-expected.txt | 48 PASS Math.round(0) is 0 49 PASS isNegativeZero(Math.round(0)) is false 50 PASS isNegativeZero(Math.round(negativeZero)) is true 51 PASS Math.round(0.2) is 0 52 PASS isNegativeZero(Math.round(-0.2)) is true 53 PASS isNegativeZero(Math.round(-0.5)) is true 54 PASS Math.round(1.1) is 1 55 PASS Math.round(1.6) is 2 56 PASS Math.round(-3.5) is -3 57 PASS Math.round(-3.6) is -4 [all …]
|
/external/chromium_org/third_party/openssl/openssl/crypto/aes/asm/ |
D | vpaes-x86.pl | 57 my ($round, $base, $magic, $key, $const, $inp, $out)= 182 &mov ($round,&DWP(240,$key)); 224 &sub ($round,1); # nr-- 268 &mov ($round,&DWP(240,$key)); 273 &mov ($magic,$round); 309 &sub ($round,1); # nr-- 397 &cmp ($round,192); 411 &mov ($round,10); 415 &dec ($round); 441 &mov ($round,4); [all …]
|
/external/openssl/crypto/aes/asm/ |
D | vpaes-x86.pl | 57 my ($round, $base, $magic, $key, $const, $inp, $out)= 182 &mov ($round,&DWP(240,$key)); 224 &sub ($round,1); # nr-- 268 &mov ($round,&DWP(240,$key)); 273 &mov ($magic,$round); 309 &sub ($round,1); # nr-- 397 &cmp ($round,192); 411 &mov ($round,10); 415 &dec ($round); 441 &mov ($round,4); [all …]
|
/external/chromium_org/v8/test/mjsunit/ |
D | constant-folding-2.js | 174 assertEquals(2, Math.round(1.5)); 175 assertEquals(-1, Math.round(-1.5)); 176 assertEquals("Infinity", String(Math.round(Infinity))); 177 assertEquals("-Infinity", String(Math.round(-Infinity))); 178 assertEquals("Infinity", String(1 / Math.round(0.0))); 179 assertEquals("-Infinity", String(1 / Math.round(-0.0))); 180 assertEquals("NaN", String(Math.round(NaN))); 181 assertEquals(Math.pow(2, 52) + 1, Math.round(Math.pow(2, 52) + 1));
|
/external/chromium_org/v8/test/mjsunit/regress/ |
D | regress-2451.js | 31 assertEquals(-1.0, Math.round(-1.5)); 32 assertEquals(-2.0, Math.round(-2.5)); 33 assertEquals(-1.0, Math.round(-0.5000000000000001));
|
/external/chromium_org/tools/perf/metrics/ |
D | statistics_unittest.py | 89 self.assertEquals(round(d), 1.0) 93 self.assertAlmostEquals(round(d, 2), 1.0) 101 self.assertAlmostEquals(round(d, 2), 0.25) 105 self.assertAlmostEquals(round(d, 2), 0.5) 109 self.assertAlmostEquals(round(d, 2), 0.25) 135 self.assertEquals(round(d_abs_d, 2), round(d_abs_c, 2))
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/ |
D | DES.java | 315 for (int round = 0; round < 8; round++) in desFunc() 320 work ^= wKey[round * 4 + 0]; in desFunc() 325 work = right ^ wKey[round * 4 + 1]; in desFunc() 332 work ^= wKey[round * 4 + 2]; in desFunc() 337 work = left ^ wKey[round * 4 + 3]; in desFunc()
|
/external/icu4c/test/intltest/ |
D | dcfmtest.cpp | 377 const UnicodeString &round, // rounding mode in execFormatTest() argument 394 if (round=="ceiling") { in execFormatTest() 396 } else if (round=="floor") { in execFormatTest() 398 } else if (round=="down") { in execFormatTest() 400 } else if (round=="up") { in execFormatTest() 402 } else if (round=="halfeven") { in execFormatTest() 404 } else if (round=="halfdown") { in execFormatTest() 406 } else if (round=="halfup") { in execFormatTest() 408 } else if (round=="default") { in execFormatTest() 410 } else if (round=="unnecessary") { in execFormatTest() [all …]
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | dcfmtest.cpp | 368 const UnicodeString &round, // rounding mode in execFormatTest() argument 384 if (round=="ceiling") { in execFormatTest() 386 } else if (round=="floor") { in execFormatTest() 388 } else if (round=="down") { in execFormatTest() 390 } else if (round=="up") { in execFormatTest() 392 } else if (round=="halfeven") { in execFormatTest() 394 } else if (round=="halfdown") { in execFormatTest() 396 } else if (round=="halfup") { in execFormatTest() 398 } else if (round=="default") { in execFormatTest() 403 lineNum, UnicodeStringPiece(round).data()); in execFormatTest()
|
/external/chromium_org/chrome/browser/resources/print_preview/data/ticket_items/ |
D | custom_margins.js | 104 Math.round(margins.get(CustomMargins.Orientation.TOP)), 105 Math.round(margins.get(CustomMargins.Orientation.RIGHT)), 106 Math.round(margins.get(CustomMargins.Orientation.BOTTOM)), 107 Math.round(margins.get(CustomMargins.Orientation.LEFT))); 159 return Math.round(max);
|
/external/valgrind/main/none/tests/mips32/ |
D | Makefile.am | 18 round.stdout.exp round.stderr.exp round.vgtest \ 31 round \ program
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
D | Color.js | 242 var c = Math.round(this._rgba[i] * 255); 263 return Math.round(value * 255); 272 var hex = Math.round(value * 255).toString(16); 282 return (Math.round(value * 255) / 17).toString(16); 298 …return String.sprintf("hsl(%d, %d%, %d%)", Math.round(hsl[0] * 360), Math.round(hsl[1] * 100), Mat… 301 … String.sprintf("hsla(%d, %d%, %d%, %f)", Math.round(hsla[0] * 360), Math.round(hsla[1] * 100), Ma… 324 rgba[i] = Math.round(this._rgba[i] * 255);
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/buildbot/ |
D | bg.js | 51 var secondsSinceChangeEvent = Math.round(timeDeltaInMs / 1000); 52 var minutesSinceChangeEvent = Math.round(secondsSinceChangeEvent / 60); 53 var hoursSinceChangeEvent = Math.round(minutesSinceChangeEvent / 60); 54 var daysSinceChangeEvent = Math.round(hoursSinceChangeEvent / 24); 63 text = Math.round(minutesSinceChangeEvent / 5) * 5 + "m"; 66 var halfHours = Math.round(minutesSinceChangeEvent / 30);
|
/external/compiler-rt/lib/ |
D | floatunsisf.c | 41 rep_t round = (rep_t)a << (typeWidth - shift); in ARM_EABI_FNALIAS() local 42 if (round > signBit) result++; in ARM_EABI_FNALIAS() 43 if (round == signBit) result += result & 1; in ARM_EABI_FNALIAS()
|
D | floatsisf.c | 49 rep_t round = (rep_t)a << (typeWidth - shift); in ARM_EABI_FNALIAS() local 50 if (round > signBit) result++; in ARM_EABI_FNALIAS() 51 if (round == signBit) result += result & 1; in ARM_EABI_FNALIAS()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
D | DESEngine.java | 438 for (int round = 0; round < 8; round++) in desFunc() 443 work ^= wKey[round * 4 + 0]; in desFunc() 448 work = right ^ wKey[round * 4 + 1]; in desFunc() 455 work ^= wKey[round * 4 + 2]; in desFunc() 460 work = left ^ wKey[round * 4 + 3]; in desFunc()
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
D | LayoutRect.h | 72 int pixelSnappedX() const { return x().round(); } in pixelSnappedX() 73 int pixelSnappedY() const { return y().round(); } in pixelSnappedY() 76 int pixelSnappedMaxX() const { return (m_location.x() + m_size.width()).round(); } in pixelSnappedMaxX() 77 int pixelSnappedMaxY() const { return (m_location.y() + m_size.height()).round(); } in pixelSnappedMaxY() 215 …return IntRect(left.round(), top.round(), snapSizeToPixel(width, left), snapSizeToPixel(height, to… in pixelSnappedIntRect() 220 …return IntRect(left.round(), top.round(), snapSizeToPixel(right - left, left), snapSizeToPixel(bot… in pixelSnappedIntRectFromEdges()
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
D | HandleView.java | 359 mController.updatePosition(this, Math.round(newPosX), Math.round(newPosY)); in updatePosition() 364 moveTo(x - Math.round(mHotspotX), y - Math.round(mHotspotY)); in positionAt() 370 return mPositionX + Math.round(mHotspotX); in getAdjustedPositionX() 376 return mPositionY + Math.round(mHotspotY); in getAdjustedPositionY() 382 return getContainerPositionX() + Math.round(mHotspotX); in getRootViewRelativePositionX() 388 return getContainerPositionY() + Math.round(mHotspotY); in getRootViewRelativePositionY()
|
/external/chromium_org/third_party/sqlite/src/test/ |
D | func.test | 149 # Test the abs() and round() functions. 203 catchsql {SELECT round(a,b,c) FROM t1} 204 } {1 {wrong number of arguments to function round()}} 206 catchsql {SELECT round(b,2) FROM t1 ORDER BY b} 209 catchsql {SELECT round(b,0) FROM t1 ORDER BY a} 212 catchsql {SELECT round(c) FROM t1 ORDER BY a} 215 catchsql {SELECT round(c,a) FROM t1 ORDER BY a} 218 catchsql {SELECT 'x' || round(c,a) || 'y' FROM t1 ORDER BY a} 221 catchsql {SELECT round() FROM t1 ORDER BY a} 222 } {1 {wrong number of arguments to function round()}} [all …]
|