Searched refs:max (Results 151 - 175 of 2224) sorted by relevance

1234567891011>>

/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/
H A Dmax.pass.cpp15 // result_type max() const;
28 assert(d.max() == 17);
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/
H A Dmax.pass.cpp15 // result_type max() const;
28 assert(d.max() == 17);
/external/libcxx/test/std/utilities/memory/default.allocator/allocator.members/
H A Dmax_size.pass.cpp26 assert(M > 0xFFFF && M <= std::numeric_limits<std::size_t>::max());
/external/libcxx/test/std/utilities/time/time.clock/time.clock.hires/
H A Dnow.pass.cpp25 assert(C::time_point::max() > t1);
/external/libcxx/test/std/utilities/time/time.clock/time.clock.system/
H A Dnow.pass.cpp25 assert(C::time_point::max() > t1);
/external/linux-tools-perf/src/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DUtil.py39 min, max, avg, count = dict[key]
42 if value > max:
43 max = value
45 dict[key] = (min, max, avg, count + 1)
/external/ltrace/
H A Dzero.c32 size_t max, void *data)
35 for (i = 0; i < max; ++i) {
67 size_t max = (size_t)l; local
68 return zero_callback_max(ret_value, lhs, arguments, max, data);
30 zero_callback_max(struct value *ret_value, struct value *lhs, struct value_dict *arguments, size_t max, void *data) argument
/external/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);
H A DSkAnimateField.cpp106 int max = fComponents * 2; local
107 fValues.setCount(max);
108 memset(fValues.begin(), 0, max * sizeof(fValues.begin()[0]));
109 fFieldInfo->setValue(maker, &fValues, fFieldOffset, max, this, outType, from);
110 fFieldInfo->setValue(maker, &fValues, fComponents + fFieldOffset, max, this, outType, to);
/external/skia/tests/
H A DSrcOverTest.cpp59 unsigned max = SkMax32(dst, i); local
62 REPORTER_ASSERT(reporter, r0 <= 255 && r0 >= max);
64 REPORTER_ASSERT(reporter, r1 <= 255 && r1 >= max);
65 REPORTER_ASSERT(reporter, r2 <= 255 && r2 >= max);
H A DScalarTest.cpp133 float max = 3.402823466e+38f; local
134 float inf = max * max;
138 test_floatclass(reporter, max, kFinite);
139 test_floatclass(reporter, -max, kFinite);
149 { max * 0.75f, true },
150 { max, true },
151 { -max * 0.75f, true },
152 { -max, true },
/external/v8/test/webkit/
H A Dinteger-extremes.js159 var max = Math.pow(2, valueBits - 1) - 1;
163 shouldBe("max.toString()", answers[valueBits-8][2]);
164 shouldBe("(max + 1).toString()", answers[valueBits-8][3]);
/external/skia/include/utils/
H A DSkRandom.h64 * Returns value [min...max) as a float
66 float nextRangeF(float min, float max) { argument
67 return min + this->nextF() * (max - min);
80 [min, max] inclusive.
82 uint32_t nextRangeU(uint32_t min, uint32_t max) { argument
83 SkASSERT(min <= max);
84 uint32_t range = max - min + 1;
116 in the range [min..max).
118 SkScalar nextRangeScalar(SkScalar min, SkScalar max) { argument
119 return this->nextUScalar1() * (max
[all...]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/
H A DStats.java99 public static int max(int[] X) { method in class:Stats
100 int max = Integer.MIN_VALUE;
106 if ( X[i] > max ) {
107 max = X[i];
110 return max;
143 public static int max(List<Integer> X) { method in class:Stats
144 int max = Integer.MIN_VALUE;
150 if ( X.get(i) > max ) {
151 max = X.get(i);
154 return max;
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/integration/
H A DLegendreGaussIntegrator.java159 public double integrate(final double min, final double max) argument
161 return integrate(f, min, max);
165 public double integrate(final UnivariateRealFunction f, final double min, final double max) argument
169 verifyInterval(min, max);
173 double oldt = stage(f, min, max, 1);
179 final double t = stage(f, min, max, n);
184 FastMath.max(absoluteAccuracy,
195 n = FastMath.max((int) (ratio * n), n + 1);
208 * @param max the upper bound for the interval
215 final double min, final double max, fina
214 stage(final UnivariateRealFunction f, final double min, final double max, final int n) argument
[all...]
/external/clang/test/Analysis/
H A Dadditive-folding.cpp145 int max = INT_MAX; local
149 clang_analyzer_eval(a == max && b != min); // expected-warning{{FALSE}}
153 int max = INT_MAX; local
156 clang_analyzer_eval((a + 2) <= (max + 1LL)); // expected-warning{{TRUE}}
158 clang_analyzer_eval((a + 2LL) <= max); // expected-warning{{UNKNOWN}}
162 int max = INT_MAX; local
165 clang_analyzer_eval((a + 2) < (max + 1LL)); // expected-warning{{TRUE}}
171 int max = INT_MAX; local
173 clang_analyzer_eval((a + 2) != (max + 1LL)); // expected-warning{{TRUE}}
174 clang_analyzer_eval((a + 2LL) == (max
[all...]
/external/icu/icu4c/source/layout/
H A DIndicLayoutEngine.cpp56 le_int32 IndicOpenTypeLayoutEngine::glyphProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, argument
63 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
68 le_int32 retCount = OpenTypeLayoutEngine::glyphProcessing(chars, offset, count, max, rightToLeft, glyphStorage, success);
77 OpenTypeLayoutEngine::glyphSubstitution(count,max, rightToLeft, glyphStorage, success);
87 le_int32 IndicOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, argument
94 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
H A DBarGraph.java95 // we calculate the max width
99 maxNameLength= Math.max(maxNameLength, es.x);
116 double max= 0.0;
118 max= Math.max(max, Math.abs(bars[i].value));
123 max= 125;
125 if (max > 400.0) {
127 } else if (max > 200.0) {
129 } else if (max > 100.
[all...]
/external/guava/guava/src/com/google/common/primitives/
H A DSignedBytes.java132 public static byte max(byte... array) { method in class:SignedBytes
134 byte max = array[0];
136 if (array[i] > max) {
137 max = array[i];
140 return max;
/external/libvorbis/vq/
H A Ddistribution.c37 float max; local
79 max=min=_float32_unpack(c->q_min);
84 if(val>max)max=val;
88 printf("Maximum scalar value: %f\n",max);
169 sprintf(buf,"getting min/max (%.2f::%.2f). lines...",min,max);
174 min=max=code;
182 if(code>max)max
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/math/
H A DEigen3f.java144 * @return the max magnitude in this matrix
148 float max = FastMath.abs(mat.m00);
151 if (abs > max) {
152 max = abs;
155 if (abs > max) {
156 max = abs;
159 if (abs > max) {
160 max = abs;
163 if (abs > max) {
164 max
[all...]
/external/eigen/Eigen/src/Eigen2Support/Geometry/
H A DAlignedBox.h61 m_min.setConstant( (std::numeric_limits<Scalar>::max)());
62 m_max.setConstant(-(std::numeric_limits<Scalar>::max)());
70 inline const VectorType& (max)() const { return m_max; } function in class:Eigen::AlignedBox
72 inline VectorType& (max)() { return m_max; } function in class:Eigen::AlignedBox
80 { return (m_min.cwise()<=(b.min)()).all() && ((b.max)().cwise()<=m_max).all(); }
84 { m_min = (m_min.cwise().min)(p); m_max = (m_max.cwise().max)(p); return *this; }
88 { m_min = (m_min.cwise().min)(b.m_min); m_max = (m_max.cwise().max)(b.m_max); return *this; }
92 { m_min = (m_min.cwise().max)(b.m_min); m_max = (m_max.cwise().min)(b.m_max); return *this; }
129 m_max = (other.max)().template cast<Scalar>();
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
H A DHeightfieldCollisionShape.java62 float max = heightfieldData[0];
63 // calculate min and max height
68 if (heightfieldData[i] > max) {
69 max = heightfieldData[i];
73 // min and max height to be equal on either side of the y axis, otherwise it gets shifted and collision is incorrect.
74 if (max < 0) {
75 max = -min;
77 if (Math.abs(max) > Math.abs(min)) {
78 min = -max;
80 max
[all...]
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
H A DHeightfieldCollisionShape.java61 float max = heightfieldData[0];
62 // calculate min and max height
66 if (heightfieldData[i] > max)
67 max = heightfieldData[i];
70 // min and max height to be equal on either side of the y axis, otherwise it gets shifted and collision is incorrect.
71 if (max < 0)
72 max = -min;
74 if (Math.abs(max) > Math.abs(min))
75 min = -max;
77 max
[all...]
/external/libvpx/libvpx/vp9/encoder/x86/
H A Dvp9_highbd_block_error_intrin_sse2.c21 __m128i max, min, cmp0, cmp1, cmp2, cmp3; local
33 max = _mm_set1_epi32(0x3fff);
35 cmp0 = _mm_xor_si128(_mm_cmpgt_epi32(mm_coeff, max),
37 cmp1 = _mm_xor_si128(_mm_cmpgt_epi32(mm_coeff2, max),
39 cmp2 = _mm_xor_si128(_mm_cmpgt_epi32(mm_dqcoeff, max),
41 cmp3 = _mm_xor_si128(_mm_cmpgt_epi32(mm_dqcoeff2, max),

Completed in 5758 milliseconds

1234567891011>>