HomeSort by relevance Sort by last modified time
    Searched refs:min (Results 76 - 100 of 6177) sorted by null

1 2 34 5 6 7 8 91011>>

  /prebuilts/ndk/9/platforms/android-9/arch-x86/usr/include/linux/netfilter/
xt_length.h 16 u_int16_t min, max; member in struct:xt_length_info
  /frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
find_min_max.cpp 142 register int min, max; local
147 max = min = *input_ptr;
158 else if (*input_ptr < min)
160 min = *input_ptr;
170 *min_ptr = min;
post_proc.h 35 #define UPDATE_PV_MAXPV_MIN(p,max,min) if ((p) > max) max=(p); else if ((p) < min) min = (p);
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/util/
MathUtils.java 25 int min = (a > b) ? b : a; local
27 if (value < min) value = min;
43 long min = (a > b) ? b : a; local
45 if (value < min) value = min;
61 float min = (a > b) ? b : a; local
63 if (value < min) value = min;
  /external/libcxx/test/algorithms/alg.sorting/alg.min.max/
min_init_list_comp.pass.cpp 14 // min(initializer_list<T> t, Compare comp);
23 int i = std::min({2, 3, 1}, std::greater<int>());
25 i = std::min({2, 1, 3}, std::greater<int>());
27 i = std::min({3, 1, 2}, std::greater<int>());
29 i = std::min({3, 2, 1}, std::greater<int>());
31 i = std::min({1, 2, 3}, std::greater<int>());
33 i = std::min({1, 3, 2}, std::greater<int>());
37 static_assert(std::min({1, 3, 2}, std::greater<int>()) == 3, "");
38 static_assert(std::min({2, 1, 3}, std::greater<int>()) == 3, "");
39 static_assert(std::min({3, 2, 1}, std::greater<int>()) == 3, "")
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.min.max/
min_init_list_comp.pass.cpp 14 // min(initializer_list<T> t, Compare comp);
23 int i = std::min({2, 3, 1}, std::greater<int>());
25 i = std::min({2, 1, 3}, std::greater<int>());
27 i = std::min({3, 1, 2}, std::greater<int>());
29 i = std::min({3, 2, 1}, std::greater<int>());
31 i = std::min({1, 2, 3}, std::greater<int>());
33 i = std::min({1, 3, 2}, std::greater<int>());
37 static_assert(std::min({1, 3, 2}, std::greater<int>()) == 3, "");
38 static_assert(std::min({2, 1, 3}, std::greater<int>()) == 3, "");
39 static_assert(std::min({3, 2, 1}, std::greater<int>()) == 3, "")
    [all...]
  /external/chromium_org/cc/resources/
