/third_party/icu/icu4c/source/test/perf/howExpensiveIs/ |
H A 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/skia/src/gpu/tessellate/ |
H A 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/mesa3d/src/mesa/main/ |
H A D | texcompress_bptc_tmp.h | 1209 int midpoint; in get_rgba_endpoints_unorm() local 1279 midpoint = (endpoint_luminances[0] + endpoint_luminances[1]) / 2; in get_rgba_endpoints_unorm() 1281 if ((src[0] + src[1] + src[2] <= midpoint) != in get_rgba_endpoints_unorm() 1282 (endpoint_luminances[0] <= midpoint)) { in get_rgba_endpoints_unorm() 1290 midpoint = (endpoints[0][3] + endpoints[1][3]) / 2; in get_rgba_endpoints_unorm() 1292 if ((src[3] <= midpoint) != (endpoints[0][3] <= midpoint)) { in get_rgba_endpoints_unorm() 1513 float midpoint; in get_endpoints_float() local 1572 midpoint = (endpoint_luminances[0] + endpoint_luminances[1]) / 2.0f; in get_endpoints_float() 1574 if ((src[0] + src[1] + src[2] <= midpoint) ! in get_endpoints_float() [all...] |
/third_party/pulseaudio/src/modules/bluetooth/ |
H A D | a2dp-codec-sbc.c | 278 size_t midpoint = (upper_bound + lower_bound) / 2; in sbc_get_max_bitpool_below_rate() local 280 sbc_info.initial_bitpool = midpoint; in sbc_get_max_bitpool_below_rate() 286 upper_bound = midpoint; in sbc_get_max_bitpool_below_rate() 288 lower_bound = midpoint; in sbc_get_max_bitpool_below_rate()
|
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglResizeTests.cpp | 472 const IVec2 winPpi (int(winPpiI.x().midpoint()), int(winPpiI.y().midpoint())); in getNativePixelsPerInch()
|
/third_party/python/Modules/ |
H A D | mathmodule.c | 1978 unsigned long midpoint, num_operands; in factorial_partial_product() local 2008 /* find midpoint of range(start, stop), rounded up to next odd number. */ in factorial_partial_product() 2009 midpoint = (start + num_operands) | 1; in factorial_partial_product() 2010 left = factorial_partial_product(start, midpoint, in factorial_partial_product() 2011 _Py_bit_length(midpoint - 2)); in factorial_partial_product() 2014 right = factorial_partial_product(midpoint, stop, max_bits); in factorial_partial_product()
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuInterval.hpp | 168 double midpoint (void) const in midpoint() function in tcu::Interval
|
/third_party/skia/third_party/externals/freetype/src/psaux/ |
H A 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() 1297 /* limit the intersection distance from midpoint of u2 and v1 */ in cf2_glyphpath_computeIntersection()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
H A 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/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderBuiltinPrecisionTests.cpp | 2548 const double a = iargs.a.midpoint(); in doApply() 2549 const double b = iargs.b.midpoint(); in doApply() 5738 const double midpoint = inputRange.midpoint(); in randomDouble() local 5750 case 0: return inputRange.contains(0) ? 0 : midpoint; in randomDouble() 5751 case 1: return inputRange.contains(TCU_INFINITY) ? TCU_INFINITY : midpoint; in randomDouble() 5752 case 2: return inputRange.contains(-TCU_INFINITY) ? -TCU_INFINITY : midpoint; in randomDouble() 5753 case 3: return inputRange.contains(TCU_NAN) ? TCU_NAN : midpoint; in randomDouble() 5783 return inputRange.contains(value) ? value : midpoint; in randomDouble()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A D | vktShaderBuiltinPrecisionTests.cpp | 2521 const double a = iargs.a.midpoint(); in doApply() 2522 const double b = iargs.b.midpoint(); in doApply() 5727 const double midpoint = inputRange.midpoint(); in randomDouble() local 5739 case 0: return inputRange.contains(0) ? 0 : midpoint; in randomDouble() 5740 case 1: return inputRange.contains(TCU_INFINITY) ? TCU_INFINITY : midpoint; in randomDouble() 5741 case 2: return inputRange.contains(-TCU_INFINITY) ? -TCU_INFINITY : midpoint; in randomDouble() 5742 case 3: return inputRange.contains(TCU_NAN) ? TCU_NAN : midpoint; in randomDouble() 5772 return inputRange.contains(value) ? value : midpoint; in randomDouble()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | APInt.cpp | 1327 APInt midpoint((nextSquare - square).udiv(two)); in sqrt() 1329 if (offset.ult(midpoint)) in sqrt()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | APInt.cpp | 1166 APInt midpoint((nextSquare - square).udiv(two)); 1168 if (offset.ult(midpoint))
|
/third_party/vk-gl-cts/modules/gles3/performance/ |
H A D | es3pBufferDataUploadTests.cpp | 969 const float midpoint = (xmin + xmax) / 2.0f; in getAreaBetweenLines() local 972 const float lineAHeight = lineAOffset + lineACoefficient * midpoint; in getAreaBetweenLines() 973 const float lineBHeight = lineBOffset + lineBCoefficient * midpoint; in getAreaBetweenLines()
|