Home
last modified time | relevance | path

Searched refs:greater (Results 1 – 25 of 401) sorted by relevance

12345678910>>...17

/external/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/
Dis_heap_comp.pass.cpp24 assert(std::is_heap(i1, i1, std::greater<int>())); in test()
25 …assert(std::is_heap(i1, i1+1, std::greater<int>()) == (std::is_heap_until(i1, i1+1, std::greater<i… in test()
28 …assert(std::is_heap(i1, i1+2, std::greater<int>()) == (std::is_heap_until(i1, i1+2, std::greater<i… in test()
29 …assert(std::is_heap(i2, i2+2, std::greater<int>()) == (std::is_heap_until(i2, i2+2, std::greater<i… in test()
30 …assert(std::is_heap(i3, i3+2, std::greater<int>()) == (std::is_heap_until(i3, i3+2, std::greater<i… in test()
38 …assert(std::is_heap(i4, i4+3, std::greater<int>()) == (std::is_heap_until(i4, i4+3, std::greater<i… in test()
39 …assert(std::is_heap(i5, i5+3, std::greater<int>()) == (std::is_heap_until(i5, i5+3, std::greater<i… in test()
40 …assert(std::is_heap(i6, i6+3, std::greater<int>()) == (std::is_heap_until(i6, i6+3, std::greater<i… in test()
41 …assert(std::is_heap(i7, i7+3, std::greater<int>()) == (std::is_heap_until(i7, i7+3, std::greater<i… in test()
42 …assert(std::is_heap(i8, i8+3, std::greater<int>()) == (std::is_heap_until(i8, i8+3, std::greater<i… in test()
[all …]
Dis_heap_until_comp.pass.cpp24 assert(std::is_heap_until(i1, i1, std::greater<int>()) == i1); in test()
25 assert(std::is_heap_until(i1, i1+1, std::greater<int>()) == i1+1); in test()
28 assert(std::is_heap_until(i1, i1+2, std::greater<int>()) == i1+2); in test()
29 assert(std::is_heap_until(i2, i2+2, std::greater<int>()) == i2+2); in test()
30 assert(std::is_heap_until(i3, i3+2, std::greater<int>()) == i3+1); in test()
38 assert(std::is_heap_until(i4, i4+3, std::greater<int>()) == i4+3); in test()
39 assert(std::is_heap_until(i5, i5+3, std::greater<int>()) == i5+3); in test()
40 assert(std::is_heap_until(i6, i6+3, std::greater<int>()) == i6+3); in test()
41 assert(std::is_heap_until(i7, i7+3, std::greater<int>()) == i7+3); in test()
42 assert(std::is_heap_until(i8, i8+3, std::greater<int>()) == i8+1); in test()
[all …]
/external/v8/test/mjsunit/
Dcompare-objects.js49 function test(a, b, less, greater) { argument
58 assertEquals(gt(a, b), greater);
59 assertEquals(lt(b, a), greater);
67 var greater = obj1 > obj2; variable
69 test(obj1, obj2, less, greater);
70 test(obj1, obj2, less, greater);
71 test(obj1, obj2, less, greater);
73 test(obj1, obj2, less, greater);
74 test(obj1, obj2, less, greater);
77 test(obj1, obj2, less, greater);
[all …]
/external/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/
Dis_sorted_comp.pass.cpp31 assert(std::is_sorted(Iter(a), Iter(a+sa), std::greater<int>())); in test()
37 assert(std::is_sorted(Iter(a), Iter(a+sa), std::greater<int>())); in test()
42 assert(!std::is_sorted(Iter(a), Iter(a+sa), std::greater<int>())); in test()
47 assert(std::is_sorted(Iter(a), Iter(a+sa), std::greater<int>())); in test()
52 assert(std::is_sorted(Iter(a), Iter(a+sa), std::greater<int>())); in test()
58 assert(std::is_sorted(Iter(a), Iter(a+sa), std::greater<int>())); in test()
63 assert(!std::is_sorted(Iter(a), Iter(a+sa), std::greater<int>())); in test()
68 assert(!std::is_sorted(Iter(a), Iter(a+sa), std::greater<int>())); in test()
73 assert(!std::is_sorted(Iter(a), Iter(a+sa), std::greater<int>())); in test()
78 assert(std::is_sorted(Iter(a), Iter(a+sa), std::greater<int>())); in test()
[all …]
Dis_sorted_until_comp.pass.cpp30 assert(std::is_sorted_until(Iter(a), Iter(a), std::greater<int>()) == Iter(a)); in test()
31 assert(std::is_sorted_until(Iter(a), Iter(a+sa), std::greater<int>()) == Iter(a+sa)); in test()
37 assert(std::is_sorted_until(Iter(a), Iter(a+sa), std::greater<int>()) == Iter(a+sa)); in test()
42 assert(std::is_sorted_until(Iter(a), Iter(a+sa), std::greater<int>()) == Iter(a+1)); in test()
47 assert(std::is_sorted_until(Iter(a), Iter(a+sa), std::greater<int>()) == Iter(a+sa)); in test()
52 assert(std::is_sorted_until(Iter(a), Iter(a+sa), std::greater<int>()) == Iter(a+sa)); in test()
58 assert(std::is_sorted_until(Iter(a), Iter(a+sa), std::greater<int>()) == Iter(a+sa)); in test()
63 assert(std::is_sorted_until(Iter(a), Iter(a+sa), std::greater<int>()) == Iter(a+2)); in test()
68 assert(std::is_sorted_until(Iter(a), Iter(a+sa), std::greater<int>()) == Iter(a+1)); in test()
73 assert(std::is_sorted_until(Iter(a), Iter(a+sa), std::greater<int>()) == Iter(a+1)); in test()
[all …]
/external/libcxx/test/std/algorithms/alg.sorting/alg.min.max/
Dminmax_init_list_comp.pass.cpp41 assert((std::minmax({1, 2, 3}, std::greater<int>()) == std::pair<int, int>(3, 1))); in main()
42 assert((std::minmax({1, 3, 2}, std::greater<int>()) == std::pair<int, int>(3, 1))); in main()
43 assert((std::minmax({2, 1, 3}, std::greater<int>()) == std::pair<int, int>(3, 1))); in main()
44 assert((std::minmax({2, 3, 1}, std::greater<int>()) == std::pair<int, int>(3, 1))); in main()
45 assert((std::minmax({3, 1, 2}, std::greater<int>()) == std::pair<int, int>(3, 1))); in main()
46 assert((std::minmax({3, 2, 1}, std::greater<int>()) == std::pair<int, int>(3, 1))); in main()
49 binary_counting_predicate<std::greater<int>, int, int> pred ((std::greater<int>())); in main()
68 static_assert((std::minmax({1, 2, 3}, std::greater<int>()) == std::pair<int, int>(3, 1)), ""); in main()
69 static_assert((std::minmax({1, 3, 2}, std::greater<int>()) == std::pair<int, int>(3, 1)), ""); in main()
70 static_assert((std::minmax({2, 1, 3}, std::greater<int>()) == std::pair<int, int>(3, 1)), ""); in main()
[all …]
Dmax_init_list_comp.pass.cpp23 int i = std::max({2, 3, 1}, std::greater<int>()); in main()
25 i = std::max({2, 1, 3}, std::greater<int>()); in main()
27 i = std::max({3, 1, 2}, std::greater<int>()); in main()
29 i = std::max({3, 2, 1}, std::greater<int>()); in main()
31 i = std::max({1, 2, 3}, std::greater<int>()); in main()
33 i = std::max({1, 3, 2}, std::greater<int>()); in main()
37 static_assert(std::max({1, 3, 2}, std::greater<int>()) == 1, ""); in main()
38 static_assert(std::max({2, 1, 3}, std::greater<int>()) == 1, ""); in main()
39 static_assert(std::max({3, 2, 1}, std::greater<int>()) == 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()
Dmax_comp.pass.cpp33 test(x, y, std::greater<int>(), x); in main()
34 test(y, x, std::greater<int>(), y); in main()
39 test(x, y, std::greater<int>(), x); in main()
40 test(y, x, std::greater<int>(), x); in main()
45 test(x, y, std::greater<int>(), y); in main()
46 test(y, x, std::greater<int>(), y); in main()
52 static_assert(std::max(x, y, std::greater<int>()) == y, "" ); in main()
53 static_assert(std::max(y, x, std::greater<int>()) == y, "" ); in main()
Dmin_comp.pass.cpp33 test(x, y, std::greater<int>(), x); in main()
34 test(y, x, std::greater<int>(), y); in main()
39 test(x, y, std::greater<int>(), y); in main()
40 test(y, x, std::greater<int>(), y); in main()
45 test(x, y, std::greater<int>(), x); in main()
46 test(y, x, std::greater<int>(), x); in main()
52 static_assert(std::min(x, y, std::greater<int>()) == x, "" ); in main()
53 static_assert(std::min(y, x, std::greater<int>()) == x, "" ); in main()
Dminmax_comp.pass.cpp36 test(x, y, std::greater<int>(), x, y); in main()
37 test(y, x, std::greater<int>(), y, x); in main()
42 test(x, y, std::greater<int>(), y, x); in main()
43 test(y, x, std::greater<int>(), y, x); in main()
48 test(x, y, std::greater<int>(), x, y); in main()
49 test(y, x, std::greater<int>(), x, y); in main()
57 constexpr auto p1 = std::minmax(x, y, std::greater<>()); in main()
60 constexpr auto p2 = std::minmax(y, x, std::greater<>()); in main()
/external/clang/test/SemaCXX/
Dnamespace.cpp75 struct greater {}; struct
78 extern op::greater const greater;
84 op::greater const greater = op::greater(); variable
89 { numeric::greater(l, r); } in f()
/external/valgrind/none/tests/s390x/
Dclgij.stdout.exp9 greater than
11 greater or equal
12 greater or equal
15 greater than
17 greater or equal
18 greater or equal
Dclgrj.stdout.exp9 greater than
11 greater or equal
12 greater or equal
15 greater than
17 greater or equal
18 greater or equal
Dclij.stdout.exp9 greater than
11 greater or equal
12 greater or equal
15 greater than
17 greater or equal
18 greater or equal
Dcgij.stdout.exp9 greater than
11 greater or equal
12 greater or equal
15 greater than
17 greater or equal
18 greater or equal
Dcrj.stdout.exp9 greater than
11 greater or equal
12 greater or equal
15 greater than
17 greater or equal
18 greater or equal
Dcij.stdout.exp9 greater than
11 greater or equal
12 greater or equal
15 greater than
17 greater or equal
18 greater or equal
Dclrj.stdout.exp9 greater than
11 greater or equal
12 greater or equal
15 greater than
17 greater or equal
18 greater or equal
Dcgrj.stdout.exp9 greater than
11 greater or equal
12 greater or equal
15 greater than
17 greater or equal
18 greater or equal
/external/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/make.heap/
Dmake_heap_comp.pass.cpp42 std::make_heap(ia, ia+N, std::greater<int>()); in test()
43 assert(std::is_heap(ia, ia+N, std::greater<int>())); in test()
48 binary_counting_predicate<std::greater<int>, int, int> pred ((std::greater<int>())); in test()
58 binary_counting_predicate<std::greater<int>, int, int> pred ((std::greater<int>())); in test()
68 binary_counting_predicate<std::greater<int>, int, int> pred ((std::greater<int>())); in test()
/external/libcxx/test/std/algorithms/alg.sorting/alg.binary.search/equal.range/
Dequal_range_comp.pass.cpp29 std::pair<Iter, Iter> i = std::equal_range(first, last, value, std::greater<int>()); in test()
31 assert(std::greater<int>()(*j, value)); in test()
33 assert(!std::greater<int>()(*j, value)); in test()
35 assert(!std::greater<int>()(value, *j)); in test()
37 assert(std::greater<int>()(value, *j)); in test()
54 std::sort(v.begin(), v.end(), std::greater<int>()); in test()
/external/clang/lib/Parse/
DParseTemplate.cpp325 if (!Tok.is(tok::greater) && !Tok.is(tok::greatergreater)) in ParseTemplateParameters()
334 Tok.setKind(tok::greater); in ParseTemplateParameters()
337 } else if (!TryConsumeToken(tok::greater, RAngleLoc) && Failed) { in ParseTemplateParameters()
338 Diag(Tok.getLocation(), diag::err_expected) << tok::greater; in ParseTemplateParameters()
362 SkipUntil(tok::comma, tok::greater, tok::greatergreater, in ParseTemplateParameterList()
369 } else if (Tok.is(tok::greater) || Tok.is(tok::greatergreater)) { in ParseTemplateParameterList()
377 SkipUntil(tok::comma, tok::greater, tok::greatergreater, in ParseTemplateParameterList()
394 case tok::greater: in isStartOfTemplateTypeParameter()
411 case tok::greater: in isStartOfTemplateTypeParameter()
438 case tok::greater: in isStartOfTemplateTypeParameter()
[all …]
/external/libcxx/test/std/utilities/function.objects/comparisons/
Dgreater.pass.cpp20 typedef std::greater<int> F; in main()
29 typedef std::greater<> F2; in main()
39 constexpr bool foo = std::greater<int> () (36, 36); in main()
42 constexpr bool bar = std::greater<> () (36.0, 36); in main()
/external/eigen/unsupported/Eigen/src/Polynomials/
DPolynomialSolver.h102 std::greater<Scalar> greater; in greatestRoot() local
103 return selectComplexRoot_withRespectToNorm( greater ); in greatestRoot()
216 std::greater<Scalar> greater; variable
217 … return selectRealRoot_withRespectToAbsRealPart( greater, hasArealRoot, absImaginaryThreshold );
262 std::greater<Scalar> greater; variable
263 return selectRealRoot_withRespectToRealPart( greater, hasArealRoot, absImaginaryThreshold );

12345678910>>...17