Home
last modified time | relevance | path

Searched refs:Min (Results 1 – 25 of 469) sorted by relevance

12345678910>>...19

/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/
Drandom.inl101 …GLM_FUNC_QUALIFIER static vecType<T, P> call(vecType<T, P> const & Min, vecType<T, P> const & Max);
107 …GLM_FUNC_QUALIFIER static vecType<int8, P> call(vecType<int8, P> const & Min, vecType<int8, P> con…
109 …pute_rand<uint8, P, vecType>::call() % vecType<uint8, P>(Max + static_cast<int8>(1) - Min))) + Min;
116 …GLM_FUNC_QUALIFIER static vecType<uint8, P> call(vecType<uint8, P> const & Min, vecType<uint8, P> …
118 return (compute_rand<uint8, P, vecType>::call() % (Max + static_cast<uint8>(1) - Min)) + Min;
125 …GLM_FUNC_QUALIFIER static vecType<int16, P> call(vecType<int16, P> const & Min, vecType<int16, P> …
127 …e_rand<uint16, P, vecType>::call() % vecType<uint16, P>(Max + static_cast<int16>(1) - Min))) + Min;
134 …GLM_FUNC_QUALIFIER static vecType<uint16, P> call(vecType<uint16, P> const & Min, vecType<uint16, …
136 return (compute_rand<uint16, P, vecType>::call() % (Max + static_cast<uint16>(1) - Min)) + Min;
143 …GLM_FUNC_QUALIFIER static vecType<int32, P> call(vecType<int32, P> const & Min, vecType<int32, P> …
[all …]
/third_party/boost/boost/safe_numerics/
Dsafe_integer_range.hpp27 std::intmax_t Min,
33 typename utility::signed_stored_type<Min, Max>,
34 static_cast<typename utility::signed_stored_type<Min, Max> >(Min),
35 static_cast<typename utility::signed_stored_type<Min, Max> >(Max),
44 std::uintmax_t Min,
50 typename utility::unsigned_stored_type<Min, Max>,
51 static_cast<typename utility::unsigned_stored_type<Min, Max> >(Min),
52 static_cast<typename utility::unsigned_stored_type<Min, Max> >(Max),
Dsafe_base.hpp30 Stored Min,
39 T Min,
44 struct is_safe<safe_base<T, Min, Max, P, E> > : public std::true_type
49 T Min,
54 struct get_promotion_policy<safe_base<T, Min, Max, P, E> > {
60 T Min,
65 struct get_exception_policy<safe_base<T, Min, Max, P, E> > {
71 T Min,
76 struct base_type<safe_base<T, Min, Max, P, E> > {
82 T Min,
[all …]
/third_party/boost/libs/spirit/test/x3/
Dextract_int.cpp19 template <int Min, int Max>
56 static constexpr int min = Min;
64 template <int Min, int Max> struct digits;
73 template <int Min, int Max>
74 class numeric_limits<custom_int<Min, Max>> : public numeric_limits<int>
77 static constexpr custom_int<Min, Max> max() noexcept { return Max; } in max()
78 static constexpr custom_int<Min, Max> min() noexcept { return Min; } in min()
79 static constexpr custom_int<Min, Max> lowest() noexcept { return min(); } in lowest()
81 static constexpr int digits = utils::digits<Min, Max>::r2;
82 static constexpr int digits10 = utils::digits<Min, Max>::r10;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/PBQP/
DReductionRules.h50 PBQPNum Min = ECosts[0][j] + XCosts[0]; in applyR1() local
53 if (C < Min) in applyR1()
54 Min = C; in applyR1()
56 YCosts[j] += Min; in applyR1()
60 PBQPNum Min = ECosts[i][0] + XCosts[0]; in applyR1() local
63 if (C < Min) in applyR1()
64 Min = C; in applyR1()
66 YCosts[i] += Min; in applyR1()
112 PBQPNum Min = (*YXECosts)[i][0] + (*ZXECosts)[j][0] + XCosts[0]; in applyR2() local
115 if (C < Min) { in applyR2()
[all …]
/third_party/boost/libs/pfr/include/boost/pfr/detail/
Dmake_integer_sequence.hpp47 template <typename T, T Min, T Max>
49 static_assert(Min < Max, "Start of range must be less than its end");
50 static constexpr T size = Max - Min;
52 typename build_sequence_impl<T, Min, Min + size / 2>::type,
53 typename build_sequence_impl<T, Min + size / 2 + 1, Max>::type
/third_party/boost/boost/pfr/detail/
Dmake_integer_sequence.hpp47 template <typename T, T Min, T Max>
49 static_assert(Min < Max, "Start of range must be less than its end");
50 static constexpr T size = Max - Min;
52 typename build_sequence_impl<T, Min, Min + size / 2>::type,
53 typename build_sequence_impl<T, Min + size / 2 + 1, Max>::type
/third_party/boost/libs/spirit/test/qi/
Dextract_int.cpp20 template <int Min, int Max>
57 BOOST_STATIC_CONSTEXPR int min = Min;
65 template <int Min, int Max> struct digits;
74 template <int Min, int Max>
75 class numeric_limits<custom_int<Min, Max> > : public numeric_limits<int>
78 static BOOST_CONSTEXPR custom_int<Min, Max> max() BOOST_NOEXCEPT_OR_NOTHROW { return Max; } in max()
79 static BOOST_CONSTEXPR custom_int<Min, Max> min() BOOST_NOEXCEPT_OR_NOTHROW { return Min; } in min()
80 static BOOST_CONSTEXPR custom_int<Min, Max> lowest() BOOST_NOEXCEPT_OR_NOTHROW { return min(); } in lowest()
82 BOOST_STATIC_CONSTEXPR int digits = utils::digits<Min, Max>::r2;
83 BOOST_STATIC_CONSTEXPR int digits10 = utils::digits<Min, Max>::r10;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DTypeSize.h25 unsigned Min; // Minimum number of vector elements.
29 ElementCount(unsigned Min, bool Scalable) in ElementCount() argument
30 : Min(Min), Scalable(Scalable) {} in ElementCount()
33 return { Min * RHS, Scalable };
36 return { Min / RHS, Scalable };
40 return Min == RHS.Min && Scalable == RHS.Scalable;
/third_party/mesa3d/src/imgui/
Dimgui_internal.h482 ImVec2 Min; // Upper-left member
485 … ImRect() : Min(FLT_MAX,FLT_MAX), Max(-FLT_MAX,-FLT_MAX) {} in ImRect()
486 … ImRect(const ImVec2& min, const ImVec2& max) : Min(min), Max(max) {} in ImRect()
487 … ImRect(const ImVec4& v) : Min(v.x, v.y), Max(v.z, v.w) {} in ImRect()
488 … ImRect(float x1, float y1, float x2, float y2) : Min(x1, y1), Max(x2, y2) {} in ImRect()
490 …ImVec2 GetCenter() const { return ImVec2((Min.x + Max.x) * 0.5f, (Min.y + M… in GetCenter()
491 ImVec2 GetSize() const { return ImVec2(Max.x - Min.x, Max.y - Min.y); } in GetSize()
492 float GetWidth() const { return Max.x - Min.x; } in GetWidth()
493 float GetHeight() const { return Max.y - Min.y; } in GetHeight()
494 ImVec2 GetTL() const { return Min; } // Top-left in GetTL()
[all …]
Dimgui_widgets.cpp161 int lines_skippable = (int)((clip_rect.Min.y - text_pos.y) / line_height); in TextUnformatted()
193 line_rect.Min.y += line_height; in TextUnformatted()
230 RenderTextWrapped(bb.Min, text_begin, text_end, wrap_width); in TextUnformatted()
330 …RenderTextClipped(value_bb.Min, value_bb.Max, value_text_begin, value_text_end, NULL, ImVec2(0.0f,… in LabelTextV()
332 …RenderText(ImVec2(value_bb.Max.x + style.ItemInnerSpacing.x, value_bb.Min.y + style.FramePadding.y… in LabelTextV()
364 RenderBullet(bb.Min + ImVec2(style.FramePadding.x + g.FontSize*0.5f, line_height*0.5f)); in BulletTextV()
365 …RenderText(bb.Min+ImVec2(g.FontSize + style.FramePadding.x*2, text_base_offset_y), text_begin, tex… in BulletTextV()
515 g.ActiveIdClickOffset = g.IO.MousePos - bb.Min; in ButtonBehavior()
575 RenderFrame(bb.Min, bb.Max, col, true, style.FrameRounding); in ButtonEx()
576 …RenderTextClipped(bb.Min + style.FramePadding, bb.Max - style.FramePadding, label, NULL, &label_si… in ButtonEx()
[all …]
/third_party/flutter/skia/third_party/externals/imgui/
Dimgui_internal.h461 ImVec2 Min; // Upper-left member
464 … ImRect() : Min(FLT_MAX,FLT_MAX), Max(-FLT_MAX,-FLT_MAX) {} in ImRect()
465 … ImRect(const ImVec2& min, const ImVec2& max) : Min(min), Max(max) {} in ImRect()
466 … ImRect(const ImVec4& v) : Min(v.x, v.y), Max(v.z, v.w) {} in ImRect()
467 … ImRect(float x1, float y1, float x2, float y2) : Min(x1, y1), Max(x2, y2) {} in ImRect()
469 …ImVec2 GetCenter() const { return ImVec2((Min.x + Max.x) * 0.5f, (Min.y + M… in GetCenter()
470 ImVec2 GetSize() const { return ImVec2(Max.x - Min.x, Max.y - Min.y); } in GetSize()
471 float GetWidth() const { return Max.x - Min.x; } in GetWidth()
472 float GetHeight() const { return Max.y - Min.y; } in GetHeight()
473 ImVec2 GetTL() const { return Min; } // Top-left in GetTL()
[all …]
Dimgui_widgets.cpp159 int lines_skippable = (int)((clip_rect.Min.y - text_pos.y) / line_height); in TextUnformatted()
191 line_rect.Min.y += line_height; in TextUnformatted()
228 RenderTextWrapped(bb.Min, text_begin, text_end, wrap_width); in TextUnformatted()
328 …RenderTextClipped(value_bb.Min, value_bb.Max, value_text_begin, value_text_end, NULL, ImVec2(0.0f,… in LabelTextV()
330 …RenderText(ImVec2(value_bb.Max.x + style.ItemInnerSpacing.x, value_bb.Min.y + style.FramePadding.y… in LabelTextV()
362 RenderBullet(bb.Min + ImVec2(style.FramePadding.x + g.FontSize*0.5f, line_height*0.5f)); in BulletTextV()
363 …RenderText(bb.Min+ImVec2(g.FontSize + style.FramePadding.x*2, text_base_offset_y), text_begin, tex… in BulletTextV()
511 g.ActiveIdClickOffset = g.IO.MousePos - bb.Min; in ButtonBehavior()
571 RenderFrame(bb.Min, bb.Max, col, true, style.FrameRounding); in ButtonEx()
572 …RenderTextClipped(bb.Min + style.FramePadding, bb.Max - style.FramePadding, label, NULL, &label_si… in ButtonEx()
[all …]
/third_party/boost/libs/geometry/index/test/rtree/
Drtree_insert_remove.cpp57 template <int Max, int Min>
68 test_rtree< bgi::linear<Max, Min> >(vcount); in test_rtree_all()
69 test_rtree< bgi::quadratic<Max, Min> >(vcount); in test_rtree_all()
70 test_rtree< bgi::rstar<Max, Min> >(vcount); in test_rtree_all()
Drtree_epsilon.cpp70 template <int Max, int Min>
81 test_rtree< bgi::linear<Max, Min> >(vcount); in test_rtree_all()
82 test_rtree< bgi::quadratic<Max, Min> >(vcount); in test_rtree_all()
83 test_rtree< bgi::rstar<Max, Min> >(vcount); in test_rtree_all()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizeMutations.cpp47 unsigned Min) { in widenScalarOrEltToNextPow2() argument
51 std::max(1u << Log2_32_Ceil(Ty.getScalarSizeInBits()), Min); in widenScalarOrEltToNextPow2()
57 unsigned Min) { in moreElementsToNextPow2() argument
61 std::max(1u << Log2_32_Ceil(VecTy.getNumElements()), Min); in moreElementsToNextPow2()
/third_party/boost/boost/geometry/index/detail/
Dserialization.hpp83 template<class Archive, size_t Max, size_t Min>
84 void save_construct_data(Archive & ar, const boost::geometry::index::linear<Max, Min> * params, uns… in save_construct_data()
90 template<class Archive, size_t Max, size_t Min>
91 void load_construct_data(Archive & ar, boost::geometry::index::linear<Max, Min> * params, unsigned … in load_construct_data()
102 …mplate<class Archive, size_t Max, size_t Min> void serialize(Archive &, boost::geometry::index::li… in serialize() argument
106 template<class Archive, size_t Max, size_t Min>
107 void save_construct_data(Archive & ar, const boost::geometry::index::quadratic<Max, Min> * params, … in save_construct_data()
113 template<class Archive, size_t Max, size_t Min>
114 void load_construct_data(Archive & ar, boost::geometry::index::quadratic<Max, Min> * params, unsign… in load_construct_data()
125 …plate<class Archive, size_t Max, size_t Min> void serialize(Archive &, boost::geometry::index::qua… in serialize() argument
[all …]
/third_party/skia/third_party/externals/imgui/
Dimgui_tables.cpp451 table->RowPosY1 = table->RowPosY2 = table->WorkRect.Min.y; // This is needed somehow in BeginTableEx()
939 …t_rect(table->OuterRect.Min.x, table->OuterRect.Min.y, table->OuterRect.Max.x, ImMax(table->OuterR… in TableUpdateLayout()
946 …float offset_x = ((table->FreezeColumnsCount > 0) ? table->OuterRect.Min.x : work_rect.Min.x) + ta… in TableUpdateLayout()
960 offset_x += work_rect.Min.x - table->OuterRect.Min.x; in TableUpdateLayout()
971 …column->MinX = column->MaxX = column->WorkMinX = column->ClipRect.Min.x = column->ClipRect.Max.x =… in TableUpdateLayout()
973 column->ClipRect.Min.y = work_rect.Min.y; in TableUpdateLayout()
983 …if (is_hovering_table && g.IO.MousePos.x >= column->ClipRect.Min.x && g.IO.MousePos.x < column->Cl… in TableUpdateLayout()
1003 column->ClipRect.Min.x = column->MinX; in TableUpdateLayout()
1004 column->ClipRect.Min.y = work_rect.Min.y; in TableUpdateLayout()
1016 column->IsVisibleX = (column->ClipRect.Max.x > column->ClipRect.Min.x); in TableUpdateLayout()
[all …]
Dimgui_widgets.cpp184 int lines_skippable = (int)((window->ClipRect.Min.y - text_pos.y) / line_height); in TextEx()
217 line_rect.Min.y += line_height; in TextEx()
253 RenderTextWrapped(bb.Min, text_begin, text_end, wrap_width); in TextEx()
373 …RenderTextClipped(value_bb.Min + style.FramePadding, value_bb.Max, value_text_begin, value_text_en… in LabelTextV()
375 …RenderText(ImVec2(value_bb.Max.x + style.ItemInnerSpacing.x, value_bb.Min.y + style.FramePadding.y… in LabelTextV()
409 …RenderBullet(window->DrawList, bb.Min + ImVec2(style.FramePadding.x + g.FontSize * 0.5f, g.FontSiz… in BulletTextV()
410 …RenderText(bb.Min + ImVec2(g.FontSize + style.FramePadding.x * 2, 0.0f), text_begin, text_end, fal… in BulletTextV()
629 g.ActiveIdClickOffset = g.IO.MousePos - bb.Min; in ButtonBehavior()
700 RenderFrame(bb.Min, bb.Max, col, true, style.FrameRounding); in ButtonEx()
704 …RenderTextClipped(bb.Min + style.FramePadding, bb.Max - style.FramePadding, label, NULL, &label_si… in ButtonEx()
[all …]
Dimgui_internal.h478 ImVec2 Min; // Upper-left member
481 ImRect() : Min(0.0f, 0.0f), Max(0.0f, 0.0f) {} in ImRect()
482 ImRect(const ImVec2& min, const ImVec2& max) : Min(min), Max(max) {} in ImRect()
483 ImRect(const ImVec4& v) : Min(v.x, v.y), Max(v.z, v.w) {} in ImRect()
484 ImRect(float x1, float y1, float x2, float y2) : Min(x1, y1), Max(x2, y2) {} in ImRect()
486 …ImVec2 GetCenter() const { return ImVec2((Min.x + Max.x) * 0.5f, (Min.y + M… in GetCenter()
487 ImVec2 GetSize() const { return ImVec2(Max.x - Min.x, Max.y - Min.y); } in GetSize()
488 float GetWidth() const { return Max.x - Min.x; } in GetWidth()
489 float GetHeight() const { return Max.y - Min.y; } in GetHeight()
490 float GetArea() const { return (Max.x - Min.x) * (Max.y - Min.y); } in GetArea()
[all …]
Dimgui.cpp2269 …unclipped_rect.Add(ImRect(window->Pos + window->NavRectRel[0].Min, window->Pos + window->NavRectRe… in CalcListClipping()
2272 int start = (int)((unclipped_rect.Min.y - pos.y) / items_height); in CalcListClipping()
2756 const ImVec2* clip_min = clip_rect ? &clip_rect->Min : &pos_min; in RenderTextClippedEx()
2921 window->DrawList->PushClipRect(display_rect.Min, display_rect.Max); in RenderNavHighlight()
2922 …window->DrawList->AddRect(display_rect.Min + ImVec2(THICKNESS * 0.5f, THICKNESS * 0.5f), display_r… in RenderNavHighlight()
2928 …window->DrawList->AddRect(display_rect.Min, display_rect.Max, GetColorU32(ImGuiCol_NavHighlight), … in RenderNavHighlight()
3034 …const int r_rel[4] = { (int)(r_abs.Min.x - Pos.x), (int)(r_abs.Min.y - Pos.y), (int)(r_abs.Max.x -… in GetIDFromRectangle()
3242 if (!IsMouseHoveringRect(bb.Min, bb.Max)) in ItemHoverable()
3276 GetForegroundDrawList()->AddRect(bb.Min, bb.Max, IM_COL32(255, 255, 0, 255)); in ItemHoverable()
4658 …const ImRect rect_for_touch(rect_clipped.Min - g.Style.TouchExtraPadding, rect_clipped.Max + g.Sty… in IsMouseHoveringRect()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DPointerSumType.h232 struct Min : std::integral_constant< struct
233 uintptr_t, (V < Min<Vs...>::value ? V : Min<Vs...>::value)> {
236 struct Min<V> : std::integral_constant<uintptr_t, V> {};
237 enum { NumTagBits = Min<MemberTs::TraitsT::NumLowBitsAvailable...>::value };
241 static_cast<TagT>(Min<MemberTs::Tag...>::value);
/third_party/flutter/skia/fuzz/
DFuzz.h58 template <typename T, typename Min, typename Max>
59 void nextRange(T*, Min, Max);
99 template <typename T, typename Min, typename Max>
100 inline void Fuzz::nextRange(T* value, Min min, Max max) { in nextRange()
/third_party/skia/fuzz/
DFuzz.h59 template <typename T, typename Min, typename Max>
60 void nextRange(T*, Min, Max);
105 template <typename T, typename Min, typename Max>
106 inline void Fuzz::nextRange(T* value, Min min, Max max) { in nextRange()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DSpirvShaderGLSLstd450.cpp148 dst.move(i, Min(lhs.Float(i), rhs.Float(i))); in EmitExtGLSLstd450()
168 dst.move(i, Min(lhs.Int(i), rhs.Int(i))); in EmitExtGLSLstd450()
188 dst.move(i, Min(lhs.UInt(i), rhs.UInt(i))); in EmitExtGLSLstd450()
219 auto tx = Min(Max((x.Float(i) - edge0.Float(i)) / in EmitExtGLSLstd450()
245 dst.move(i, Min(Max(x.Float(i), minVal.Float(i)), maxVal.Float(i))); in EmitExtGLSLstd450()
256 dst.move(i, Min(Max(x.Int(i), minVal.Int(i)), maxVal.Int(i))); in EmitExtGLSLstd450()
267 dst.move(i, Min(Max(x.UInt(i), minVal.UInt(i)), maxVal.UInt(i))); in EmitExtGLSLstd450()
407 …dst.move(0, (SIMD::Int(Round(Min(Max(val.Float(0), SIMD::Float(-1.0f)), SIMD::Float(1.0f)) * SIMD:… in EmitExtGLSLstd450()
409 …((SIMD::Int(Round(Min(Max(val.Float(1), SIMD::Float(-1.0f)), SIMD::Float(1.0f)) * SIMD::Float(127.… in EmitExtGLSLstd450()
412 …((SIMD::Int(Round(Min(Max(val.Float(2), SIMD::Float(-1.0f)), SIMD::Float(1.0f)) * SIMD::Float(127.… in EmitExtGLSLstd450()
[all …]

12345678910>>...19