Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 3983) sorted by relevance

12345678910>>...160

/external/python/cpython2/Lib/test/decimaltestdata/
Dmax.decTest2 -- max.decTest -- decimal maximum --
32 maxx001 max -2 -2 -> -2
33 maxx002 max -2 -1 -> -1
34 maxx003 max -2 0 -> 0
35 maxx004 max -2 1 -> 1
36 maxx005 max -2 2 -> 2
37 maxx006 max -1 -2 -> -1
38 maxx007 max -1 -1 -> -1
39 maxx008 max -1 0 -> 0
40 maxx009 max -1 1 -> 1
[all …]
DdqMax.decTest32 dqmax001 max -2 -2 -> -2
33 dqmax002 max -2 -1 -> -1
34 dqmax003 max -2 0 -> 0
35 dqmax004 max -2 1 -> 1
36 dqmax005 max -2 2 -> 2
37 dqmax006 max -1 -2 -> -1
38 dqmax007 max -1 -1 -> -1
39 dqmax008 max -1 0 -> 0
40 dqmax009 max -1 1 -> 1
41 dqmax010 max -1 2 -> 2
[all …]
DddMax.decTest32 ddmax001 max -2 -2 -> -2
33 ddmax002 max -2 -1 -> -1
34 ddmax003 max -2 0 -> 0
35 ddmax004 max -2 1 -> 1
36 ddmax005 max -2 2 -> 2
37 ddmax006 max -1 -2 -> -1
38 ddmax007 max -1 -1 -> -1
39 ddmax008 max -1 0 -> 0
40 ddmax009 max -1 1 -> 1
41 ddmax010 max -1 2 -> 2
[all …]
/external/skia/src/opts/
DSkBitmapProcState_matrixProcs_neon.cpp21 static inline int16x8_t sbpsm_clamp_tile8(int32x4_t low, int32x4_t high, unsigned max) { in sbpsm_clamp_tile8() argument
29 res = vminq_s16(res, vdupq_n_s16(max)); in sbpsm_clamp_tile8()
35 static inline int32x4_t sbpsm_clamp_tile4(int32x4_t f, unsigned max) { in sbpsm_clamp_tile4() argument
43 res = vminq_s32(res, vdupq_n_s32(max)); in sbpsm_clamp_tile4()
63 static inline int16x8_t sbpsm_repeat_tile8(int32x4_t low, int32x4_t high, unsigned max) { in sbpsm_repeat_tile8() argument
71 tmpl = vmull_u16(vget_low_u16(res), vdup_n_u16(max+1)); in sbpsm_repeat_tile8()
72 tmph = vmull_u16(vget_high_u16(res), vdup_n_u16(max+1)); in sbpsm_repeat_tile8()
81 static inline int32x4_t sbpsm_repeat_tile4(int32x4_t f, unsigned max) { in sbpsm_repeat_tile4() argument
89 tmp = vmull_u16(res, vdup_n_u16(max+1)); in sbpsm_repeat_tile4()
98 static inline int32x4_t sbpsm_repeat_tile4_low_bits(int32x4_t fx, unsigned max) { in sbpsm_repeat_tile4_low_bits() argument
[all …]
/external/r8/src/main/java/com/android/tools/r8/utils/
DLongInterval.java13 private final long max; field in LongInterval
15 public LongInterval(int min, int max) { in LongInterval() argument
16 assert min <= max; in LongInterval()
18 this.max = max; in LongInterval()
21 public LongInterval(long min, long max) { in LongInterval() argument
22 assert min <= max; in LongInterval()
24 this.max = max; in LongInterval()
32 return max; in getMax()
36 return min == max; in isSingleValue()
45 return min <= value && value <= max; in containsValue()
[all …]
/external/fio/
Dio_u_queue.c11 q->max = nr; in io_u_qinit()
22 ring->max = nr + 1; in io_u_rinit()
23 if (ring->max & (ring->max - 1)) { in io_u_rinit()
24 ring->max--; in io_u_rinit()
25 ring->max |= ring->max >> 1; in io_u_rinit()
26 ring->max |= ring->max >> 2; in io_u_rinit()
27 ring->max |= ring->max >> 4; in io_u_rinit()
28 ring->max |= ring->max >> 8; in io_u_rinit()
29 ring->max |= ring->max >> 16; in io_u_rinit()
30 ring->max++; in io_u_rinit()
[all …]
/external/regex-re2/re2/testing/
Dpossible_match_test.cc27 const char* max; member
107 string min, max; in TEST() local
114 CHECK(prog->PossibleMatchRange(&min, &max, t.maxlen)) in TEST()
119 CHECK(RE2(t.regexp).PossibleMatchRange(&min, &max, t.maxlen)); in TEST()
122 EXPECT_EQ(t.max, max) << t.regexp; in TEST()
129 string min, max; in TEST() local
132 EXPECT_FALSE(RE2("abc").PossibleMatchRange(&min, &max, 0)); in TEST()
138 PossibleMatchRange(&min, &max, 10)) in TEST()
139 << "min=" << CEscape(min) << ", max=" << CEscape(max); in TEST()
141 PossibleMatchRange(&min, &max, 10)) in TEST()
[all …]
/external/e2fsprogs/tests/f_h_reindex/
Dexpect.15 Problem in HTREE directory inode 16001: block #1 has bad max hash
7 Problem in HTREE directory inode 16001: block #2 has bad max hash
9 Problem in HTREE directory inode 16001: block #3 has bad max hash
11 Problem in HTREE directory inode 16001: block #4 has bad max hash
13 Problem in HTREE directory inode 16001: block #5 has bad max hash
15 Problem in HTREE directory inode 16001: block #6 has bad max hash
17 Problem in HTREE directory inode 16001: block #7 has bad max hash
21 Problem in HTREE directory inode 24001: block #1 has bad max hash
22 Problem in HTREE directory inode 24001: block #2 has bad max hash
24 Problem in HTREE directory inode 24001: block #3 has bad max hash
[all …]
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/util/
DValPixConverterTest.java57 int max = 100; in testValToPix() local
61 assertEquals(50.0f, ValPixConverter.valToPix(value, min, max, sizeInPix, true)); in testValToPix()
66 assertEquals(25.0f, ValPixConverter.valToPix(value, min, max, sizeInPix, true)); in testValToPix()
70 assertEquals(0.0f, ValPixConverter.valToPix(value, min, max, sizeInPix, true)); in testValToPix()
74 assertEquals(100.0f, ValPixConverter.valToPix(value, min, max, sizeInPix, true)); in testValToPix()
79 assertEquals(50.0f, ValPixConverter.valToPix(value, min, max, sizeInPix, true)); in testValToPix()
83 assertEquals(0.0f, ValPixConverter.valToPix(value, min, max, sizeInPix, true)); in testValToPix()
87 assertEquals(50.0f, ValPixConverter.valToPix(value, min, max, sizeInPix, true)); in testValToPix()
90 max = 100; in testValToPix()
92 assertEquals(0f, ValPixConverter.valToPix(-100, min, max, sizeInPix, false)); in testValToPix()
[all …]
/external/bison/lib/
Dintprops.h165 #define INT_ADD_RANGE_OVERFLOW(a, b, min, max) \ argument
168 : (max) - (b) < (a))
172 #define INT_SUBTRACT_RANGE_OVERFLOW(a, b, min, max) \ argument
174 ? (max) + (b) < (a) \
179 #define INT_NEGATE_RANGE_OVERFLOW(a, min, max) \ argument
181 ? (a) < - (max) \
188 #define INT_MULTIPLY_RANGE_OVERFLOW(a, b, min, max) \ argument
191 ? (a) < (max) / (b) \
199 : (max) / (b) < (a)))
203 #define INT_DIVIDE_RANGE_OVERFLOW(a, b, min, max) \ argument
[all …]
/external/llvm/test/Transforms/LoopVectorize/
Dminmax_reduction.ll11 ; Turn this into a max reduction. Make sure we use a splat to initialize the
14 ; CHECK: %[[VAR:.*]] = insertelement <2 x i32> undef, i32 %max, i32 0
22 define i32 @max_red(i32 %max) {
28 %max.red.08 = phi i32 [ %max, %entry ], [ %max.red.0, %for.body ]
31 %cmp3 = icmp sgt i32 %0, %max.red.08
32 %max.red.0 = select i1 %cmp3, i32 %0, i32 %max.red.08
39 ret i32 %max.red.0
42 ; Turn this into a max reduction. The select has its inputs reversed therefore
43 ; this is a max reduction.
51 define i32 @max_red_inverse_select(i32 %max) {
[all …]
/external/clang/test/Analysis/
Dadditive-folding-range-constraints.c165 int max = INT_MAX; in mixedComparisons9() local
167 clang_analyzer_eval((a + 2) <= (max - 5LL)); // expected-warning{{TRUE}} in mixedComparisons9()
176 unsigned max = UINT_MAX; in mixedSignedness1() local
177 clang_analyzer_eval(a < max); // expected-warning{{UNKNOWN}} in mixedSignedness1()
178 clang_analyzer_eval((a + 2) < max); // expected-warning{{UNKNOWN}} in mixedSignedness1()
179 clang_analyzer_eval((a + 2U) < max); // expected-warning{{UNKNOWN}} in mixedSignedness1()
183 unsigned max = UINT_MAX; in mixedSignedness2() local
184 clang_analyzer_eval(a <= max); // expected-warning{{TRUE}} in mixedSignedness2()
185 clang_analyzer_eval((a + 2) <= max); // expected-warning{{TRUE}} in mixedSignedness2()
186 clang_analyzer_eval((a + 2U) <= max); // expected-warning{{TRUE}} in mixedSignedness2()
[all …]
/external/libcxx/test/std/utilities/time/time.traits/time.traits.duration_values/
Dmax.pass.cpp22 assert(std::chrono::duration_values<int>::max() == in main()
23 std::numeric_limits<int>::max()); in main()
24 assert(std::chrono::duration_values<double>::max() == in main()
25 std::numeric_limits<double>::max()); in main()
26 assert(std::chrono::duration_values<Rep>::max() == in main()
27 std::numeric_limits<Rep>::max()); in main()
29 static_assert(std::chrono::duration_values<int>::max() == in main()
30 std::numeric_limits<int>::max(), ""); in main()
31 static_assert(std::chrono::duration_values<double>::max() == in main()
32 std::numeric_limits<double>::max(), ""); in main()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/
DBisectionSolver.java58 public double solve(double min, double max, double initial) in solve() argument
60 return solve(f, min, max); in solve()
65 public double solve(double min, double max) in solve() argument
67 return solve(f, min, max); in solve()
75 public double solve(final UnivariateRealFunction f, double min, double max, double initial) in solve() argument
77 return solve(f, min, max); in solve()
82 …public double solve(int maxEval, final UnivariateRealFunction f, double min, double max, double in… in solve() argument
84 return solve(maxEval, f, min, max); in solve()
89 public double solve(int maxEval, final UnivariateRealFunction f, double min, double max) in solve() argument
92 return solve(f, min, max); in solve()
[all …]
DRiddersSolver.java65 public double solve(final double min, final double max) in solve() argument
67 return solve(f, min, max); in solve()
72 public double solve(final double min, final double max, final double initial) in solve() argument
74 return solve(f, min, max, initial); in solve()
94 final double min, final double max, final double initial) in solve() argument
97 return solve(f, min, max, initial); in solve()
117 final double min, final double max, final double initial) in solve() argument
122 if (f.value(max) == 0.0) { return max; } in solve()
125 verifyBracketing(min, max, f); in solve()
126 verifySequence(min, initial, max); in solve()
[all …]
DMullerSolver.java66 public double solve(final double min, final double max) in solve() argument
68 return solve(f, min, max); in solve()
73 public double solve(final double min, final double max, final double initial) in solve() argument
75 return solve(f, min, max, initial); in solve()
96 final double min, final double max, final double initial) in solve() argument
99 return solve(f, min, max, initial); in solve()
120 final double min, final double max, final double initial) in solve() argument
125 if (f.value(max) == 0.0) { return max; } in solve()
128 verifyBracketing(min, max, f); in solve()
129 verifySequence(min, initial, max); in solve()
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowProgressBar.java13 private int max = 100; field in ShadowProgressBar
20 final int max = attributeSet.getAttributeIntValue("android", "max", this.max); in applyAttributes() local
22 if (max >= 0) in applyAttributes()
23 setMax(max); in applyAttributes()
27 public void setMax(int max) { in setMax() argument
28 this.max = max; in setMax()
29 if (progress > max) { in setMax()
30 progress = max; in setMax()
36 return max; in getMax()
41 if (!isIndeterminate()) this.progress = Math.min(max, progress); in setProgress()
[all …]
/external/fmtlib/doc/bootstrap/
Dresponsive-utilities.less51 @media (max-width: @screen-xs-max) {
56 @media (max-width: @screen-xs-max) {
61 @media (max-width: @screen-xs-max) {
66 @media (max-width: @screen-xs-max) {
72 @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
77 @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
82 @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
87 @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
93 @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
98 @media (min-width: @screen-md-min) and (max-width: @screen-md-max) {
[all …]
/external/ltp/lib/
Drandom_range.c44 int max; member
134 rp->max = defmax; in parse_ranges()
172 rp->max = rp->min; in parse_ranges()
174 if ((*parse_func) (n2str, &rp->max) < 0) { in parse_ranges()
245 return ((struct range *)rbuf)[r].max; in range_max()
278 long random_range(int min, int max, int mult, char **errp) in random_range() argument
301 orig_max = max; in random_range()
308 if (max < min) { in random_range()
309 tmp = max; in random_range()
310 max = min; in random_range()
[all …]
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/
Deval.pass.cpp31 std::vector<D::result_type> u(d.max()+1); in main()
35 assert(d.min() <= v && v <= d.max()); in main()
39 for (int i = 0; i <= d.max(); ++i) in main()
49 std::vector<D::result_type> u(d.max()+1); in main()
53 assert(d.min() <= v && v <= d.max()); in main()
57 for (int i = 0; i <= d.max(); ++i) in main()
67 std::vector<D::result_type> u(d.max()+1); in main()
71 assert(d.min() <= v && v <= d.max()); in main()
75 for (int i = 0; i <= d.max(); ++i) in main()
85 std::vector<D::result_type> u(d.max()+1); in main()
[all …]
/external/openssh/openbsd-compat/
Dbsd-snprintf.c173 char *value, int flags, int min, int max);
175 intmax_t value, int base, int min, int max, int flags);
177 LDOUBLE fvalue, int min, int max, int flags);
187 int max; in dopr() local
198 max = -1; in dopr()
262 if (max < 0) in dopr()
263 max = 0; in dopr()
264 max = 10*max + char_to_int (ch); in dopr()
267 max = va_arg (args, int); in dopr()
322 value, 10, min, max, flags) == -1) in dopr()
[all …]
/external/libcxx/test/std/utilities/template.bitset/bitset.members/
Dto_ulong.pass.cpp25 …const std::size_t max = is_M_zero ? 0 : std::size_t(std::numeric_limits<unsigned long>::max()) >> … in test_to_ulong() local
27 std::min<std::size_t>(1, max), in test_to_ulong()
28 std::min<std::size_t>(2, max), in test_to_ulong()
29 std::min<std::size_t>(3, max), in test_to_ulong()
30 std::min(max, max-3), in test_to_ulong()
31 std::min(max, max-2), in test_to_ulong()
32 std::min(max, max-1), in test_to_ulong()
33 max}; in test_to_ulong()
/external/libchrome/base/numerics/
Dsafe_numerics_unittest.cc56 return SrcLimits::max(); in GetMaxConvertibleToFloat()
57 Src max = SrcLimits::max() / 2 + (SrcLimits::is_integer ? 1 : 0); in GetMaxConvertibleToFloat() local
58 while (max != static_cast<Src>(static_cast<Dst>(max))) { in GetMaxConvertibleToFloat()
59 max /= 2; in GetMaxConvertibleToFloat()
61 return static_cast<Dst>(max); in GetMaxConvertibleToFloat()
92 TEST_EXPECTED_SUCCESS(CheckedNumeric<Dst>(DstLimits::max()) + -1); in TestSpecializedArithmetic()
94 TEST_EXPECTED_FAILURE(CheckedNumeric<Dst>(-DstLimits::max()) + in TestSpecializedArithmetic()
95 -DstLimits::max()); in TestSpecializedArithmetic()
99 TEST_EXPECTED_FAILURE(CheckedNumeric<Dst>(DstLimits::max()) - in TestSpecializedArithmetic()
100 -DstLimits::max()); in TestSpecializedArithmetic()
[all …]
/external/libvpx/libvpx/test/
Dminmax_test.cc27 int b_stride, int *min, int *max);
44 int max = 0; in reference_minmax() local
49 if (max < diff) max = diff; in reference_minmax()
54 *max_ret = max; in reference_minmax()
64 int min, max; in TEST_P() local
65 ASM_REGISTER_STATE_CHECK(mm_func_(a, 8, b, 8, &min, &max)); in TEST_P()
66 EXPECT_EQ(255, max); in TEST_P()
78 int min, max; in TEST_P() local
79 ASM_REGISTER_STATE_CHECK(mm_func_(a, 8, b, 8, &min, &max)); in TEST_P()
80 EXPECT_EQ(i, max); in TEST_P()
[all …]
/external/libcxx/test/libcxx/numerics/
Dclamp_to_integral.pass.cpp34 {static_cast<double>(Lim::max()), Lim::max(), MaxIsRepresentable}, in test()
35 {static_cast<double>(Lim::max()) + 1, Lim::max(), false}, in test()
36 {static_cast<double>(Lim::max()) + 1024, Lim::max(), false}, in test()
37 {nextafter(static_cast<double>(Lim::max()), INFINITY), Lim::max(), false}, in test()
46 assert(res == Lim::min() || res == Lim::max()); in test()
66 {static_cast<float>(Lim::max()), Lim::max(), MaxIsRepresentable }, in test_float()
67 {nextafter(static_cast<float>(Lim::max()), INFINITY), Lim::max(), false}, in test_float()
76 assert(res == Lim::min() || res == Lim::max()); in test_float()

12345678910>>...160