Searched refs:min (Results 1 - 25 of 3802) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/lcov/example/methods/
H A Dgauss.c27 * s = (1/2) * (max + min) * (max - min + 1)
38 int gauss_get_sum (int min, int max) argument
42 if (max < min)
47 return (int) ((max + min) * (double) (max - min + 1) / 2);
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DviewportAndroid.css34 min-width: 980px;
H A Dxhtmlmp.css35 min-zoom: 0.25;
/external/chromium_org/third_party/angle/samples/angle/sample_util/
H A Drandom_utils.h10 float RandomBetween(float min, float max);
H A Drandom_utils.cpp11 float RandomBetween(float min, float max) argument
21 return min + ((rand() % divisor) / static_cast<float>(divisor)) * (max - min);
/external/clang/test/Modules/
H A Dinitializer_list.cpp7 int n = std::min({1, 2, 3});
/external/chromium_org/chrome/browser/resources/options/chromeos/
H A Dbrowser_options.css6 min-height: 64px;
/external/libcxx/test/algorithms/alg.sorting/alg.min.max/
H A Dmin_init_list.pass.cpp14 // 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({
[all...]
H A Dmin_init_list_comp.pass.cpp14 // 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({
[all...]
/external/chromium_org/remoting/protocol/
H A Dnetwork_settings_unittest.cc13 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,
[all...]
/external/qemu/android/utils/
H A Dcompiler.h26 # define ANDROID_GCC_PREREQ(maj, min) \
27 ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min))
29 # define ANDROID_GCC_PREREQ(maj, min) 0
/external/chromium_org/tools/gyp/test/mac/type_envvars/
H A Dtest_check_sdkroot.sh37 local min="$(echo -ne "${1}\n${2}\n" | sort -n | head -n1)"
38 test "${min}" != "${2}"
/external/chromium_org/third_party/lcov/example/
H A Dgauss.h4 extern int gauss_get_sum (int min, int max);
H A Diterate.h4 extern int iterate_get_sum (int min, int max);
/external/chromium_org/cc/resources/
H A Dmemory_history.cc22 void MemoryHistory::GetMinAndMax(size_t* min, size_t* max) const { argument
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/chromium_org/v8/test/mjsunit/compiler/
H A Dregress-1085.js31 // This test relies on specific type feedback for Math.min.
32 function f(x) { return 1 / Math.min(1, x); }
36 %OptimizeFunctionOnNextCall(Math.min);
/external/eigen/doc/snippets/
H A DCwise_min.cpp2 cout << v.min(w) << endl;
/external/fio/
H A Dminmax.h4 #ifndef min
5 #define min(a, b) ((a) < (b) ? (a) : (b)) macro
/external/replicaisland/src/com/replica/replicaisland/
H A DUtils.java39 public final static int clamp(int value, int min, int max) { argument
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);
/external/clang/test/Modules/Inputs/
H A Dcxx-irgen-left.h6 return min(1, 2);
/external/chromium_org/chrome/common/extensions/docs/examples/api/browserAction/set_icon_path/
H A Dbackground.js5 var min = 1; variable
7 var current = min;
14 current = min;
/external/libcxx/test/numerics/rand/rand.util/rand.util.canonical/
H A Dgenerate_canonical.pass.cpp25 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()
[all...]
/external/clang/test/Analysis/
H A Dadditive-folding-range-constraints.c75 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
212 clang_analyzer_eval(a <= min); // expecte
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/v8/test/mjsunit/
H A Dmath-min-max.js30 // Test Math.min().
32 assertEquals(Infinity, Math.min());
33 assertEquals(1, Math.min(1));
34 assertEquals(1, Math.min(1, 2));
35 assertEquals(1, Math.min(2, 1));
36 assertEquals(1, Math.min(1, 2, 3));
37 assertEquals(1, Math.min(3, 2, 1));
38 assertEquals(1, Math.min(2, 3, 1));
39 assertEquals(1.1, Math.min(1.1, 2.2, 3.3));
40 assertEquals(1.1, Math.min(3.
[all...]
/external/chromium_org/third_party/re2/re2/testing/
H A Dpossible_match_test.cc26 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
202 string min, max; local
219 CHECK_LE(s, max) << " regexp: " << regexp << " min: " << min; local
[all...]

Completed in 718 milliseconds

1234567891011>>