Home
last modified time | relevance | path

Searched refs:GetMax (Results 1 – 19 of 19) sorted by relevance

/external/libchrome/ui/gfx/range/
Drange_f.h47 constexpr float length() const { return GetMax() - GetMin(); } in length()
54 constexpr float GetMax() const { return start() > end() ? start() : end(); } in GetMax() function
63 return GetMin() == other.GetMin() && GetMax() == other.GetMax(); in EqualsIgnoringDirection()
69 !(range.GetMax() < GetMin() || range.GetMin() >= GetMax()); in Intersects()
75 range.GetMax() <= GetMax(); in Contains()
Drange.h73 constexpr uint32_t length() const { return GetMax() - GetMin(); } in length()
82 constexpr uint32_t GetMax() const { in GetMax() function
93 return GetMin() == other.GetMin() && GetMax() == other.GetMax(); in EqualsIgnoringDirection()
99 !(range.GetMax() < GetMin() || range.GetMin() >= GetMax()); in Intersects()
105 range.GetMax() <= GetMax(); in Contains()
Drange_unittest.cc61 EXPECT_EQ(0U, r.GetMax()); in TYPED_TEST()
73 EXPECT_EQ(15U, r.GetMax()); in TYPED_TEST()
85 EXPECT_EQ(10U, r.GetMax()); in TYPED_TEST()
97 EXPECT_EQ(12U, r.GetMax()); in TYPED_TEST()
104 EXPECT_EQ(r.GetMax(), r.GetMin()); in TYPED_TEST()
168 EXPECT_EQ(5U, r.GetMax()); in TYPED_TEST()
179 EXPECT_EQ(10U, r.GetMax()); in TYPED_TEST()
197 EXPECT_EQ(25U, r.GetMax()); in TYPED_TEST()
Drange.cc18 uint32_t max = std::min(GetMax(), range.GetMax()); in Intersect()
Drange_f.cc19 float max = std::min(GetMax(), range.GetMax()); in Intersect()
/external/webrtc/rtc_base/numerics/
Dsamples_stats_counter_unittest.cc63 EXPECT_DOUBLE_EQ(stats.GetMax(), 100.0); in TEST()
139 EXPECT_EQ(stats0.GetMax(), 9); in TEST_P()
153 EXPECT_DOUBLE_EQ(stats.GetMax(), 10.0); in TEST()
159 EXPECT_DOUBLE_EQ(multiplied_stats.GetMax(), 100.0); in TEST()
166 EXPECT_DOUBLE_EQ(stats.GetMax(), 10.0); in TEST()
175 EXPECT_DOUBLE_EQ(stats.GetMax(), 10.0); in TEST()
181 EXPECT_DOUBLE_EQ(multiplied_stats.GetMax(), 100.0); in TEST()
188 EXPECT_DOUBLE_EQ(stats.GetMax(), 10.0); in TEST()
200 EXPECT_DOUBLE_EQ(stats.GetMax(), 100.0); in TEST()
206 EXPECT_DOUBLE_EQ(divided_stats.GetMax(), 10.0); in TEST()
[all …]
Drunning_statistics_unittest.cc64 EXPECT_DOUBLE_EQ(*stats.GetMax(), 100.0); in TEST()
160 EXPECT_EQ(stats.GetMax(), 2); in TEST()
185 EXPECT_DOUBLE_EQ(*stats0.GetMax(), 10); in TEST_P()
Dsamples_stats_counter.h57 double GetMax() const { in GetMax() function
59 return *stats_.GetMax(); in GetMax()
Drunning_statistics.h118 absl::optional<T> GetMax() const { in GetMax() function
Dsample_stats.cc17 return GetMax(); in Max()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_occur.cpp41 int32_t CXFA_Occur::GetMax() { in GetMax() function in CXFA_Occur
53 int32_t iMax = GetMax(); in GetOccurInfo()
75 int32_t iMax = GetMax(); in SetMin()
Dcxfa_occur.h22 int32_t GetMax();
/external/pdfium/fxjs/xfa/
Dcjx_instancemanager.cpp47 int32_t iMax = occur ? occur->GetMax() : CXFA_Occur::kDefaultMax; in SetInstances()
234 int32_t iMax = occur ? occur->GetMax() : CXFA_Occur::kDefaultMax; in addInstance()
279 int32_t iMax = occur ? occur->GetMax() : CXFA_Occur::kDefaultMax; in insertInstance()
312 pValue->SetInteger(occur ? occur->GetMax() : CXFA_Occur::kDefaultMax); in max()
Dcjx_occur.cpp27 pValue->SetInteger(occur->GetMax()); in max()
/external/webp/src/enc/
Dpredictor_enc.c93 static WEBP_INLINE int GetMax(int a, int b) { return (a < b) ? b : a; } in GetMax() function
100 return GetMax(GetMax(diff_a, diff_r), GetMax(diff_g, diff_b)); in MaxDiffBetweenPixels()
109 return GetMax(GetMax(diff_up, diff_down), GetMax(diff_left, diff_right)); in MaxDiffAroundPixel()
/external/webrtc/test/pc/e2e/analyzer/video/
Ddefault_video_quality_analyzer_test.cc490 EXPECT_LE(it->second.resolution_of_rendered_frame.GetMax(), in TEST()
503 EXPECT_LE(it->second.resolution_of_rendered_frame.GetMax(), in TEST()
Ddefault_video_quality_analyzer.cc775 << "; max=" << analyzer_stats_.comparisons_queue_size.GetMax() in ReportResults()
/external/webrtc/modules/video_coding/codecs/test/
Dvideocodec_test_stats_impl.cc334 return 8 * stats.GetMax().value_or(0) / 1000 / target_bitrate_kbps; in SliceAndCalcVideoStatistic()
/external/pdfium/xfa/fxfa/layout/
Dcxfa_contentlayoutprocessor.cpp2123 int32_t iMax = pOccur->GetMax(); in JudgeLeaderOrTrailerForOccur()