/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.limits/limits/numeric.limits.members/ |
min.pass.cpp | 12 // min() 24 assert(std::numeric_limits<T>::min() == expected); 26 assert(std::numeric_limits<const T>::min() == expected); 28 assert(std::numeric_limits<volatile T>::min() == expected); 30 assert(std::numeric_limits<const volatile T>::min() == expected);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.adapt/rand.adapt.shuf/ |
values.pass.cpp | 21 // static constexpr result_type min() { return Engine::min; } 36 /*static_*/assert((E::min() == 1)/*, ""*/);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/ |
min.pass.cpp | 15 // result_type min() const; 28 assert(d.min() == 10);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/ |
min.pass.cpp | 15 // result_type min() const; 28 assert(d.min() == 10);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
ScrollerHelper.java | 74 public void fling(int velocity, int min, int max) { 79 min, max, // minX, maxX 85 public int startScroll(int distance, int min, int max) { 89 int newPosition = Utils.clamp(finalPosition + distance, min, max);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
ChartAxis.java | 29 public boolean setBounds(long min, long max);
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/ |
UVProjectionGenerator.java | 32 Vector3f min = bb.getMin(null); local 37 uvCoordinates[j] = (positions.get(i) - min.x) / ext[0]; 38 uvCoordinates[j + 1] = (positions.get(i + 1) - min.y) / ext[1]; 58 Vector3f min = bb.getMin(null); local 71 uvCoordinates[pointIndex++] = (triangle.get1().y - min.y) / ext[1]; 72 uvCoordinates[pointIndex++] = (triangle.get1().z - min.z) / ext[2]; 73 uvCoordinates[pointIndex++] = (triangle.get2().y - min.y) / ext[1]; 74 uvCoordinates[pointIndex++] = (triangle.get2().z - min.z) / ext[2]; 75 uvCoordinates[pointIndex++] = (triangle.get3().y - min.y) / ext[1]; 76 uvCoordinates[pointIndex++] = (triangle.get3().z - min.z) / ext[2] [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
IntegerTest.java | 40 final int min = Integer.MIN_VALUE; local 44 assertTrue(Integer.compare(min, min) == 0); 47 assertTrue(Integer.compare(max, min) > 0); 49 assertTrue(Integer.compare(zero, min) > 0); 50 assertTrue(Integer.compare(min, zero) < 0); 51 assertTrue(Integer.compare(min, max) < 0);
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/ |
Stats.java | 85 public static int min(int[] X) { method in class:Stats 86 int min = Integer.MAX_VALUE; local 92 if ( X[i] < min ) { 93 min = X[i]; 96 return min; 129 public static int min(List<Integer> X) { method in class:Stats 130 int min = Integer.MAX_VALUE; local 136 if ( X.get(i) < min ) { 137 min = X.get(i); 140 return min; [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/integration/ |
LegendreGaussIntegrator.java | 159 public double integrate(final double min, final double max) 161 return integrate(f, min, max); 165 public double integrate(final UnivariateRealFunction f, final double min, final double max) 169 verifyInterval(min, max); 173 double oldt = stage(f, min, max, 1); 179 final double t = stage(f, min, max, n); 194 double ratio = FastMath.min(4, FastMath.pow(delta / limit, 0.5 / abscissas.length)); 207 * @param min the lower bound for the interval 215 final double min, final double max, final int n) 219 final double step = (max - min) / n [all...] |
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/ |
fx_zlib_inftrees.c | 42 unsigned min, max; /* minimum and maximum code lengths */ local 126 for (min = 1; min < max; min++) 127 if (count[min] != 0) break; 128 if (root < min) root = min; 202 len = min; /* starting code length */ 235 min = fill; /* save offset to next table */ 266 next += min; /* here min is 1 << curr * [all...] |
/external/zlib/src/ |
inftrees.c | 42 unsigned min, max; /* minimum and maximum code lengths */ local 126 for (min = 1; min < max; min++) 127 if (count[min] != 0) break; 128 if (root < min) root = min; 202 len = min; /* starting code length */ 235 min = fill; /* save offset to next table */ 266 next += min; /* here min is 1 << curr * [all...] |
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
glUtils.h | 66 template <class T> void minmax(T *indices, int count, int *min, int *max) { 67 *min = -1; 71 if (*min == -1 || *ptr < *min) *min = *ptr;
|
/external/iptables/extensions/ |
libipt_ah.c | 36 print_spis(const char *name, uint32_t min, uint32_t max, 41 if (min != 0 || max != 0xFFFFFFFF || invert) { 43 if (min == max) { 45 printf("%u", min); 48 printf("%u",min);
|
libxt_esp.c | 36 print_spis(const char *name, uint32_t min, uint32_t max, 41 if (min != 0 || max != 0xFFFFFFFF || invert) { 42 if (min == max) 43 printf(" %s:%s%u", name, inv, min); 45 printf(" %ss:%s%u:%u", name, inv, min, max);
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
UT_bug_char.java | 40 private byte min(byte v1, byte v2) { method in class:UT_bug_char 43 private byte[] min(byte[] v1, byte[] v2) { method in class:UT_bug_char 47 rv[i] = min(v1[i], v2[i]); 67 // Set results for min 68 s.set_min_rand_sc1_sc1(min(rand_sc1_0, rand_sc1_1)); method 69 byte[] min_rand_sc2_raw = min(rand_sc2_0, rand_sc2_1);
|
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
UT_bug_char.java | 40 private byte min(byte v1, byte v2) { method in class:UT_bug_char 43 private byte[] min(byte[] v1, byte[] v2) { method in class:UT_bug_char 47 rv[i] = min(v1[i], v2[i]); 67 // Set results for min 68 s.set_min_rand_sc1_sc1(min(rand_sc1_0, rand_sc1_1)); method 69 byte[] min_rand_sc2_raw = min(rand_sc2_0, rand_sc2_1);
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UT_bug_char.java | 40 private byte min(byte v1, byte v2) { method in class:UT_bug_char 43 private byte[] min(byte[] v1, byte[] v2) { method in class:UT_bug_char 47 rv[i] = min(v1[i], v2[i]); 67 // Set results for min 68 s.set_min_rand_sc1_sc1(min(rand_sc1_0, rand_sc1_1)); method 69 byte[] min_rand_sc2_raw = min(rand_sc2_0, rand_sc2_1);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
saturation.rs | 47 int min = max; 55 else if (min > v) { 56 min = v; 59 // generate a lookup table for all hue 0 to 4K which goes from 0 to 1 0=min sat 1 = max sat 60 min = min - 1; 65 satLut[i] = (v - min)/(float)(max - min); 75 // Generate 2 color matrix one at min sat and one at max 86 S = 1 + min / 100.f [all...] |
/external/deqp/modules/gles2/functional/ |
es2fImplementationLimitTests.cpp | 51 inline bool compare (const T& min, const T& reported) { return min <= reported; } 65 float min; member in struct:deqp::gles2::Functional::LimitQuery::FloatRange 67 FloatRange (float min_, float max_) : min(min_), max(max_) {} 70 std::ostream& operator<< (std::ostream& str, const FloatRange& range) { return str << range.min << ", " << range.max; } 122 bool compare<Boolean> (const Boolean& min, const Boolean& reported) 124 return !min.value || (min.value && reported.value); 128 bool compare<NegInt> (const NegInt& min, const NegInt& reported) 131 return reported.value <= min.value [all...] |
/external/skia/src/effects/ |
SkTableMaskFilter.cpp | 99 void SkTableMaskFilter::MakeClipTable(uint8_t table[256], uint8_t min, 104 if (min >= max) { 105 min = max - 1; 107 SkASSERT(min < max); 109 SkFixed scale = (1 << 16) * 255 / (max - min); 110 memset(table, 0, min + 1); 111 for (int i = min + 1; i < max; i++) { 112 int value = SkFixedRoundToInt(scale * (i - min)); 125 SkDebugf("%d %d start [%d]", min, max, j);
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/ |
limits.hpp | 44 static BOOST_LLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return 0x8000000000000000i64; } 47 static BOOST_LLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return LLONG_MIN; } 50 static BOOST_LLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return LONGLONG_MIN; } 53 static BOOST_LLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return 1LL << (sizeof(BOOST_LLT) * CHAR_BIT - 1); } 54 static BOOST_LLT max BOOST_PREVENT_MACRO_SUBSTITUTION (){ return ~(min)(); } 97 static BOOST_ULLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return 0ui64; } 100 static BOOST_ULLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return ULLONG_MIN; } 103 static BOOST_ULLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return ULONGLONG_MIN; } 106 static BOOST_ULLT min BOOST_PREVENT_MACRO_SUBSTITUTION (){ return 0uLL; }
|
/packages/apps/Camera2/jni/ |
jpegutil.h | 36 inline int min(int a, int b) { return a < b ? a : b; } function in namespace:jpegutil 194 y = min(y, transform_.output_height() - 1); 197 output_width = min(output_width, transform_.output_width()); 198 output_width = min(output_width, plane_.width); 213 startX = min(startX, plane_.width - 1); 214 startY = min(startY, plane_.height - 1); 215 endX = min(endX, plane_.width - 1); 216 endY = min(endY, plane_.height - 1); 243 for (int idx = plane_start; idx >= min(plane_start, plane_end) &&
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/univariate/ |
AbstractUnivariateRealOptimizer.java | 219 double min, double max, double startValue) 222 this.searchMin = min; 251 double min, double max) 253 return optimize(f, goal, min, max, min + 0.5 * (max - min));
|
/external/openssh/ |
kexgexs.c | 31 #include <sys/param.h> /* MIN MAX */ 77 u_int min = 0, max = 0, nbits = 0; local 82 if ((r = sshpkt_get_u32(ssh, &min)) != 0 || 88 kex->min = min; 90 min = MAX(DH_GRP_MIN, min); 91 max = MIN(DH_GRP_MAX, max); 93 nbits = MIN(DH_GRP_MAX, nbits); 102 kex->min = min = DH_GRP_MIN [all...] |