Searched refs:max (Results 1 - 25 of 1843) sorted by relevance

1234567891011>>

/external/v8/test/mjsunit/compiler/
H A Dregress-max.js30 // Test Math.max with negative zero as input.
31 for (var i = 0; i < 5; i++) Math.max(0, 0);
32 %OptimizeFunctionOnNextCall(Math.max);
33 Math.max(0, 0);
35 var r = Math.max(-0, -0);
/external/webkit/Tools/DumpRenderTree/
H A DDumpRenderTreePrefix.h36 // We want to use std::min and std::max
37 #define max max macro
/external/webkit/Source/WebKit/win/
H A DWebKitPrefix.h38 // We want to use std::min and std::max.
39 #ifndef max
40 #define max max macro
/external/kernel-headers/original/linux/netfilter/
H A Dxt_length.h5 u_int16_t min, max; member in struct:xt_length_info
/external/webkit/Source/WebCore/platform/brew/
H A DSystemTimeBrew.cpp38 return std::numeric_limits<float>::max();
/external/webkit/Source/WebCore/platform/efl/
H A DSystemTimeEfl.cpp38 return std::numeric_limits<float>::max();
/external/webkit/Source/WebCore/platform/wx/
H A DSystemTimeWx.cpp38 return std::numeric_limits<float>::max();
/external/skia/src/core/
H A DSkBitmapSampler.h17 typedef int (*SkTileModeProc)(int value, unsigned max);
91 static inline int do_clamp(int index, unsigned max) argument
93 SkASSERT((int)max >= 0);
96 if (index > (int)max)
97 index = max;
101 if ((unsigned)index > max)
106 index = max;
112 static inline int do_repeat_mod(int index, unsigned max) argument
114 SkASSERT((int)max >= 0);
116 if ((unsigned)index > max)
126 do_repeat_pow2(int index, unsigned max) argument
133 do_mirror_mod(int index, unsigned max) argument
152 do_mirror_pow2(int index, unsigned max) argument
[all...]
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/
H A D15.8.2.11.js24 ECMA Section: 15.8.2.11 Math.max(x, y)
41 var TITLE = "Math.max(x, y)";
53 array[item++] = new TestCase( SECTION, "Math.max.length", 2, Math.max.length );
55 array[item++] = new TestCase( SECTION, "Math.max()", -Infinity, Math.max() );
56 array[item++] = new TestCase( SECTION, "Math.max(void 0, 1)", Number.NaN, Math.max( void 0, 1 ) );
57 array[item++] = new TestCase( SECTION, "Math.max(void 0, void 0)", Number.NaN, Math.max( voi
[all...]
/external/chromium/base/
H A Drand_util.h17 // Returns a random number between min and max (inclusive). Thread-safe.
18 BASE_API int RandInt(int min, int max);
20 // Returns a random number in range [0, max). Thread-safe.
25 BASE_API uint64 RandGenerator(uint64 max);
H A Drand_util.cc16 int RandInt(int min, int max) { argument
17 DCHECK(min <= max);
19 uint64 range = static_cast<uint64>(max) - min + 1;
21 DCHECK(result >= min && result <= max);
39 uint64 RandGenerator(uint64 max) { argument
40 DCHECK_GT(max, 0ULL);
41 return base::RandUint64() % max;
/external/dhcpcd/compat/
H A Dclosefrom.c35 int max = getdtablesize(); local
39 for (i = fd; i < max; i++)
/external/webkit/Tools/WebKitTestRunner/
H A DWebKitTestRunnerPrefix.h32 // We want to use std::min and std::max
33 #define max max macro
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/
H A DProgressMonitor.java54 * The max value that when reached, the progress is at 100%.
56 public void setMonitorMax(float max); argument
59 * The max value of the progress. When incrementProgress()
/external/v8/test/mjsunit/
H A Dmath-min-max.js84 // Test Math.max().
86 assertEquals(Number.NEGATIVE_INFINITY, Math.max());
87 assertEquals(1, Math.max(1));
88 assertEquals(2, Math.max(1, 2));
89 assertEquals(2, Math.max(2, 1));
90 assertEquals(3, Math.max(1, 2, 3));
91 assertEquals(3, Math.max(3, 2, 1));
92 assertEquals(3, Math.max(2, 3, 1));
93 assertEquals(3.3, Math.max(1.1, 2.2, 3.3));
94 assertEquals(3.3, Math.max(3.
[all...]
/external/replicaisland/src/com/replica/replicaisland/
H A DUtils.java39 public final static int clamp(int value, int min, int max) { argument
41 if (min == max) {
45 } else if (min < max) {
48 } else if (value > max) {
49 result = max;
52 result = clamp(value, max, min);
/external/skia/src/animator/
H A DSkDisplayRandom.h21 #ifdef max
22 #undef max macro
36 SkScalar max; member in class:SkDisplayRandom
/external/apache-http/src/org/apache/http/conn/params/
H A DConnPerRouteBean.java73 public void setDefaultMaxPerRoute(int max) { argument
74 if (max < 1) {
78 this.defaultMax = max;
81 public void setMaxForRoute(final HttpRoute route, int max) { argument
86 if (max < 1) {
90 this.maxPerHostMap.put(route, Integer.valueOf(max));
98 Integer max = this.maxPerHostMap.get(route);
99 if (max != null) {
100 return max.intValue();
/external/clang/utils/ABITest/return-types-32/
H A DMakefile7 TESTARGS += --max-args 0
/external/clang/utils/ABITest/return-types-64/
H A DMakefile7 TESTARGS += --max-args 0
/external/clang/utils/ABITest/single-args-32/
H A DMakefile7 TESTARGS += --no-function-return --max-args 1
/external/clang/utils/ABITest/single-args-64/
H A DMakefile13 TESTARGS += --no-function-return --max-args 1
/external/iptables/include/linux/netfilter/
H A Dxt_length.h7 __u16 min, max; member in struct:xt_length_info
/external/junit/src/org/junit/experimental/max/
H A DCouldNotReadCoreException.java1 package org.junit.experimental.max;
/external/dropbear/libtommath/
H A Dbn_s_mp_add.c23 int olduse, res, min, max; local
30 max = a->used;
34 max = b->used;
39 if (c->alloc < max + 1) {
40 if ((res = mp_grow (c, max + 1)) != MP_OKAY) {
47 c->used = max + 1;
80 if (min != max) {
81 for (; i < max; i++) {

Completed in 423 milliseconds

1234567891011>>