Searched defs:max (Results 126 - 150 of 1064) sorted by relevance

1234567891011>>

/external/selinux/libsepol/src/
H A Dprivate.h43 #undef max macro
44 #define max(a,b) ((a) >= (b) ? (a) : (b)) macro
/external/skia/src/views/
H A DSkProgressView.cpp30 void SkProgressView::setMax(U16CPU max) argument
32 if (fMax != max)
34 fMax = SkToU16(max);
/external/skia/tests/
H A DDequeTest.cpp33 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 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);
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/
H A DProgressDialogTask.java34 public ProgressDialogTask(int style, int max, String title, String message, boolean cancelable) { argument
36 mMax = max;
/external/tinyalsa/
H A Dtinypcminfo.c134 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 Dacpi.c63 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 Ddivision-by-constant.cc67 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 Datomics.js9 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 Dmath-min-max.js84 // 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 Durlencode.cc93 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 Dstate_search.c41 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 Daec_core.h46 float max; member in struct:Stats
/external/aac/libSBRenc/src/
H A Denv_bit.cpp97 #ifndef max
98 #define max(a,b) ( a > b ? a:b) macro
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
H A DValPixConverter.java29 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 DDFA.cs59 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 DDFA.java45 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 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/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/
H A DBrentSolver.java97 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 DStatisticalSummaryValues.java45 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 Da_gentm.c70 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 Dadd.c105 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 Dsanitizer_test_utils.h21 // MSVS headers define max/min as macros, so std::max/min gets crazy.
22 # undef max macro
/external/curl/lib/
H A Dstrerror.c296 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 Ddbus-print-message.c107 unsigned int max = DEFAULT_SIZE; local
123 if (len == max)
125 max *= 2;
126 bytes = realloc (bytes, max + 1);

Completed in 946 milliseconds

1234567891011>>