HomeSort by relevance Sort by last modified time
    Searched refs:max (Results 1 - 25 of 9504) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/support/core-utils/java/android/support/v4/math/
MathUtils.java 34 * @param max maximum resulting value.
38 public static float clamp(float value, float min, float max) {
41 } else if (value > max) {
42 return max;
55 * @param max maximum resulting value.
59 public static double clamp(double value, double min, double max) {
62 } else if (value > max) {
63 return max;
76 * @param max maximum resulting value.
80 public static int clamp(int value, int min, int max) {
    [all...]
  /external/fio/
io_u_queue.c 21 ring->max = nr + 1;
22 if (ring->max & (ring->max - 1)) {
23 ring->max--;
24 ring->max |= ring->max >> 1;
25 ring->max |= ring->max >> 2;
26 ring->max |= ring->max >> 4
    [all...]
  /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...]
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.min.max/
max_init_list.pass.cpp 14 // max(initializer_list<T> t);
22 int i = std::max({2, 3, 1});
24 i = std::max({2, 1, 3});
26 i = std::max({3, 1, 2});
28 i = std::max({3, 2, 1});
30 i = std::max({1, 2, 3});
32 i = std::max({1, 3, 2});
36 static_assert(std::max({1, 3, 2}) == 3, "");
37 static_assert(std::max({2, 1, 3}) == 3, "");
38 static_assert(std::max({3, 2, 1}) == 3, "")
    [all...]
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/algorithms/alg.sorting/alg.min.max/
max_init_list.pass.cpp 14 // max(initializer_list<T> t);
22 int i = std::max({2, 3, 1});
24 i = std::max({2, 1, 3});
26 i = std::max({3, 1, 2});
28 i = std::max({3, 2, 1});
30 i = std::max({1, 2, 3});
32 i = std::max({1, 3, 2});
36 static_assert(std::max({1, 3, 2}) == 3, "");
37 static_assert(std::max({2, 1, 3}) == 3, "");
38 static_assert(std::max({3, 2, 1}) == 3, "")
    [all...]
  /external/libcxx/test/std/utilities/time/time.traits/time.traits.duration_values/
max.pass.cpp 12 // duration_values::max
22 assert(std::chrono::duration_values<int>::max() ==
23 std::numeric_limits<int>::max());
24 assert(std::chrono::duration_values<double>::max() ==
25 std::numeric_limits<double>::max());
26 assert(std::chrono::duration_values<Rep>::max() ==
27 std::numeric_limits<Rep>::max());
29 static_assert(std::chrono::duration_values<int>::max() ==
30 std::numeric_limits<int>::max(), "");
31 static_assert(std::chrono::duration_values<double>::max() =
    [all...]
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.traits/time.traits.duration_values/
max.pass.cpp 12 // duration_values::max
22 assert(std::chrono::duration_values<int>::max() ==
23 std::numeric_limits<int>::max());
24 assert(std::chrono::duration_values<double>::max() ==
25 std::numeric_limits<double>::max());
26 assert(std::chrono::duration_values<Rep>::max() ==
27 std::numeric_limits<Rep>::max());
29 static_assert(std::chrono::duration_values<int>::max() ==
30 std::numeric_limits<int>::max(), "");
31 static_assert(std::chrono::duration_values<double>::max() =
    [all...]
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/time/time.traits/time.traits.duration_values/
max.pass.cpp 12 // duration_values::max
22 assert(std::chrono::duration_values<int>::max() ==
23 std::numeric_limits<int>::max());
24 assert(std::chrono::duration_values<double>::max() ==
25 std::numeric_limits<double>::max());
26 assert(std::chrono::duration_values<Rep>::max() ==
27 std::numeric_limits<Rep>::max());
29 static_assert(std::chrono::duration_values<int>::max() ==
30 std::numeric_limits<int>::max(), "");
31 static_assert(std::chrono::duration_values<double>::max() =
    [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());
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/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());
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/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());
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/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());
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/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());
  /prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/template.bitset/bitset.members/
to_ullong.pass.cpp 22 const unsigned long long max = M == 0 ? 0 : (unsigned long long)(-1) >> X;
24 std::min<unsigned long long>(1, max),
25 std::min<unsigned long long>(2, max),
26 std::min<unsigned long long>(3, max),
27 std::min(max, max-3),
28 std::min(max, max-2),
29 std::min(max, max-1)
    [all...]
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/template.bitset/bitset.members/
to_ullong.pass.cpp 22 const unsigned long long max = M == 0 ? 0 : (unsigned long long)(-1) >> X;
24 std::min<unsigned long long>(1, max),
25 std::min<unsigned long long>(2, max),
26 std::min<unsigned long long>(3, max),
27 std::min(max, max-3),
28 std::min(max, max-2),
29 std::min(max, max-1)
    [all...]
  /development/ndk/platforms/android-9/include/linux/netfilter/
xt_length.h 16 u_int16_t min, max; member in struct:xt_length_info
  /external/dhcpcd-6.8.2/compat/
closefrom.c 35 long max; local
39 max = sysconf(_SC_OPEN_MAX);
41 max = getdtablesize();
44 for (i = fd; i < max; i++) {
  /prebuilts/ndk/r10/platforms/android-12/arch-arm/usr/include/linux/netfilter/
xt_length.h 16 u_int16_t min, max; member in struct:xt_length_info
  /prebuilts/ndk/r10/platforms/android-12/arch-mips/usr/include/linux/netfilter/
xt_length.h 16 u_int16_t min, max; member in struct:xt_length_info
  /prebuilts/ndk/r10/platforms/android-12/arch-x86/usr/include/linux/netfilter/
xt_length.h 16 u_int16_t min, max; member in struct:xt_length_info
  /prebuilts/ndk/r10/platforms/android-13/arch-arm/usr/include/linux/netfilter/
xt_length.h 16 u_int16_t min, max; member in struct:xt_length_info
  /prebuilts/ndk/r10/platforms/android-13/arch-mips/usr/include/linux/netfilter/
xt_length.h 16 u_int16_t min, max; member in struct:xt_length_info
  /prebuilts/ndk/r10/platforms/android-13/arch-x86/usr/include/linux/netfilter/
xt_length.h 16 u_int16_t min, max; member in struct:xt_length_info
  /prebuilts/ndk/r10/platforms/android-14/arch-arm/usr/include/linux/netfilter/
xt_length.h 16 u_int16_t min, max; member in struct:xt_length_info

Completed in 829 milliseconds

1 2 3 4 5 6 7 8 91011>>