/third_party/mesa3d/include/ |
D | c99_math.h | 55 long int rounded = (long int)(d + 0.5); in lrint() local 58 if (rounded % 2 != 0) in lrint() 59 rounded += (d > 0) ? -1 : 1; in lrint() 62 return rounded; in lrint() 68 long int rounded = (long int)(f + 0.5f); in lrintf() local 71 if (rounded % 2 != 0) in lrintf() 72 rounded += (f > 0) ? -1 : 1; in lrintf() 75 return rounded; in lrintf() 81 long long int rounded = (long long int)(d + 0.5); in llrint() local 84 if (rounded % 2 != 0) in llrint() [all …]
|
/third_party/boost/libs/multiprecision/test/ |
D | test_rat_float_interconv.cpp | 103 Rat delta, rounded; in do_round_trip() local 111 rounded = rat + delta; in do_round_trip() 112 new_f = static_cast<Float>(rounded); in do_round_trip() 114 rounded = rat - delta; in do_round_trip() 115 new_f = static_cast<Float>(rounded); in do_round_trip() 119 rounded = rat + delta; in do_round_trip() 120 new_f = static_cast<Float>(rounded); in do_round_trip() 122 rounded = rat - delta; in do_round_trip() 123 new_f = static_cast<Float>(rounded); in do_round_trip() 127 rounded = rat + delta; in do_round_trip() [all …]
|
/third_party/icu/docs/userguide/format_parse/numbers/ |
D | rounding-modes.md | 83 (shown dotted in the chart) are rounded to the nearest even digit. This is often 95 Values exactly on the 0.5 (half) mark are rounded down (next smaller absolute 100 Values exactly on the 0.5 (half) mark are rounded up (next larger absolute 105 All values are rounded towards the next smaller absolute value (rounded towards 113 All values are rounded towards the next greater absolute value (away from zero). 117 Values exactly on the 0.5 (half) mark are rounded toward positive infinity (+∞). 123 Values exactly on the 0.5 (half) mark are rounded towards negative infinity (-∞). 127 All values are rounded towards positive infinity (+∞). Also known as RI for 132 All values are rounded towards negative infinity (-∞). Also known as RMI for
|
/third_party/wayland_standard/doc/doxygen/dot/ |
D | x-architecture.gv | 21 …c1 [label=<<TABLE STYLE="rounded" BGCOLOR="#ffbc00"><TR><TD>X Client</TD></TR></TABLE>>, URL="#c1"] 22 …c3 [label=<<TABLE STYLE="rounded" BGCOLOR="#ffbc00"><TR><TD>X Client</TD></TR></TABLE>>, URL="#c3"] 24 …c2 [label=<<TABLE STYLE="rounded" BGCOLOR="#ffbc00"><TR><TD>X Client</TD></TR></TABLE>>, URL="#c2"] 28 …xserver [tooltip="X Server", label=<<TABLE STYLE="rounded" BGCOLOR="#ffbc00"><TR><TD><BR/>X Server… 29 …comp [tooltip="Compositor", label=<<TABLE STYLE="rounded" BGCOLOR="#ffbc00"><TR><TD><BR/>Composito… 32 …impl [tooltip="KMS evdev Kernel", label=<<TABLE STYLE="rounded" BGCOLOR="#ffbc00"><TR><TD>KMS</TD>…
|
D | wayland-architecture.gv | 18 …c1 [label=<<TABLE STYLE="rounded" BGCOLOR="#ffbc00"><TR><TD>Wayland Client</TD></TR></TABLE>>, URL… 19 …c2 [label=<<TABLE STYLE="rounded" BGCOLOR="#ffbc00"><TR><TD>Wayland Client</TD></TR></TABLE>>, URL… 21 …comp [tooltip="Wayland Compositor", label=<<TABLE STYLE="rounded" BGCOLOR="#ffbc00"><TR><TD><BR/>W… 23 …impl [tooltip="KMS evdev Kernel", label=<<TABLE STYLE="rounded" BGCOLOR="#ffbc00"><TR><TD>KMS</TD>…
|
/third_party/skia/modules/skottie/src/layers/shapelayer/ |
D | RoundCorners.cpp | 45 std::vector<sk_sp<sksg::GeometryNode>> rounded; in AttachRoundGeometryEffect() local 46 rounded.reserve(geos.size()); in AttachRoundGeometryEffect() 49 rounded.push_back( in AttachRoundGeometryEffect() 54 return rounded; in AttachRoundGeometryEffect()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/ |
D | quantize.c | 151 uint64_t rounded = ((fraction >> (dMantissaBits - iMantissaBits)) + 1ull) >> 1; in QuantizeMultiplier() local 153 if (rounded == (1ull << iMantissaBits)) { in QuantizeMultiplier() 155 rounded >>= 1; in QuantizeMultiplier() 158 *quantized_multiplier = (dul.ul & dSignMask) ? (-(int32_t)(rounded)) : (int32_t)(rounded); in QuantizeMultiplier()
|
/third_party/flutter/skia/modules/pathkit/tests/ |
D | effects.spec.js | 102 let rounded = drawStar().stroke({ 109 expect(stroked.equals(rounded)).toBe(false); 113 reportPath(rounded, 'stroke_round_square', done); 116 rounded.delete();
|
/third_party/skia/modules/pathkit/tests/ |
D | effects.spec.js | 102 let rounded = drawStar().stroke({ 109 expect(stroked.equals(rounded)).toBe(false); 113 reportPath(rounded, 'stroke_round_square', done); 116 rounded.delete();
|
/third_party/ntfs-3g/libntfs-3g/ |
D | compress.c | 1076 s32 rounded; in ntfs_comp_set() local 1141 rounded = ((compsz - 1) | (clsz - 1)) + 1; in ntfs_comp_set() 1142 memset(&outbuf[compsz], 0, rounded - compsz); in ntfs_comp_set() 1143 written = write_clusters(vol, rl, offs, rounded, outbuf); in ntfs_comp_set() 1144 if (written != rounded) { in ntfs_comp_set() 1630 s32 rounded; in ntfs_flush() local 1647 rounded = ((count - 1) | (clsz - 1)) + 1; in ntfs_flush() 1648 if (rounded > count) in ntfs_flush() 1649 memset(&outbuf[count], 0, rounded - count); in ntfs_flush() 1651 offs, rounded, outbuf); in ntfs_flush() [all …]
|
/third_party/boost/libs/math/doc/distributions/ |
D | background.qbk | 56 /rounded outwards/. That is to say lower quantiles (where the probability is 57 less than 0.5) are rounded downward, and upper quantiles (where the probability 58 is greater than 0.5) are rounded upwards. This behaviour 63 This behaviour can be changed so that the quantile functions are rounded
|
/third_party/mesa3d/src/panfrost/midgard/ |
D | midgard_opt_dce.c | 86 unsigned rounded = mir_round_bytemask_up(live[ins->dest], round_size); in midgard_opt_dead_code_eliminate_block() local 87 unsigned cmask = mir_from_bytemask(rounded, type_size); in midgard_opt_dead_code_eliminate_block()
|
/third_party/boost/libs/math/doc/background/ |
D | error.qbk | 28 follows: in the test programs, the test data is rounded to the target real type 31 either rounded up from the actual error, or rounded down (possibly to zero). 58 that the result has been rounded in the right direction. Of course, transcendental
|
/third_party/boost/libs/geometry/doc/generated/ |
D | buffer_join_round.qbk | 19 Let the buffer create rounded corners. 22 This strategy can be used as JoinStrategy for the buffer algorithm. It creates a rounded corners ar…
|
D | buffer_end_round.qbk | 19 Let the buffer create rounded ends. 22 This strategy can be used as EndStrategy for the buffer algorithm. It creates a rounded end for eac…
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | type_checkers.py | 88 rounded = float('{0:.{1}g}'.format(original, precision)) 89 while TruncateToFourByteFloat(rounded) != original: 91 rounded = float('{0:.{1}g}'.format(original, precision)) 92 return rounded
|
/third_party/skia/experimental/lowp-basic/ |
D | lerp-study.cpp | 66 int32_t rounded = temp + 32768; in full_res_lerp() local 67 return rounded >> 16; in full_res_lerp()
|
D | bilerp-study.cpp | 64 int64_t rounded = temp + (1LL << 31); in full_res_bilerp() local 65 return rounded >> 32; in full_res_bilerp()
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuBilinearImageCompare.cpp | 80 const deUint32 rounded = (sum + half) >> (NUM_SUBPIXEL_BITS*2); in interpolateChannel() local 82 DE_ASSERT(de::inRange<deUint32>(rounded, 0, 0xff)); in interpolateChannel() 83 return (deUint8)rounded; in interpolateChannel()
|
/third_party/skia/third_party/externals/opengl-registry/extensions/ARB/ |
D | ARB_shader_precision.txt | 140 a+b, a-b, a*b correctly rounded 143 a*b+c correctly rounded single operation or 144 sequence of two correctly rounded operations 151 conversions correctly rounded
|
/third_party/flutter/flutter/packages/flutter/lib/src/painting/ |
D | continuous_rectangle_border.dart | 13 /// sides and the rounded corners. 29 /// * [RoundedRectangleBorder] Which creates rectangles with rounded corners, 30 /// however its straight sides change into a rounded corner with a circular
|
D | rounded_rectangle_border.dart | 15 /// A rectangular border with rounded corners. 17 /// Typically used with [ShapeDecoration] to draw a box with a rounded 26 /// describe a rounded rectangle. 28 /// Creates a rounded rectangle border.
|
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/ |
D | geometry.dart | 283 /// operand (a double), rounded towards zero. 491 /// [double]), rounded towards zero. 999 /// operand (a double), rounded towards zero. 1068 /// An immutable rounded rectangle with the custom radii for all four corners. 1070 /// Construct a rounded rectangle from its left, top, right, and bottom edges, 1089 /// Construct a rounded rectangle from its left, top, right, and bottom edges, 1108 /// Construct a rounded rectangle from its bounding box and the same radii 1126 /// Construct a rounded rectangle from its bounding box and a radius that is 1144 /// Construct a rounded rectangle from its left, top, right, and bottom edges, 1172 /// Construct a rounded rectangle from its bounding box and and topLeft, [all …]
|
/third_party/flutter/engine/flutter/lib/ui/ |
D | geometry.dart | 279 /// operand (a double), rounded towards zero. 476 /// [double]), rounded towards zero. 955 /// operand (a double), rounded towards zero. 1017 /// An immutable rounded rectangle with the custom radii for all four corners. 1019 /// Construct a rounded rectangle from its left, top, right, and bottom edges, 1037 /// Construct a rounded rectangle from its left, top, right, and bottom edges, 1056 /// Construct a rounded rectangle from its bounding box and the same radii 1074 /// Construct a rounded rectangle from its bounding box and a radius that is 1092 /// Construct a rounded rectangle from its left, top, right, and bottom edges, 1120 /// Construct a rounded rectangle from its bounding box and and topLeft, [all …]
|
/third_party/flutter/flutter/packages/flutter/lib/src/material/ |
D | input_border.dart | 28 /// rounded rectangle around the input decorator's container. 132 /// rounded rectangle around the input decorator's container. 154 /// The radii of the border's rounded rectangle corners. 251 /// Draws a rounded rectangle around an [InputDecorator]'s container. 265 /// Creates a rounded rectangle outline border for an [InputDecorator]. 313 /// The radii of the border's rounded rectangle corners. 452 /// Draw a rounded rectangle around [rect] using [borderRadius]. 456 /// The top side of the rounded rectangle may be interrupted by a single gap
|