/third_party/mesa3d/src/imgui/ |
H A D | imgui_internal.h | 482 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 + Max.y) * 0.5f); } 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 in GetSize() [all...] |
H A D | imgui_widgets.cpp | 161 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,0.5f)); in LabelTextV() 332 RenderText(ImVec2(value_bb.Max.x + style.ItemInnerSpacing.x, value_bb.Min.y + style.FramePadding.y), label); 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, text_end, false); 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 in ButtonEx() [all...] |
H A D | imgui.cpp | 145 - Our origin are on the top-left. In axis aligned bounding boxes, Min = top-left, Max = bottom-right. 302 // - Note that pcmd->ClipRect contains Min+Max bounds. Some graphics API may use Min+Max, other may use Min+Size (size being Max-Min) 2335 const ImVec2* clip_min = clip_rect ? &clip_rect->Min : &pos_min; in RenderTextClippedEx() 2479 window->DrawList->PushClipRect(display_rect.Min, display_rect.Max); in RenderNavHighlight() 2480 window->DrawList->AddRect(display_rect.Min + ImVec2(THICKNESS*0.5f,THICKNESS*0.5f), display_rect.Max - ImVec2(THICKNESS*0.5f,THICKNESS*0.5f), GetColorU32(ImGuiCol_NavHighlight), rounding, ImDrawCornerFlags_All, THICKNESS); in RenderNavHighlight() 2486 window->DrawList->AddRect(display_rect.Min, display_rect.Max, GetColorU32(ImGuiCol_NavHighlight), rounding, ~0, 1.0f); in RenderNavHighlight() 2598 const int r_rel[4] = { (int)(r_abs.Min in GetIDFromRectangle() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/PBQP/ |
H A D | ReductionRules.h | 50 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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | TypeSize.h | 25 unsigned Min; // Minimum number of vector elements. member in llvm::ElementCount 26 bool Scalable; // If true, NumElements is a multiple of 'Min' determined 29 ElementCount(unsigned Min, bool Scalable) in ElementCount() argument 30 : Min(Min), Scalable(Scalable) {} in ElementCount() 33 return { Min * RHS, Scalable }; in operator *() 36 return { Min / RHS, Scalable }; in operator /() 40 return Min == RHS.Min && Scalable == RHS.Scalable; in operator ==()
|
/third_party/node/deps/v8/src/compiler/ |
H A D | operation-typer.cc | 98 double current_min = current_range.Min(); in WeakenRange() 102 if (current_min != previous_range.Min()) { in WeakenRange() 134 return Type::Range(type.Min(), type.Max(), zone()); in Rangify() 334 double const min = type.Min(); in NumberAbs() 475 } else if (type.Min() > 0.0) { in NumberSign() 477 } else if (type.Min() >= 0.0) { in NumberSign() 525 if (type.Is(Type::PlainNumber()) && (type.Max() < 0 || 0 < type.Min())) { in NumberToBoolean() 618 type = AddRanger(lhs.Min(), lhs.Max(), rhs.Min(), rhs.Max()); in NumberAdd() 661 type = SubtractRanger(lhs.Min(), lh in NumberSubtract() [all...] |
H A D | types.cc | 52 return lhs->Min() <= rhs->Min() && rhs->Max() <= lhs->Max(); in Contains() 56 // Min and Max computation. 58 double Type::Min() const { in Min() function in v8::internal::compiler::Type 61 if (this->IsBitset()) return BitsetType::Min(this->AsBitset()); in Min() 65 min = std::min(min, AsUnion()->Get(i).Min()); in Min() 68 if (!bitset.Is(NaN())) min = std::min(min, bitset.Min()); in Min() 71 if (this->IsRange()) return this->AsRange()->Min(); in Min() 108 bitset glb = BitsetType::Glb(AsRange()->Min(), AsRange()->Max()); in BitsetGlb() 459 double BitsetType::Min(bitse function in v8::internal::compiler::BitsetType [all...] |
/third_party/skia/third_party/externals/imgui/ |
H A D | imgui_widgets.cpp | 184 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_end, &value_size, ImVec2(0.0f, 0.0f)); in LabelTextV() 375 RenderText(ImVec2(value_bb.Max.x + style.ItemInnerSpacing.x, value_bb.Min.y + style.FramePadding.y), label); in LabelTextV() 409 RenderBullet(window->DrawList, bb.Min + ImVec2(style.FramePadding.x + g.FontSize * 0.5f, g.FontSize * 0.5f), text_col); in BulletTextV() 410 RenderText(bb.Min + ImVec2(g.FontSize + style.FramePadding.x * 2, 0.0f), text_begin, text_end, false); 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 in ButtonEx() [all...] |
H A D | imgui_tables.cpp | 451 table->RowPosY1 = table->RowPosY2 = table->WorkRect.Min.y; // This is needed somehow in BeginTableEx() 939 const ImRect mouse_hit_rect(table->OuterRect.Min.x, table->OuterRect.Min.y, table->OuterRect.Max.x, ImMax(table->OuterRect.Max.y, table->OuterRect.Min.y + table->LastOuterHeight)); in TableUpdateLayout() 946 float offset_x = ((table->FreezeColumnsCount > 0) ? table->OuterRect.Min.x : work_rect.Min.x) + table->OuterPaddingX - table->CellSpacingX1; in TableUpdateLayout() 960 offset_x += work_rect.Min.x - table->OuterRect.Min.x; in TableUpdateLayout() 970 // We set a zero-width clip rect but set Min.y/Max.y properly to not interfere with the clipper. in TableUpdateLayout() 971 column->MinX = column->MaxX = column->WorkMinX = column->ClipRect.Min in TableUpdateLayout() [all...] |
H A D | imgui_internal.h | 478 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 + Max.y) * 0.5f); } 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 in GetSize() [all...] |
H A D | imgui.cpp | 151 - Our origin is on the top-left. In axis aligned bounding boxes, Min = top-left, Max = bottom-right. 323 // - Note that pcmd->ClipRect contains Min+Max bounds. Some graphics API may use Min+Max, other may use Min+Size (size being Max-Min) 2269 unclipped_rect.Add(ImRect(window->Pos + window->NavRectRel[0].Min, window->Pos + window->NavRectRel[0].Max)); // Could store and use NavJustMovedToRectRel 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 in RenderNavHighlight() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
H A D | LegalizeMutations.cpp | 47 unsigned Min) { 51 std::max(1u << Log2_32_Ceil(Ty.getScalarSizeInBits()), Min); 57 unsigned Min) { 61 std::max(1u << Log2_32_Ceil(VecTy.getNumElements()), Min);
|
/third_party/skia/fuzz/ |
H A D | Fuzz.h | 59 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/ |
H A D | SpirvShaderImage.cpp | 1205 packed[0] = (SIMD::UInt(Round(Min(Max(As<SIMD::Float>(texel[0]), SIMD::Float(0.0f)), SIMD::Float(1.0f)) * SIMD::Float(255.0f)))) | in WriteImage() 1206 ((SIMD::UInt(Round(Min(Max(As<SIMD::Float>(texel[1]), SIMD::Float(0.0f)), SIMD::Float(1.0f)) * SIMD::Float(255.0f)))) << 8) | in WriteImage() 1207 ((SIMD::UInt(Round(Min(Max(As<SIMD::Float>(texel[2]), SIMD::Float(0.0f)), SIMD::Float(1.0f)) * SIMD::Float(255.0f)))) << 16) | in WriteImage() 1208 ((SIMD::UInt(Round(Min(Max(As<SIMD::Float>(texel[3]), SIMD::Float(0.0f)), SIMD::Float(1.0f)) * SIMD::Float(255.0f)))) << 24); in WriteImage() 1211 packed[0] = (SIMD::UInt(Round(Min(Max(As<SIMD::Float>(texel[2]), SIMD::Float(0.0f)), SIMD::Float(1.0f)) * SIMD::Float(255.0f)))) | in WriteImage() 1212 ((SIMD::UInt(Round(Min(Max(As<SIMD::Float>(texel[1]), SIMD::Float(0.0f)), SIMD::Float(1.0f)) * SIMD::Float(255.0f)))) << 8) | in WriteImage() 1213 ((SIMD::UInt(Round(Min(Max(As<SIMD::Float>(texel[0]), SIMD::Float(0.0f)), SIMD::Float(1.0f)) * SIMD::Float(255.0f)))) << 16) | in WriteImage() 1214 ((SIMD::UInt(Round(Min(Max(As<SIMD::Float>(texel[3]), SIMD::Float(0.0f)), SIMD::Float(1.0f)) * SIMD::Float(255.0f)))) << 24); in WriteImage() 1218 packed[0] = (SIMD::Int(Round(Min(Max(As<SIMD::Float>(texel[0]), SIMD::Float(-1.0f)), SIMD::Float(1.0f)) * SIMD::Float(127.0f))) & in WriteImage() 1220 ((SIMD::Int(Round(Min(Ma in WriteImage() [all...] |
H A D | SpirvShaderGLSLstd450.cpp | 148 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::Float(127.0f))) & in EmitExtGLSLstd450() 409 ((SIMD::Int(Round(Min(Max(val.Float(1), SIMD::Float(-1.0f)), SIMD::Float(1.0f)) * SIMD::Float(127.0f))) & in EmitExtGLSLstd450() 412 ((SIMD::Int(Round(Min(Ma in EmitExtGLSLstd450() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/ |
H A D | LowerTypeTests.h | 63 uint64_t Min = std::numeric_limits<uint64_t>::max(); member 69 if (Min > Offset) in addOffset() 70 Min = Offset; in addOffset()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | PointerSumType.h | 232 struct Min : std::integral_constant< 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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonConstExtenders.cpp | 57 // The range of values between Min and Max that are of form Align*N+Offset, 58 // for some integer N. Min and Max are required to be of that form as well, 60 int32_t Min = INT_MIN, Max = INT_MAX; member 66 : Min(L), Max(H), Align(A), Offset(O) {} in OffsetRange() 73 Min = adjustUp(std::max(Min, A.Min), Align, Offset); in intersect() 77 Min = 0; in intersect() 81 if (Min > Max) in intersect() 82 std::tie(Min, Ma in intersect() 1081 int32_t Min = -alignDown((1<<S)-1, A); getOffsetRange() local 1121 int32_t Min = -alignDown((1<<S)-1, A); getOffsetRange() local [all...] |
/third_party/skia/third_party/externals/brotli/csharp/org/brotli/dec/ |
H A D | Utils.cs | 31 int step = System.Math.Min(cursor + 1024, length) - cursor;
in FillWithZeroes() 53 int step = System.Math.Min(cursor + 1024, length) - cursor;
in FillWithZeroes()
|
/third_party/optimized-routines/math/ |
H A D | v_logf.c | 26 #define Min v_u32 (0x00800000) macro 47 cmp = v_cond_u32 (u - Min >= Max - Min); in logf()
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/ |
H A D | random.hpp | 30 /// Generate random numbers in the interval [Min, Max], according a linear distribution 32 /// @param Min 38 genTYpe Min, 41 /// Generate random numbers in the interval [Min, Max], according a linear distribution 43 /// @param Min 50 vecType<T, P> const & Min, 53 /// Generate random numbers in the interval [Min, Max], according a gaussian distribution
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
H A D | BasicAliasAnalysis.cpp | 719 FunctionModRefBehavior Min = FMRB_UnknownModRefBehavior; in getModRefBehavior() 724 Min = FMRB_OnlyReadsMemory; in getModRefBehavior() 726 Min = FMRB_DoesNotReadMemory; in getModRefBehavior() 729 Min = FunctionModRefBehavior(Min & FMRB_OnlyAccessesArgumentPointees); in getModRefBehavior() 731 Min = FunctionModRefBehavior(Min & FMRB_OnlyAccessesInaccessibleMem); in getModRefBehavior() 733 Min = FunctionModRefBehavior(Min & FMRB_OnlyAccessesInaccessibleOrArgMem); in getModRefBehavior() 740 Min in getModRefBehavior() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
H A D | ConstantRange.cpp | 648 APInt Min = APInt::getMinValue(BW).zextOrSelf(ResultBitWidth); in castOp() local 650 return ConstantRange(std::move(Min), std::move(Max)); in castOp() 1384 APInt Min = getSignedMin(), Max = getSignedMax(); 1386 APInt NewL = Min.sshl_sat(Min.isNonNegative() ? ShAmtMin : ShAmtMax); 1435 APInt Min = getUnsignedMin(), Max = getUnsignedMax(); 1439 if (Min.ugt(~OtherMin)) 1451 APInt Min = getSignedMin(), Max = getSignedMax(); 1459 if (Min.isNonNegative() && OtherMin.isNonNegative() && 1460 Min [all...] |
/third_party/zlib/contrib/dotzlib/DotZLib/ |
H A D | CircularBuffer.cs | 42 int trueCount = Math.Min(count, _capacity - Size);
in Put() 63 int trueCount = Math.Min(count,Size);
in Get()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/ |
H A D | CodeViewRecordIO.cpp | 68 Optional<uint32_t> Min = Limits.front().bytesRemaining(Offset); in maxFieldLength() local 72 Min = (Min.hasValue()) ? std::min(*Min, *ThisMin) : *ThisMin; in maxFieldLength() 74 assert(Min.hasValue() && "Every field must have a maximum length!"); in maxFieldLength() 76 return *Min; in maxFieldLength()
|