Home
last modified time | relevance | path

Searched defs:pred (Results 1 – 25 of 161) sorted by relevance

1234567

/llvm-project/clang/test/CodeGen/aarch64-sve2p1-intrinsics/
H A Dacle_sve2p1_ld1_single.c
H A Dacle_sve2p1_st1_single.c
/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/
H A Dis_partitioned.pass.cpp41 unary_counting_predicate<is_odd, int> pred((is_odd())); in main() local
50 unary_counting_predicate<is_odd, int> pred((is_odd())); in main() local
59 unary_counting_predicate<is_odd, int> pred((is_odd())); in main() local
68 unary_counting_predicate<is_odd, int> pred((is_odd())); in main() local
77 unary_counting_predicate<is_odd, int> pred((is_odd())); in main() local
86 unary_counting_predicate<is_odd, int> pred((is_odd())); in main() local
/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/
H A Dranges_remove_copy_if.pass.cpp102 constexpr void testRemoveCopyIfImpl(std::array<int, N1> in, std::array<int, N2> expected, Pred pred in testRemoveCopyIfImpl()
134 auto pred = [](int i) { return i == 2; }; in testImpl() local
142 auto pred = [](int i) { return i == 3; }; in testImpl() local
150 auto pred = [](int) { return false; }; in testImpl() local
158 auto pred = [](int) { return true; }; in testImpl() local
166 auto pred = [](int i) { return i < 2; }; in testImpl() local
174 auto pred = [](int i) { return i > 3; }; in testImpl() local
182 auto pred = [](int i) { return i < 6; }; in testImpl() local
190 auto pred = [](int) { return false; }; in testImpl() local
198 auto pred = [](int i) { return i == 1; }; in testImpl() local
[all …]
H A Dremove_if.pass.cpp60 struct pred struct
80 Iter r = std::remove_if(Iter(ia), Iter(ia+sa), pred()); in test1() argument
/llvm-project/third-party/unittest/googletest/include/gtest/
H A Dgtest_pred_impl.h88 Pred pred, const T1& v1) { in AssertPred1Helper()
104 #define GTEST_PRED1_(pred, v1, on_failure) \ argument
110 #define EXPECT_PRED1(pred, v1) GTEST_PRED1_(pred, v1, GTEST_NONFATAL_FAILURE_) argument
113 #define ASSERT_PRED1(pred, v1) GTEST_PRED1_(pred, v1, GTEST_FATAL_FAILURE_) argument
119 const char* e2, Pred pred, const T1& v1, in AssertPred2Helper()
138 #define GTEST_PRED2_(pred, v1, v2, on_failure) \ argument
145 #define EXPECT_PRED2(pred, v1, v2) \ argument
149 #define ASSERT_PRED2(pred, v1, v2) \ argument
156 const char* e2, const char* e3, Pred pred, in AssertPred3Helper()
176 #define GTEST_PRED3_(pred, v1, v2, v3, on_failure) \ argument
[all …]
/llvm-project/libcxx/test/std/ranges/range.adaptors/range.filter/
H A Dbegin.pass.cpp57 auto pred = [](int) { return true; }; in general_tests() local
66 auto pred = [](int) { return true; }; in general_tests() local
77 auto pred = [](int i) { return i == 1; }; in general_tests() local
84 auto pred = [](int) { return false; }; in general_tests() local
96 auto pred = [](int i) { return i == 1; }; in general_tests() local
103 auto pred = [](int i) { return i == 2; }; in general_tests() local
110 auto pred = [](int) { return false; }; in general_tests() local
122 auto pred = [=](int i) { return i == k; }; in general_tests() local
129 auto pred = [](int) { return false; }; in general_tests() local
153 auto pred = [](int i) mutable { return i % 2 == 0; }; in general_tests() local
[all …]
H A Dend.pass.cpp49 auto pred = [](int) { return true; }; in test() local
58 auto pred = [](int) { return true; }; in test() local
67 auto pred = [](int) { return true; }; in test() local
77 auto pred = [](int) { return true; }; in test() local
88 auto pred = [=](int i) { return i == k; }; in test() local
99 auto pred = [](int i) { return i % 2 == 0; }; in test() local
H A Dpred.pass.cpp30 Pred pred{42}; in test() local
42 Pred pred{42}; in test() local
H A Dctad.pass.cpp42 Pred pred; in test() local
50 Pred pred; in test() local
H A Dctor.view_pred.pass.cpp66 Pred pred; in test() local
80 Pred pred; in test() local
90 TrackingPred pred(&moved, &copied); in test() local
/llvm-project/libcxx/test/std/ranges/range.adaptors/range.chunk.by/
H A Dctad.pass.cpp46 Pred pred; in test() local
52 Pred pred; in test() local
57 Pred pred; in test() local
H A Dbegin.pass.cpp52 auto pred = [](int, int) { return true; }; in test() local
61 auto pred = [](int, int) { return true; }; in test() local
71 auto pred = [](int x, int y) { return x == y; }; in test() local
81 auto pred = [](int x, int y) { return x == y; }; in test() local
93 auto pred = [](int x, int y) { return x != -y; }; in test() local
114 auto pred = [](int x, int y) mutable { return x != -y; }; in test() local
123 auto pred = [](int& x, int& y) { return x != -y; }; in test() local
134 auto pred = [&](int x, int y) { in test() local
H A Dpred.pass.cpp32 Pred pred{42}; in test() local
43 Pred pred{42}; in test() local
H A Dend.pass.cpp58 auto pred = [](int, int) { return true; }; in test() local
68 auto pred = [](int x, int y) { return x <= y; }; in test() local
77 auto pred = [](int& x, int& y) { return x <= y; }; in test() local
87 auto pred = [](int const& x, int const& y) { return x <= y; }; in test() local
97 auto pred = [](const int x, const int y) { return x < y; }; in test() local
H A Dctor.view_pred.pass.cpp65 Pred pred; in test() local
85 Pred pred; in test() local
95 TrackingPred pred(&moved, &copied); in test() local
/llvm-project/libcxx/test/std/algorithms/alg.sorting/alg.min.max/
H A Dminmax_init_list_comp.pass.cpp30 binary_counting_predicate<bool(*)(int, int), int, int> pred (all_equal); in test_all_equal() local
48 binary_counting_predicate<std::greater<int>, int, int> pred ((std::greater<int>())); in main() local
/llvm-project/flang/runtime/
H A Dterminator.h103 #define RUNTIME_CHECK(terminator, pred) \ argument
109 #define INTERNAL_CHECK(pred) \ argument
/llvm-project/clang/test/Analysis/
H A Dunix-fns.c106 dispatch_once_t pred = 0; in test_dispatch_once() local
110 static dispatch_once_t pred = 0; in test_dispatch_once_neg() local
117 pthread_once_t pred = {0x30B1BCBA, {0}}; in test_pthread_once() local
121 static pthread_once_t pred = {0x30B1BCBA, {0}}; in test_pthread_once_neg() local
218 dispatch_once_t pred = 0; in test_dispatch_once_in_macro() local
234 static dispatch_once_t pred; in test_inline_dispatch_once() local
243 static dispatch_once_t pred; in test_inline_dispatch_once_reachable() local
/llvm-project/libcxx/test/std/algorithms/
H A Dranges_robust_against_nonbool.compile.pass.cpp33 auto in_pred = [&](auto func, auto pred) { in f() argument
41 auto in_in_pred = [&](auto func, auto pred) { in f() argument
[all...]
/llvm-project/clang/test/CodeGen/
H A Dattr-arm-sve-vector-bits-codegen.c46 fixed_int32_t foo(svbool_t pred, svint32_t vec) { in foo() argument
145 fixed_int32_t test_cast(svbool_t pred, svint32_t vec) { in test_cast() argument
/llvm-project/libcxx/test/std/algorithms/alg.nonmodifying/alg.adjacent.find/
H A Dranges.adjacent_find.pass.cpp108 auto pred = [&](int, int) { ++predicateCount; return false; }; in test() local
119 auto pred = [&](int, int) { ++predicateCount; return false; }; in test() local
133 auto pred = [&](int i, int j) { ++predicateCount; return i == j; }; in test() local
144 auto pred = [&](int i, int j) { ++predicateCount; return i == j; }; in test() local
/llvm-project/clang/test/CodeGenCXX/
H A Ddiscard-name-values.cpp8 bool test(bool pred) { in test()
/llvm-project/libcxx/test/libcxx/diagnostics/
H A Dranges.nodiscard.verify.cpp22 std::ranges::less_equal pred; test() local
H A Dpstl.nodiscard.verify.cpp23 auto pred = [](auto) { return false; }; in test() local

1234567