Searched refs:max (Results 76 - 100 of 3540) sorted by relevance

1234567891011>>

/external/chromium_org/ppapi/c/private/
H A Dppb_uma_private.h41 int64_t max,
51 int32_t max,
/external/chromium_org/remoting/host/
H A Dhost_secret.cc23 // Generates cryptographically strong random number in the range [0, max).
24 int CryptoRandomInt(int max) { argument
27 return random_int32 % max;
/external/eigen/doc/examples/
H A DTutorial_ReductionsVisitorsBroadcasting_visitors.cpp16 float max = m.maxCoeff(&maxRow, &maxCol); local
22 cout << "Max: " << max << ", at: " <<
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-2444.js51 assertEquals(-Infinity, Math.max());
55 Math.max(object_factory(0, NaN, [0])));
60 Math.max(object_factory(0, NaN, [0, 0]),
66 Math.max(object_factory(0, NaN, [0, 0, 0]),
73 Math.max(object_factory(0, 2, [0, 0, 0]),
80 Math.max(object_factory(0, 2, [0, 0, 0]),
/external/dropbear/libtommath/
H A Dbn_s_mp_sub.c22 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/
H A Dlibxt_length.c29 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/chromium-trace/trace-viewer/src/base/
H A Drange_test.js16 assertEquals(range.max, 1);
21 assertEquals(range.max, 2);
32 assertEquals(r.max, 2);
42 assertEquals(r.max, undefined);
56 assertEquals(r.max, 3);
/external/skia/tests/
H A DFitsInTest.cpp21 TEST(int32_t, (int32_t)(std::numeric_limits<int8_t>::max)(), int8_t, true);
22 TEST(int32_t, ((int32_t)(std::numeric_limits<int8_t>::max)())+1, int8_t, false);
28 TEST(int32_t, (int32_t)(std::numeric_limits<uint8_t>::max)(), uint8_t, true);
29 TEST(int32_t, ((int32_t)(std::numeric_limits<uint8_t>::max)())+1, uint8_t, false);
55 TEST(uint32_t, (std::numeric_limits<uint32_t>::max)(), int8_t, false);
56 TEST(uint32_t, (std::numeric_limits<uint32_t>::max)(), uint8_t, false);
57 TEST(uint32_t, (std::numeric_limits<uint32_t>::max)(), int32_t, false);
58 TEST(uint32_t, (std::numeric_limits<uint32_t>::max)(), uint32_t, true);
59 TEST(uint32_t, (std::numeric_limits<uint32_t>::max)(), int64_t, true);
60 TEST(uint32_t, (std::numeric_limits<uint32_t>::max)(), uint64_
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/
H A DIntersection.java38 import static java.lang.Math.max;
72 // max = p2;
75 // max = p0;
78 // if(min > rad || max < -rad)
104 // float min,max,p0,p1,p2,rad,fex,fey,fez;
120 float min, max;
132 max = max(p0, p2);
134 if (min > rad || max < -rad) {
143 max
[all...]
/external/chromium_org/third_party/skia/src/opts/
H A DSkBitmapProcState_matrixProcs_neon.cpp23 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max)
24 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max)
25 #define TILEX_LOW_BITS(fx, max) (((fx) >> 12) & 0xF)
26 #define TILEY_LOW_BITS(fy, max) (((fy) >> 12) & 0xF)
31 #define TILEX_PROCF(fx, max) SK_USHIFT16(((fx) & 0xFFFF) * ((max) + 1))
32 #define TILEY_PROCF(fy, max) SK_USHIFT16(((fy) & 0xFFFF) * ((max)
[all...]
/external/skia/src/opts/
H A DSkBitmapProcState_matrixProcs_neon.cpp23 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max)
24 #define TILEY_PROCF(fy, max) SkClampMax((fy) >> 16, max)
25 #define TILEX_LOW_BITS(fx, max) (((fx) >> 12) & 0xF)
26 #define TILEY_LOW_BITS(fy, max) (((fy) >> 12) & 0xF)
31 #define TILEX_PROCF(fx, max) SK_USHIFT16(((fx) & 0xFFFF) * ((max) + 1))
32 #define TILEY_PROCF(fy, max) SK_USHIFT16(((fy) & 0xFFFF) * ((max)
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
H A DBigIntegers.java83 * Return a random BigInteger not less than 'min' and not greater than 'max'
86 * @param max the greatest value that may be generated
88 * @return a random BigInteger value in the range [min,max]
92 BigInteger max,
95 int cmp = min.compareTo(max);
100 throw new IllegalArgumentException("'min' may not be greater than 'max'");
106 if (min.bitLength() > max.bitLength() / 2)
108 return createRandomInRange(ZERO, max.subtract(min), random).add(min);
113 BigInteger x = new BigInteger(max.bitLength(), random);
114 if (x.compareTo(min) >= 0 && x.compareTo(max) <
90 createRandomInRange( BigInteger min, BigInteger max, SecureRandom random) argument
[all...]
/external/ppp/pppd/plugins/radius/
H A Dradrealms.c51 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/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLMeterElement.cpp89 double HTMLMeterElement::max() const function in class:WebCore::HTMLMeterElement
91 return std::max(parseToDoubleForNumberType(getAttribute(maxAttr), std::max(1.0, min())), min());
94 void HTMLMeterElement::setMax(double max, ExceptionState& es) argument
96 if (!std::isfinite(max)) {
100 setAttribute(maxAttr, String::number(max));
106 return std::min(std::max(value, min()), max());
121 return std::min(std::max(low, min()), max());
199 double max = this->max(); local
[all...]
/external/chromium_org/third_party/freetype/src/psnames/
H A Dpstables.h4005 int count, min, max; local
4017 max = count;
4019 while ( min < max )
4021 int mid = ( min + max ) >> 1;
4037 max = mid;
/external/chromium_org/v8/test/mjsunit/compiler/
H A Dcompare.js50 function TestPrimitive(max, x, y) {
51 assertEquals(max, MaxLT(x, y), "MaxLT - primitive");
52 assertEquals(max, MaxLE(x, y), "MaxLE - primitive");
53 assertEquals(max, MaxGE(x, y), "MaxGE - primitive");
54 assertEquals(max, MaxGT(x, y), "MaxGT - primitive");
/external/easymock/src/org/easymock/internal/
H A DResults.java72 int min = 0, max = 0;
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/
H A Dpstables.h4080 int count, min, max; local
4092 max = count;
4094 while ( min < max )
4096 int mid = ( min + max ) >> 1;
4112 max = mid;
/external/v8/test/mjsunit/compiler/
H A Dcompare.js50 function TestPrimitive(max, x, y) {
51 assertEquals(max, MaxLT(x, y), "MaxLT - primitive");
52 assertEquals(max, MaxLE(x, y), "MaxLE - primitive");
53 assertEquals(max, MaxGE(x, y), "MaxGE - primitive");
54 assertEquals(max, MaxGT(x, y), "MaxGT - primitive");
/external/zlib/src/examples/
H A Denough.c15 Fix bug for initial root table size == max - 1
127 len: 1..max - 1 (max == maximum code length in bits)
134 len is less than max, since the code completes immediately when len == max.
138 We build the array with length max-1 lists for the len index, with syms-3
170 local int max; /* maximum allowed bit length for the codes */ variable
179 #define INDEX(i,j,k) (((size_t)((i-1)>>1)*((i-2)>>1)+(j>>1)-1)*(max-1)+k-1)
199 len through max inclusive, coding syms symbols, with left bit patterns of
202 calculation. Uses the globals max an
[all...]
/external/openssh/openbsd-compat/
H A Dbsd-snprintf.c183 char *value, int flags, int min, int max);
185 LLONG value, int base, int min, int max, int flags);
187 LDOUBLE fvalue, int min, int max, int flags);
197 int max; local
208 max = -1;
272 if (max < 0)
273 max = 0;
274 max = 10*max + char_to_int (ch);
277 max
472 fmtstr(char *buffer, size_t *currlen, size_t maxlen, char *value, int flags, int min, int max) argument
513 fmtint(char *buffer, size_t *currlen, size_t maxlen, LLONG value, int base, int min, int max, int flags) argument
673 fmtfp(char *buffer, size_t *currlen, size_t maxlen, LDOUBLE fvalue, int min, int max, int flags) argument
[all...]
/external/chromium_org/printing/
H A Dpage_setup.cc120 effective_margins_.header = std::max(requested_margins_.header,
122 effective_margins_.footer = std::max(requested_margins_.footer,
125 effective_margins_.left = std::max(requested_margins_.left,
127 effective_margins_.top = std::max(std::max(requested_margins_.top,
130 effective_margins_.right = std::max(requested_margins_.right,
134 std::max(std::max(requested_margins_.bottom,
142 overlay_area_.set_width(std::max(0,
146 overlay_area_.set_height(std::max(
[all...]
/external/chromium_org/ui/gfx/
H A Dsafe_integer_conversions.h18 if (value >= std::numeric_limits<int>::max())
19 return std::numeric_limits<int>::max();
45 if (value > std::numeric_limits<int>::max())
/external/stlport/test/unit/
H A Dmax_test.cpp39 int r = max(42, 100);
42 int t = max(++r, 0);
47 const char* r = max((const char*)"shoe", (const char*)"shine", str_compare);
/external/zlib/src/
H A Dinftrees.c42 unsigned min, max; /* minimum and maximum code lengths */ local
114 for (max = MAXBITS; max >= 1; max--)
115 if (count[max] != 0) break;
116 if (root > max) root = max;
117 if (max == 0) { /* no symbols to code at all */
126 for (min = 1; min < max; min++)
137 if (left > 0 && (type == CODES || max !
[all...]

Completed in 1404 milliseconds

1234567891011>>