Home
last modified time | relevance | path

Searched refs:GetMin (Results 1 – 12 of 12) sorted by relevance

/external/libchrome/ui/gfx/range/
Drange_f.h47 constexpr float length() const { return GetMax() - GetMin(); } in length()
53 constexpr float GetMin() const { return start() < end() ? start() : end(); } in GetMin() function
63 return GetMin() == other.GetMin() && GetMax() == other.GetMax(); in EqualsIgnoringDirection()
69 !(range.GetMax() < GetMin() || range.GetMin() >= GetMax()); in Intersects()
74 return IsValid() && range.IsValid() && GetMin() <= range.GetMin() && in Contains()
Drange.h73 constexpr uint32_t length() const { return GetMax() - GetMin(); } in length()
79 constexpr uint32_t GetMin() const { in GetMin() function
93 return GetMin() == other.GetMin() && GetMax() == other.GetMax(); in EqualsIgnoringDirection()
99 !(range.GetMax() < GetMin() || range.GetMin() >= GetMax()); in Intersects()
104 return IsValid() && range.IsValid() && GetMin() <= range.GetMin() && in Contains()
Drange_unittest.cc60 EXPECT_EQ(0U, r.GetMin()); in TYPED_TEST()
72 EXPECT_EQ(10U, r.GetMin()); in TYPED_TEST()
84 EXPECT_EQ(5U, r.GetMin()); in TYPED_TEST()
96 EXPECT_EQ(12U, r.GetMin()); in TYPED_TEST()
104 EXPECT_EQ(r.GetMax(), r.GetMin()); in TYPED_TEST()
167 EXPECT_EQ(1U, r.GetMin()); in TYPED_TEST()
178 EXPECT_EQ(5U, r.GetMin()); in TYPED_TEST()
196 EXPECT_EQ(21U, r.GetMin()); in TYPED_TEST()
Drange.cc17 uint32_t min = std::max(GetMin(), range.GetMin()); in Intersect()
Drange_f.cc18 float min = std::max(GetMin(), range.GetMin()); in Intersect()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_occur.cpp43 return max ? *max : GetMin(); in GetMax()
46 int32_t CXFA_Occur::GetMin() { in GetMin() function in CXFA_Occur
52 int32_t iMin = GetMin(); in GetOccurInfo()
64 int32_t iMin = GetMin(); in SetMax()
Dcxfa_occur.h25 int32_t GetMin();
/external/webp/src/enc/
Dpredictor_enc.c28 static WEBP_INLINE int GetMin(int a, int b) { return (a > b) ? b : a; } in GetMin() function
310 const int max_y = GetMin(tile_size, height - start_y); in GetBestPredictorForTile()
311 const int max_x = GetMin(tile_size, width - start_x); in GetBestPredictorForTile()
686 const int all_x_max = GetMin(tile_x_offset + max_tile_size, xsize); in GetBestColorTransformForTile()
687 const int all_y_max = GetMin(tile_y_offset + max_tile_size, ysize); in GetBestColorTransformForTile()
708 const int xscan = GetMin(max_tile_size, xsize - tile_x); in CopyTileWithColorTransform()
709 int yscan = GetMin(max_tile_size, ysize - tile_y); in CopyTileWithColorTransform()
733 const int all_x_max = GetMin(tile_x_offset + max_tile_size, width); in VP8LColorSpaceTransform()
734 const int all_y_max = GetMin(tile_y_offset + max_tile_size, height); in VP8LColorSpaceTransform()
/external/pdfium/fxjs/xfa/
Dcjx_occur.cpp38 pValue->SetInteger(occur->GetMin()); in min()
Dcjx_instancemanager.cpp41 int32_t iMin = occur ? occur->GetMin() : CXFA_Occur::kDefaultMin; in SetInstances()
179 int32_t iMin = occur ? occur->GetMin() : CXFA_Occur::kDefaultMin; in removeInstance()
323 pValue->SetInteger(occur ? occur->GetMin() : CXFA_Occur::kDefaultMin); in min()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_test_framework_unittest.cc133 EXPECT_EQ(0, stats.GetMin()); in TEST()
137 EXPECT_EQ(1, stats.GetMin()); in TEST()
141 EXPECT_EQ(1, stats.GetMin()); in TEST()
145 EXPECT_EQ(-4, stats.GetMin()); in TEST()
Dbwe_test_framework.h130 T GetMin() { in GetMin() function
148 GetMean(), units.c_str(), GetStdDev(), GetMin(), GetMax()); in Log()