memory_history.cc 22 void MemoryHistory::GetMinAndMax(size_t* min, size_t* max) const {
23 *min = std::numeric_limits<size_t>::max();
29 if (bytes_total < *min)
30 *min = bytes_total;
35 if (*min > *max)
36 *min = *max;
  /external/eigen/doc/snippets/
Cwise_min.cpp 2 cout << v.min(w) << endl;
  /external/fio/
minmax.h 4 #ifndef min
5 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
  /external/replicaisland/src/com/replica/replicaisland/
Utils.java 39 public final static int clamp(int value, int min, int max) {
41 if (min == max) {
42 if (value != min) {
43 result = min;
45 } else if (min < max) {
46 if (value < min) {
47 result = min;
52 result = clamp(value, max, min);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
minmax.h 15 #ifndef min
16 #define min(a,b) (((a) < (b)) ? (a) : (b)) macro
  /external/clang/test/Modules/Inputs/
cxx-irgen-left.h 6 return min(1, 2);
  /bionic/libc/upstream-openbsd/lib/libc/crypt/
arc4random_uniform.c 35 uint32_t r, min; local
41 min = -upper_bound % upper_bound;
51 if (r >= min)
  /external/chromium_org/third_party/angle/samples/angle/sample_util/
random_utils.cpp 11 float RandomBetween(float min, float max)
21 return min + ((rand() % divisor) / static_cast<float>(divisor)) * (max - min);
  /external/chromium_org/third_party/skia/src/animator/
SkDisplayRandom.h 17 #ifdef min
18 #undef min macro
35 SkScalar min; member in class:SkDisplayRandom
  /external/skia/src/animator/
SkDisplayRandom.h 17 #ifdef min
18 #undef min macro
35 SkScalar min; member in class:SkDisplayRandom
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
imgprocutil.h 27 inline int clamp(int min, int val, int max) {
28 return val < min ? min : (val > max ? max : val);
29 // Note that for performance reasons, this function does *not* check if min < max!
  /external/libcxx/test/numerics/rand/rand.util/rand.util.canonical/
generate_canonical.pass.cpp 25 assert(f == (16807 - E::min()) / (E::max() - E::min() + F(1)));
32 assert(f == (16807 - E::min()) / (E::max() - E::min() + F(1)));
39 assert(f == (16807 - E::min()) / (E::max() - E::min() + F(1)));
46 assert(f == (16807 - E::min()) / (E::max() - E::min() + F(1)));
53 assert(f == (16807 - E::min()) / (E::max() - E::min() + F(1)))
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.util/rand.util.canonical/
generate_canonical.pass.cpp 25 assert(f == (16807 - E::min()) / (E::max() - E::min() + F(1)));
32 assert(f == (16807 - E::min()) / (E::max() - E::min() + F(1)));
39 assert(f == (16807 - E::min()) / (E::max() - E::min() + F(1)));
46 assert(f == (16807 - E::min()) / (E::max() - E::min() + F(1)));
53 assert(f == (16807 - E::min()) / (E::max() - E::min() + F(1)))
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/util/
RangeBoolArray.java 19 // This is an array whose index ranges from min to max (inclusive).
24 public RangeBoolArray(int min, int max) {
25 mData = new boolean[max - min + 1];
26 mOffset = min;
30 public RangeBoolArray(boolean[] src, int min, int max) {
32 mOffset = min;
RangeIntArray.java 19 // This is an array whose index ranges from min to max (inclusive).
24 public RangeIntArray(int min, int max) {
25 mData = new int[max - min + 1];
26 mOffset = min;
30 public RangeIntArray(int[] src, int min, int max) {
32 mOffset = min;
  /external/clang/test/Analysis/
additive-folding-range-constraints.c 11 // solution range across an overflow boundary (Min for <, Max for >).
39 // comparison value over an overflow boundary (Min for <, Max for >).
75 int min = INT_MIN; local
77 clang_analyzer_eval((a - 2) >= (min + 5LL)); // expected-warning{{TRUE}}
143 int min = INT_MIN; local
145 clang_analyzer_eval((a + 2) >= (min + 5LL)); // expected-warning{{TRUE}}
204 int min = INT_MIN; local
205 clang_analyzer_eval(a < min); // expected-warning{{UNKNOWN}}
206 clang_analyzer_eval((a + 2) < min); // expected-warning{{UNKNOWN}}
207 clang_analyzer_eval((a + 2U) < min); // expected-warning{{UNKNOWN}
211 int min = INT_MIN; local
218 unsigned min = 0; local
225 unsigned min = 0; local
232 int min = 0; local
239 int min = 0; local
246 int min = 0; local
253 int min = 0; local
274 unsigned min = INT_MIN; local
281 unsigned min = INT_MIN; local
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
ByteTest.java 21 final byte min = Byte.MIN_VALUE;
25 assertTrue(Byte.compare(min, min) == 0);
28 assertTrue(Byte.compare(max, min) > 0);
30 assertTrue(Byte.compare(zero, min) > 0);
31 assertTrue(Byte.compare(min, zero) < 0);
32 assertTrue(Byte.compare(min, max) < 0);
ShortTest.java 21 final short min = Short.MIN_VALUE; local
25 assertTrue(Short.compare(min, min) == 0);
28 assertTrue(Short.compare(max, min) > 0);
30 assertTrue(Short.compare(zero, min) > 0);
31 assertTrue(Short.compare(min, zero) < 0);
32 assertTrue(Short.compare(min, max) < 0);
  /external/chromium_org/third_party/re2/re2/testing/
possible_match_test.cc 26 const char* min; member in struct:re2::PrefixTest
107 string min, max; local
114 CHECK(prog->PossibleMatchRange(&min, &max, t.maxlen))
119 CHECK(RE2(t.regexp).PossibleMatchRange(&min, &max, t.maxlen));
121 EXPECT_EQ(t.min, min) << t.regexp;
129 string min, max; local
132 EXPECT_FALSE(RE2("abc").PossibleMatchRange(&min, &max, 0));
138 PossibleMatchRange(&min, &max, 10))
139 << "min=" << CEscape(min) << ", max=" << CEscape(max)
202 string min, max; local
219 CHECK_LE(s, max) << " regexp: " << regexp << " min: " << min; local
    [all...]

Completed in 2958 milliseconds

1 2 34 5 6 7 8 91011>>