Home
last modified time | relevance | path

Searched refs:round (Results 1 - 25 of 456) sorted by relevance

12345678910>>...19

/third_party/node/deps/openssl/openssl/crypto/modes/asm/
H A Daes-gcm-armv8_64.pl330 aese $ctr1b, $rk0 \n aesmc $ctr1b, $ctr1b @ AES block 1 - round 0
333 aese $ctr2b, $rk0 \n aesmc $ctr2b, $ctr2b @ AES block 2 - round 0
339 aese $ctr0b, $rk0 \n aesmc $ctr0b, $ctr0b @ AES block 0 - round 0
342 aese $ctr3b, $rk0 \n aesmc $ctr3b, $ctr3b @ AES block 3 - round 0
345 aese $ctr2b, $rk1 \n aesmc $ctr2b, $ctr2b @ AES block 2 - round 1
348 aese $ctr0b, $rk1 \n aesmc $ctr0b, $ctr0b @ AES block 0 - round 1
351 aese $ctr1b, $rk1 \n aesmc $ctr1b, $ctr1b @ AES block 1 - round 1
354 aese $ctr3b, $rk1 \n aesmc $ctr3b, $ctr3b @ AES block 3 - round 1
357 aese $ctr0b, $rk2 \n aesmc $ctr0b, $ctr0b @ AES block 0 - round 2
360 aese $ctr1b, $rk2 \n aesmc $ctr1b, $ctr1b @ AES block 1 - round
[all...]
/third_party/openssl/crypto/modes/asm/
H A Daes-gcm-armv8_64.pl330 aese $ctr1b, $rk0 \n aesmc $ctr1b, $ctr1b @ AES block 1 - round 0
333 aese $ctr2b, $rk0 \n aesmc $ctr2b, $ctr2b @ AES block 2 - round 0
339 aese $ctr0b, $rk0 \n aesmc $ctr0b, $ctr0b @ AES block 0 - round 0
342 aese $ctr3b, $rk0 \n aesmc $ctr3b, $ctr3b @ AES block 3 - round 0
345 aese $ctr2b, $rk1 \n aesmc $ctr2b, $ctr2b @ AES block 2 - round 1
348 aese $ctr0b, $rk1 \n aesmc $ctr0b, $ctr0b @ AES block 0 - round 1
351 aese $ctr1b, $rk1 \n aesmc $ctr1b, $ctr1b @ AES block 1 - round 1
354 aese $ctr3b, $rk1 \n aesmc $ctr3b, $ctr3b @ AES block 3 - round 1
357 aese $ctr0b, $rk2 \n aesmc $ctr0b, $ctr0b @ AES block 0 - round 2
360 aese $ctr1b, $rk2 \n aesmc $ctr1b, $ctr1b @ AES block 1 - round
[all...]
/third_party/python/Python/
H A Dpytime.c248 double rounded = round(x); in pytime_round_half_even()
250 /* halfway case: round to even */ in pytime_round_half_even()
251 rounded = 2.0 * round(x / 2.0); in pytime_round_half_even()
258 pytime_round(double x, _PyTime_round_t round) in pytime_round() argument
264 if (round == _PyTime_ROUND_HALF_EVEN) { in pytime_round()
267 else if (round == _PyTime_ROUND_CEILING) { in pytime_round()
270 else if (round == _PyTime_ROUND_FLOOR) { in pytime_round()
274 assert(round == _PyTime_ROUND_UP); in pytime_round()
283 long idenominator, _PyTime_round_t round) in pytime_double_to_denominator()
293 floatpart = pytime_round(floatpart, round); in pytime_double_to_denominator()
282 pytime_double_to_denominator(double d, time_t *sec, long *numerator, long idenominator, _PyTime_round_t round) pytime_double_to_denominator() argument
330 pytime_object_to_denominator(PyObject *obj, time_t *sec, long *numerator, long denominator, _PyTime_round_t round) pytime_object_to_denominator() argument
357 _PyTime_ObjectToTime_t(PyObject *obj, time_t *sec, _PyTime_round_t round) _PyTime_ObjectToTime_t() argument
392 _PyTime_ObjectToTimespec(PyObject *obj, time_t *sec, long *nsec, _PyTime_round_t round) _PyTime_ObjectToTimespec() argument
400 _PyTime_ObjectToTimeval(PyObject *obj, time_t *sec, long *usec, _PyTime_round_t round) _PyTime_ObjectToTimeval() argument
521 pytime_from_double(_PyTime_t *tp, double value, _PyTime_round_t round, long unit_to_ns) pytime_from_double() argument
545 pytime_from_object(_PyTime_t *tp, PyObject *obj, _PyTime_round_t round, long unit_to_ns) pytime_from_object() argument
581 _PyTime_FromSecondsObject(_PyTime_t *tp, PyObject *obj, _PyTime_round_t round) _PyTime_FromSecondsObject() argument
588 _PyTime_FromMillisecondsObject(_PyTime_t *tp, PyObject *obj, _PyTime_round_t round) _PyTime_FromMillisecondsObject() argument
651 pytime_divide(const _PyTime_t t, const _PyTime_t k, const _PyTime_round_t round) pytime_divide() argument
729 _PyTime_As100Nanoseconds(_PyTime_t t, _PyTime_round_t round) _PyTime_As100Nanoseconds() argument
738 _PyTime_AsMicroseconds(_PyTime_t t, _PyTime_round_t round) _PyTime_AsMicroseconds() argument
746 _PyTime_AsMilliseconds(_PyTime_t t, _PyTime_round_t round) _PyTime_AsMilliseconds() argument
754 pytime_as_timeval(_PyTime_t t, _PyTime_t *ptv_sec, int *ptv_usec, _PyTime_round_t round) pytime_as_timeval() argument
769 pytime_as_timeval_struct(_PyTime_t t, struct timeval *tv, _PyTime_round_t round, int raise_exc) pytime_as_timeval_struct() argument
796 _PyTime_AsTimeval(_PyTime_t t, struct timeval *tv, _PyTime_round_t round) _PyTime_AsTimeval() argument
803 _PyTime_AsTimeval_clamp(_PyTime_t t, struct timeval *tv, _PyTime_round_t round) _PyTime_AsTimeval_clamp() argument
810 _PyTime_AsTimevalTime_t(_PyTime_t t, time_t *p_secs, int *us, _PyTime_round_t round) _PyTime_AsTimevalTime_t() argument
[all...]
/third_party/skia/docs/examples/
H A DRect_round.cpp8 SkIRect round; in REG_FIDDLE() local
9 rect.round(&round); in REG_FIDDLE()
10 SkDebugf("round: %d, %d, %d, %d\n", round.fLeft, round.fTop, round.fRight, round.fBottom); in REG_FIDDLE()
H A DRect_roundOut.cpp8 SkIRect round; in REG_FIDDLE() local
9 rect.roundOut(&round); in REG_FIDDLE()
10 SkDebugf("round: %d, %d, %d, %d\n", round.fLeft, round.fTop, round.fRight, round.fBottom); in REG_FIDDLE()
H A DRect_roundOut_2.cpp8 SkRect round; in REG_FIDDLE() local
9 rect.roundOut(&round); in REG_FIDDLE()
10 SkDebugf("round: %g, %g, %g, %g\n", round.fLeft, round.fTop, round.fRight, round.fBottom); in REG_FIDDLE()
H A DRect_round_2.cpp8 SkIRect round = rect.round(); in REG_FIDDLE() local
9 SkDebugf("round: %d, %d, %d, %d\n", round.fLeft, round.fTop, round.fRight, round.fBottom); in REG_FIDDLE()
H A DRect_roundIn.cpp8 SkIRect round; in REG_FIDDLE() local
9 rect.roundIn(&round); in REG_FIDDLE()
10 SkDebugf("round: %d, %d, %d, %d\n", round.fLeft, round.fTop, round.fRight, round.fBottom); in REG_FIDDLE()
H A DRect_roundOut_3.cpp8 SkIRect round = rect.roundOut(); in REG_FIDDLE() local
9 SkDebugf("round: %d, %d, %d, %d\n", round.fLeft, round.fTop, round.fRight, round.fBottom); in REG_FIDDLE()
/third_party/mesa3d/src/compiler/nir/
H A Dnir_conversion_builder.h37 nir_rounding_mode round) in nir_round_float_to_int()
39 switch (round) { in nir_round_float_to_int()
59 nir_rounding_mode round) in nir_round_float_to_float()
72 switch (round) { in nir_round_float_to_float()
112 nir_rounding_mode round) in nir_round_int_to_float()
139 nir_round_int_to_float(b, abs, nir_type_uint, dest_bit_size, round); in nir_round_int_to_float()
142 switch (round) { in nir_round_int_to_float()
171 switch (round) { in nir_round_int_to_float()
413 /* Float down-casts don't round */ in nir_simplify_conversion_rounding()
438 nir_rounding_mode round, in nir_convert_with_rounding()
36 nir_round_float_to_int(nir_builder *b, nir_ssa_def *src, nir_rounding_mode round) nir_round_float_to_int() argument
57 nir_round_float_to_float(nir_builder *b, nir_ssa_def *src, unsigned dest_bit_size, nir_rounding_mode round) nir_round_float_to_float() argument
109 nir_round_int_to_float(nir_builder *b, nir_ssa_def *src, nir_alu_type src_type, unsigned dest_bit_size, nir_rounding_mode round) nir_round_int_to_float() argument
435 nir_convert_with_rounding(nir_builder *b, nir_ssa_def *src, nir_alu_type src_type, nir_alu_type dest_type, nir_rounding_mode round, bool clamp) nir_convert_with_rounding() argument
[all...]
/third_party/ffmpeg/libavcodec/
H A Dac3dec_fixed.c68 unsigned mul, round; in scale_coefs() local
74 round = 1 << (shift-1); in scale_coefs()
79 temp = temp + round; in scale_coefs()
82 temp1 = temp1 + round; in scale_coefs()
85 temp2 = temp2 + round; in scale_coefs()
89 temp3 = temp3 + round; in scale_coefs()
93 temp4 = temp4 + round; in scale_coefs()
98 temp5 = temp5 + round; in scale_coefs()
100 temp6 = temp6 + round; in scale_coefs()
103 temp7 = temp7 + round; in scale_coefs()
[all...]
H A Dsbrdsp_fixed.c37 uint64_t accu = 0, round; in sbr_sum_square_c() local
78 round = 1ULL << (nz-1); in sbr_sum_square_c()
79 u = ((accu + round) >> nz); in sbr_sum_square_c()
125 unsigned round; in autocorr_calc() local
138 round = 1U << (nz-1); in autocorr_calc()
139 mant = (int)((accu + round) >> nz); in autocorr_calc()
277 int shift, round; in sbr_hf_apply_noise() local
284 round = 1 << (shift-1); in sbr_hf_apply_noise()
285 y0 += (s_m[m].mant * phi_sign0 + round) >> shift; in sbr_hf_apply_noise()
286 y1 += (s_m[m].mant * phi_sign1 + round) >> shif in sbr_hf_apply_noise()
289 int shift, round, tmp; sbr_hf_apply_noise() local
[all...]
H A Daacdec_fixed.c171 unsigned int round; in subband_scale() local
181 round = 1 << (s-1); in subband_scale()
184 dst[i] = ((int)(out+round) >> s) * ssign; in subband_scale()
188 round = 1U << (s-1); in subband_scale()
190 out = (int)((int64_t)((int64_t)src[i] * c + round) >> s); in subband_scale()
201 unsigned int round; in noise_scale() local
218 round = s ? 1 << (s-1) : 0; in noise_scale()
221 coefs[i] = -((int)(out+round) >> s); in noise_scale()
227 round = 1 << (s-1); in noise_scale()
229 out = (int)((int64_t)((int64_t)coefs[i] * c + round) >> in noise_scale()
374 int shift, round, c, tmp; apply_dependent_coupling_fixed() local
424 int i, c, shift, round, tmp; apply_independent_coupling_fixed() local
[all...]
/third_party/python/Modules/_decimal/libmpdec/
H A Dcontext.c92 ctx->round=MPD_ROUND_HALF_EVEN; in mpd_maxcontext()
106 ctx->round=MPD_ROUND_HALF_UP; in mpd_defaultcontext()
120 ctx->round=MPD_ROUND_HALF_UP; in mpd_basiccontext()
138 ctx->round=MPD_ROUND_HALF_EVEN; in mpd_ieee_context()
169 return ctx->round; in mpd_getround()
228 mpd_qsetround(mpd_context_t *ctx, int round) in mpd_qsetround() argument
230 if (!(0 <= round && round < MPD_ROUND_GUARD)) { in mpd_qsetround()
233 ctx->round = round; in mpd_qsetround()
[all...]
/third_party/python/Include/cpython/
H A Dpytime.h74 For example, used to round from a Python float. */
141 _PyTime_round_t round);
147 _PyTime_round_t round);
154 _PyTime_round_t round);
158 _PyTime_round_t round);
166 _PyTime_round_t round);
185 _PyTime_round_t round);
191 _PyTime_round_t round);
203 _PyTime_round_t round);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A Dxxhash.cpp57 static uint64_t round(uint64_t Acc, uint64_t Input) { in round() function
65 Val = round(0, Val); in mergeRound()
86 V1 = round(V1, endian::read64le(P)); in xxHash64()
88 V2 = round(V2, endian::read64le(P)); in xxHash64()
90 V3 = round(V3, endian::read64le(P)); in xxHash64()
92 V4 = round(V4, endian::read64le(P)); in xxHash64()
109 uint64_t const K1 = round(0, endian::read64le(P)); in xxHash64()
/third_party/python/Lib/test/
H A Dtest_float.py831 self.assertRaises(OverflowError, round, INF)
832 self.assertRaises(OverflowError, round, -INF)
833 self.assertRaises(ValueError, round, NAN)
834 self.assertRaises(TypeError, round, INF, 0.0)
835 self.assertRaises(TypeError, round, -INF, 1.0)
836 self.assertRaises(TypeError, round, NAN, "ceci n'est pas un integer")
837 self.assertRaises(TypeError, round, -0.0, 1j)
840 self.assertEqual(round(INF, 0), INF)
841 self.assertEqual(round(-INF, 0), -INF)
842 self.assertTrue(math.isnan(round(NA
[all...]
/third_party/node/deps/openssl/openssl/crypto/aes/asm/
H A Daesfx-sparcv9.pl56 ldd [$key + 0], %f6 ! round[0]
75 ldd [$key + 16], %f10 ! round[1]
78 fxor %f0, %f6, %f0 ! ^=round[0]
80 ldd [$key + 32], %f6 ! round[2]
146 ldd [$key + 0], %f6 ! round[0]
165 ldd [$key + 16], %f10 ! round[1]
168 fxor %f0, %f6, %f0 ! ^=round[0]
170 ldd [$key + 32], %f6 ! round[2]
423 ldd [$key + 0], $r0hi ! round[0]
428 ldd [$end + 0], $rlhi ! round[las
[all...]
/third_party/openssl/crypto/aes/asm/
H A Daesfx-sparcv9.pl56 ldd [$key + 0], %f6 ! round[0]
75 ldd [$key + 16], %f10 ! round[1]
78 fxor %f0, %f6, %f0 ! ^=round[0]
80 ldd [$key + 32], %f6 ! round[2]
146 ldd [$key + 0], %f6 ! round[0]
165 ldd [$key + 16], %f10 ! round[1]
168 fxor %f0, %f6, %f0 ! ^=round[0]
170 ldd [$key + 32], %f6 ! round[2]
423 ldd [$key + 0], $r0hi ! round[0]
428 ldd [$end + 0], $rlhi ! round[las
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Ddcfmtest.cpp403 const UnicodeString &round, // rounding mode in execFormatTest()
420 if (round=="ceiling") { in execFormatTest()
422 } else if (round=="floor") { in execFormatTest()
424 } else if (round=="down") { in execFormatTest()
426 } else if (round=="up") { in execFormatTest()
428 } else if (round=="halfeven") { in execFormatTest()
430 } else if (round=="halfdown") { in execFormatTest()
432 } else if (round=="halfup") { in execFormatTest()
434 } else if (round=="default") { in execFormatTest()
436 } else if (round in execFormatTest()
401 execFormatTest(int32_t lineNum, const UnicodeString &pattern, const UnicodeString &round, const UnicodeString &input, const UnicodeString &expected, EFormatInputType inType, UErrorCode &status) execFormatTest() argument
[all...]
/third_party/node/deps/npm/node_modules/chalk/source/vendor/ansi-styles/
H A Dindex.js124 return Math.round(((red - 8) / 247) * 24) + 232;
128 + (36 * Math.round(red / 255 * 5))
129 + (6 * Math.round(green / 255 * 5))
130 + Math.round(blue / 255 * 5);
198 let result = 30 + ((Math.round(blue) << 2) | (Math.round(green) << 1) | Math.round(red));
/third_party/node/deps/npm/node_modules/ansi-styles/
H A Dindex.js124 return Math.round(((red - 8) / 247) * 24) + 232;
128 + (36 * Math.round(red / 255 * 5))
129 + (6 * Math.round(green / 255 * 5))
130 + Math.round(blue / 255 * 5);
198 let result = 30 + ((Math.round(blue) << 2) | (Math.round(green) << 1) | Math.round(red));
/third_party/node/deps/npm/node_modules/debug/node_modules/ms/
H A Dindex.js116 return Math.round(ms / d) + 'd';
119 return Math.round(ms / h) + 'h';
122 return Math.round(ms / m) + 'm';
125 return Math.round(ms / s) + 's';
161 return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');
/third_party/node/deps/npm/node_modules/ms/
H A Dindex.js116 return Math.round(ms / d) + 'd';
119 return Math.round(ms / h) + 'h';
122 return Math.round(ms / m) + 'm';
125 return Math.round(ms / s) + 's';
161 return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');
/third_party/rust/crates/minimal-lexical/tests/
H A Drounding_tests.rs10 rounding::round::<f64, _>(&mut fp, |f, s| { in round_test()
21 rounding::round::<f64, _>(&mut fp, |f, s| { in round_test()
35 rounding::round::<f64, _>(&mut fp, |f, s| { in round_test()
48 rounding::round::<f64, _>(&mut fp, |f, s| { in round_test()
61 rounding::round::<f64, _>(&mut fp, rounding::round_down); in round_test()

Completed in 13 milliseconds

12345678910>>...19