Searched refs:max (Results 126 - 150 of 4319) sorted by relevance

1234567891011>>

/external/chromium_org/ui/gfx/geometry/
H A Dcubic_bezier_unittest.cc71 double min, max; local
76 function->Range(&min, &max);
78 EXPECT_EQ(1, max);
82 function->Range(&min, &max);
84 EXPECT_EQ(1, max);
88 function->Range(&min, &max);
90 EXPECT_EQ(1, max);
94 function->Range(&min, &max);
96 EXPECT_EQ(1, max);
100 function->Range(&min, &max);
[all...]
/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/chromium_org/chrome/browser/resources/ntp4/
H A Dincognito_and_guest_tab.css40 max-width: 640px;
53 @media (max-width:700px) {
59 @media (max-width:400px) {
65 @media (max-height:480px) and (max-width:400px) {
/external/chromium_org/third_party/skia/tests/
H A DFitsInTest.cpp19 TEST(int32_t, (int32_t)(std::numeric_limits<int8_t>::max)(), int8_t, true);
20 TEST(int32_t, ((int32_t)(std::numeric_limits<int8_t>::max)())+1, int8_t, false);
26 TEST(int32_t, (int32_t)(std::numeric_limits<uint8_t>::max)(), uint8_t, true);
27 TEST(int32_t, ((int32_t)(std::numeric_limits<uint8_t>::max)())+1, uint8_t, false);
53 TEST(uint32_t, (std::numeric_limits<uint32_t>::max)(), int8_t, false);
54 TEST(uint32_t, (std::numeric_limits<uint32_t>::max)(), uint8_t, false);
55 TEST(uint32_t, (std::numeric_limits<uint32_t>::max)(), int32_t, false);
56 TEST(uint32_t, (std::numeric_limits<uint32_t>::max)(), uint32_t, true);
57 TEST(uint32_t, (std::numeric_limits<uint32_t>::max)(), int64_t, true);
58 TEST(uint32_t, (std::numeric_limits<uint32_t>::max)(), uint64_
[all...]
/external/skia/tests/
H A DFitsInTest.cpp19 TEST(int32_t, (int32_t)(std::numeric_limits<int8_t>::max)(), int8_t, true);
20 TEST(int32_t, ((int32_t)(std::numeric_limits<int8_t>::max)())+1, int8_t, false);
26 TEST(int32_t, (int32_t)(std::numeric_limits<uint8_t>::max)(), uint8_t, true);
27 TEST(int32_t, ((int32_t)(std::numeric_limits<uint8_t>::max)())+1, uint8_t, false);
53 TEST(uint32_t, (std::numeric_limits<uint32_t>::max)(), int8_t, false);
54 TEST(uint32_t, (std::numeric_limits<uint32_t>::max)(), uint8_t, false);
55 TEST(uint32_t, (std::numeric_limits<uint32_t>::max)(), int32_t, false);
56 TEST(uint32_t, (std::numeric_limits<uint32_t>::max)(), uint32_t, true);
57 TEST(uint32_t, (std::numeric_limits<uint32_t>::max)(), int64_t, true);
58 TEST(uint32_t, (std::numeric_limits<uint32_t>::max)(), uint64_
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
H A DBigIntegers.java65 * Return a random BigInteger not less than 'min' and not greater than 'max'
68 * @param max the greatest value that may be generated
70 * @return a random BigInteger value in the range [min,max]
74 BigInteger max,
77 int cmp = min.compareTo(max);
82 throw new IllegalArgumentException("'min' may not be greater than 'max'");
88 if (min.bitLength() > max.bitLength() / 2)
90 return createRandomInRange(ZERO, max.subtract(min), random).add(min);
95 BigInteger x = new BigInteger(max.bitLength(), random);
96 if (x.compareTo(min) >= 0 && x.compareTo(max) <
72 createRandomInRange( BigInteger min, BigInteger max, SecureRandom random) argument
[all...]
/external/libcxx/test/algorithms/alg.sorting/alg.min.max/
H A DAndroid.mk17 test_makefile := external/libcxx/test/algorithms/alg.sorting/alg.min.max/Android.mk
19 test_name := algorithms/alg.sorting/alg.min.max/max_element
23 test_name := algorithms/alg.sorting/alg.min.max/minmax_init_list_comp
27 test_name := algorithms/alg.sorting/alg.min.max/min_element_comp
31 test_name := algorithms/alg.sorting/alg.min.max/min_comp
35 test_name := algorithms/alg.sorting/alg.min.max/minmax_element
39 test_name := algorithms/alg.sorting/alg.min.max/minmax_init_list
43 test_name := algorithms/alg.sorting/alg.min.max/min
47 test_name := algorithms/alg.sorting/alg.min.max/minmax
51 test_name := algorithms/alg.sorting/alg.min.max/max_com
[all...]
/external/libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/
H A Deval.pass.cpp29 std::vector<D::result_type> u(d.max()+1);
33 assert(d.min() <= v && v <= d.max());
37 for (int i = 0; i <= d.max(); ++i)
47 std::vector<D::result_type> u(d.max()+1);
51 assert(d.min() <= v && v <= d.max());
55 for (int i = 0; i <= d.max(); ++i)
65 std::vector<D::result_type> u(d.max()+1);
69 assert(d.min() <= v && v <= d.max());
73 for (int i = 0; i <= d.max(); ++i)
83 std::vector<D::result_type> u(d.max()
[all...]
/external/chromium_org/base/numerics/
H A Dsafe_numerics_unittest.cc72 CheckedNumeric<Dst>(DstLimits::max()) + -1);
77 CheckedNumeric<Dst>(-DstLimits::max()) + -DstLimits::max());
85 CheckedNumeric<Dst>(DstLimits::max()) - -DstLimits::max());
88 CheckedNumeric<Dst>(-DstLimits::max()) - DstLimits::max());
103 TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(DstLimits::max()) % 2);
136 TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(DstLimits::max()) % 2);
161 CheckedNumeric<Dst>(DstLimits::max())
[all...]
/external/deqp/framework/delibs/decpp/
H A DdeRandom.hpp48 float getFloat (float min, float max);
49 double getDouble (double min, double max);
50 int getInt (int min, int max);
79 inline float Random::getFloat (float min, float max) argument
81 DE_ASSERT(min <= max);
82 return min + (max-min)*getFloat();
85 inline double Random::getDouble (double min, double max) argument
87 DE_ASSERT(min <= max);
88 return min + (max-min)*getDouble();
91 inline int Random::getInt (int min, int max) argument
[all...]
/external/chromium_org/tools/telemetry/telemetry/timeline/
H A Dbounds.py6 """Represents a min-max bounds."""
22 return "Bounds(min=%s,max=%s)" % (self.min_, self.max_)
35 def max(self): member in class:Bounds
53 return self.min <= other.min and self.max >= other.max
56 return self.min <= start and self.max >= end
61 return not (other.max < self.min or other.min > self.max)
81 self.max_ = max(self.max_, value)
112 overlapped_range_start = max(first_bounds_mi
[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/base/
H A Drand_util.cc18 int RandInt(int min, int max) { argument
19 DCHECK_LE(min, max);
21 uint64 range = static_cast<uint64>(max) - min + 1;
24 DCHECK_LE(result, max);
54 (std::numeric_limits<uint64>::max() / range) * range - 1;
/external/chromium_org/third_party/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/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/e2fsprogs/lib/ext2fs/
H A Dprogress.c32 const char *label, __u64 max)
56 progress->max = max;
57 progress->log_max = int_log10(max);
82 progress->log_max, progress->max);
30 ext2fs_numeric_progress_init(ext2_filsys fs, struct ext2fs_numeric_progress_struct * progress, const char *label, __u64 max) argument
/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/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/psnames/
H A Dpstables.h4094 int count, min, max; local
4106 max = count;
4108 while ( min < max )
4110 int mid = ( min + max ) >> 1;
4126 max = mid;
/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/chromium_org/mojo/public/cpp/bindings/tests/
H A Dbounds_checker_unittest.cc25 checker(ToPtr(std::numeric_limits<uintptr_t>::max() - 3000), 5000, 0);
28 ToPtr(std::numeric_limits<uintptr_t>::max() - 3000), 1));
30 ToPtr(std::numeric_limits<uintptr_t>::max() - 3000), 1));
36 static_cast<size_t>(std::numeric_limits<uint32_t>::max()) + 5;
41 checker.ClaimHandle(Handle(std::numeric_limits<uint32_t>::max() - 1)));
96 checker(ToPtr(std::numeric_limits<uintptr_t>::max() - 2000), 1000, 0);
100 ToPtr(std::numeric_limits<uintptr_t>::max() - 1500), 4000));
102 ToPtr(std::numeric_limits<uintptr_t>::max() - 1500),
103 std::numeric_limits<uint32_t>::max()));
107 ToPtr(std::numeric_limits<uintptr_t>::max()
[all...]
/external/chromium_org/net/quic/
H A Dport_suggester.cc24 int PortSuggester::SuggestPort(int min, int max) { argument
34 DCHECK_LE(min, max);
36 int range = max - min + 1;
/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/third_party/WebKit/Source/core/html/forms/
H A DBaseTextInputType.cpp42 int max = element().maxLength(); local
43 if (max < 0)
51 return value.length() > static_cast<unsigned>(max);
/external/chromium_org/third_party/WebKit/Source/core/paint/
H A DObjectPainter.cpp219 drawLineForBoxSide(graphicsContext, x1 + std::max((-adjacentWidth1 * 2 + 1) / 3, 0),
220 y1, x2 - std::max((-adjacentWidth2 * 2 + 1) / 3, 0), y1 + thirdOfThickness,
222 drawLineForBoxSide(graphicsContext, x1 + std::max((adjacentWidth1 * 2 + 1) / 3, 0),
223 y2 - thirdOfThickness, x2 - std::max((adjacentWidth2 * 2 + 1) / 3, 0), y2,
227 drawLineForBoxSide(graphicsContext, x1, y1 + std::max((-adjacentWidth1 * 2 + 1) / 3, 0),
228 x1 + thirdOfThickness, y2 - std::max((-adjacentWidth2 * 2 + 1) / 3, 0),
230 drawLineForBoxSide(graphicsContext, x2 - thirdOfThickness, y1 + std::max((adjacentWidth1 * 2 + 1) / 3, 0),
231 x2, y2 - std::max((adjacentWidth2 * 2 + 1) / 3, 0),
235 drawLineForBoxSide(graphicsContext, x1 + std::max((adjacentWidth1 * 2 + 1) / 3, 0),
236 y1, x2 - std::max((adjacentWidth
[all...]

Completed in 1268 milliseconds

1234567891011>>