Home
last modified time | relevance | path

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

/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-matchers-misc_test.cc177 EXPECT_THAT(true, IsTrue()); in TEST()
180 EXPECT_THAT(false, Not(IsTrue())); in TEST()
181 EXPECT_THAT(0, Not(IsTrue())); in TEST()
183 EXPECT_THAT(nullptr, Not(IsTrue())); in TEST()
185 EXPECT_THAT(-1, IsTrue()); in TEST()
187 EXPECT_THAT(1, IsTrue()); in TEST()
189 EXPECT_THAT(2, IsTrue()); in TEST()
192 EXPECT_THAT(a, IsTrue()); in TEST()
194 EXPECT_THAT(&a, IsTrue()); in TEST()
196 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.cpp1108 bool IsTrue = true, IsFalse = true; in evaluateCMPrr() local
1115 IsTrue &= Res; in evaluateCMPrr()
1118 assert(!IsTrue || !IsFalse); in evaluateCMPrr()
1120 Result = IsTrue; in evaluateCMPrr()
1122 return IsTrue || IsFalse; in evaluateCMPrr()
1136 bool IsTrue = true, IsFalse = true; in evaluateCMPri() local
1143 IsTrue &= Res; in evaluateCMPri()
1146 assert(!IsTrue || !IsFalse); in evaluateCMPri()
1148 Result = IsTrue; in evaluateCMPri()
1150 return IsTrue || IsFalse; in evaluateCMPri()
[all …]
H A DHexagonISelLoweringHVX.cpp1099 auto IsTrue = [] (SDValue V) { in buildHvxVectorPred() local
1117 AllT &= IsTrue(V); in buildHvxVectorPred()
1137 AllT &= IsTrue(F); in buildHvxVectorPred()
/freebsd/contrib/googletest/googletest/test/
H A Dgtest_repeat_test.cc47 if (::testing::internal::IsTrue(expected_val != actual_val)) { \
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSelectOptimize.cpp190 bool IsTrue, const DenseMap<const Instruction *, CostInfo> &InstCostMap, in getOpCostOnBranch() argument
192 auto *V = IsTrue ? getTrueValue() : getFalseValue(); in getOpCostOnBranch()
663 auto HasSelectLike = [](SelectGroup &SG, bool IsTrue) { in convertProfitableSIGroups() argument
665 if ((IsTrue ? SL.getTrueValue() : SL.getFalseValue()) == nullptr) in convertProfitableSIGroups()
/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h939 GTEST_API_ bool IsTrue(bool condition);
1088 if (::testing::internal::IsTrue(condition)) \
/freebsd/contrib/googletest/docs/reference/
H A Dmatchers.md47 | `IsTrue()` | `argument` evaluates to `true` in a Boolean context. |
62 `IsTrue` and `IsFalse` are useful when you need to use a matcher, or for types
/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/googletest/googletest/src/
H A Dgtest-death-test.cc316 if (!::testing::internal::IsTrue(expression)) { \
H A Dgtest.cc6485 bool IsTrue(bool condition) { return condition; } in IsTrue() function
6491 if (IsTrue(false)) throw ClassUniqueToAlwaysTrue(); in AlwaysTrue()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp1037 auto GetICmpResultCst = [&](bool IsTrue) { in ConstantFoldICmp() argument
1038 if (IsTrue) in ConstantFoldICmp()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstraintElimination.cpp1463 auto ReplaceCmpWithConstant = [&](CmpInst *Cmp, bool IsTrue) { in checkAndReplaceCondition() argument
1466 CmpInst::makeCmpResultType(Cmp->getType()), IsTrue); in checkAndReplaceCondition()
/freebsd/contrib/llvm-project/lldb/bindings/python/
H A Dpython-wrapper.swig723 if (!result.IsTrue())
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DVOP2Instructions.td567 let DstRC64 = getVALUDstForVT<DstVT, 1/*IsTrue*/, 1/*IsVOP3Encoding*/>.ret;