/third_party/mbedtls/tests/suites/ |
D | test_suite_ecjpake.data | 10 ECJPAKE round one: client, valid 13 ECJPAKE round one: server, valid 16 ECJPAKE round one: role mismatch 19 ECJPAKE round one: trailing byte 22 ECJPAKE round one: KKP1: no data 25 ECJPAKE round one: KKP1: length of first point too small 28 ECJPAKE round one: KKP1: length of first point too big 31 ECJPAKE round one: KKP1: no point data 34 ECJPAKE round one: KKP1: first point is zero 37 ECJPAKE round one: KKP1: unknown first point format [all …]
|
/third_party/libxml2/test/XPath/expr/ |
D | functions | 28 round(0.1) 29 round(5.2) 30 round(5.5) 31 round(5.6) 32 round(-0.1) 33 round(-5.2) 34 round(-5.5) 35 round(-5.6) 36 round(0.5) 37 round(-0.5) [all …]
|
/third_party/boost/libs/chrono/test/duration/ |
D | rounding_pass.cpp | 76 BOOST_TEST_EQ( seconds(-2), round<seconds>( milliseconds(-2000) ) ); in test_round() 77 BOOST_TEST_EQ( seconds(-2), round<seconds>( milliseconds(-1500) ) ); in test_round() 78 BOOST_TEST_EQ( seconds(-1), round<seconds>( milliseconds(-1499) ) ); in test_round() 79 BOOST_TEST_EQ( seconds(-1), round<seconds>( milliseconds(-1000) ) ); in test_round() 80 BOOST_TEST_EQ( seconds(0), round<seconds>( milliseconds(-500) ) ); in test_round() 81 BOOST_TEST_EQ( seconds(0), round<seconds>( milliseconds(-499) ) ); in test_round() 82 BOOST_TEST_EQ( seconds(0), round<seconds>( milliseconds(0) ) ); in test_round() 83 BOOST_TEST_EQ( seconds(0), round<seconds>( milliseconds(499) ) ); in test_round() 84 BOOST_TEST_EQ( seconds(0), round<seconds>( milliseconds(500) ) ); in test_round() 85 BOOST_TEST_EQ( seconds(1), round<seconds>( milliseconds(1000) ) ); in test_round() [all …]
|
/third_party/flutter/skia/docs/examples/ |
D | Rect_round.cpp | 8 SkIRect round; in draw() local 9 rect.round(&round); in draw() 10 SkDebugf("round: %d, %d, %d, %d\n", round.fLeft, round.fTop, round.fRight, round.fBottom); in draw()
|
D | Rect_round_2.cpp | 8 SkIRect round = rect.round(); in draw() local 9 SkDebugf("round: %d, %d, %d, %d\n", round.fLeft, round.fTop, round.fRight, round.fBottom); in draw()
|
D | Rect_roundOut.cpp | 8 SkIRect round; in draw() local 9 rect.roundOut(&round); in draw() 10 SkDebugf("round: %d, %d, %d, %d\n", round.fLeft, round.fTop, round.fRight, round.fBottom); in draw()
|
D | Rect_roundOut_2.cpp | 8 SkRect round; in draw() local 9 rect.roundOut(&round); in draw() 10 SkDebugf("round: %g, %g, %g, %g\n", round.fLeft, round.fTop, round.fRight, round.fBottom); in draw()
|
D | Rect_roundIn.cpp | 8 SkIRect round; in draw() local 9 rect.roundIn(&round); in draw() 10 SkDebugf("round: %d, %d, %d, %d\n", round.fLeft, round.fTop, round.fRight, round.fBottom); in draw()
|
D | Rect_roundOut_3.cpp | 8 SkIRect round = rect.roundOut(); in draw() local 9 SkDebugf("round: %d, %d, %d, %d\n", round.fLeft, round.fTop, round.fRight, round.fBottom); in draw()
|
/third_party/skia/docs/examples/ |
D | Rect_round.cpp | 8 SkIRect round; in draw() local 9 rect.round(&round); in draw() 10 SkDebugf("round: %d, %d, %d, %d\n", round.fLeft, round.fTop, round.fRight, round.fBottom); in draw()
|
D | Rect_round_2.cpp | 8 SkIRect round = rect.round(); in draw() local 9 SkDebugf("round: %d, %d, %d, %d\n", round.fLeft, round.fTop, round.fRight, round.fBottom); in draw()
|
D | Rect_roundOut.cpp | 8 SkIRect round; in draw() local 9 rect.roundOut(&round); in draw() 10 SkDebugf("round: %d, %d, %d, %d\n", round.fLeft, round.fTop, round.fRight, round.fBottom); in draw()
|
D | Rect_roundIn.cpp | 8 SkIRect round; in draw() local 9 rect.roundIn(&round); in draw() 10 SkDebugf("round: %d, %d, %d, %d\n", round.fLeft, round.fTop, round.fRight, round.fBottom); in draw()
|
D | Rect_roundOut_2.cpp | 8 SkRect round; in draw() local 9 rect.roundOut(&round); in draw() 10 SkDebugf("round: %g, %g, %g, %g\n", round.fLeft, round.fTop, round.fRight, round.fBottom); in draw()
|
D | Rect_roundOut_3.cpp | 8 SkIRect round = rect.roundOut(); in draw() local 9 SkDebugf("round: %d, %d, %d, %d\n", round.fLeft, round.fTop, round.fRight, round.fBottom); in draw()
|
/third_party/libxml2/result/XPath/expr/ |
D | functions | 111 Expression: round(0.1) 115 Expression: round(5.2) 119 Expression: round(5.5) 123 Expression: round(5.6) 127 Expression: round(-0.1) 131 Expression: round(-5.2) 135 Expression: round(-5.5) 139 Expression: round(-5.6) 143 Expression: round(0.5) 147 Expression: round(-0.5) [all …]
|
/third_party/skia/resources/sksl/intrinsics/ |
D | Round.sksl | 9 return (round(testInputs.x) == expectedA.x && 10 round(testInputs.xy) == expectedA.xy && 11 round(testInputs.xyz) == expectedA.xyz && 12 round(testInputs.xyzw) == expectedA.xyzw && 13 round(constVal.x) == expectedB.x && 14 round(constVal.xy) == expectedB.xy && 15 round(constVal.xyz) == expectedB.xyz && 16 round(constVal.xyzw) == expectedB.xyzw) ? colorGreen : colorRed;
|
/third_party/python/Python/ |
D | pytime.c | 106 double rounded = round(x); in _PyTime_RoundHalfEven() 109 rounded = 2.0*round(x/2.0); in _PyTime_RoundHalfEven() 115 _PyTime_Round(double x, _PyTime_round_t round) in _PyTime_Round() argument 121 if (round == _PyTime_ROUND_HALF_EVEN) { in _PyTime_Round() 124 else if (round == _PyTime_ROUND_CEILING) { in _PyTime_Round() 127 else if (round == _PyTime_ROUND_FLOOR) { in _PyTime_Round() 131 assert(round == _PyTime_ROUND_UP); in _PyTime_Round() 139 long idenominator, _PyTime_round_t round) in _PyTime_DoubleToDenominator() argument 149 floatpart = _PyTime_Round(floatpart, round); in _PyTime_DoubleToDenominator() 172 long denominator, _PyTime_round_t round) in _PyTime_ObjectToDenominator() argument [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkTDynamicHash.h | 92 for (int round = 0; round < fCapacity; round++) { in find() local 101 index = this->nextIndex(index, round); in find() 146 for (int round = 0; round < fCapacity; round++) { in countCollisions() local 150 return round; in countCollisions() 152 index = this->nextIndex(index, round); in countCollisions() 210 for (int round = 0; round < fCapacity; round++) { in innerAdd() local 221 index = this->nextIndex(index, round); in innerAdd() 229 for (int round = 0; round < fCapacity; round++) { in innerRemove() local 238 index = this->nextIndex(index, round); in innerRemove() 284 int nextIndex(int index, int round) const { in nextIndex() argument [all …]
|
/third_party/weston/clients/ |
D | confine.c | 172 rs[0].x = x + (int)round(w * 0.05); in calculate_complex_confine_region() 173 rs[0].y = y + (int)round(h * 0.15); in calculate_complex_confine_region() 174 rs[0].width = (int)round(w * 0.35); in calculate_complex_confine_region() 175 rs[0].height = (int)round(h * 0.7); in calculate_complex_confine_region() 178 rs[1].y = y + (int)round(h * 0.45); in calculate_complex_confine_region() 179 rs[1].width = (int)round(w * 0.09); in calculate_complex_confine_region() 180 rs[1].height = (int)round(h * 0.1); in calculate_complex_confine_region() 183 rs[2].y = y + (int)round(h * 0.48); in calculate_complex_confine_region() 184 rs[2].width = (int)round(w * 0.02); in calculate_complex_confine_region() 185 rs[2].height = (int)round(h * 0.04); in calculate_complex_confine_region() [all …]
|
/third_party/boost/boost/math/special_functions/ |
D | round.hpp | 23 inline typename tools::promote_args<T>::type round(const T& v, const Policy& pol, const boost::fals… in round() function 55 inline typename tools::promote_args<T>::type round(const T& v, const Policy&, const boost::true_typ… in round() function 63 inline typename tools::promote_args<T>::type round(const T& v, const Policy& pol) in round() function 65 …return detail::round(v, pol, boost::integral_constant<bool, detail::is_integer_for_rounding<T>::va… in round() 68 inline typename tools::promote_args<T>::type round(const T& v) in round() function 70 return round(v, policies::policy<>()); in round() 85 T r = boost::math::round(v, pol); in iround() 100 T r = boost::math::round(v, pol); in lround() 117 T r = boost::math::round(v, pol); in llround()
|
/third_party/ffmpeg/libavcodec/ |
D | ac3dec_fixed.c | 68 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()
|
D | sbrdsp_fixed.c | 37 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) >> shift; in sbr_hf_apply_noise() [all …]
|
/third_party/python/Modules/_decimal/libmpdec/ |
D | context.c | 92 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()
|
/third_party/flutter/flutter/packages/flutter/test/rendering/ |
D | transform_test.dart | 12 Offset round(Offset value) { 103 expect(round(inner.globalToLocal(const Offset(0.0, 0.0))), equals(const Offset(100.0, 100.0))); 104 expect(round(inner.globalToLocal(const Offset(100.0, 100.0))), equals(const Offset(0.0, 0.0))); 105 expect(round(inner.globalToLocal(const Offset(25.0, 75.0))), equals(const Offset(75.0, 25.0))); 106 expect(round(inner.globalToLocal(const Offset(50.0, 50.0))), equals(const Offset(50.0, 50.0))); 107 expect(round(inner.localToGlobal(const Offset(0.0, 0.0))), equals(const Offset(100.0, 100.0))); 108 expect(round(inner.localToGlobal(const Offset(100.0, 100.0))), equals(const Offset(0.0, 0.0))); 109 expect(round(inner.localToGlobal(const Offset(25.0, 75.0))), equals(const Offset(75.0, 25.0))); 110 expect(round(inner.localToGlobal(const Offset(50.0, 50.0))), equals(const Offset(50.0, 50.0))); 124 expect(round(inner.globalToLocal(const Offset(0.0, 0.0))), equals(const Offset(80.0, 100.0))); [all …]
|