Home
last modified time | relevance | path

Searched refs:round (Results 1 – 25 of 386) sorted by relevance

12345678910>>...16

/external/valgrind/main/none/tests/s390x/
Dfpconv.c6 #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/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/
D15.8.2.15.js69 …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/Source/WebCore/platform/mac/
DThreadCheck.mm65 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/openssl/crypto/aes/asm/
Dvpaes-x86.pl57 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/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/
DDES.java315 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/
Ddcfmtest.cpp377 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/valgrind/main/none/tests/mips32/
DMakefile.am18 round.stdout.exp round.stderr.exp round.vgtest \
31 round \ program
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DDESEngine.java437 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/compiler-rt/lib/
Dfloatunsisf.c41 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()
Dfloatsisf.c49 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/bluetooth/bluedroid/stack/smp/
Dsmp_cmac.c39 UINT16 round; member
144 while (i <= cmac_cb.round) in cmac_aes_k_calculate()
146 smp_xor_128(&cmac_cb.text[(cmac_cb.round - i)*BT_OCTET16_LEN], x); /* Mi' := Mi (+) X */ in cmac_aes_k_calculate()
148 …if (!SMP_Encrypt(key, BT_OCTET16_LEN, &cmac_cb.text[(cmac_cb.round - i)*BT_OCTET16_LEN], BT_OCTET1… in cmac_aes_k_calculate()
194 SMP_TRACE_WARNING2("flag = %d round = %d", flag, cmac_cb.round); in cmac_prepare_last_block()
310 cmac_cb.round = n; in AES_CMAC()
/external/webkit/LayoutTests/fast/xpath/py-dom-xpath/
Dfunctions-expected.txt72 PASS round(1.5)
73 PASS round(-1.5)
74 PASS string(round(0 div 0))
75 PASS round(1 div 0)
76 PASS round(-1 div 0)
/external/openssl/crypto/sha/asm/
Dsha512-x86_64.pl84 $round="%rdi"; # zaps $ctx
111 add ($Tbl,$round,$SZ),$T1 # T1+=K[round]
134 lea 1($round),$round # round++
211 xor $round,$round
232 cmp \$$rounds,$round
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
DHillHeightMap.java172 int xMin = Math.round(x - radius - 1); in addHill()
173 int xMax = Math.round(x + radius + 1); in addHill()
175 int yMin = Math.round(y - radius - 1); in addHill()
176 int yMax = Math.round(y + radius + 1); in addHill()
/external/webkit/Source/WebCore/inspector/front-end/
DColor.js223 h = Math.round(h);
224 s = Math.round(s*100);
225 l = Math.round(l*100);
247 var r = Math.round(hueToRGB(p, q, tr) * 255);
248 var g = Math.round(hueToRGB(p, q, tg) * 255);
249 var b = Math.round(hueToRGB(p, q, tb) * 255);
DSummaryBar.js151 …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/
DdecContext.c68 context->round=DEC_ROUND_HALF_UP; /* 0.5 rises */ in uprv_decContextDefault()
83 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */ in uprv_decContextDefault()
94 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */ in uprv_decContextDefault()
105 context->round=DEC_ROUND_HALF_EVEN; /* 0.5 to nearest even */ in uprv_decContextDefault()
129 return context->round; in uprv_decContextGetRounding()
188 context->round=newround; in uprv_decContextSetRounding()
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dtransform.c158 WebRtc_Word32 round = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)1, -sh-1); in WebRtcIsacfix_Time2Spec() local
160 inre1Q9[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(tmpreQ16[k]+round, -sh); //Q(16+sh) in WebRtcIsacfix_Time2Spec()
161 inre2Q9[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(tmpimQ16[k]+round, -sh); //Q(16+sh) in WebRtcIsacfix_Time2Spec()
253 WebRtc_Word32 round = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)1, -sh-1); in WebRtcIsacfix_Spec2Time() local
255 inreQ7[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(outre1Q16[k]+round, -sh); //Q(16+sh) in WebRtcIsacfix_Spec2Time()
256 inimQ7[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(outre2Q16[k]+round, -sh); //Q(16+sh) in WebRtcIsacfix_Spec2Time()
/external/ceres-solver/internal/ceres/
Dparameter_block_ordering.cc71 int round = 0; in ComputeRecursiveIndependentSetOrdering() local
78 ordering->AddElementToGroup(parameter_block->mutable_user_state(), round); in ComputeRecursiveIndependentSetOrdering()
82 ++round; in ComputeRecursiveIndependentSetOrdering()
/external/valgrind/main/none/tests/ppc64/
DMakefile.am13 round.stderr.exp round.stdout.exp round.vgtest \
30 jm-insns lsw round std_reg_imm twi_tdi tw_td power6_bcmp power6_mf_gpr test_isa_2_06_part1 \ program
/external/dropbear/libtomcrypt/src/ciphers/safer/
Dsafer.c258 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/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/grid/
DAssetTileLoader.java42 …Name = assetPath + "/" + name + "_" + Math.round(location.x) + "_" + Math.round(location.y) + "_" … in getTerrainQuadAt()
/external/iproute2/ip/
Dipneigh.c382 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/llvm/test/Transforms/InstCombine/
Ddouble-float-shrink-2.ll17 ; C89-SIMPLIFY: call double @round(
22 ; DONT-SIMPLIFY: call double @round(
29 declare double @round(double)
53 %E = call double @round(double %D)
/external/v8/tools/
Dgenerate-ten-powers.scm58 (define (round n)
68 ((round)
73 (cut (bit-rshbx (round n) shift))
83 ((round) (let ((tmp (/bx (*bx #z2 x) y)))
268 (when (not (memv *round* '(up down round)))

12345678910>>...16