Home
last modified time | relevance | path

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

12345678910>>...151

/external/skia/src/opts/
DSkBitmapProcState_matrixProcs_neon.cpp22 static inline int16x8_t sbpsm_clamp_tile8(int32x4_t low, int32x4_t high, unsigned max) { in sbpsm_clamp_tile8() argument
30 res = vminq_s16(res, vdupq_n_s16(max)); in sbpsm_clamp_tile8()
36 static inline int32x4_t sbpsm_clamp_tile4(int32x4_t f, unsigned max) { in sbpsm_clamp_tile4() argument
44 res = vminq_s32(res, vdupq_n_s32(max)); in sbpsm_clamp_tile4()
64 static inline int16x8_t sbpsm_repeat_tile8(int32x4_t low, int32x4_t high, unsigned max) { in sbpsm_repeat_tile8() argument
72 tmpl = vmull_u16(vget_low_u16(res), vdup_n_u16(max+1)); in sbpsm_repeat_tile8()
73 tmph = vmull_u16(vget_high_u16(res), vdup_n_u16(max+1)); in sbpsm_repeat_tile8()
82 static inline int32x4_t sbpsm_repeat_tile4(int32x4_t f, unsigned max) { in sbpsm_repeat_tile4() argument
90 tmp = vmull_u16(res, vdup_n_u16(max+1)); in sbpsm_repeat_tile4()
99 static inline int32x4_t sbpsm_repeat_tile4_low_bits(int32x4_t fx, unsigned max) { in sbpsm_repeat_tile4_low_bits() argument
[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/fio/
Dio_u_queue.c21 ring->max = nr + 1; in io_u_rinit()
22 if (ring->max & (ring->max - 1)) { in io_u_rinit()
23 ring->max--; in io_u_rinit()
24 ring->max |= ring->max >> 1; in io_u_rinit()
25 ring->max |= ring->max >> 2; in io_u_rinit()
26 ring->max |= ring->max >> 4; in io_u_rinit()
27 ring->max |= ring->max >> 8; in io_u_rinit()
28 ring->max |= ring->max >> 16; in io_u_rinit()
29 ring->max++; in io_u_rinit()
32 ring->ring = calloc(ring->max, sizeof(struct io_u *)); in io_u_rinit()
/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/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/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 …]
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 …]
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 …]
DBrentSolver.java97 public double solve(double min, double max) in solve() argument
99 return solve(f, min, max); in solve()
104 public double solve(double min, double max, double initial) in solve() argument
106 return solve(f, min, max, initial); in solve()
130 final double min, final double max, final double initial) in solve() argument
134 if ((initial < min) || (initial > max)) { in solve()
137 min, initial, max); in solve()
160 double yMax = f.value(max); in solve()
162 setResult(max, 0); in solve()
168 return solve(f, initial, yInitial, max, yMax, initial, yInitial); in solve()
[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/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/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/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.c185 char *value, int flags, int min, int max);
187 intmax_t value, int base, int min, int max, int flags);
189 LDOUBLE fvalue, int min, int max, int flags);
199 int max; in dopr() local
210 max = -1; in dopr()
274 if (max < 0) in dopr()
275 max = 0; in dopr()
276 max = 10*max + char_to_int (ch); in dopr()
279 max = va_arg (args, int); in dopr()
334 value, 10, min, max, flags) == -1) in dopr()
[all …]
/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/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()
Dto_ullong.pass.cpp24 const unsigned long long max = is_M_zero ? 0 : (unsigned long long)(-1) >> X; in test_to_ullong() local
26 std::min<unsigned long long>(1, max), in test_to_ullong()
27 std::min<unsigned long long>(2, max), in test_to_ullong()
28 std::min<unsigned long long>(3, max), in test_to_ullong()
29 std::min(max, max-3), in test_to_ullong()
30 std::min(max, max-2), in test_to_ullong()
31 std::min(max, max-1), in test_to_ullong()
32 max}; in test_to_ullong()
/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/mesa3d/src/glsl/builtins/ir/
Dmax.ir1 ((function max
6 ((return (expression float max (var_ref arg0) (var_ref arg1)))))
12 ((return (expression vec2 max (var_ref arg0) (var_ref arg1)))))
18 ((return (expression vec3 max (var_ref arg0) (var_ref arg1)))))
24 ((return (expression vec4 max (var_ref arg0) (var_ref arg1)))))
30 ((return (expression vec2 max (var_ref arg0) (var_ref arg1)))))
36 ((return (expression vec3 max (var_ref arg0) (var_ref arg1)))))
42 ((return (expression vec4 max (var_ref arg0) (var_ref arg1)))))
48 ((return (expression int max (var_ref arg0) (var_ref arg1)))))
54 ((return (expression ivec2 max (var_ref arg0) (var_ref arg1)))))
[all …]
/external/zlib/src/examples/
Denough.c170 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)
217 assert(syms > left && left > 0 && len < max); in count()
234 most = (((code_t)left << (max - len)) - syms) / in count()
235 (((code_t)1 << (max - len)) - 1); in count()
345 for (use = root + 1; use <= max; use++) in examine()
370 most = (((code_t)left << (max - len)) - syms) / in examine()
371 (((code_t)1 << (max - len)) - 1); in examine()
410 for (n = 0; n <= max; n++) in enough()
415 if (root < max) /* otherwise, there's only a base table */ in enough()
[all …]
/external/vulkan-validation-layers/libs/glm/gtx/
Dextented_min_max.inl80 GLM_FUNC_QUALIFIER T max( function
85 return glm::max(glm::max(x, y), z);
89 GLM_FUNC_QUALIFIER C<T> max function
96 return glm::max(glm::max(x, y), z);
100 GLM_FUNC_QUALIFIER C<T> max function
107 return glm::max(glm::max(x, y), z);
111 GLM_FUNC_QUALIFIER T max function
119 return glm::max(glm::max(x, y), glm::max(z, w));
123 GLM_FUNC_QUALIFIER C<T> max function
131 return glm::max(glm::max(x, y), glm::max(z, w));
[all …]

12345678910>>...151