Home
last modified time | relevance | path

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

/freebsd/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/contrib/googletest/googlemock/include/gmock/
H A Dgmock-more-matchers.h101 MATCHER(IsTrue, negation ? "is false" : "is true") {
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonConstPropagation.cpp1127 bool IsTrue = true, IsFalse = true; in evaluateCMPrr() local
1134 IsTrue &= Res; in evaluateCMPrr()
1137 assert(!IsTrue || !IsFalse); in evaluateCMPrr()
1138 // The actual logical value of the comparison is same as IsTrue. in evaluateCMPrr()
1139 Result = IsTrue; in evaluateCMPrr()
1141 return IsTrue || IsFalse; in evaluateCMPrr()
1154 bool IsTrue = true, IsFalse = true; in evaluateCMPri() local
1161 IsTrue &= Res; in evaluateCMPri()
1164 assert(!IsTrue || !IsFalse); in evaluateCMPri()
1165 // The actual logical value of the comparison is same as IsTrue in evaluateCMPri()
1182 bool IsTrue = true, IsFalse = true; evaluateCMPrp() local
[all...]
H A DHexagonISelLoweringHVX.cpp1089 auto IsTrue = [] (SDValue V) { in buildHvxVectorPred()
1107 AllT &= IsTrue(V); in buildHvxVectorPred()
1127 AllT &= IsTrue(F); in buildHvxVectorPred()
1090 auto IsTrue = [] (SDValue V) { buildHvxVectorPred() local
/freebsd/contrib/googletest/googletest/test/
H A Dgtest_repeat_test.cc47 if (::testing::internal::IsTrue(expected_val != actual_val)) { \
/freebsd/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/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h971 GTEST_API_ bool IsTrue(bool condition);
1120 if (::testing::internal::IsTrue(condition)) \
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.h357 llvm::Expected<bool> IsTrue() {
H A DPythonDataObjects.cpp41 return obj.get().IsTrue(); in As()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstraintElimination.cpp1404 auto ReplaceCmpWithConstant = [&](CmpInst *Cmp, bool IsTrue) { in checkAndReplaceCondition() argument
1407 CmpInst::makeCmpResultType(Cmp->getType()), IsTrue); in checkAndReplaceCondition()
/freebsd/contrib/googletest/googletest/src/
H A Dgtest-death-test.cc316 if (!::testing::internal::IsTrue(expression)) { \
H A Dgtest.cc6362 bool IsTrue(bool condition) { return condition; } in IsTrue() function
6368 if (IsTrue(false)) throw ClassUniqueToAlwaysTrue(); in AlwaysTrue()