/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/ |
Stats.java | 99 public static int max(int[] X) { method in class:Stats 100 int max = Integer.MIN_VALUE; local 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; local 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/stat/ |
StatUtils.java | 26 import org.apache.commons.math.stat.descriptive.rank.Max; 57 /** max */ 58 private static final UnivariateStatistic MAX = new Max(); 418 public static double max(final double[] values) { method in class:StatUtils 419 return MAX.evaluate(values); 444 public static double max(final double[] values, final int begin, method in class:StatUtils 446 return MAX.evaluate(values, begin, length);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/ |
StatisticalSummaryValues.java | 45 private final double max; field in class:StatisticalSummaryValues 59 * @param max the maximum value 64 double max, double min, double sum) { 69 this.max = max; 75 * @return Returns the max. 78 return max; 177 outBuffer.append("max: ").append(getMax()).append(endl);
|
/external/boringssl/src/crypto/asn1/ |
a_d2i_fp.c | 152 const unsigned char *max; /* largest value of p allowed */ member in struct:asn1_const_ctx_st
|
asn1_lib.c | 107 long max); 117 long max = omax; local 119 if (!max) 126 if (--max == 0) 132 if (--max == 0) 140 if (--max == 0) 145 if (--max == 0) 155 if (!asn1_get_length(&p, &inf, plength, max)) 183 long max) 189 if (max-- < 1 [all...] |
/external/boringssl/src/crypto/fipsmodule/bn/ |
montgomery.c | 315 int max = (2 * n->top); // carry is stored separately local 316 if (!bn_resize_words(r, max) ||
|
/external/clang/test/Analysis/ |
additive-folding-range-constraints.c | 11 // solution range across an overflow boundary (Min for <, Max for >). 39 // comparison value over an overflow boundary (Min for <, Max for >). 165 int max = INT_MAX; local 167 clang_analyzer_eval((a + 2) <= (max - 5LL)); // expected-warning{{TRUE}} 176 unsigned max = UINT_MAX; local 177 clang_analyzer_eval(a < max); // expected-warning{{UNKNOWN}} 178 clang_analyzer_eval((a + 2) < max); // expected-warning{{UNKNOWN}} 179 clang_analyzer_eval((a + 2U) < max); // expected-warning{{UNKNOWN}} 183 unsigned max = UINT_MAX; local 184 clang_analyzer_eval(a <= max); // expected-warning{{TRUE} 190 int max = INT_MAX; local 197 int max = INT_MAX; local 260 unsigned max = INT_MAX; local 267 unsigned max = INT_MAX; local 288 unsigned max = INT_MAX; local [all...] |
additive-folding.cpp | 145 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 + 1LL)); // expected-warning{{UNKNOWN} [all...] |
/external/clang/test/SemaCXX/ |
compare.cpp | 230 // A is max short plus 1. All zero and positive shorts are smaller than it. 231 // All negative shorts are cast towards the max unsigned range. Relation 242 // When negative one is converted to an unsigned value, it becomes the max 243 // unsigned. Likewise, a negative one short can also be converted to max 360 template<class T> T max(); 362 template<> constexpr int max<int>() { return 2147483647; }; function in namespace:templates 366 const T vmax = max<T>(); 374 return num < max<int>(); // expected-warning{{comparison of constant 2147483647 with expression of type 'short' is always true}}
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_defs.h | 123 T max(T a, T b) { function in namespace:__tsan
|
/external/deqp/modules/gles31/functional/ |
es31fPrimitiveBoundingBoxTests.cpp | 64 tcu::Vec4 max; member in struct:deqp::gles31::Functional::__anon18743::BoundingBox 68 * concatenating 4-component min and max vectors. 80 return max[ndx-4]; 91 tcu::Vec3 max; member in struct:deqp::gles31::Functional::__anon18743::ProjectedBBox 96 const float wMin = de::max(0.0f, bbox.min.w()); // clamp to w=0 as extension requires 97 const float wMax = de::max(0.0f, bbox.max.w()); 102 retVal.max = tcu::max(bbox.max.swizzle(0, 1, 2) / wMin [all...] |
/external/e2fsprogs/lib/support/ |
profile_helpers.c | 47 int max; member in struct:profile_string_list 56 list->max = 10; 57 list->list = malloc(list->max * sizeof(char *)); 83 list->num = list->max = 0; 95 if (list->num+1 >= list->max) { 96 newmax = list->max + 10; 100 list->max = newmax;
|
/external/eigen/test/ |
boostmultiprec.cpp | 61 #undef max macro 114 Real fmax(const Real& a, const Real& b) { using std::max; return max(a,b); }
|
main.h | 22 // definition of macros min() and max(). The reason is that many STL 23 // implementations will not work properly as the min and max symbols collide 24 // with the STL functions std:min() and std::max(). The STL headers may check 25 // for the macro definition of min/max and issue a warning or undefine the 28 // Still, Windows defines min() and max() in windef.h as part of the regular 30 // macros being available. To prevent the macro expansion of min/max and to 32 // std::min() and std::max() have to be written with parenthesis around the 37 // against multiple inclusions, no STL header will see our own min/max macro 53 // To test that all calls from Eigen code to std::min() and std::max() are 54 // protected by parenthesis against macro expansion, the min()/max() macro 58 #define max macro [all...] |
/external/freetype/src/sfnt/ |
ttkern.c | 241 FT_UInt max = num_pairs; local 244 while ( min < max ) 246 FT_UInt mid = ( min + max ) >> 1; 261 max = mid;
|
/external/freetype/src/type1/ |
t1afm.c | 335 AFM_KernPair min, mid, max; local 341 max = min + fi->NumKernPair - 1; 343 while ( min <= max ) 348 mid = min + ( max - min ) / 2; 362 max = mid - 1;
|
/external/gemmlowp/meta/ |
transform_kernels.h | 50 Type max; member in struct:gemmlowp::meta::MinMax
|
/external/guava/guava/src/com/google/common/primitives/ |
UnsignedLongs.java | 107 public static long max(long... array) { method in class:UnsignedLongs 109 long max = flip(array[0]); local 112 if (next > max) { 113 max = next; 116 return flip(max);
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
SignedBytesTest.java | 96 SignedBytes.max(); 103 assertEquals(LEAST, SignedBytes.max(LEAST)); 104 assertEquals(GREATEST, SignedBytes.max(GREATEST)); 105 assertEquals((byte) 127, SignedBytes.max(
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
SignedBytesTest.java | 99 SignedBytes.max(); 106 assertEquals(LEAST, SignedBytes.max(LEAST)); 107 assertEquals(GREATEST, SignedBytes.max(GREATEST)); 108 assertEquals((byte) 127, SignedBytes.max(
|
/external/icu/icu4c/source/common/ |
ubidi_props.cpp | 125 int32_t max; local 131 max=bdp->indexes[UBIDI_MAX_VALUES_INDEX]; 134 return (max&UBIDI_CLASS_MASK); 136 return (max&UBIDI_MAX_JG_MASK)>>UBIDI_MAX_JG_SHIFT; 138 return (max&UBIDI_JT_MASK)>>UBIDI_JT_SHIFT; 140 return (max&UBIDI_BPT_MASK)>>UBIDI_BPT_SHIFT;
|
ucnvlat1.cpp | 146 UChar c, max; local 159 max=0xff; /* Latin-1 */ 161 max=0x7f; /* US-ASCII */ 226 if(oredChars>max) { 263 while(targetCapacity>0 && (c=*source++)<=max) { 269 if(c>max) {
|
uvectr32.cpp | 309 int32_t min = 0, max = count; local 310 while (min != max) { 311 int32_t probe = (min + max) / 2; 315 max = probe;
|
/external/icu/icu4c/source/i18n/ |
cpdtrans.cpp | 602 int32_t max = 0; local 605 if (len > max) { 606 max = len; 609 setMaximumContextLength(max);
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
IntDiffer.java | 68 int max = aCount; local 69 if (max > bCount) max = bCount; 71 for (i = 0; i < max; ++i) {
|