/external/v8/test/cctest/ |
test-ostreams.cc | 66 check<int16_t>("-32768 8000", std::numeric_limits<int16_t>::min()); 70 check<uint16_t>("0 0", std::numeric_limits<uint16_t>::min()); 74 check<int32_t>("-2147483648 80000000", std::numeric_limits<int32_t>::min()); 78 check<uint32_t>("0 0", std::numeric_limits<uint32_t>::min()); 83 std::numeric_limits<int64_t>::min()); 88 check<uint64_t>("0 0", std::numeric_limits<uint64_t>::min());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
KeyguardClockPositionAlgorithm.java | 120 progress = Math.max(0.0f, Math.min(progress, 1.0f)); 128 t = Math.min(t, 1.0f); 134 t = Math.min(t, 1.0f); 157 t = Math.min(t, 1.0f); 164 t = Math.min(t, 1.0f); 175 return Math.max(0, Math.min(1, alpha));
|
/external/fio/ |
log.c | 15 len = min(len, sizeof(buffer) - 1); 46 len = min(len, sizeof(buffer) - 1); 74 len = min(len, sizeof(buffer) - 1);
|
/external/guava/guava/src/com/google/common/io/ |
CharSequenceReader.java | 68 int charsToRead = Math.min(target.remaining(), remaining()); 88 int charsToRead = Math.min(len, remaining()); 99 int charsToSkip = (int) Math.min(remaining(), n); // safe because remaining is an int
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/ |
TimeScaleMonkeyTest.java | 41 private void initRandom(long min, long max) 43 BigDecimal interval = new BigDecimal(max).subtract(new BigDecimal(min)); 45 ranMin = min;
|
/external/jetty/src/java/org/eclipse/jetty/websocket/ |
WebSocketServlet.java | 83 String min = getInitParameter("minVersion"); local 84 if (min != null) 85 _webSocketFactory.setMinVersion(Integer.parseInt(min));
|
/external/oauth/core/src/main/java/net/oauth/ |
SimpleOAuthValidator.java | 91 long min = now - timestampWindow; local 93 if (timestamp < min || max < timestamp) { 95 problem.setParameter("oauth_acceptable_timestamps", min + "-" + max);
|
/external/openssh/ |
kexgex.c | 52 int min, int wantbits, int max, 77 (min != -1 && (r = sshbuf_put_u32(b, min)) != 0) ||
|
/frameworks/base/tools/aapt2/ |
Locale_test.cpp | 38 if (memcmp(lv.language, lang, std::min(strlen(lang), sizeof(lv.language))) != 0) { 60 if (memcmp(lv.language, lang, std::min(strlen(lang), sizeof(lv.language))) != 0) { 65 if (memcmp(lv.region, region, std::min(strlen(region), sizeof(lv.region))) != 0) {
|
/packages/apps/Exchange/src/com/android/exchange/utility/ |
FileLogger.java | 73 int min = d.getMinutes(); local 81 if (min < 10) 83 sb.append(min);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
EdgeEffect.java | 200 mEdgeAlpha = mEdgeAlphaStart = Math.max(PULL_EDGE_BEGIN, Math.min(distance, MAX_ALPHA)); 202 HELD_EDGE_SCALE_Y, Math.min(distance * PULL_DISTANCE_EDGE_FACTOR, 1.f)); 204 mGlowAlpha = mGlowAlphaStart = Math.min(MAX_ALPHA, 217 mGlowScaleY = mGlowScaleYStart = Math.min(MAX_GLOW_HEIGHT, Math.max( 282 mEdgeAlphaFinish = Math.max(0, Math.min(velocity * VELOCITY_EDGE_FACTOR, 1)); 285 HELD_EDGE_SCALE_Y, Math.min(velocity * VELOCITY_EDGE_FACTOR, 1.f)); 291 mGlowScaleYFinish = Math.min(0.025f + (velocity * (velocity / 100) * 0.00015f), 1.75f); 294 mGlowAlphaStart, Math.min(velocity * VELOCITY_GLOW_FACTOR * .00001f, MAX_ALPHA)); 316 mGlow.setAlpha((int) (Math.max(0, Math.min(mGlowAlpha, 1)) * 255)); 318 int glowBottom = (int) Math.min( [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/utils/ |
edit_distance.h | 43 dp[(afterLength + 1) * (i + 1) + (j + 1)] = std::min( 45 std::min( 49 dp[(afterLength + 1) * (i + 1) + (j + 1)] = std::min(
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
nf_nat.h | 37 union nf_conntrack_man_proto min; member in struct:nf_nat_ipv4_range
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
intrinsic_convolve5x5.rs | 30 uint32_t x3 = min((int32_t)x+1, gWidth-1); 31 uint32_t x4 = min((int32_t)x+2, gWidth-1); 36 uint32_t y3 = min((int32_t)y+1, gHeight-1); 37 uint32_t y4 = min((int32_t)y+2, gHeight-1); 77 uint32_t x3 = min((int32_t)x+1, gWidth-1); 78 uint32_t x4 = min((int32_t)x+2, gWidth-1); 83 uint32_t y3 = min((int32_t)y+1, gHeight-1); 84 uint32_t y4 = min((int32_t)y+2, gHeight-1); 124 uint32_t x3 = min((int32_t)x+1, gWidth-1); 125 uint32_t x4 = min((int32_t)x+2, gWidth-1) [all...] |
/external/antlr/antlr-3.4/runtime/Python/unittests/ |
testdfa.py | 34 min=[],
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/ |
MultiStartUnivariateRealOptimizer.java | 228 final double min, final double max) 242 final double bound1 = (i == 0) ? min : min + generator.nextDouble() * (max - min); 243 final double bound2 = (i == 0) ? max : min + generator.nextDouble() * (max - min); 245 FastMath.min(bound1, bound2), 314 final double min, final double max, final double startValue) 316 return optimize(f, goalType, min, max);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/transform/ |
FastHadamardTransformer.java | 45 double min, double max, int n) 47 return fht(FastFourierTransformer.sample(f, min, max, n)); 58 double min, double max, int n) 61 fht(FastFourierTransformer.sample(f, min, max, n));
|
/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'}} 37 const T& min(const T&, const T&); // expected-note{{candidate template ignored: deduced conflicting types for parameter 'T' ('int' vs. 'long')}} 41 (void)x.min(1, 2l); // expected-error{{no matching member function for call to 'min'}}
|
/external/e2fsprogs/lib/ext2fs/ |
res_gdt.c | 29 unsigned int *min = three; local 35 ret = *min; 36 *min += 1; 40 if (*five < *min) { 41 min = five; 44 if (*seven < *min) { 45 min = seven; 49 ret = *min; 50 *min *= mult;
|
/external/eigen/Eigen/src/plugins/ |
ArrayCwiseBinaryOps.h | 23 /** \returns an expression of the coefficient-wise min of \c *this and \a other 30 EIGEN_MAKE_CWISE_BINARY_OP(min,internal::scalar_min_op) 32 /** \returns an expression of the coefficient-wise min of \c *this and scalar \a other 39 min function 41 (min) 45 return (min)(Derived::PlainObject::Constant(rows(), cols(), other)); 53 * \sa min() 59 * \sa min()
|
/external/guava/guava-tests/test/com/google/common/jdk5backport/ |
Arrays.java | 17 System.arraycopy(original, from, copy, 0, Math.min(original.length - from, newLength));
|
/external/icu/icu4c/source/test/intltest/ |
calcasts.h | 35 int32_t min; member in struct:CalendarCaseTest::TestCase
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
nf_nat.h | 25 union nf_conntrack_man_proto min; member in struct:nf_nat_ipv4_range
|
/external/libcxx/test/std/utilities/template.bitset/bitset.cons/ |
ull_ctor.pass.cpp | 23 unsigned M = std::min<std::size_t>(N, 64);
|
/external/libvpx/libvpx/tools/ |
vpx-astyle.sh | 4 --min-conditional-indent=0 \
|