Searched refs:max (Results 176 - 200 of 4319) sorted by relevance

1234567891011>>

/external/libcxx/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/
H A Dctor_int_int.pass.cpp16 // IntType b = numeric_limits<IntType>::max());
27 assert(d.b() == std::numeric_limits<int>::max());
33 assert(d.b() == std::numeric_limits<int>::max());
H A Dparam_ctor.pass.cpp28 assert(p.b() == std::numeric_limits<long>::max());
35 assert(p.b() == std::numeric_limits<long>::max());
/external/libcxx/test/utilities/time/time.point/time.point.special/
H A DAndroid.mk23 test_name := utilities/time/time.point/time.point.special/max
24 test_src := max.pass.cpp
/external/tagsoup/src/org/ccil/cowan/tagsoup/
H A DAttributesImpl.java211 int max = length * 5;
212 for (int i = 0; i < max; i += 5) {
230 int max = length * 5;
231 for (int i = 0; i < max; i += 5) {
252 int max = length * 5;
253 for (int i = 0; i < max; i += 5) {
272 int max = length * 5;
273 for (int i = 0; i < max; i += 5) {
294 int max = length * 5;
295 for (int i = 0; i < max;
[all...]
/external/tremolo/Tremolo/
H A Dos.h78 #ifndef max
79 # define max(x,y) ((x)<(y)?(y):(x)) macro
/external/valgrind/main/memcheck/tests/
H A Dmallinfo.c12 static size_t check(size_t min, size_t max) argument
31 printf("(min = %zu, max = %zu)\n", min, max);
40 if (used > max)
74 static size_t check(size_t min, size_t max) argument
89 size_t min, max; local
113 max = check(min, (size_t)-1);
119 max -= size;
123 check(min, max);
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DCheckedArithmeticTest.cpp38 EXPECT_EQ(std::numeric_limits<type>::max(), (value + std::numeric_limits<type>::max()).unsafeGet()); \
39 EXPECT_EQ(std::numeric_limits<type>::max(), (std::numeric_limits<type>::max() + value).unsafeGet()); \
66 value = std::numeric_limits<type>::max(); \
71 value = std::numeric_limits<type>::max(); \
80 EXPECT_EQ(true, CheckedState::DidOverflow == (value * Checked<type, RecordOverflow>(std::numeric_limits<type>::max())).safeGet(_value)); \
82 EXPECT_EQ(true, CheckedState::DidOverflow == (Checked<type, RecordOverflow>(std::numeric_limits<type>::max()) * value).safeGet(_value)); \
85 EXPECT_EQ(true, CheckedState::DidNotOverflow == (value * Checked<type, RecordOverflow>(std::numeric_limits<type>::max())).safeGet(_value)); \
87 EXPECT_EQ(true, CheckedState::DidNotOverflow == (Checked<type, RecordOverflow>(std::numeric_limits<type>::max()) * valu
[all...]
/external/blktrace/
H A Dstats.h30 __u64 max; member in struct:minmax
39 mm->max = 0;
51 if (value > mm->max)
52 mm->max = value;
62 if (src->max > dst->max)
63 dst->max = src->max;
72 mm->max = cpu_to_be64(mm->max);
[all...]
/external/chromium_org/base/metrics/
H A Dsample_map_unittest.cc67 HistogramBase::Sample max; local
70 it->Get(&min, &max, &count);
72 EXPECT_EQ(2, max);
77 it->Get(&min, &max, &count);
79 EXPECT_EQ(3, max);
83 it->Get(&min, &max, &count);
85 EXPECT_EQ(5, max);
89 it->Get(&min, &max, &count);
91 EXPECT_EQ(6, max);
108 HistogramBase::Sample max; local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLProgressElement.cpp104 return !std::isfinite(value) || value < 0 ? 0 : std::min(value, max());
109 setFloatingPointAttribute(valueAttr, std::max(value, 0.));
112 double HTMLProgressElement::max() const function in class:blink::HTMLProgressElement
114 double max = getFloatingPointAttribute(maxAttr); local
115 // Otherwise, if the element has no max attribute, or if it has one but
118 return !std::isfinite(max) || max <= 0 ? 1 : max;
121 void HTMLProgressElement::setMax(double max) argument
124 setFloatingPointAttribute(maxAttr, max >
[all...]
/external/chromium_org/third_party/skia/src/effects/
H A DSkTableMaskFilter.cpp107 uint8_t max) {
108 if (0 == max) {
109 max = 1;
111 if (min >= max) {
112 min = max - 1;
114 SkASSERT(min < max);
116 SkFixed scale = (1 << 16) * 255 / (max - min);
118 for (int i = min + 1; i < max; i++) {
123 memset(table + max, 255, 256 - max);
106 MakeClipTable(uint8_t table[256], uint8_t min, uint8_t max) argument
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Durlencode.cc93 int InternalUrlEncode(const char *source, char *dest, unsigned int max, argument
96 if (max == 0) {
101 while (static_cast<unsigned>(dest - start) < max && *source) {
108 if (static_cast<unsigned>(dest - start) + 4 > max) {
117 ASSERT(static_cast<unsigned int>(dest - start) < max);
123 int UrlEncode(const char *source, char *dest, unsigned max) {
124 return InternalUrlEncode(source, dest, max, true, false);
128 unsigned max) {
129 return InternalUrlEncode(source, dest, max, false, false);
132 int UrlEncodeOnlyUnsafeChars(const char *source, char *dest, unsigned max) {
[all...]
/external/skia/src/effects/
H A DSkTableMaskFilter.cpp99 uint8_t max) {
100 if (0 == max) {
101 max = 1;
103 if (min >= max) {
104 min = max - 1;
106 SkASSERT(min < max);
108 SkFixed scale = (1 << 16) * 255 / (max - min);
110 for (int i = min + 1; i < max; i++) {
115 memset(table + max, 255, 256 - max);
98 MakeClipTable(uint8_t table[256], uint8_t min, uint8_t max) argument
[all...]
/external/openssl/crypto/des/
H A Ddes_opts.c426 double d,tm[16],max=0; local
506 max=tm[0];
510 if (max < tm[1]) { max=tm[1]; max_idx=1; }
513 if (max < tm[2]) { max=tm[2]; max_idx=2; }
518 if (max < tm[3]) { max=tm[3]; max_idx=3; }
521 if (max < tm[4]) { max
[all...]
/external/chromium-trace/trace-viewer/src/tracing/trace_model/
H A Dcounter_test.js37 assertEquals(5, ret[0].max);
43 assertEquals(10, ret[1].max);
54 assertEquals(6, ret[0].max);
60 assertEquals(15, ret[1].max);
71 assertEquals(6, ret[0].max);
77 assertEquals(15, ret[1].max);
88 assertEquals(7, ret[0].max);
94 assertEquals(16, ret[1].max);
/external/chromium_org/build/toolchain/
H A Dget_concurrent_links.py38 mem_limit = max(1, stat.ullTotalPhys / (4 * (2 ** 30))) # total / 4GB
39 hard_cap = max(1, int(os.getenv('GYP_LINK_CONCURRENCY_MAX', 2**32)))
50 return max(1, int(match.group(1)) / (8 * (2 ** 20)))
57 return max(1, avail_bytes / (4 * (2 ** 30))) # total / 4GB
/external/chromium_org/chrome/browser/resources/ntp4/
H A Dincognito_tab.css6 max-width: 416px;
25 @media (max-width:400px) {
/external/chromium_org/chrome/common/extensions/docs/examples/api/fontSettings/
H A Dslider.js17 * @param {number} max Maximum value
21 function Slider(container, value, min, max, opt_onChange) {
32 this.input_.max = max;
89 (this.input_.max - this.input_.min);
/external/chromium_org/chrome/test/base/
H A Dbrowser_tests_main.cc19 int default_jobs = std::max(1, base::SysInfo::NumberOfProcessors() / 2);
/external/chromium_org/components/metrics/serialization/
H A Dmetric_sample.h42 // Getters for sample, min, max, bucket_count.
48 const int max() const;
69 int max,
86 int max);
96 // name, sample, min, max, bucket_count match).
104 const int max,
/external/chromium_org/ipc/
H A Dipc_channel.cc38 base::RandInt(0, std::numeric_limits<int32>::max()));
/external/chromium_org/ppapi/cpp/private/
H A Duma_private.cc40 int64_t max,
46 sample, min, max, bucket_count);
52 int32_t max,
58 sample, min, max, bucket_count);
37 HistogramCustomTimes(const std::string& name, int64_t sample, int64_t min, int64_t max, uint32_t bucket_count) argument
49 HistogramCustomCounts(const std::string& name, int32_t sample, int32_t min, int32_t max, uint32_t bucket_count) argument
/external/chromium_org/ppapi/thunk/
H A Dppb_uma_private_thunk.cc24 int64_t max,
34 max,
42 int32_t max,
52 max,
20 HistogramCustomTimes(PP_Instance instance, struct PP_Var name, int64_t sample, int64_t min, int64_t max, uint32_t bucket_count) argument
38 HistogramCustomCounts(PP_Instance instance, struct PP_Var name, int32_t sample, int32_t min, int32_t max, uint32_t bucket_count) argument
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderSearchField.cpp63 nonContentHeight = max(nonContentHeight, decorationRenderer->borderAndPaddingLogicalHeight() + decorationRenderer->marginLogicalHeight());
64 lineHeight = max(lineHeight, decorationRenderer->logicalHeight());
69 nonContentHeight = max(nonContentHeight, cancelRenderer->borderAndPaddingLogicalHeight() + cancelRenderer->marginLogicalHeight());
70 lineHeight = max(lineHeight, cancelRenderer->logicalHeight());
/external/chromium_org/third_party/skia/src/animator/
H A DSkDisplayRandom.cpp22 SK_MEMBER(max, Float),
32 SkDisplayRandom::SkDisplayRandom() : blend(0), min(0), max(SK_Scalar1) {
39 SkDebugf("max=\"%g\" ", SkScalarToFloat(max));
50 value->fOperand.fScalar = min + SkScalarMul(max - min, relativeT);

Completed in 404 milliseconds

1234567891011>>