/third_party/icu/icu4c/source/test/perf/howExpensiveIs/ |
D | sieve.cpp | 85 double midpoint(double *times, double i, int n) { in midpoint() function 99 return midpoint(times,n/4,n); in medianof() 101 return midpoint(times,n/2,n); in medianof() 103 return midpoint(times,(n/2)+(n/4),n); in medianof()
|
/third_party/boost/boost/random/ |
D | piecewise_constant_distribution.hpp | 112 RealType midpoint = (_intervals[i] + _intervals[i + 1]) / 2; in param_type() local 113 _weights.push_back(f(midpoint)); in param_type() 299 RealType midpoint = (_intervals[i] + _intervals[i + 1]) / 2; in piecewise_constant_distribution() local 300 actual_weights.push_back(f(midpoint)); in piecewise_constant_distribution()
|
/third_party/mesa3d/src/mesa/main/ |
D | texcompress_bptc_tmp.h | 1219 int midpoint; in get_rgba_endpoints_unorm() local 1289 midpoint = (endpoint_luminances[0] + endpoint_luminances[1]) / 2; in get_rgba_endpoints_unorm() 1291 if ((src[0] + src[1] + src[2] <= midpoint) != in get_rgba_endpoints_unorm() 1292 (endpoint_luminances[0] <= midpoint)) { in get_rgba_endpoints_unorm() 1300 midpoint = (endpoints[0][3] + endpoints[1][3]) / 2; in get_rgba_endpoints_unorm() 1302 if ((src[3] <= midpoint) != (endpoints[0][3] <= midpoint)) { in get_rgba_endpoints_unorm() 1523 float midpoint; in get_endpoints_float() local 1582 midpoint = (endpoint_luminances[0] + endpoint_luminances[1]) / 2.0f; in get_endpoints_float() 1584 if ((src[0] + src[1] + src[2] <= midpoint) != in get_endpoints_float() 1585 (endpoint_luminances[0] <= midpoint)) { in get_endpoints_float()
|
/third_party/skia/src/gpu/tessellate/ |
D | PatchWriter.cpp | 88 float2 midpoint = abc.xy() / abc.w(); in chopAndWriteConics() local 91 << midpoint in chopAndWriteConics() 94 *this << innerTriangulator.pushVertex(to_skpoint(midpoint)); in chopAndWriteConics()
|
/third_party/boost/boost/lockfree/ |
D | spsc_queue.hpp | 147 const ConstIterator midpoint = boost::next(begin, count0); in push() local 149 std::uninitialized_copy(begin, midpoint, internal_buffer + write_index); in push() 150 std::uninitialized_copy(midpoint, last, internal_buffer); in push()
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglResizeTests.cpp | 472 const IVec2 winPpi (int(winPpiI.x().midpoint()), int(winPpiI.y().midpoint())); in getNativePixelsPerInch()
|
/third_party/flutter/skia/src/gpu/ccpr/ |
D | GrCCFillGeometry.cpp | 731 Sk2f midpoint = Sk2f(p3d012[0], p3d012[1]) / p3d012[2]; in conicTo() local 734 this->appendMonotonicConic(p0, Sk2f(p3d01[0], p3d01[1]) / p3d01[2], midpoint, ww[0]); in conicTo() 735 this->appendMonotonicConic(midpoint, Sk2f(p3d12[0], p3d12[1]) / p3d12[2], p2, ww[1]); in conicTo()
|
/third_party/python/Modules/ |
D | mathmodule.c | 1933 unsigned long midpoint, num_operands; in factorial_partial_product() local 1964 midpoint = (start + num_operands) | 1; in factorial_partial_product() 1965 left = factorial_partial_product(start, midpoint, in factorial_partial_product() 1966 _Py_bit_length(midpoint - 2)); in factorial_partial_product() 1969 right = factorial_partial_product(midpoint, stop, max_bits); in factorial_partial_product()
|
/third_party/flutter/flutter/packages/flutter/lib/src/animation/ |
D | curves.dart | 253 final double midpoint = (start + end) / 2; 254 final double estimate = _evaluateCubic(a, c, midpoint); 256 return _evaluateCubic(b, d, midpoint); 258 start = midpoint; 260 end = midpoint; 823 /// Since this curve is arrived at with an exponential function, the midpoint
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuInterval.hpp | 168 double midpoint (void) const in midpoint() function in tcu::Interval
|
/third_party/freetype/src/psaux/ |
D | pshints.c | 686 CF2_Fixed midpoint = in cf2_hintmap_insertHint() local 697 firstHintEdge->dsCoord = SUB_INT32( midpoint, halfWidth ); in cf2_hintmap_insertHint() 698 secondHintEdge->dsCoord = ADD_INT32( midpoint, halfWidth ); in cf2_hintmap_insertHint()
|
/third_party/skia/third_party/externals/freetype/src/psaux/ |
D | pshints.c | 693 CF2_Fixed midpoint = in cf2_hintmap_insertHint() local 704 firstHintEdge->dsCoord = SUB_INT32( midpoint, halfWidth ); in cf2_hintmap_insertHint() 705 secondHintEdge->dsCoord = ADD_INT32( midpoint, halfWidth ); in cf2_hintmap_insertHint()
|
/third_party/flutter/skia/third_party/externals/freetype/src/psaux/ |
D | pshints.c | 686 CF2_Fixed midpoint = in cf2_hintmap_insertHint() local 697 firstHintEdge->dsCoord = SUB_INT32( midpoint, halfWidth ); in cf2_hintmap_insertHint() 698 secondHintEdge->dsCoord = ADD_INT32( midpoint, halfWidth ); in cf2_hintmap_insertHint()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
D | duration_test.cc | 1427 double midpoint = low_edge + (high_edge - low_edge) / 2; in TEST() local 1428 if (midpoint == low_edge || midpoint == high_edge) break; in TEST() 1429 absl::Duration mid_duration = absl::Seconds(midpoint); in TEST() 1431 low_edge = midpoint; in TEST() 1434 high_edge = midpoint; in TEST()
|
/third_party/abseil-cpp/absl/time/ |
D | duration_test.cc | 1414 double midpoint = low_edge + (high_edge - low_edge) / 2; in TEST() local 1415 if (midpoint == low_edge || midpoint == high_edge) break; in TEST() 1416 absl::Duration mid_duration = absl::Seconds(midpoint); in TEST() 1418 low_edge = midpoint; in TEST() 1421 high_edge = midpoint; in TEST()
|
/third_party/flutter/flutter/packages/flutter/test/animation/ |
D | curves_test.dart | 75 // Curves.easeInOutExpo is discontinuous at its midpoint, so not included
|
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/ |
D | conic.dart | 106 // The computed midpoint is outside end points, move it to
|
/third_party/python/Doc/library/ |
D | statistics.rst | 297 the midpoint of data classes, e.g. 1 is the midpoint of the class 0.5--1.5, 2 298 is the midpoint of 1.5--2.5, 3 is the midpoint of 2.5--3.5, etc. With the data
|
D | random.rst | 296 default to zero and one. The *mode* argument defaults to the midpoint
|
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/ |
D | text_selection.dart | 114 /// The [position] is a general calculation midpoint parameter of the toolbar. 526 // Find the horizontal midpoint, just above the selected text. 544 final Offset midpoint = Offset( 560 midpoint,
|
/third_party/boost/libs/math/doc/internals/ |
D | minimax.qbk | 113 evaluated at the two endpoints of the range plus the midpoint
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderBuiltinPrecisionTests.cpp | 2521 const double a = iargs.a.midpoint(); in doApply() 2522 const double b = iargs.b.midpoint(); in doApply() 5694 const double midpoint = inputRange.midpoint(); in randomDouble() local 5706 case 0: return inputRange.contains(0) ? 0 : midpoint; in randomDouble() 5707 case 1: return inputRange.contains(TCU_INFINITY) ? TCU_INFINITY : midpoint; in randomDouble() 5708 case 2: return inputRange.contains(-TCU_INFINITY) ? -TCU_INFINITY : midpoint; in randomDouble() 5709 case 3: return inputRange.contains(TCU_NAN) ? TCU_NAN : midpoint; in randomDouble() 5739 return inputRange.contains(value) ? value : midpoint; in randomDouble()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | APInt.cpp | 1327 APInt midpoint((nextSquare - square).udiv(two)); in sqrt() local 1329 if (offset.ult(midpoint)) in sqrt()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | APInt.cpp | 1166 APInt midpoint((nextSquare - square).udiv(two)); in sqrt() local 1168 if (offset.ult(midpoint)) in sqrt()
|
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/ |
D | canvas.dart | 1358 // origin on the midpoint between start/end points and rotate to align 1370 // Calculate rotate midpoint as x/yPrime. 1413 // Start vector is from midpoint of start/end points to transformed center.
|