Home
last modified time | relevance | path

Searched refs:min (Results 1 – 25 of 3231) sorted by relevance

12345678910>>...130

/external/chromium_org/v8/test/webkit/
Ddfg-min-backwards-propagation-expected.txt24 Tests that the DFG knows that a function that appears like Math.min could potentially use value in …
29 PASS foo(Math.min, [1.5], 0) is Math.min(1.5, 2.5)
30 PASS foo(Math.min, [1.5], 0) is Math.min(1.5, 2.5)
31 PASS foo(Math.min, [1.5], 0) is Math.min(1.5, 2.5)
32 PASS foo(Math.min, [1.5], 0) is Math.min(1.5, 2.5)
33 PASS foo(Math.min, [1.5], 0) is Math.min(1.5, 2.5)
34 PASS foo(Math.min, [1.5], 0) is Math.min(1.5, 2.5)
35 PASS foo(Math.min, [1.5], 0) is Math.min(1.5, 2.5)
36 PASS foo(Math.min, [1.5], 0) is Math.min(1.5, 2.5)
37 PASS foo(Math.min, [1.5], 0) is Math.min(1.5, 2.5)
[all …]
Dinteger-extremes-expected.txt34 PASS min.toString() is "-128"
35 PASS (min - 1).toString() is "-129"
39 PASS min.toString() is "-256"
40 PASS (min - 1).toString() is "-257"
44 PASS min.toString() is "-512"
45 PASS (min - 1).toString() is "-513"
49 PASS min.toString() is "-1024"
50 PASS (min - 1).toString() is "-1025"
54 PASS min.toString() is "-2048"
55 PASS (min - 1).toString() is "-2049"
[all …]
/external/chromium_org/v8/test/mjsunit/
Dmath-min-max.js32 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.3, 2.2, 1.1));
41 assertEquals(1.1, Math.min(2.2, 3.3, 1.1));
[all …]
/external/clang/test/Analysis/
Dadditive-folding-range-constraints.c75 int min = INT_MIN; in mixedComparisons1() local
77 clang_analyzer_eval((a - 2) >= (min + 5LL)); // expected-warning{{TRUE}} in mixedComparisons1()
143 int min = INT_MIN; in mixedComparisons7() local
145 clang_analyzer_eval((a + 2) >= (min + 5LL)); // expected-warning{{TRUE}} in mixedComparisons7()
204 int min = INT_MIN; in mixedSignedness5() local
205 clang_analyzer_eval(a < min); // expected-warning{{UNKNOWN}} in mixedSignedness5()
206 clang_analyzer_eval((a + 2) < min); // expected-warning{{UNKNOWN}} in mixedSignedness5()
207 clang_analyzer_eval((a + 2U) < min); // expected-warning{{UNKNOWN}} in mixedSignedness5()
211 int min = INT_MIN; in mixedSignedness6() local
212 clang_analyzer_eval(a <= min); // expected-warning{{UNKNOWN}} in mixedSignedness6()
[all …]
/external/chromium_org/remoting/protocol/
Dnetwork_settings_unittest.cc13 int min, max; in TEST() local
16 EXPECT_TRUE(NetworkSettings::ParsePortRange("1-65535", &min, &max)); in TEST()
17 EXPECT_EQ(1, min); in TEST()
20 EXPECT_TRUE(NetworkSettings::ParsePortRange(" 1 - 65535 ", &min, &max)); in TEST()
21 EXPECT_EQ(1, min); in TEST()
24 EXPECT_TRUE(NetworkSettings::ParsePortRange("12400-12400", &min, &max)); in TEST()
25 EXPECT_EQ(12400, min); in TEST()
29 EXPECT_FALSE(NetworkSettings::ParsePortRange("", &min, &max)); in TEST()
30 EXPECT_FALSE(NetworkSettings::ParsePortRange("-65535", &min, &max)); in TEST()
31 EXPECT_FALSE(NetworkSettings::ParsePortRange("1-", &min, &max)); in TEST()
[all …]
/external/libcxx/test/numerics/rand/rand.util/rand.util.canonical/
Dgenerate_canonical.pass.cpp25 assert(f == (16807 - E::min()) / (E::max() - E::min() + F(1))); in main()
32 assert(f == (16807 - E::min()) / (E::max() - E::min() + F(1))); in main()
39 assert(f == (16807 - E::min()) / (E::max() - E::min() + F(1))); in main()
46 assert(f == (16807 - E::min()) / (E::max() - E::min() + F(1))); in main()
53 assert(f == (16807 - E::min()) / (E::max() - E::min() + F(1))); in main()
61 assert(f == (16807 - E::min()) / (E::max() - E::min() + F(1))); in main()
68 assert(f == (16807 - E::min()) / (E::max() - E::min() + F(1))); in main()
76 (16807 - E::min() + in main()
77 (282475249 - E::min()) * (E::max() - E::min() + F(1))) / in main()
78 ((E::max() - E::min() + F(1)) * (E::max() - E::min() + F(1)))); in main()
[all …]
/external/regex-re2/re2/testing/
Dpossible_match_test.cc26 const char* min; member
107 string min, max; in TEST() local
114 CHECK(prog->PossibleMatchRange(&min, &max, t.maxlen)) in TEST()
119 CHECK(RE2(t.regexp).PossibleMatchRange(&min, &max, t.maxlen)); in TEST()
121 EXPECT_EQ(t.min, min) << t.regexp; in TEST()
129 string min, max; in TEST() local
132 EXPECT_FALSE(RE2("abc").PossibleMatchRange(&min, &max, 0)); in TEST()
138 PossibleMatchRange(&min, &max, 10)) in TEST()
139 << "min=" << CEscape(min) << ", max=" << CEscape(max); in TEST()
141 PossibleMatchRange(&min, &max, 10)) in TEST()
[all …]
/external/chromium_org/third_party/re2/re2/testing/
Dpossible_match_test.cc26 const char* min; member
107 string min, max; in TEST() local
114 CHECK(prog->PossibleMatchRange(&min, &max, t.maxlen)) in TEST()
119 CHECK(RE2(t.regexp).PossibleMatchRange(&min, &max, t.maxlen)); in TEST()
121 EXPECT_EQ(t.min, min) << t.regexp; in TEST()
129 string min, max; in TEST() local
132 EXPECT_FALSE(RE2("abc").PossibleMatchRange(&min, &max, 0)); in TEST()
138 PossibleMatchRange(&min, &max, 10)) in TEST()
139 << "min=" << CEscape(min) << ", max=" << CEscape(max); in TEST()
141 PossibleMatchRange(&min, &max, 10)) in TEST()
[all …]
/external/bison/lib/
Dintprops.h165 #define INT_ADD_RANGE_OVERFLOW(a, b, min, max) \ argument
167 ? (a) < (min) - (b) \
172 #define INT_SUBTRACT_RANGE_OVERFLOW(a, b, min, max) \ argument
175 : (a) < (min) + (b))
179 #define INT_NEGATE_RANGE_OVERFLOW(a, min, max) \ argument
180 ((min) < 0 \
188 #define INT_MULTIPLY_RANGE_OVERFLOW(a, b, min, max) \ argument
194 : (min) / (b) < (a)) \
198 ? (a) < (min) / (b) \
203 #define INT_DIVIDE_RANGE_OVERFLOW(a, b, min, max) \ argument
[all …]
/external/e2fsprogs/tests/f_h_reindex/
Dexpect.16 Problem in HTREE directory inode 16001: block #2 has bad min hash
8 Problem in HTREE directory inode 16001: block #3 has bad min hash
10 Problem in HTREE directory inode 16001: block #4 has bad min hash
12 Problem in HTREE directory inode 16001: block #5 has bad min hash
14 Problem in HTREE directory inode 16001: block #6 has bad min hash
16 Problem in HTREE directory inode 16001: block #7 has bad min hash
18 Problem in HTREE directory inode 16001: block #8 has bad min hash
23 Problem in HTREE directory inode 24001: block #3 has bad min hash
26 Problem in HTREE directory inode 24001: block #5 has bad min hash
28 Problem in HTREE directory inode 24001: block #6 has bad min hash
[all …]
/external/lldb/test/
Dbench-history43 # With patch to lldbbench.py to display min and max of samples.
45 … target) benchmark: Avg: 0.103625 (Laps: 30, Total Elapsed Time: 3.108748, min=0.101225, max=0.136…
46 …akpoint) benchmark: Avg: 0.102321 (Laps: 30, Total Elapsed Time: 3.069623, min=0.101270, max=0.102…
47 …kpoint) benchmark: Avg: 0.445943 (Laps: 30, Total Elapsed Time: 13.378290, min=0.438535, max=0.475…
48 lldb frame variable benchmark: Avg: 1.612034 (Laps: 20, Total Elapsed Time: 32.240689, min=1.591328…
49 lldb stepping benchmark: Avg: 0.155064 (Laps: 50, Total Elapsed Time: 7.753182, min=0.101287, max=2…
50 lldb expr cmd benchmark: Avg: 0.206160 (Laps: 25, Total Elapsed Time: 5.154005, min=0.203282, max=0…
51 lldb disassembly benchmark: Avg: 0.032946 (Laps: 10, Total Elapsed Time: 0.329464, min=0.031380, ma…
56 … target) benchmark: Avg: 0.109056 (Laps: 30, Total Elapsed Time: 3.271690, min=0.101212, max=0.296…
57 …akpoint) benchmark: Avg: 0.102844 (Laps: 30, Total Elapsed Time: 3.085306, min=0.101028, max=0.112…
[all …]
/external/chromium_org/ui/gfx/geometry/
Dsafe_integer_conversions_unittest.cc17 float min = std::numeric_limits<int>::min(); in TEST() local
21 int int_min = std::numeric_limits<int>::min(); in TEST()
32 EXPECT_EQ(int_min, ClampToInt(min)); in TEST()
33 EXPECT_EQ(int_min, ClampToInt(min - 100)); in TEST()
40 float min = std::numeric_limits<int>::min(); in TEST() local
44 int int_min = std::numeric_limits<int>::min(); in TEST()
55 EXPECT_EQ(int_min, ToFlooredInt(min)); in TEST()
56 EXPECT_EQ(int_min, ToFlooredInt(min - 100)); in TEST()
63 float min = std::numeric_limits<int>::min(); in TEST() local
67 int int_min = std::numeric_limits<int>::min(); in TEST()
[all …]
Dcubic_bezier_unittest.cc71 double min, max; in TEST() local
76 function->Range(&min, &max); in TEST()
77 EXPECT_EQ(0, min); in TEST()
82 function->Range(&min, &max); in TEST()
83 EXPECT_NEAR(min, -0.225, epsilon); in TEST()
88 function->Range(&min, &max); in TEST()
89 EXPECT_EQ(0, min); in TEST()
94 function->Range(&min, &max); in TEST()
95 EXPECT_EQ(0, min); in TEST()
100 function->Range(&min, &max); in TEST()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLMeterElement.cpp77 return std::min(std::max(value, min()), max()); in value()
85 double HTMLMeterElement::min() const in min() function in blink::HTMLMeterElement
90 void HTMLMeterElement::setMin(double min) in setMin() argument
92 setFloatingPointAttribute(minAttr, min); in setMin()
97 return std::max(getFloatingPointAttribute(maxAttr, std::max(1.0, min())), min()); in max()
107 double low = getFloatingPointAttribute(lowAttr, min()); in low()
108 return std::min(std::max(low, min()), max()); in low()
119 return std::min(std::max(high, low()), max()); in high()
129 double optimum = getFloatingPointAttribute(optimumAttr, (max() + min()) / 2); in optimum()
130 return std::min(std::max(optimum, min()), max()); in optimum()
[all …]
/external/libcxx/test/algorithms/alg.sorting/alg.min.max/
DAndroid.mk17 test_makefile := external/libcxx/test/algorithms/alg.sorting/alg.min.max/Android.mk
19 test_name := algorithms/alg.sorting/alg.min.max/max_element
23 test_name := algorithms/alg.sorting/alg.min.max/minmax_init_list_comp
27 test_name := algorithms/alg.sorting/alg.min.max/min_element_comp
31 test_name := algorithms/alg.sorting/alg.min.max/min_comp
35 test_name := algorithms/alg.sorting/alg.min.max/minmax_element
39 test_name := algorithms/alg.sorting/alg.min.max/minmax_init_list
43 test_name := algorithms/alg.sorting/alg.min.max/min
44 test_src := min.pass.cpp
47 test_name := algorithms/alg.sorting/alg.min.max/minmax
[all …]
Dmin_init_list.pass.cpp22 int i = std::min({2, 3, 1}); in main()
24 i = std::min({2, 1, 3}); in main()
26 i = std::min({3, 1, 2}); in main()
28 i = std::min({3, 2, 1}); in main()
30 i = std::min({1, 2, 3}); in main()
32 i = std::min({1, 3, 2}); in main()
36 static_assert(std::min({1, 3, 2}) == 1, ""); in main()
37 static_assert(std::min({2, 1, 3}) == 1, ""); in main()
38 static_assert(std::min({3, 2, 1}) == 1, ""); in main()
Dmin_init_list_comp.pass.cpp23 int i = std::min({2, 3, 1}, std::greater<int>()); in main()
25 i = std::min({2, 1, 3}, std::greater<int>()); in main()
27 i = std::min({3, 1, 2}, std::greater<int>()); in main()
29 i = std::min({3, 2, 1}, std::greater<int>()); in main()
31 i = std::min({1, 2, 3}, std::greater<int>()); in main()
33 i = std::min({1, 3, 2}, std::greater<int>()); in main()
37 static_assert(std::min({1, 3, 2}, std::greater<int>()) == 3, ""); in main()
38 static_assert(std::min({2, 1, 3}, std::greater<int>()) == 3, ""); in main()
39 static_assert(std::min({3, 2, 1}, std::greater<int>()) == 3, ""); in main()
/external/chromium_org/third_party/mesa/src/src/glsl/builtins/ir/
Dmin.ir1 ((function min
6 ((return (expression float min (var_ref arg0) (var_ref arg1)))))
12 ((return (expression vec2 min (var_ref arg0) (var_ref arg1)))))
18 ((return (expression vec3 min (var_ref arg0) (var_ref arg1)))))
24 ((return (expression vec4 min (var_ref arg0) (var_ref arg1)))))
30 ((return (expression vec2 min (var_ref arg0) (var_ref arg1)))))
36 ((return (expression vec3 min (var_ref arg0) (var_ref arg1)))))
42 ((return (expression vec4 min (var_ref arg0) (var_ref arg1)))))
48 ((return (expression int min (var_ref arg0) (var_ref arg1)))))
54 ((return (expression ivec2 min (var_ref arg0) (var_ref arg1)))))
[all …]
/external/mesa3d/src/glsl/builtins/ir/
Dmin.ir1 ((function min
6 ((return (expression float min (var_ref arg0) (var_ref arg1)))))
12 ((return (expression vec2 min (var_ref arg0) (var_ref arg1)))))
18 ((return (expression vec3 min (var_ref arg0) (var_ref arg1)))))
24 ((return (expression vec4 min (var_ref arg0) (var_ref arg1)))))
30 ((return (expression vec2 min (var_ref arg0) (var_ref arg1)))))
36 ((return (expression vec3 min (var_ref arg0) (var_ref arg1)))))
42 ((return (expression vec4 min (var_ref arg0) (var_ref arg1)))))
48 ((return (expression int min (var_ref arg0) (var_ref arg1)))))
54 ((return (expression ivec2 min (var_ref arg0) (var_ref arg1)))))
[all …]
/external/chromium_org/third_party/hwcplus/include/hardware/
Dhardware.h37 #define HARDWARE_MAKE_API_VERSION(maj,min) \ argument
38 ((((maj) & 0xff) << 8) | ((min) & 0xff))
40 #define HARDWARE_MAKE_API_VERSION_2(maj,min,hdr) \ argument
41 ((((maj) & 0xff) << 24) | (((min) & 0xff) << 16) | ((hdr) & 0xffff))
68 #define HARDWARE_MODULE_API_VERSION(maj,min) HARDWARE_MAKE_API_VERSION(maj,min) argument
69 #define HARDWARE_MODULE_API_VERSION_2(maj,min,hdr) HARDWARE_MAKE_API_VERSION_2(maj,min,hdr) argument
74 #define HARDWARE_DEVICE_API_VERSION(maj,min) HARDWARE_MAKE_API_VERSION(maj,min) argument
75 #define HARDWARE_DEVICE_API_VERSION_2(maj,min,hdr) HARDWARE_MAKE_API_VERSION_2(maj,min,hdr) argument
/external/skia/include/utils/
DSkRandom.h51 float nextRangeF(float min, float max) { in nextRangeF() argument
52 return min + this->nextF() * (max - min); in nextRangeF()
67 uint32_t nextRangeU(uint32_t min, uint32_t max) { in nextRangeU() argument
68 SkASSERT(min <= max); in nextRangeU()
69 uint32_t range = max - min + 1; in nextRangeU()
73 return min + this->nextU() % range; in nextRangeU()
103 SkScalar nextRangeScalar(SkScalar min, SkScalar max) { in nextRangeScalar() argument
104 return this->nextUScalar1() * (max - min) + min; in nextRangeScalar()
205 float nextRangeF(float min, float max) { in nextRangeF() argument
206 return min + this->nextF() * (max - min); in nextRangeF()
[all …]
/external/chromium_org/third_party/skia/include/utils/
DSkRandom.h51 float nextRangeF(float min, float max) { in nextRangeF() argument
52 return min + this->nextF() * (max - min); in nextRangeF()
67 uint32_t nextRangeU(uint32_t min, uint32_t max) { in nextRangeU() argument
68 SkASSERT(min <= max); in nextRangeU()
69 uint32_t range = max - min + 1; in nextRangeU()
73 return min + this->nextU() % range; in nextRangeU()
103 SkScalar nextRangeScalar(SkScalar min, SkScalar max) { in nextRangeScalar() argument
104 return this->nextUScalar1() * (max - min) + min; in nextRangeScalar()
205 float nextRangeF(float min, float max) { in nextRangeF() argument
206 return min + this->nextF() * (max - min); in nextRangeF()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/css/
DMediaFeatureNames.in30 min-color
31 min-color-index
32 min-aspect-ratio
33 min-device-aspect-ratio
34 -webkit-min-device-pixel-ratio
35 min-device-height
36 min-device-width
37 min-height
38 min-monochrome
39 min-width
[all …]
/external/deqp/framework/delibs/decpp/
DdeRandom.hpp48 float getFloat (float min, float max);
49 double getDouble (double min, double max);
50 int getInt (int min, int max);
79 inline float Random::getFloat (float min, float max) in getFloat() argument
81 DE_ASSERT(min <= max); in getFloat()
82 return min + (max-min)*getFloat(); in getFloat()
85 inline double Random::getDouble (double min, double max) in getDouble() argument
87 DE_ASSERT(min <= max); in getDouble()
88 return min + (max-min)*getDouble(); in getDouble()
91 inline int Random::getInt (int min, int max) in getInt() argument
[all …]
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/util/
DMathUtils.java25 int min = (a > b) ? b : a; in clamp() local
27 if (value < min) value = min; in clamp()
43 long min = (a > b) ? b : a; in clamp() local
45 if (value < min) value = min; in clamp()
61 float min = (a > b) ? b : a; in clamp() local
63 if (value < min) value = min; in clamp()

12345678910>>...130