Home
last modified time | relevance | path

Searched refs:Numerator (Results 1 – 25 of 36) sorted by relevance

12

/third_party/boost/boost/container/detail/
Dnext_capacity.hpp32 template<unsigned Minimum, unsigned Numerator, unsigned Denominator>
35 BOOST_STATIC_ASSERT(Numerator > Denominator);
36 BOOST_STATIC_ASSERT(Numerator < 100);
38 BOOST_STATIC_ASSERT(Denominator == 1 || (0 != Numerator % Denominator));
43 const SizeType overflow_limit = ((SizeType)-1) / Numerator; in operator ()()
48 new_cap = cur_cap * Numerator / Denominator; in operator ()()
54 new_cap *= Numerator; in operator ()()
/third_party/boost/boost/units/
Dstatic_rational.hpp103 BOOST_STATIC_CONSTANT(integer_type, Numerator =
117 static BOOST_CONSTEXPR integer_type numerator() { return Numerator; } in numerator()
142 BOOST_STATIC_CONSTEXPR integer_type Numerator = N/den, member in boost::units::static_rational
149 typedef static_rational<Numerator,Denominator> type;
151 static BOOST_CONSTEXPR integer_type numerator() { return Numerator; } in numerator()
267 typedef mpl::bool_<((mpl::minus<T0, T1>::type::Numerator) < 0)> type;
279 T0::Numerator*T1::Denominator+T1::Numerator*T0::Denominator,
291 T0::Numerator*T1::Denominator-T1::Numerator*T0::Denominator,
303 T0::Numerator*T1::Numerator,
315 T0::Numerator*T1::Denominator,
[all …]
Dscaled_base_unit.hpp112 …(boost::is_same<typename T0::system_type, T1>::value && ((T0::scale_type::exponent::Numerator) < 0…
122 …(boost::is_same<T0, typename T1::system_type>::value && ((T1::scale_type::exponent::Numerator) > 0…
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DBranchProbability.cpp39 BranchProbability::BranchProbability(uint32_t Numerator, uint32_t Denominator) { in BranchProbability() argument
41 assert(Numerator <= Denominator && "Probability cannot be bigger than 1!"); in BranchProbability()
43 N = Numerator; in BranchProbability()
46 (Numerator * static_cast<uint64_t>(D) + Denominator / 2) / Denominator; in BranchProbability()
52 BranchProbability::getBranchProbability(uint64_t Numerator, in getBranchProbability() argument
54 assert(Numerator <= Denominator && "Probability cannot be bigger than 1!"); in getBranchProbability()
61 return BranchProbability(Numerator >> Scale, Denominator); in getBranchProbability()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/
DSupport.h51 unsigned Numerator, Denominator; variable
54 ResourceCycles() : Numerator(0), Denominator(1) {} in ResourceCycles()
56 : Numerator(Cycles), Denominator(ResourceUnits) {} in Numerator() function
60 return (Denominator == 1) ? Numerator : (double)Numerator / Denominator;
63 unsigned getNumerator() const { return Numerator; } in getNumerator()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/
DSupport.cpp25 Numerator += RHS.Numerator; in operator +=()
31 unsigned LHSNumerator = Numerator * (LCM / Denominator); in operator +=()
32 unsigned RHSNumerator = RHS.Numerator * (LCM / RHS.Denominator); in operator +=()
33 Numerator = LHSNumerator + RHSNumerator; in operator +=()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/
Dgradient_paint.inl21 …T Numerator = (D.x * F.x + D.y * F.y) + sqrt(Radius2 * (pow2(D.x) + pow2(D.y)) - pow2(D.x * F.y - … local
23 return Numerator / Denominator;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DGCOV.cpp568 static uint32_t safeDiv(uint64_t Numerator, uint64_t Divisor) { in safeDiv() argument
569 if (!Numerator) in safeDiv()
571 return Numerator / Divisor; in safeDiv()
577 static uint32_t branchDiv(uint64_t Numerator, uint64_t Divisor) { in branchDiv() argument
578 if (!Numerator) in branchDiv()
580 if (Numerator == Divisor) in branchDiv()
583 uint8_t Res = (Numerator * 100 + Divisor / 2) / Divisor; in branchDiv()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DBranchProbability.h44 BranchProbability(uint32_t Numerator, uint32_t Denominator);
56 static BranchProbability getBranchProbability(uint64_t Numerator,
DMathExtras.h731 inline uint64_t divideCeil(uint64_t Numerator, uint64_t Denominator) {
732 return alignTo(Numerator, Denominator) / Denominator;
736 inline uint64_t divideNearest(uint64_t Numerator, uint64_t Denominator) {
737 return (Numerator + (Denominator / 2)) / Denominator;
/third_party/boost/boost/units/detail/
Dlinear_algebra.hpp199 next_row::item::Numerator == 0,
248 top_row::item::Numerator == 0,
342 (current_row::item::Numerator == 0),
412 next_row::item::Numerator == 0,
Dstatic_rational_power.hpp56 return(pow(y, static_cast<double>(R::Numerator) / static_cast<double>(R::Denominator))); in call()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp892 static void divide(ScalarEvolution &SE, const SCEV *Numerator, in divide()
895 assert(Numerator && Denominator && "Uninitialized SCEV"); in divide()
897 SCEVDivision D(SE, Numerator, Denominator); in divide()
901 if (Numerator == Denominator) { in divide()
907 if (Numerator->isZero()) { in divide()
915 *Quotient = Numerator; in divide()
923 *Quotient = Numerator; in divide()
932 *Remainder = Numerator; in divide()
940 D.visit(Numerator); in divide()
947 void visitTruncateExpr(const SCEVTruncateExpr *Numerator) {} in visitTruncateExpr()
[all …]
DLoopCacheAnalysis.cpp290 const SCEV *Numerator = SE.getMulExpr(Stride, TripCount); in computeRefCost() local
291 RefCost = SE.getUDivExpr(Numerator, CacheLineSize); in computeRefCost()
/third_party/flutter/skia/third_party/externals/imgui/examples/example_win32_directx11/
Dmain.cpp40 sd.BufferDesc.RefreshRate.Numerator = 60; in CreateDeviceD3D()
/third_party/flutter/skia/third_party/externals/imgui/examples/example_win32_directx10/
Dmain.cpp40 sd.BufferDesc.RefreshRate.Numerator = 60; in CreateDeviceD3D()
/third_party/skia/third_party/externals/imgui/examples/example_sdl_directx11/
Dmain.cpp190 sd.BufferDesc.RefreshRate.Numerator = 60; in CreateDeviceD3D()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/win32/
DNativeWindow11Win32.cpp186 swapChainDesc.BufferDesc.RefreshRate.Numerator = 0; in createSwapChain()
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx10/
Dmain.cpp175 sd.BufferDesc.RefreshRate.Numerator = 60; in CreateDeviceD3D()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/win32/
DNativeWindow11Win32.cpp186 swapChainDesc.BufferDesc.RefreshRate.Numerator = 0; in createSwapChain()
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx11/
Dmain.cpp176 sd.BufferDesc.RefreshRate.Numerator = 60; in CreateDeviceD3D()
/third_party/mesa3d/src/gallium/targets/d3d10sw/tests/
Dtri.cpp107 SwapChainDesc.BufferDesc.RefreshRate.Numerator = 60; in main()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUInstrInfo.td240 // src1 = Denominator, src2 = Numerator).
246 // Denominator, src2 = Numerator).
/third_party/python/Doc/library/
Dfractions.rst94 Numerator of the Fraction in lowest term.
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/
DDXGISwapChainWindowSurfaceWGL.cpp471 swapChainDesc.BufferDesc.RefreshRate.Numerator = 0; in createSwapChain()

12