/external/selinux/libsepol/src/ |
H A D | private.h | 43 #undef max macro 44 #define max(a,b) ((a) >= (b) ? (a) : (b)) macro
|
/external/skia/src/views/ |
H A D | SkProgressView.cpp | 30 void SkProgressView::setMax(U16CPU max) argument 32 if (fMax != max) 34 fMax = SkToU16(max);
|
/external/skia/tests/ |
H A D | DequeTest.cpp | 33 int max, int min) { 38 int value = max; 53 REPORTER_ASSERT(reporter, value-1 == max); 58 value = max; 69 REPORTER_ASSERT(reporter, value-1 == max); 32 assert_iter(skiatest::Reporter* reporter, const SkDeque& deq, int max, int min) argument
|
H A D | SrcOverTest.cpp | 59 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);
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/ |
H A D | ProgressDialogTask.java | 34 public ProgressDialogTask(int style, int max, String title, String message, boolean cancelable) { argument 36 mMax = max;
|
/external/tinyalsa/ |
H A D | tinypcminfo.c | 134 unsigned int max; local 184 max = pcm_params_get_max(params, PCM_PARAM_RATE); 185 printf(" Rate:\tmin=%uHz\tmax=%uHz\n", min, max); 187 max = pcm_params_get_max(params, PCM_PARAM_CHANNELS); 188 printf(" Channels:\tmin=%u\t\tmax=%u\n", min, max); 190 max = pcm_params_get_max(params, PCM_PARAM_SAMPLE_BITS); 191 printf(" Sample bits:\tmin=%u\t\tmax=%u\n", min, max); 193 max = pcm_params_get_max(params, PCM_PARAM_PERIOD_SIZE); 194 printf(" Period size:\tmin=%u\t\tmax=%u\n", min, max); 196 max [all...] |
/external/toybox/toys/other/ |
H A D | acpi.c | 63 int cap = 0, curr = 0, max = 0; local 66 if ((max = read_int_at(dfd, "charge_full")) > 0) 68 else if ((max = read_int_at(dfd, "energy_full")) > 0) 70 if (max > 0 && curr >= 0) cap = 100 * curr / max; 110 int dfd=5, cur, max; local 124 max=read_int_at(dfd, "max_state"); 127 else printf("Cooling %d: %s %d of %d\n", TT.cool++, toybuf, cur, max);
|
/external/v8/src/base/ |
H A D | division-by-constant.cc | 67 const T max = ~static_cast<T>(0) >> 1; local 73 T q2 = max / d; // Init. q2 = (2**p - 1)/d. 74 T r2 = max - q2 * d; // Init. r2 = rem(2**p - 1, d). 86 if (q2 >= max) a = true;
|
/external/v8/test/mjsunit/harmony/ |
H A D | atomics.js | 9 var range = this.max - this.min + 1; 13 while (value > this.max) { 21 if (value > this.max) return this.max; 25 function makeConstructorObject(constr, min, max, toRange) { 26 var o = {constr: constr, min: min, max: max}; 437 var range = t.max - t.min + 1; 459 val = t.max + offset + 1; 470 sta[0] = val = t.max; [all...] |
/external/v8/test/mjsunit/ |
H A D | math-min-max.js | 84 // Test Math.max(). 86 assertEquals(Number.NEGATIVE_INFINITY, Math.max()); 87 assertEquals(1, Math.max(1)); 88 assertEquals(2, Math.max(1, 2)); 89 assertEquals(2, Math.max(2, 1)); 90 assertEquals(3, Math.max(1, 2, 3)); 91 assertEquals(3, Math.max(3, 2, 1)); 92 assertEquals(3, Math.max(2, 3, 1)); 93 assertEquals(3.3, Math.max(1.1, 2.2, 3.3)); 94 assertEquals(3.3, Math.max(3. [all...] |
/external/webrtc/webrtc/base/ |
H A D | urlencode.cc | 93 int InternalUrlEncode(const char *source, char *dest, unsigned int max, argument 96 if (max == 0) { 101 while (static_cast<unsigned>(dest - start) < max && *source) { 108 if (static_cast<unsigned>(dest - start) + 4 > max) { 117 ASSERT(static_cast<unsigned int>(dest - start) < max); 123 int UrlEncode(const char *source, char *dest, unsigned max) { 124 return InternalUrlEncode(source, dest, max, true, false); 128 unsigned max) { 129 return InternalUrlEncode(source, dest, max, false, false); 132 int UrlEncodeOnlyUnsafeChars(const char *source, char *dest, unsigned max) { [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
H A D | state_search.c | 41 int16_t max; local 51 max = WebRtcSpl_MaxAbsValueW16(residual, iLBCenc_inst->state_short_len); 52 scaleRes = WebRtcSpl_GetSizeInBits(max)-12;
|
/external/webrtc/webrtc/modules/audio_processing/aec/ |
H A D | aec_core.h | 46 float max; member in struct:Stats
|
/external/aac/libSBRenc/src/ |
H A D | env_bit.cpp | 97 #ifndef max 98 #define max(a,b) ( a > b ? a:b) macro
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
H A D | ValPixConverter.java | 29 public static float valToPix(double val, double min, double max, float lengthPix, boolean flip) {
argument 33 double range = range(min, max);
44 public static double range(double min, double max) {
argument 45 return (max-min);
49 public static double valPerPix(double min, double max, float lengthPix) {
argument 50 double valRange = range(min, max);
55 * Convert a value in pixels to the type passed into min/max
58 * @param max
64 public static double pixToVal(float pix, double min, double max, float lengthPix, boolean flip) {
argument 76 double range = range(min, max);
[all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
H A D | DFA.cs | 59 protected char[] max; field in class:Antlr.Runtime.DFA 141 if ( c >= min[s] && c <= max[s] ) 188 Console.Error.WriteLine( "max[" + s + "]=" + max[s] );
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
H A D | DFA.java | 45 protected char[] max; field in class:DFA 98 if (c>=min[s] && c<=max[s]) { 136 System.err.println("max["+s+"]="+max[s]);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/integration/ |
H A D | LegendreGaussIntegrator.java | 159 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/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/ |
H A D | BrentSolver.java | 97 public double solve(double min, double max) argument 99 return solve(f, min, max); 104 public double solve(double min, double max, double initial) argument 106 return solve(f, min, max, initial); 118 * @param max the upper bound for the interval. 124 * @throws IllegalArgumentException if initial is not between min and max 130 final double min, final double max, final double initial) 134 if ((initial < min) || (initial > max)) { 137 min, initial, max); 160 double yMax = f.value(max); 129 solve(final UnivariateRealFunction f, final double min, final double max, final double initial) argument 196 solve(int maxEval, final UnivariateRealFunction f, final double min, final double max, final double initial) argument 221 solve(final UnivariateRealFunction f, final double min, final double max) argument 281 solve(int maxEval, final UnivariateRealFunction f, final double min, final double max) argument [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/ |
H A D | 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); 63 StatisticalSummaryValues(double mean, double variance, long n, double max, double min, double sum) argument
|
/external/boringssl/src/crypto/asn1/ |
H A D | a_gentm.c | 70 static const int max[9]={99, 99,12,31,23,59,59,12,59}; local 101 if ((n < min[i]) || (n > max[i])) goto err; 157 if ((n < min[i]) || (n > max[i])) goto err;
|
/external/boringssl/src/crypto/bn/ |
H A D | add.c | 105 int max, min, dif; local 114 max = a->top; 116 dif = max - min; 118 if (bn_wexpand(r, max + 1) == NULL) { 122 r->top = max; 205 int max; local 241 max = (a->top > b->top) ? a->top : b->top; 242 if (bn_wexpand(r, max) == NULL) { 262 int max, min, dif; local 266 max [all...] |
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_test_utils.h | 21 // MSVS headers define max/min as macros, so std::max/min gets crazy. 22 # undef max macro
|
/external/curl/lib/ |
H A D | strerror.c | 296 return "The max connection limit is reached"; 625 size_t max; local 632 max = sizeof(conn->syserr_buf)-1; 644 wcstombs(buf, wbuf, max); 649 strncpy(buf, strerror(err), max); 651 if(!get_winsock_error(err, buf, max) && 653 LANG_NEUTRAL, buf, (DWORD)max, NULL)) 654 snprintf(buf, max, "Unknown error %d (%#x)", err, err); 666 if(0 != strerror_r(err, buf, max)) { 668 snprintf(buf, max, "Unknow [all...] |
/external/dbus/tools/ |
H A D | dbus-print-message.c | 107 unsigned int max = DEFAULT_SIZE; local 123 if (len == max) 125 max *= 2; 126 bytes = realloc (bytes, max + 1);
|