Searched refs:max (Results 251 - 275 of 4319) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/chrome/browser/extensions/api/metrics_private/
H A Dmetrics_private_api.cc81 int min, int max, size_t buckets,
86 max = std::min(max, INT_MAX - 3);
89 min = std::max(min, 1);
90 max = std::max(max, min + 1);
91 buckets = std::max(buckets, static_cast<size_t>(3));
93 if (buckets > static_cast<size_t>(max - min + 2))
94 buckets = max
78 RecordValue( const std::string& name, base::HistogramType type, int min, int max, size_t buckets, int sample) argument
[all...]
/external/chromium_org/components/metrics/serialization/
H A Dmetric_sample.cc21 int max,
27 max_(max),
88 const int MetricSample::max() const { function in class:metrics::MetricSample
112 int max,
115 HISTOGRAM, histogram_name, sample, min, max, bucket_count));
126 int sample, min, max, bucket_count; local
129 !base::StringToInt(parts[3], &max) ||
134 return HistogramSample(parts[0], sample, min, max, bucket_count);
163 int max) {
165 new MetricSample(LINEAR_HISTOGRAM, histogram_name, sample, 0, max,
17 MetricSample(MetricSample::SampleType sample_type, const std::string& metric_name, int sample, int min, int max, int bucket_count) argument
108 HistogramSample( const std::string& histogram_name, int sample, int min, int max, int bucket_count) argument
160 LinearHistogramSample( const std::string& histogram_name, int sample, int max) argument
172 int sample, max; local
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/bn/
H A Dadd.c103 int max, min, dif; local
112 max = a->top;
114 dif = max - min;
116 if (bn_wexpand(r, max + 1) == NULL) {
120 r->top = max;
203 int max; local
239 max = (a->top > b->top) ? a->top : b->top;
240 if (bn_wexpand(r, max) == NULL) {
260 int max, min, dif; local
264 max
[all...]
/external/qemu/android/utils/
H A Dreflist.c20 if (l->max == 1)
29 if (l->size == 0 && l->max > 1) {
31 l->max = 1;
72 if (newcount > l->max) {
73 int oldmax = l->max;
89 if (l->max == 1)
93 l->max = (uint16_t) newmax;
104 if (l->size >= l->max) {
170 if (l->max > 1) {
247 if (src->max >
[all...]
/external/chromium_org/content/renderer/
H A Dsad_plugin.cc35 SkIntToScalar(std::max(0, (width - sad_plugin_bitmap.width()) / 2)),
36 SkIntToScalar(std::max(0, (height - sad_plugin_bitmap.height()) / 2)));
/external/chromium_org/net/base/
H A Dip_pattern.cc21 void AppendRange(uint32 min, uint32 max);
27 Range(uint32 min, uint32 max) : minimum(min), maximum(max) {} argument
40 void IPPattern::ComponentPattern::AppendRange(uint32 min, uint32 max) { argument
41 ranges_.push_back(Range(min, max));
154 uint32 max = min; // Sometimes we have no distinct max.
156 if (!ValueTextToInt(range_pair.token(), &max))
164 pattern->AppendRange(min, max);
/external/chromium_org/ppapi/thunk/
H A Dppb_uma_singleton_api.h22 int64_t max,
29 int32_t max,
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DDOMRectReadOnly.h23 double right() const { return std::max(m_x, m_x + m_width); }
24 double bottom() const { return std::max(m_y, m_y + m_height); }
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DFloatRoundedRect.cpp83 m_topLeft.setWidth(std::max<float>(0, m_topLeft.width() + leftWidth));
84 m_topLeft.setHeight(std::max<float>(0, m_topLeft.height() + topWidth));
87 m_topRight.setWidth(std::max<float>(0, m_topRight.width() + rightWidth));
88 m_topRight.setHeight(std::max<float>(0, m_topRight.height() + topWidth));
91 m_bottomLeft.setWidth(std::max<float>(0, m_bottomLeft.width() + leftWidth));
92 m_bottomLeft.setHeight(std::max<float>(0, m_bottomLeft.height() + bottomWidth));
95 m_bottomRight.setWidth(std::max<float>(0, m_bottomRight.width() + rightWidth));
96 m_bottomRight.setHeight(std::max<float>(0, m_bottomRight.height() + bottomWidth));
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DFilterOperations.cpp128 std::max(0, outsetSize.height() - dropShadowOperation->y()),
129 std::max(0, outsetSize.width() + dropShadowOperation->x()),
130 std::max(0, outsetSize.height() + dropShadowOperation->y()),
131 std::max(0, outsetSize.width() - dropShadowOperation->x())
142 std::max(0.0f, -outsetRect.y()),
143 std::max(0.0f, outsetRect.x() + outsetRect.width() - 1),
144 std::max(0.0f, outsetRect.y() + outsetRect.height() - 1),
145 std::max(0.0f, -outsetRect.x())
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dtzregts.h53 UDate findTransitionBinary(const SimpleTimeZone& tz, UDate min, UDate max);
54 UDate findTransitionStepwise(const SimpleTimeZone& tz, UDate min, UDate max);
/external/chromium_org/third_party/skia/src/effects/
H A DSkEmbossMask.cpp21 static inline int neq_to_one(int x, int max) { argument
23 return x != max;
25 SkASSERT(x >= 0 && x <= max);
26 return ((unsigned)(x - max)) >> 31;
30 static inline int neq_to_mask(int x, int max) { argument
32 return -(x != max);
34 SkASSERT(x >= 0 && x <= max);
35 return (x - max) >> 31;
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
H A Ddesktop_geometry.cc28 left_ = std::max(left(), rect.left());
29 top_ = std::max(top(), rect.top());
/external/compiler-rt/test/msan/
H A Dallocator_returns_null.cc25 volatile size_t size = std::numeric_limits<size_t>::max() - 10000;
39 volatile size_t kMaxSizeT = std::numeric_limits<size_t>::max();
/external/compiler-rt/test/tsan/
H A Dallocator_returns_null.cc20 volatile size_t size = std::numeric_limits<size_t>::max() - 10000;
34 volatile size_t kMaxSizeT = std::numeric_limits<size_t>::max();
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DIntList.java414 int max = sz;
416 while (max > (min + 1)) {
418 * The guessIdx calculation is equivalent to ((min + max)
419 * / 2) but won't go wonky when min and max are close to
422 int guessIdx = min + ((max - min) >> 1);
426 max = guessIdx;
432 if ((max != sz)) {
433 return (value == values[max]) ? max : (-max
[all...]
/external/fio/
H A Dfifo.h51 #ifndef max
52 #define max(x,y) ({ \ macro
/external/fonttools/Lib/fontTools/ttLib/tables/
H A D_m_a_x_p.py84 xMax = max(xMax, g.xMax)
85 yMax = max(yMax, g.yMax)
88 maxPoints = max(maxPoints, nPoints)
89 maxContours = max(maxContours, nContours)
92 maxCompositePoints = max(maxCompositePoints, nPoints)
93 maxCompositeContours = max(maxCompositeContours, nContours)
94 maxComponentElements = max(maxComponentElements, len(g.components))
95 maxComponentDepth = max(maxComponentDepth, componentDepth)
/external/fonttools/Tools/fontTools/ttLib/tables/
H A D_m_a_x_p.py84 xMax = max(xMax, g.xMax)
85 yMax = max(yMax, g.yMax)
88 maxPoints = max(maxPoints, nPoints)
89 maxContours = max(maxContours, nContours)
92 maxCompositePoints = max(maxCompositePoints, nPoints)
93 maxCompositeContours = max(maxCompositeContours, nContours)
94 maxComponentElements = max(maxComponentElements, len(g.components))
95 maxComponentDepth = max(maxComponentDepth, componentDepth)
/external/icu/icu4c/source/test/intltest/
H A Dtzregts.h53 UDate findTransitionBinary(const SimpleTimeZone& tz, UDate min, UDate max);
54 UDate findTransitionStepwise(const SimpleTimeZone& tz, UDate min, UDate max);
/external/iptables/include/linux/netfilter/
H A Dxt_hashlimit.h8 /* 1/10,000 sec period => max of 10,000/sec. Min rate is then 429490
33 __u32 max; /* max number of entries */ member in struct:hashlimit_cfg
57 __u32 max; /* max number of entries */ member in struct:hashlimit_cfg1
/external/kernel-headers/original/uapi/linux/netfilter/
H A Dxt_hashlimit.h8 /* 1/10,000 sec period => max of 10,000/sec. Min rate is then 429490
34 __u32 max; /* max number of entries */ member in struct:hashlimit_cfg
58 __u32 max; /* max number of entries */ member in struct:hashlimit_cfg1
/external/libcxx/test/numerics/rand/rand.eng/rand.eng.sub/
H A Dvalues.pass.cpp24 // static constexpr result_type max() { return m-1; }
42 /*static_*/assert((E::max() == 0xFFFFFF)/*, ""*/);
58 /*static_*/assert((E::max() == 0xFFFFFFFFFFFFull)/*, ""*/);
/external/libcxx/test/utilities/memory/allocator.traits/allocator.traits.members/
H A Dmax_size.pass.cpp48 std::numeric_limits<std::size_t>::max());
53 std::numeric_limits<std::size_t>::max());
/external/libcxx/test/utilities/time/time.duration/time.duration.special/
H A DAndroid.mk27 test_name := utilities/time/time.duration/time.duration.special/max
28 test_src := max.pass.cpp

Completed in 2180 milliseconds

<<11121314151617181920>>