Searched defs:round (Results 1 - 25 of 74) sorted by relevance

123

/external/libvpx/libvpx/vp9/common/
H A Dvp9_systemdependent.h28 // round is not defined in MSVC before VS2013.
29 static int round(double x) { function
/external/compiler-rt/lib/
H A Dfloatsisf.c11 // 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;
H A Dfloatunsisf.c11 // 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;
H A Ddivsf3.c153 // code to round them correctly.
158 const bool round = (residual << 1) > bSignificand; local
164 absResult += round;
H A Ddivdf3.c168 // code to round them correctly.
173 const bool round = (residual << 1) > bSignificand; local
179 absResult += round;
/external/skia/tools/lua/
H A Dglyph-usage.lua50 function round(x, mul) function
123 local fontID = round(k / 1000)
136 local ave = round(totalCount / strikeCount)
/external/chromium_org/v8/tools/
H A Dgenerate-ten-powers.scm56 (define (round-n-cut n e nb-bits)
58 (define (round n)
59 (case *round*
63 ;; with the -1 it will only round up if the cut off part is
68 ((round)
73 (cut (bit-rshbx (round n) shift))
77 (round-n-cut n (+fx e 1) nb-bits))))
80 (case *round*
83 ((round) (let ((tmp (/bx (*bx #z2 x) y)))
126 (round
[all...]
/external/v8/tools/
H A Dgenerate-ten-powers.scm56 (define (round-n-cut n e nb-bits)
58 (define (round n)
59 (case *round*
63 ;; with the -1 it will only round up if the cut off part is
68 ((round)
73 (cut (bit-rshbx (round n) shift))
77 (round-n-cut n (+fx e 1) nb-bits))))
80 (case *round*
83 ((round) (let ((tmp (/bx (*bx #z2 x) y)))
126 (round
[all...]
/external/ceres-solver/internal/ceres/
H A Dparameter_block_ordering.cc97 int round = 0; local
104 ordering->AddElementToGroup(parameter_block->mutable_user_state(), round);
108 ++round;
/external/srec/audio/AudioIn/UNIX/include/
H A Dfilter.h45 typeAccum round; // used for roundoff member in struct:fir_struct
/external/libvpx/libvpx/test/
H A Didct8x8_test.cc29 static int round(double x) { function in namespace:__anon21492
107 output[i] = round(out2[i]/32);
128 coeff[j] = round(output_r[j]);
H A Ddct32x32_test.cc33 static int round(double x) { function in namespace:__anon21488
134 << "Error: 32x32 FDCT/IDCT has an individual round-trip error > 1";
137 << "Error: 32x32 FDCT/IDCT has average round-trip error > 1 per block";
232 coeff[j] = round(out_r[j]);
/external/bluetooth/bluedroid/stack/smp/
H A Dsmp_cmac.c39 UINT16 round; member in struct:__anon1574
144 while (i <= cmac_cb.round)
146 smp_xor_128(&cmac_cb.text[(cmac_cb.round - i)*BT_OCTET16_LEN], x); /* Mi' := Mi (+) X */
148 if (!SMP_Encrypt(key, BT_OCTET16_LEN, &cmac_cb.text[(cmac_cb.round - i)*BT_OCTET16_LEN], BT_OCTET16_LEN, &output))
194 SMP_TRACE_WARNING2("flag = %d round = %d", flag, cmac_cb.round);
310 cmac_cb.round = n;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DSimpleBigDecimal.java159 public BigInteger round() method in class:SimpleBigDecimal
H A DTnaf.java166 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/third_party/re2/util/
H A Dbenchmark.cc83 static int round(int n) { function
113 n = round(n);
/external/regex-re2/util/
H A Dbenchmark.cc83 static int round(int n) { function
113 n = round(n);
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
H A Dtransform.c130 factQ19 = 16921; // 0.5/sqrt(240) in Q19 is round(.5/sqrt(240)*(2^19)) = 16921
158 WebRtc_Word32 round = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)1, -sh-1); local
160 inre1Q9[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(tmpreQ16[k]+round, -sh); //Q(16+sh)
161 inre2Q9[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(tmpimQ16[k]+round, -sh); //Q(16+sh)
253 WebRtc_Word32 round = WEBRTC_SPL_LSHIFT_W32((WebRtc_Word32)1, -sh-1); local
255 inreQ7[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(outre1Q16[k]+round, -sh); //Q(16+sh)
256 inimQ7[k] = (WebRtc_Word16) WEBRTC_SPL_RSHIFT_W32(outre2Q16[k]+round, -sh); //Q(16+sh)
285 factQ11 = 31727; // sqrt(240) in Q11 is round(15.49193338482967*2048) = 31727
/external/arduino/hardware/arduino/cores/arduino/
H A Dwiring.h80 #define round(x) ((x)>=0?(long)((x)+0.5):(long)((x)-0.5)) macro
/external/chromium_org/third_party/icu/source/test/intltest/
H A Ddcfmtest.cpp368 const UnicodeString &round, // rounding mode
384 if (round=="ceiling") {
386 } else if (round=="floor") {
388 } else if (round=="down") {
390 } else if (round=="up") {
392 } else if (round=="halfeven") {
394 } else if (round=="halfdown") {
396 } else if (round=="halfup") {
398 } else if (round=="default") {
403 lineNum, UnicodeStringPiece(round)
366 execFormatTest(int32_t lineNum, const UnicodeString &pattern, const UnicodeString &round, const UnicodeString &input, const UnicodeString &expected, UErrorCode &status) argument
[all...]
/external/dropbear/libtomcrypt/src/ciphers/safer/
H A Dsafer.c258 unsigned int round; local
268 if (SAFER_MAX_NOF_ROUNDS < (round = *key)) round = SAFER_MAX_NOF_ROUNDS;
269 while(round-- > 0)
312 unsigned int round; local
322 if (SAFER_MAX_NOF_ROUNDS < (round = *key)) round = SAFER_MAX_NOF_ROUNDS;
323 key += SAFER_BLOCK_LEN * (1 + 2 * round);
326 while (round--)
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/utils/
H A DUtil.java391 public static double round(double value) { method in class:Util
392 return Math.round(value * 10000) / 10000.0;
398 public static double round(double value, int precision) { method in class:Util
407 return Math.round(value * factor) / factor;
/external/iproute2/ip/
H A Dipneigh.c387 int round = 0; local
395 while (round < MAX_ROUNDS) {
407 if (round == 0)
410 printf("*** Flush is complete after %d round%s ***\n", round, round>1?"s":"");
415 round++;
419 printf("\n*** Round %d, deleting %d entries ***\n", round, filter.flushed);
/external/jmonkeyengine/engine/src/android/jme3tools/android/
H A DFixed.java135 * Value to add in order to round down a fixed point number when
392 * Math.round()</code> in the standard library.
394 public static int round(int n) { method in class:Fixed
/external/qemu/
H A Dd3des.c325 register int round; local
347 for( round = 0; round < 8; round++ ) {

Completed in 2721 milliseconds

123