/external/strace/ |
negated_errno.h | 39 kernel_ulong_t max = -(kernel_long_t) MAX_ERRNO_VALUE; local 44 max = (uint32_t) max; 48 return val >= max;
|
/external/libcxx/test/std/algorithms/alg.sorting/alg.min.max/ |
max_init_list.pass.cpp | 16 // max(initializer_list<T> t); 25 int i = std::max({2, 3, 1}); 27 i = std::max({2, 1, 3}); 29 i = std::max({3, 1, 2}); 31 i = std::max({3, 2, 1}); 33 i = std::max({1, 2, 3}); 35 i = std::max({1, 3, 2}); 39 static_assert(std::max({1, 3, 2}) == 3, ""); 40 static_assert(std::max({2, 1, 3}) == 3, ""); 41 static_assert(std::max({3, 2, 1}) == 3, "") [all...] |
max_init_list_comp.pass.cpp | 16 // max(initializer_list<T> t, Compare comp); 26 int i = std::max({2, 3, 1}, std::greater<int>()); 28 i = std::max({2, 1, 3}, std::greater<int>()); 30 i = std::max({3, 1, 2}, std::greater<int>()); 32 i = std::max({3, 2, 1}, std::greater<int>()); 34 i = std::max({1, 2, 3}, std::greater<int>()); 36 i = std::max({1, 3, 2}, std::greater<int>()); 40 static_assert(std::max({1, 3, 2}, std::greater<int>()) == 1, ""); 41 static_assert(std::max({2, 1, 3}, std::greater<int>()) == 1, ""); 42 static_assert(std::max({3, 2, 1}, std::greater<int>()) == 1, "") [all...] |
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/ |
max.pass.cpp | 15 // result_type max() const; 25 assert(d.max() == std::numeric_limits<int>::max());
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.negbin/ |
max.pass.cpp | 15 // result_type max() const; 25 assert(d.max() == std::numeric_limits<int>::max());
|
/external/libcxx/test/std/utilities/time/time.traits/time.traits.duration_values/ |
max.pass.cpp | 12 // duration_values::max // noexcept after C++17 23 assert(std::chrono::duration_values<int>::max() == 24 std::numeric_limits<int>::max()); 25 assert(std::chrono::duration_values<double>::max() == 26 std::numeric_limits<double>::max()); 27 assert(std::chrono::duration_values<Rep>::max() == 28 std::numeric_limits<Rep>::max()); 30 static_assert(std::chrono::duration_values<int>::max() == 31 std::numeric_limits<int>::max(), ""); 32 static_assert(std::chrono::duration_values<double>::max() = [all...] |
/external/libcxx/test/std/utilities/time/time.point/time.point.special/ |
max.pass.cpp | 14 // static constexpr time_point max(); // noexcept after C++17 26 LIBCPP_ASSERT_NOEXCEPT(TP::max()); 28 ASSERT_NOEXCEPT( TP::max()); 30 assert(TP::max() == TP(Duration::max()));
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
find_min_max.cpp | 142 int min, max; local 147 max = min = *input_ptr; 154 if (*input_ptr > max) 156 max = *input_ptr; 169 *max_ptr = max;
|
post_proc.h | 35 #define UPDATE_PV_MAXPV_MIN(p,max,min) if ((p) > (max)) (max)=(p); else if ((p) < (min)) (min) = (p);
|
/art/test/911-get-stack-trace/src/art/ |
Recurse.java | 20 public static int foo(int x, int start, int max, ControlData data) { 21 bar(x, start, max, data); 25 private static long bar(int x, int start, int max, ControlData data) { 26 baz(x, start, max, data); 30 private static Object baz(int x, int start, int max, ControlData data) { 32 printOrWait(start, max, data); 34 foo(x - 1, start, max, data); 39 private static void printOrWait(int start, int max, ControlData data) { 41 PrintThread.print(Thread.currentThread(), start, max); local
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/scripts/ |
primes.py | 5 def primes(min, max):
6 if max >= 2 >= min:
10 while i <= max:
22 min, max = 2, 0x7fffffff
26 max = int(sys.argv[2])
27 primes(min, max)
|
/external/python/cpython2/Demo/scripts/ |
primes.py | 5 def primes(min, max): 6 if max >= 2 >= min: 10 while i <= max: 22 min, max = 2, 0x7fffffff 26 max = int(sys.argv[2]) 27 primes(min, max)
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/exception/ |
NumberIsTooLargeException.java | 36 private final Number max; field in class:NumberIsTooLargeException 46 * @param max maximum. 50 Number max, 52 this(null, wrong, max, boundIsAllowed); 59 * @param max maximum. 64 Number max, 70 wrong, max); 72 this.max = max; 87 return max; [all...] |
/external/eigen/doc/snippets/ |
Cwise_max.cpp | 2 cout << v.max(w) << endl;
|
/external/libcxx/test/std/numerics/rand/rand.dis/rand.dist.pois/rand.dist.pois.poisson/ |
max.pass.cpp | 15 // result_type max() const; 25 D::result_type m = d.max(); 26 assert(m == std::numeric_limits<int>::max());
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/ |
BisectionSolver.java | 58 public double solve(double min, double max, double initial) 60 return solve(f, min, max); 65 public double solve(double min, double max) 67 return solve(f, min, max); 75 public double solve(final UnivariateRealFunction f, double min, double max, double initial) 77 return solve(f, min, max); 82 public double solve(int maxEval, final UnivariateRealFunction f, double min, double max, double initial) 84 return solve(maxEval, f, min, max); 89 public double solve(int maxEval, final UnivariateRealFunction f, double min, double max) 92 return solve(f, min, max); [all...] |
/external/grpc-grpc/tools/gource/ |
gource.sh | 19 --max-file-lag 0.05 \ 20 --max-files 0 \
|
/external/libcxx/test/std/utilities/template.bitset/bitset.members/ |
to_ulong.pass.cpp | 25 const std::size_t max = is_M_zero ? 0 : std::size_t(std::numeric_limits<unsigned long>::max()) >> X; 27 std::min<std::size_t>(1, max), 28 std::min<std::size_t>(2, max), 29 std::min<std::size_t>(3, max), 30 std::min(max, max-3), 31 std::min(max, max-2), 32 std::min(max, max-1) [all...] |
to_ullong.pass.cpp | 24 const unsigned long long max = is_M_zero ? 0 : (unsigned long long)(-1) >> X; 26 std::min<unsigned long long>(1, max), 27 std::min<unsigned long long>(2, max), 28 std::min<unsigned long long>(3, max), 29 std::min(max, max-3), 30 std::min(max, max-2), 31 std::min(max, max-1) [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
quantization_utils.cc | 36 std::max(input_max, std::max(-input_min, std::max(smaller_input_max,
|
/external/clang/test/SemaTemplate/ |
alignas.cpp | 7 constexpr T max(T t, U u) { return t > u ? t : u; } function 10 constexpr auto max(T t, Ts ...ts) -> decltype(max(t, max(ts...))) { function 11 return max(t, max(ts...)); 15 alignas(T...) char buffer[max(sizeof(T)...)];
|
/external/skia/tests/ |
SafeMathTest.cpp | 12 size_t max = std::numeric_limits<size_t>::max(); local 15 size_t halfMax = max >> 1; 20 REPORTER_ASSERT(r, safe.add(halfMax, halfMaxPlus1) == max); 22 REPORTER_ASSERT(r, safe.add(max, 1) == 0); 28 (void) safe.add(max, max); 35 size_t sqrtMax = max >> halfBits; 48 (void) safe.mul(max, max); [all...] |
/external/skqp/tests/ |
SafeMathTest.cpp | 12 size_t max = std::numeric_limits<size_t>::max(); local 15 size_t halfMax = max >> 1; 20 REPORTER_ASSERT(r, safe.add(halfMax, halfMaxPlus1) == max); 22 REPORTER_ASSERT(r, safe.add(max, 1) == 0); 28 (void) safe.add(max, max); 35 size_t sqrtMax = max >> halfBits; 48 (void) safe.mul(max, max); [all...] |
/external/libcxx/test/std/utilities/time/time.duration/time.duration.special/ |
max.pass.cpp | 14 // static constexpr duration max(); // noexcept after C++17 26 LIBCPP_ASSERT_NOEXCEPT(std::chrono::duration_values<typename D::rep>::max()); 28 ASSERT_NOEXCEPT( std::chrono::duration_values<typename D::rep>::max()); 32 Rep max_rep = std::chrono::duration_values<Rep>::max(); 33 assert(D::max().count() == max_rep); 38 constexpr Rep max_rep = std::chrono::duration_values<Rep>::max(); 39 static_assert(D::max().count() == max_rep, "");
|
/external/replicaisland/src/com/replica/replicaisland/ |
Utils.java | 39 public final static int clamp(int value, int min, int max) { 41 if (min == max) { 45 } else if (min < max) { 48 } else if (value > max) { 49 result = max; 52 result = clamp(value, max, min);
|