/system/core/nexus/ |
DhcpState.h | 34 static char *toString(int val, char *buffer, int max);
|
SupplicantState.h | 33 static char *toString(int val, char *buffer, int max);
|
/external/skia/src/effects/ |
SkTableMaskFilter.cpp | 111 uint8_t max) { 112 if (0 == max) { 113 max = 1; 115 if (min >= max) { 116 min = max - 1; 118 SkASSERT(min < max); 120 SkFixed scale = (1 << 16) * 255 / (max - min); 122 for (int i = min + 1; i < max; i++) { 127 memset(table + max, 255, 256 - max); [all...] |
/external/astl/tests/ |
test_iostream.cpp | 86 cout << endl << "Int: " << numeric_limits<int>::max() << endl; 88 cout << "Unsigned int: " << numeric_limits<unsigned int>::max() << endl; 89 cout << "Long: " << numeric_limits<long>::max() << endl; 91 cout << "Unsigned long int: " << numeric_limits<unsigned long>::max() << endl; 92 cout << "Long long: " << numeric_limits<long long>::max() << endl; 94 cout << "Unsigned long long: " << numeric_limits<unsigned long long>::max() << endl; 97 cout << "Double: " << numeric_limits<double>::max() << endl; 99 cout << "Float: " << numeric_limits<float>::max() << endl;
|
/external/skia/gpu/include/ |
GrRandom.h | 44 * Returns value [min...max) as a float 46 float nextF(float min, float max) { 47 return min + this->nextF() * (max - min);
|
/frameworks/base/media/libstagefright/codecs/aacenc/src/ |
spreading.c | 31 * higher frequencies thr(n) = max(thr(n), sh(n)*thr(n-1)) 32 * lower frequencies thr(n) = max(thr(n), sl(n)*thr(n+1)) 44 pbSpreadedEnergy[i] = max(pbSpreadedEnergy[i], 49 pbSpreadedEnergy[i] = max(pbSpreadedEnergy[i],
|
/external/dropbear/libtommath/ |
bn_s_mp_sub.c | 22 int olduse, res, min, max; local 26 max = a->used; 29 if (c->alloc < max) { 30 if ((res = mp_grow (c, max)) != MP_OKAY) { 35 c->used = max; 64 for (; i < max; i++) {
|
/external/iptables/extensions/ |
libxt_length.c | 29 info->max = cb->val.u16_range[0]; 31 info->max = cb->val.u16_range[1]; 42 if (info->min == info->max) 45 printf("%u:%u", info->min, info->max); 53 if (info->min == info->max) 56 printf("%u:%u", info->min, info->max);
|
/external/webkit/Source/WebCore/html/ |
HTMLMeterElement.cpp | 99 double HTMLMeterElement::max() const function in class:WebCore::HTMLMeterElement 101 double max = std::max(1.0, min()); local 102 parseToDoubleForNumberType(getAttribute(maxAttr), &max); local 103 return std::max(max, min()); 106 void HTMLMeterElement::setMax(double max, ExceptionCode& ec) 108 if (!isfinite(max)) { 112 setAttribute(maxAttr, String::number(max)); 119 return std::min(std::max(value, min()), max()) 215 double max = this->max(); local [all...] |
/frameworks/base/media/libstagefright/codecs/aacdec/ |
unpack_idx.cpp | 54 Description: Put back if-statement to get the max. 56 Description: When searching for the max, there was some instances where the 57 max was compared against a negative number, so the max was never 77 Int *max = Pointer to maximum coefficient value. 335 Int *max) 359 if (temp_spec > *max) 361 *max = temp_spec; 374 if (temp_spec > *max) 376 *max = temp_spec [all...] |
q_normalize.cpp | 44 (1) Included search for max in each frame, modified interface. 297 Int32 max = 0; local 336 max |= (tmp1 >> 31) ^ tmp1; 337 max |= (tmp2 >> 31) ^ tmp2; 341 max |= (tmp1 >> 31) ^ tmp1; 342 max |= (tmp2 >> 31) ^ tmp2; 361 max |= (tmp1 >> 31) ^ tmp1; 362 max |= (tmp2 >> 31) ^ tmp2; 369 max |= (tmp1 >> 31) ^ tmp1; 370 max |= (tmp2 >> 31) ^ tmp2 [all...] |
/external/v8/test/mjsunit/ |
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.3, 2.2, 1.1)) [all...] |
/frameworks/base/core/java/android/speech/srec/ |
UlawEncoderInputStream.java | 50 byte[] ulawBuf, int ulawOffset, int length, int max) { 76 if (max <= 0) max = MAX_ULAW; 78 int coef = MAX_ULAW * (1 << SCALE_BITS) / max; 121 int max = 0; local 125 if (pcm > max) max = pcm; 127 return max; 133 * @param max pcm value corresponding to maximum ulaw value. 135 public UlawEncoderInputStream(InputStream in, int max) { [all...] |
/external/ppp/pppd/plugins/radius/ |
radrealms.c | 51 auths->max = 0; 53 accts->max = 0; 96 if (s->max >= SERVER_MAX) 115 s->name[s->max] = strdup(p); 123 s->port[s->max] = atoi(p); 124 info(" - Port is '%d'", s->port[s->max]); 125 s->max++; 131 if (accts->max) 134 if (auths->max)
|
/external/easymock/src/org/easymock/internal/ |
Results.java | 72 int min = 0, max = 0;
local 76 if (interval.hasOpenCount() || max == Integer.MAX_VALUE) {
77 max = Integer.MAX_VALUE;
79 max += interval.getMaximum();
83 return new Range(min, max);
|
/external/freetype/src/psnames/ |
pstables.h | 4005 int count, min, max; local [all...] |
/external/skia/src/animator/ |
SkDisplayRandom.cpp | 30 SK_MEMBER(max, Float), 40 SkDisplayRandom::SkDisplayRandom() : blend(0), min(0), max(SK_Scalar1) { 48 SkDebugf("max=\"%g\" ", SkScalarToFloat(max)); 52 SkDebugf("max=\"%x\" ", max); 64 value->fOperand.fScalar = min + SkScalarMul(max - min, relativeT);
|
/external/webkit/Source/WebCore/platform/audio/ |
AudioChannel.cpp | 95 float max = 0.0f; local 97 max = std::max(max, fabsf(*p++)); 99 return max;
|
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
cor_h_x.cpp | 189 Word32 s, y32[L_CODE], max, tot; 197 max = 0; 207 if (L_sub (s, max) > (Word32) 0L) 208 max = s; 210 tot = L_add (tot, L_shr (max, 1)); 258 Word32 max; local 269 max = 0; 296 if (s > max) 298 max = s; 302 tot += (max >> 1) [all...] |
cor_h_x2.cpp | 173 Word32 s, y32[L_CODE], max, tot; 181 max = 0; 191 if (L_sub (s, max) > (Word32) 0L) 192 max = s; 194 tot = L_add (tot, L_shr (max, 1)); 244 Word32 max; local 252 max = 0; 266 if (s > max) 268 max = s; 271 tot = (tot + (max >> 1)) [all...] |
/external/zlib/examples/ |
enough.c | 15 Fix bug for initial root table size == max - 1 124 len: 1..max - 1 (max == maximum code length in bits) 131 len is less than max, since the code completes immediately when len == max. 135 We build the array with length max-1 lists for the len index, with syms-3 167 local int max; /* maximum allowed bit length for the codes */ variable 176 #define INDEX(i,j,k) (((size_t)((i-1)>>1)*((i-2)>>1)+(j>>1)-1)*(max-1)+k-1) 196 len through max inclusive, coding syms symbols, with left bit patterns of 199 calculation. Uses the globals max and num. * [all...] |
/dalvik/vm/alloc/ |
HeapInternal.h | 93 #define FRACTIONAL_PCT(n,max) ((n) * 100) / (max), \ 94 (((n) * 1000) / (max)) % 10
|
/external/skia/include/effects/ |
SkTableMaskFilter.h | 41 and above max to 255, and rescales the remaining into 0..255 43 static void MakeClipTable(uint8_t table[256], uint8_t min, uint8_t max); 51 static SkTableMaskFilter* CreateClip(uint8_t min, uint8_t max) { 53 MakeClipTable(table, min, max);
|
/external/stlport/test/unit/ |
max_test.cpp | 39 int r = max(42, 100); 42 int t = max(++r, 0); 47 const char* r = max((const char*)"shoe", (const char*)"shine", str_compare);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
SetTimeZonePermissionsTest.java | 51 int max = (mZones.length > 10) ? mZones.length : 10; local 52 assertTrue("No system-defined time zones - test invalid", max > 0); 54 for (int i = 0; i < max; i++) {
|