/external/v8/test/mjsunit/ |
D | math-round.js | 28 assertEquals(0, Math.round(0)); 29 assertEquals(-0, Math.round(-0)); 30 assertEquals(Infinity, Math.round(Infinity)); 31 assertEquals(-Infinity, Math.round(-Infinity)); 32 assertNaN(Math.round(NaN)); 34 assertEquals(1, Math.round(0.5)); 35 assertEquals(1, Math.round(0.7)); 36 assertEquals(1, Math.round(1)); 37 assertEquals(1, Math.round(1.1)); 38 assertEquals(1, Math.round(1.49999)); [all …]
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Math/ |
D | 15.8.2.15.js | 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() ); 72 array[item++] = new TestCase( SECTION, "Math.round(null)", 0, Math.round(0) ); 73 …array[item++] = new TestCase( SECTION, "Math.round(void 0)", Number.NaN, Math.round(void 0)… 74 …array[item++] = new TestCase( SECTION, "Math.round(true)", 1, Math.round(true) ); 75 …array[item++] = new TestCase( SECTION, "Math.round(false)", 0, Math.round(false) … 76 …array[item++] = new TestCase( SECTION, "Math.round('.99999')", 1, Math.round('.9999… 77 …array[item++] = new TestCase( SECTION, "Math.round('12345e-2')", 123, Math.round('12345… 79 …array[item++] = new TestCase( SECTION, "Math.round(NaN)", Number.NaN, Math.round(Number.… 80 array[item++] = new TestCase( SECTION, "Math.round(0)", 0, Math.round(0) ); [all …]
|
/external/webkit/WebCore/platform/mac/ |
D | 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 …]
|
/external/icu4c/test/intltest/ |
D | dcfmtest.cpp | 367 const UnicodeString &round, // rounding mode in execFormatTest() argument 383 if (round=="ceiling") { in execFormatTest() 385 } else if (round=="floor") { in execFormatTest() 387 } else if (round=="down") { in execFormatTest() 389 } else if (round=="up") { in execFormatTest() 391 } else if (round=="halfeven") { in execFormatTest() 393 } else if (round=="halfdown") { in execFormatTest() 395 } else if (round=="halfup") { in execFormatTest() 397 } else if (round=="default") { in execFormatTest() 402 lineNum, UnicodeStringPiece(round).data()); in execFormatTest()
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/ |
D | DESEngine.java | 437 for (int round = 0; round < 8; round++) in desFunc() 442 work ^= wKey[round * 4 + 0]; in desFunc() 447 work = right ^ wKey[round * 4 + 1]; in desFunc() 454 work ^= wKey[round * 4 + 2]; in desFunc() 459 work = left ^ wKey[round * 4 + 3]; in desFunc()
|
/external/libvpx/vp8/encoder/ |
D | quantize.c | 28 short *round_ptr = b->round; in vp8_fast_quantize_b_c() 75 short *round_ptr = b->round; in vp8_regular_quantize_b() 151 int round; in vp8_strict_quantize_b() local 157 round = dq >> 1; in vp8_strict_quantize_b() 161 x += round; in vp8_strict_quantize_b() 187 short *round_ptr = b->round; in vp8_fast_quantize_b_c() 223 short *round_ptr = b->round; in vp8_regular_quantize_b()
|
/external/openssl/crypto/sha/asm/ |
D | sha512-x86_64.pl | 83 $round="%rdi"; # zaps $ctx 125 add ($Tbl,$round,$SZ),$T1 # T1+=K[round] 139 lea 1($round),$round # round++ 218 xor $round,$round 237 cmp \$$rounds,$round
|
/external/webkit/WebCore/inspector/front-end/ |
D | 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);
|
D | 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/icu4c/i18n/ |
D | decContext.c | 77 context->round=DEC_ROUND_HALF_UP; /* 0.5 rises */ in uprv_decContextDefault() 92 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */ in uprv_decContextDefault() 103 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */ in uprv_decContextDefault() 114 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */ in uprv_decContextDefault() 138 return context->round; in uprv_decContextGetRounding() 197 context->round=newround; in uprv_decContextSetRounding()
|
/external/dropbear/libtomcrypt/src/ciphers/safer/ |
D | safer.c | 258 unsigned int round; in _safer_ecb_encrypt() local 268 if (SAFER_MAX_NOF_ROUNDS < (round = *key)) round = SAFER_MAX_NOF_ROUNDS; in _safer_ecb_encrypt() 269 while(round-- > 0) in _safer_ecb_encrypt() 312 unsigned int round; in _safer_ecb_decrypt() local 322 if (SAFER_MAX_NOF_ROUNDS < (round = *key)) round = SAFER_MAX_NOF_ROUNDS; in _safer_ecb_decrypt() 323 key += SAFER_BLOCK_LEN * (1 + 2 * round); in _safer_ecb_decrypt() 326 while (round--) in _safer_ecb_decrypt()
|
/external/iproute2/ip/ |
D | ipneigh.c | 382 int round = 0; in do_show_or_flush() local 390 while (round < MAX_ROUNDS) { in do_show_or_flush() 402 if (round == 0) in do_show_or_flush() 405 printf("*** Flush is complete after %d round%s ***\n", round, round>1?"s":""); in do_show_or_flush() 410 round++; in do_show_or_flush() 414 printf("\n*** Round %d, deleting %d entries ***\n", round, filter.flushed); in do_show_or_flush()
|
/external/qemu/ |
D | d3des.c | 325 register int round; in desfunc() local 347 for( round = 0; round < 8; round++ ) { in desfunc()
|
/external/openssl/crypto/des/asm/ |
D | des_enc.m4 | 131 ! Loads key first round from address in parameter 5 to out0, out1. 139 ! parameter 3 result left (modify in first round) 140 ! parameter 4 result right (use in first round) 263 ! the previous round is finished. 265 ! In each round one half (work) is modified based on key and the 283 ! each round, except after last round. In this code the original 288 ! parameter 1 first work (left in first round) 289 ! parameter 2 first use (right in first round) 325 ld [$5+$3*8], local7 ! key 7531 next round 366 ld [$5+$3*8+4], out0 ! key 8642 next round [all …]
|
/external/srec/audio/AudioIn/UNIX/src/ |
D | filter.c | 106 pFIR->round = (1 << (scale-1)); in FIR_construct() 283 accum += pFIR->round; in FIR_downsample() 285 accum -= pFIR->round; in FIR_downsample()
|
/external/webkit/WebCore/html/ |
D | DateComponents.cpp | 486 if (!setMillisecondsSinceEpochForDateInternal(round(ms))) in setMillisecondsSinceEpochForDate() 499 ms = round(ms); in setMillisecondsSinceEpochForDateTime() 523 if (!setMillisecondsSinceEpochForDateInternal(round(ms))) in setMillisecondsSinceEpochForMonth() 537 setMillisecondsSinceMidnightInternal(positiveFmod(round(ms), msPerDay)); in setMillisecondsSinceMidnight() 546 months = round(months); in setMonthsSinceEpoch() 576 ms = round(ms); in setMillisecondsSinceEpochForWeek()
|
/external/webkit/JavaScriptCore/wtf/ |
D | MathExtras.h | 102 static double round(double num) in round() function 116 inline long long llround(double num) { return static_cast<long long>(round(num)); } in llround() 118 inline long lround(double num) { return static_cast<long>(round(num)); } in lround()
|
/external/skia/src/animator/ |
D | SkDisplayMath.cpp | 68 SK_FUNCTION(round), 140 SK_MEMBER_FUNCTION(round, Float), 214 case SK_FUNCTION(round): in executeFunction()
|
/external/webkit/SunSpider/tests/sunspider-0.9.1/ |
D | crypto-aes.js | 22 for (var round=1; round<Nr; round++) { 26 state = AddRoundKey(state, w, round, Nb);
|
/external/webkit/SunSpider/tests/sunspider-0.9/ |
D | crypto-aes.js | 22 for (var round=1; round<Nr; round++) { 26 state = AddRoundKey(state, w, round, Nb);
|
/external/chromium/third_party/icu/source/i18n/ |
D | digitlst.cpp | 422 round(maximumDigits); in set() 498 round(fixedPoint ? (maximumDigits + fDecimalAt) : maximumDigits); in set() 515 DigitList::round(int32_t maximumDigits) in round() function in DigitList
|
/external/webkit/WebCore/xml/ |
D | XPathFunctions.cpp | 230 static double round(double); 503 long pos = static_cast<long>(FunRound::round(arg(1)->evaluate().toNumber())); in evaluate() 510 len = static_cast<long>(FunRound::round(doubleLen)); in evaluate() 654 double FunRound::round(double val) in round() function in WebCore::XPath::FunRound 667 return round(arg(0)->evaluate().toNumber()); in evaluate()
|
/external/libvpx/vp8/encoder/x86/ |
D | x86_csystemdependent.c | 35 short *round_ptr = b->round; in vp8_fast_quantize_b_mmx() 99 short *round_ptr = b->round; in vp8_fast_quantize_b_sse2() 130 short *round_ptr = b->round; in vp8_regular_quantize_b_sse2() 193 b->round, in vp8_fast_quantize_b_ssse3()
|
D | quantize_ssse3.asm | 36 movdqa xmm2, [rdi] ;round lo 37 movdqa xmm3, [rdi + 16] ;round hi
|
/external/webkit/WebCore/css/ |
D | SVGCSSValueKeywords.in | 230 # round 235 # round
|