/external/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/ |
D | is_heap_comp.pass.cpp | 24 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 …]
|
D | is_heap_until_comp.pass.cpp | 24 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/ |
D | compare-objects.js | 49 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/ |
D | is_sorted_comp.pass.cpp | 31 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 …]
|
D | is_sorted_until_comp.pass.cpp | 30 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/ |
D | minmax_init_list_comp.pass.cpp | 41 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 …]
|
D | max_init_list_comp.pass.cpp | 23 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()
|
D | min_init_list_comp.pass.cpp | 23 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()
|
D | max_comp.pass.cpp | 33 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()
|
D | min_comp.pass.cpp | 33 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()
|
D | minmax_comp.pass.cpp | 36 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/ |
D | namespace.cpp | 75 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/ |
D | clgij.stdout.exp | 9 greater than 11 greater or equal 12 greater or equal 15 greater than 17 greater or equal 18 greater or equal
|
D | clgrj.stdout.exp | 9 greater than 11 greater or equal 12 greater or equal 15 greater than 17 greater or equal 18 greater or equal
|
D | clij.stdout.exp | 9 greater than 11 greater or equal 12 greater or equal 15 greater than 17 greater or equal 18 greater or equal
|
D | cgij.stdout.exp | 9 greater than 11 greater or equal 12 greater or equal 15 greater than 17 greater or equal 18 greater or equal
|
D | crj.stdout.exp | 9 greater than 11 greater or equal 12 greater or equal 15 greater than 17 greater or equal 18 greater or equal
|
D | cij.stdout.exp | 9 greater than 11 greater or equal 12 greater or equal 15 greater than 17 greater or equal 18 greater or equal
|
D | clrj.stdout.exp | 9 greater than 11 greater or equal 12 greater or equal 15 greater than 17 greater or equal 18 greater or equal
|
D | cgrj.stdout.exp | 9 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/ |
D | make_heap_comp.pass.cpp | 42 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/ |
D | equal_range_comp.pass.cpp | 29 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/ |
D | ParseTemplate.cpp | 325 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/ |
D | greater.pass.cpp | 20 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/ |
D | PolynomialSolver.h | 102 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 );
|