Home
last modified time | relevance | path

Searched refs:IsTrue (Results 1 – 12 of 12) sorted by relevance

/freebsd-14.2/contrib/googletest/googlemock/test/
H A Dgmock-matchers-misc_test.cc176 EXPECT_THAT(true, IsTrue()); in TEST()
179 EXPECT_THAT(false, Not(IsTrue())); in TEST()
180 EXPECT_THAT(0, Not(IsTrue())); in TEST()
182 EXPECT_THAT(nullptr, Not(IsTrue())); in TEST()
184 EXPECT_THAT(-1, IsTrue()); in TEST()
186 EXPECT_THAT(1, IsTrue()); in TEST()
188 EXPECT_THAT(2, IsTrue()); in TEST()
191 EXPECT_THAT(a, IsTrue()); in TEST()
193 EXPECT_THAT(&a, IsTrue()); in TEST()
195 EXPECT_THAT(false, Not(IsTrue())); in TEST()
[all …]
/freebsd-14.2/contrib/googletest/googlemock/include/gmock/
H A Dgmock-more-matchers.h101 MATCHER(IsTrue, negation ? "is false" : "is true") {
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonConstPropagation.cpp1134 IsTrue &= Res; in evaluateCMPrr()
1137 assert(!IsTrue || !IsFalse); in evaluateCMPrr()
1139 Result = IsTrue; in evaluateCMPrr()
1141 return IsTrue || IsFalse; in evaluateCMPrr()
1161 IsTrue &= Res; in evaluateCMPri()
1164 assert(!IsTrue || !IsFalse); in evaluateCMPri()
1166 Result = IsTrue; in evaluateCMPri()
1168 return IsTrue || IsFalse; in evaluateCMPri()
1189 IsTrue &= Res; in evaluateCMPrp()
1193 Result = IsTrue; in evaluateCMPrp()
[all …]
H A DHexagonISelLoweringHVX.cpp1089 auto IsTrue = [] (SDValue V) { in buildHvxVectorPred() local
1107 AllT &= IsTrue(V); in buildHvxVectorPred()
1127 AllT &= IsTrue(F); in buildHvxVectorPred()
/freebsd-14.2/contrib/googletest/googletest/test/
H A Dgtest_repeat_test.cc47 if (::testing::internal::IsTrue(expected_val != actual_val)) { \
/freebsd-14.2/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h931 GTEST_API_ bool IsTrue(bool condition);
1080 if (::testing::internal::IsTrue(condition)) \
/freebsd-14.2/contrib/googletest/docs/reference/
H A Dmatchers.md45 | `IsTrue()` | `argument` evaluates to `true` in a Boolean context. |
60 `IsTrue` and `IsFalse` are useful when you need to use a matcher, or for types
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.h355 llvm::Expected<bool> IsTrue() {
H A DPythonDataObjects.cpp41 return obj.get().IsTrue(); in As()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstraintElimination.cpp1366 auto ReplaceCmpWithConstant = [&](CmpInst *Cmp, bool IsTrue) { in checkAndReplaceCondition() argument
1369 CmpInst::makeCmpResultType(Cmp->getType()), IsTrue); in checkAndReplaceCondition()
/freebsd-14.2/contrib/googletest/googletest/src/
H A Dgtest-death-test.cc314 if (!::testing::internal::IsTrue(expression)) { \
H A Dgtest.cc6310 bool IsTrue(bool condition) { return condition; } in IsTrue() function
6316 if (IsTrue(false)) throw ClassUniqueToAlwaysTrue(); in AlwaysTrue()