/external/chromium_org/third_party/lcov/example/methods/ |
gauss.c | 27 * s = (1/2) * (max + min) * (max - min + 1) 38 int gauss_get_sum (int min, int max) 42 if (max < min) 47 return (int) ((max + min) * (double) (max - min + 1) / 2);
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
viewportAndroid.css | 34 min-width: 980px;
|
xhtmlmp.css | 35 min-zoom: 0.25;
|
/external/chromium_org/third_party/angle/samples/angle/sample_util/ |
random_utils.h | 10 float RandomBetween(float min, float max);
|
random_utils.cpp | 11 float RandomBetween(float min, float max) 21 return min + ((rand() % divisor) / static_cast<float>(divisor)) * (max - min);
|
/external/clang/test/Modules/ |
initializer_list.cpp | 7 int n = std::min({1, 2, 3});
|
/external/chromium_org/chrome/browser/resources/options/chromeos/ |
browser_options.css | 6 min-height: 64px;
|
/external/libcxx/test/algorithms/alg.sorting/alg.min.max/ |
min_init_list.pass.cpp | 14 // min(initializer_list<T> t); 22 int i = std::min({2, 3, 1}); 24 i = std::min({2, 1, 3}); 26 i = std::min({3, 1, 2}); 28 i = std::min({3, 2, 1}); 30 i = std::min({1, 2, 3}); 32 i = std::min({1, 3, 2}); 36 static_assert(std::min({1, 3, 2}) == 1, ""); 37 static_assert(std::min({2, 1, 3}) == 1, ""); 38 static_assert(std::min({3, 2, 1}) == 1, "") [all...] |
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/remoting/protocol/ |
network_settings_unittest.cc | 13 int min, max; local 16 EXPECT_TRUE(NetworkSettings::ParsePortRange("1-65535", &min, &max)); 17 EXPECT_EQ(1, min); 20 EXPECT_TRUE(NetworkSettings::ParsePortRange(" 1 - 65535 ", &min, &max)); 21 EXPECT_EQ(1, min); 24 EXPECT_TRUE(NetworkSettings::ParsePortRange("12400-12400", &min, &max)); 25 EXPECT_EQ(12400, min); 29 EXPECT_FALSE(NetworkSettings::ParsePortRange("", &min, &max)); 30 EXPECT_FALSE(NetworkSettings::ParsePortRange("-65535", &min, &max)); 31 EXPECT_FALSE(NetworkSettings::ParsePortRange("1-", &min, &max)) [all...] |
/external/chromium_org/tools/gyp/test/mac/type_envvars/ |
test_check_sdkroot.sh | 37 local min="$(echo -ne "${1}\n${2}\n" | sort -n | head -n1)" 38 test "${min}" != "${2}"
|
/development/ndk/platforms/android-3/include/linux/netfilter/ |
xt_length.h | 16 u_int16_t min, max; member in struct:xt_length_info
|
/external/chromium_org/third_party/lcov/example/ |
gauss.h | 4 extern int gauss_get_sum (int min, int max);
|
iterate.h | 4 extern int iterate_get_sum (int min, int max);
|
/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/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/skia/src/animator/ |
SkDisplayRandom.h | 17 #ifdef min 18 #undef min macro 35 SkScalar min; member in class:SkDisplayRandom
|
/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...] |
/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...] |
/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...] |
/cts/tests/tests/app/src/android/app/cts/ |
WallpaperManagerTest.java | 44 final Point min = getScreenSize(); local 45 final int w = min.x * 3; 46 final int h = min.y * 2; 48 assertDesiredMinimum(new Point(min.x / 2, min.y / 2), min); 53 assertDesiredMinimum(new Point(min.x / 2, h), 54 new Point(min.x, h)); 56 assertDesiredMinimum(new Point(w, min.y / 2), 57 new Point(w, min.y)) [all...] |
/external/chromium_org/cc/debug/ |
paint_time_counter.cc | 28 void PaintTimeCounter::GetMinAndMaxPaintTime(base::TimeDelta* min, 30 *min = base::TimeDelta::FromDays(1); 36 if (paint_time < *min) 37 *min = paint_time; 42 if (*min > *max) 43 *min = *max;
|