/external/skia/gpu/include/ |
GrRandom.h | 44 * Returns value [min...max) as a float 46 float nextF(float min, float max) { 47 return min + this->nextF() * (max - min);
|
/frameworks/base/graphics/java/android/graphics/ |
TableMaskFilter.java | 35 public static TableMaskFilter CreateClipTable(int min, int max) { 36 return new TableMaskFilter(nativeNewClip(min, max)); 44 private static native int nativeNewClip(int min, int max);
|
/external/iptables/include/linux/netfilter/ |
xt_length.h | 7 __u16 min, max; member in struct:xt_length_info
|
/external/webkit/Source/WebCore/page/win/ |
FrameCairoWin.cpp | 33 using std::min;
|
/external/bouncycastle/src/main/java/org/bouncycastle/util/ |
BigIntegers.java | 38 * Return a random BigInteger not less than 'min' and not greater than 'max' 40 * @param min the least value that may be generated 43 * @return a random BigInteger value in the range [min,max] 46 BigInteger min, 50 int cmp = min.compareTo(max); 55 throw new IllegalArgumentException("'min' may not be greater than 'max'"); 58 return min; 61 if (min.bitLength() > max.bitLength() / 2) 63 return createRandomInRange(ZERO, max.subtract(min), random).add(min); [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/ |
15.8.2.12.js | 24 ECMA Section: 15.8.2.12 Math.min(x, y) 42 var TITLE = "Math.min(x, y)"; 54 array[item++] = new TestCase( SECTION, "Math.min.length", 2, Math.min.length ); 56 array[item++] = new TestCase( SECTION, "Math.min()", Infinity, Math.min() ); 57 array[item++] = new TestCase( SECTION, "Math.min(void 0, 1)", Number.NaN, Math.min( void 0, 1 ) ); 58 array[item++] = new TestCase( SECTION, "Math.min(void 0, void 0)", Number.NaN, Math.min( void 0, void 0 ) ) [all...] |
/frameworks/base/media/libstagefright/codecs/aacdec/ |
sbr_crc_check.h | 64 #ifndef min 65 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
|
/external/chromium/base/ |
rand_util.cc | 16 int RandInt(int min, int max) { 17 DCHECK(min <= max); 19 uint64 range = static_cast<uint64>(max) - min + 1; 20 int result = min + static_cast<int>(base::RandGenerator(range)); 21 DCHECK(result >= min && result <= max);
|
rand_util.h | 17 // Returns a random number between min and max (inclusive). Thread-safe. 18 BASE_API int RandInt(int min, int max);
|
/external/iptables/extensions/ |
libxt_length.c | 28 info->min = cb->val.u16_range[0]; 42 if (info->min == info->max) 43 printf("%u", info->min); 45 printf("%u:%u", info->min, info->max); 53 if (info->min == info->max) 54 printf("%u", info->min); 56 printf("%u:%u", info->min, info->max);
|
/frameworks/base/services/surfaceflinger/ |
clz.h | 28 static inline T min(T a, T b) { function in namespace:android 32 static inline T min(T a, T b, T c) { function in namespace:android 33 return min(a, min(b, c)); 36 static inline T min(T a, T b, T c, T d) { function in namespace:android 37 return min(a, b, min(c, d));
|
/external/chromium/testing/gmock/src/ |
gmock-cardinalities.cc | 52 BetweenCardinalityImpl(int min, int max) 53 : min_(min >= 0 ? min : 0), 56 if (min < 0) { 58 << "but is actually " << min << "."; local 64 } else if (min > max) { 66 << ") must be >= the invocation lower bound (" << min local 147 // Creates a cardinality that allows between min and max calls. 148 Cardinality Between(int min, int max) { 149 return Cardinality(new BetweenCardinalityImpl(min, max)) [all...] |
/external/quake/quake/src/QW/client/ |
buildnum.c | 41 int hr, min;
local 68 min = (buildTime[3] - '0') * 10 + (buildTime[4] - '0');
72 b += hr * 60 + min;
|
/dalvik/libdex/ |
DexCatch.cpp | 54 // Note: Signed type is important for max and min. 55 int min = 0; local 58 while (max >= min) { 59 int guess = (min + max) >> 1; 71 min = guess + 1;
|
/external/clang/test/SemaTemplate/ |
overload-candidates.cpp | 4 const T& min(const T&, const T&); // expected-note{{candidate template ignored: deduced conflicting types for parameter 'T' ('int' vs. 'long')}} 7 (void)min(1, 2l); // expected-error{{no matching function for call to 'min'}} 35 const T& min(const T&, const T&); // expected-note{{candidate template ignored: deduced conflicting types for parameter 'T' ('int' vs. 'long')}} 39 (void)x.min(1, 2l); // expected-error{{no matching member function for call to 'min'}}
|
/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/util/ |
PartialInputStream.java | 36 return Math.min(super.available(), getBytesLeft());
51 len = Math.min(len, getBytesLeft());
56 n = Math.min(n, getBytesLeft());
61 return (int)Math.min(Integer.MAX_VALUE, limit - position);
|
/external/valgrind/main/memcheck/tests/ |
mallinfo.c | 12 static size_t check(size_t min, size_t max) 31 printf("(min = %zu, max = %zu)\n", min, max); 37 if (used < min) 43 // used should be reasonably close to min 45 if (used/5*4 > min) 74 static size_t check(size_t min, size_t max) 89 size_t min, max; local 105 min = 0; 109 min += size [all...] |
/bionic/libc/bionic/ |
hash.h | 44 #ifndef min 45 #define min(a,b) (((a)>(b))?(b):(a)) macro
|
/system/vold/ |
hash.h | 44 #ifndef min 45 #define min(a,b) (((a)>(b))?(b):(a)) macro
|
/external/chromium/chrome/browser/resources/options/ |
advanced_options.css | 17 min-width: 145px; 22 min-width: 100px; 27 min-width: 470px;
|
/external/skia/src/animator/ |
SkDisplayRandom.cpp | 31 SK_MEMBER(min, Float), 40 SkDisplayRandom::SkDisplayRandom() : blend(0), min(0), max(SK_Scalar1) { 47 SkDebugf("min=\"%g\" ", SkScalarToFloat(min)); 51 SkDebugf("min=\"%x\" ", min); 64 value->fOperand.fScalar = min + SkScalarMul(max - min, relativeT);
|
/external/webkit/Source/WebCore/html/ |
HTMLMeterElement.cpp | 83 double HTMLMeterElement::min() const function in class:WebCore::HTMLMeterElement 85 double min = 0; local 86 parseToDoubleForNumberType(getAttribute(minAttr), &min); local 87 return min; 90 void HTMLMeterElement::setMin(double min, ExceptionCode& ec) 92 if (!isfinite(min)) { 96 setAttribute(minAttr, String::number(min)); 101 double max = std::max(1.0, min()); 103 return std::max(max, min()); 119 return std::min(std::max(value, min()), max()) 214 double min = this->min(); local [all...] |
/external/v8/test/mjsunit/ |
math-min-max.js | 30 // Test Math.min(). 32 assertEquals(Infinity, Math.min()); 33 assertEquals(1, Math.min(1)); 34 assertEquals(1, Math.min(1, 2)); 35 assertEquals(1, Math.min(2, 1)); 36 assertEquals(1, Math.min(1, 2, 3)); 37 assertEquals(1, Math.min(3, 2, 1)); 38 assertEquals(1, Math.min(2, 3, 1)); 39 assertEquals(1.1, Math.min(1.1, 2.2, 3.3)); 40 assertEquals(1.1, Math.min(3.3, 2.2, 1.1)) [all...] |
/external/skia/src/effects/ |
SkTableMaskFilter.cpp | 110 void SkTableMaskFilter::MakeClipTable(uint8_t table[256], uint8_t min, 115 if (min >= max) { 116 min = max - 1; 118 SkASSERT(min < max); 120 SkFixed scale = (1 << 16) * 255 / (max - min); 121 memset(table, 0, min + 1); 122 for (int i = min + 1; i < max; i++) { 123 int value = SkFixedRound(scale * (i - min)); 136 SkDebugf("%d %d start [%d]", min, max, j);
|
/external/dropbear/libtommath/ |
bn_s_mp_add.c | 23 int olduse, res, min, max; local 29 min = b->used; 33 min = a->used; 66 for (i = 0; i < min; i++) { 80 if (min != max) {
|