/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/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/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/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_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.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_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/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_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/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/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/mindspore/mindspore/ccsrc/fl/ |
D | CMakeLists.txt | 10 list(REMOVE_ITEM _FL_SRC_FILES "server/kernel/round/round_kernel_factory.cc") 11 list(REMOVE_ITEM _FL_SRC_FILES "server/kernel/round/round_kernel.cc") 12 list(REMOVE_ITEM _FL_SRC_FILES "server/kernel/round/start_fl_job_kernel.cc") 13 list(REMOVE_ITEM _FL_SRC_FILES "server/kernel/round/update_model_kernel.cc") 14 list(REMOVE_ITEM _FL_SRC_FILES "server/kernel/round/get_model_kernel.cc") 15 list(REMOVE_ITEM _FL_SRC_FILES "server/kernel/round/pull_weight_kernel.cc") 16 list(REMOVE_ITEM _FL_SRC_FILES "server/kernel/round/push_weight_kernel.cc") 17 list(REMOVE_ITEM _FL_SRC_FILES "server/kernel/round/client_list_kernel.cc") 18 list(REMOVE_ITEM _FL_SRC_FILES "server/kernel/round/exchange_keys_kernel.cc") 19 list(REMOVE_ITEM _FL_SRC_FILES "server/kernel/round/get_keys_kernel.cc") [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/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/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()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_conversion_builder.h | 37 nir_rounding_mode round) in nir_round_float_to_int() argument 39 switch (round) { in nir_round_float_to_int() 59 nir_rounding_mode round) in nir_round_float_to_float() argument 72 switch (round) { in nir_round_float_to_float() 112 nir_rounding_mode round) in nir_round_int_to_float() argument 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() 438 nir_rounding_mode round, in nir_convert_with_rounding() argument 454 round = nir_simplify_conversion_rounding(src_type, dest_type, round); in nir_convert_with_rounding() [all …]
|