/freebsd/contrib/googletest/googletest/test/ |
H A D | gtest-unittest-api_test.cc | 132 AssertionResult IsNull(const char* str) { in IsNull() function 154 EXPECT_TRUE(IsNull(tests[0]->value_param())); in TEST() 155 EXPECT_TRUE(IsNull(tests[0]->type_param())); in TEST() 160 EXPECT_TRUE(IsNull(tests[1]->value_param())); in TEST() 161 EXPECT_TRUE(IsNull(tests[1]->type_param())); in TEST() 166 EXPECT_TRUE(IsNull(tests[2]->value_param())); in TEST() 167 EXPECT_TRUE(IsNull(tests[2]->type_param())); in TEST() 172 EXPECT_TRUE(IsNull(tests[3]->value_param())); in TEST() 173 EXPECT_TRUE(IsNull(tests[3]->type_param())); in TEST() 193 EXPECT_TRUE(IsNull(tests[0]->value_param())); in TEST() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | SimpleConstraintManager.cpp | 84 bool IsNull = !Cond.castAs<nonloc::PointerToMember>().isNullMemberPointer(); in assumeAux() local 85 bool IsFeasible = IsNull ? Assumption : !Assumption; in assumeAux()
|
H A D | ProgramState.cpp | 370 ConditionTruthVal IsNull = isNull(V); in isNonNull() local 371 if (IsNull.isUnderconstrained()) in isNonNull() 372 return IsNull; in isNonNull() 373 return ConditionTruthVal(!IsNull.getValue()); in isNonNull()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | NullabilityChecker.cpp | 301 enum class NullConstraint { IsNull, IsNotNull, Unknown }; enumerator 309 return NullConstraint::IsNull; in getNullConstraint() 398 if (getNullConstraint(*StoredVal, State) == NullConstraint::IsNull) in checkValueAtLValForInvariantViolation() 705 Nullness == NullConstraint::IsNull); in checkPreStmt() 806 Nullness == NullConstraint::IsNull && in checkPreCall() 1157 if (Nullness == NullConstraint::IsNull) { in checkPostStmt() 1288 RhsNullness == NullConstraint::IsNull); in checkBind()
|
H A D | StdLibraryFunctionsChecker.cpp | 1206 auto [IsNonNull, IsNull] = State->assume(*Val); in apply() 1207 return IsNull && !IsNonNull; in apply() 1794 auto IsNull = [&](ArgNo ArgN) { in initFunctionSummaries() local 2172 .Case({IsNull(Ret)}, ErrnoNEZeroIrrelevant, GenericFailureMsg) in initFunctionSummaries() 2182 .Case({IsNull(Ret)}, ErrnoNEZeroIrrelevant, GenericFailureMsg) in initFunctionSummaries() 2203 .Case({IsNull(Ret)}, ErrnoNEZeroIrrelevant, GenericFailureMsg) in initFunctionSummaries() 2564 .Case({IsNull(Ret)}, ErrnoNEZeroIrrelevant, GenericFailureMsg) in initFunctionSummaries() 2575 IsNull(Ret)}, in initFunctionSummaries() 2578 IsNull(Ret)}, in initFunctionSummaries() 2809 .Case({IsNull(Ret)}, ErrnoNEZeroIrrelevant, GenericFailureMsg) in initFunctionSummaries() [all …]
|
/freebsd/contrib/googletest/googlemock/test/ |
H A D | gmock-matchers-comparisons_test.cc | 663 Matcher<std::unique_ptr<int>> m1 = IsNull(); in TEST() 1015 Matcher<int*> m1 = IsNull(); in TEST() 1021 Matcher<const char*> m2 = IsNull(); in TEST() 1026 Matcher<void*> m3 = IsNull(); in TEST() 1033 const Matcher<std::function<void()>> m = IsNull(); in TEST() 1041 Matcher<int*> m = IsNull(); in TEST() 2185 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<Derived*>(Not(IsNull()))); in TEST() 2198 EXPECT_THAT(&base, WhenDynamicCastTo<Derived*>(IsNull())); in TEST() 2201 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<OtherDerived*>(IsNull())); in TEST() 2204 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<Derived*>(IsNull())); in TEST() [all …]
|
H A D | gmock_link_test.h | 152 using testing::IsNull; 515 ON_CALL(mock, VoidFromString(IsNull())).WillByDefault(Return()); in TEST()
|
H A D | gmock-actions_test.cc | 1840 EXPECT_CALL(mock, TakeUnique(testing::IsNull())) in TEST()
|
/freebsd/contrib/llvm-project/lldb/source/Core/ |
H A D | Mangled.cpp | 263 if (m_mangled && m_demangled.IsNull()) { in GetDemangledName() 300 if (m_demangled.IsNull()) { in GetDemangledName()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | ConstString.h | 300 bool IsNull() const { return m_string == nullptr; } in IsNull() function
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprCXX.cpp | 2099 llvm::Value *IsNull = Builder.CreateIsNull(Ptr.getPointer(), "isnull"); in EmitCXXDeleteExpr() local 2101 Builder.CreateCondBr(IsNull, DeleteEnd, DeleteNotNull); in EmitCXXDeleteExpr() 2211 llvm::Value *IsNull = CGF.Builder.CreateIsNull(ThisPtr.getPointer()); in EmitTypeidFromVTable() local 2212 CGF.Builder.CreateCondBr(IsNull, BadTypeidBlock, EndBlock); in EmitTypeidFromVTable() 2333 llvm::Value *IsNull = Builder.CreateIsNull(ThisAddr.getPointer()); in EmitDynamicCast() local 2334 Builder.CreateCondBr(IsNull, CastNull, CastNotNull); in EmitDynamicCast()
|
H A D | CGVTables.cpp | 87 llvm::Value *IsNull = CGF.Builder.CreateIsNull(ReturnValue); in PerformReturnAdjustment() local 88 CGF.Builder.CreateCondBr(IsNull, AdjustNull, AdjustNotNull); in PerformReturnAdjustment()
|
H A D | CGClass.cpp | 427 llvm::Value *IsNull = Builder.CreateIsNull(BaseAddr.getPointer()); in GetAddressOfDerivedClass() local 428 Builder.CreateCondBr(IsNull, CastNull, CastNotNull); in GetAddressOfDerivedClass()
|
H A D | ItaniumCXXABI.cpp | 1494 llvm::Value *IsNull = CGF.Builder.CreateIsNull(Value); in emitDynamicCastCall() local 1495 CGF.Builder.CreateCondBr(IsNull, BadCastBlock, CastEnd); in emitDynamicCastCall()
|
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/ |
H A D | Miscompilation.cpp | 887 Value *IsNull = new ICmpInst(*EntryBB, ICmpInst::ICMP_EQ, CachedVal, in CleanupAndPrepareModules() local 889 BranchInst::Create(LookupBB, DoCallBB, IsNull, EntryBB); in CleanupAndPrepareModules()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVInstructionSelector.cpp | 1368 bool IsNull = I.getNumExplicitDefs() + 1 == I.getNumExplicitOperands(); in selectIntrinsic() local 1370 IsNull ? SPIRV::OpConstantNull : SPIRV::OpConstantComposite; in selectIntrinsic() 1375 if (!IsNull) { in selectIntrinsic()
|
/freebsd/contrib/googletest/docs/reference/ |
H A D | matchers.md | 46 | `IsNull()` | `argument` is a `NULL` pointer (raw or smart). |
|
/freebsd/sys/contrib/edk2/Include/Library/ |
H A D | BaseLib.h | 3167 IsNull (
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 2921 bool IsNull = Receiver->isNullPointerConstant(Context, in BuildInstanceMessage() local 2923 CastKind Kind = IsNull ? CK_NullToPointer : CK_IntegralToPointer; in BuildInstanceMessage()
|
/freebsd/contrib/googletest/docs/ |
H A D | gmock_cook_book.md | 1267 `IsNull()`, `NotNull()`, and other comparison matchers to match a pointer, but 2774 using ::testing::IsNull; 2780 EXPECT_THAT(mock_buzzer_.MakeBuzz("hello"), IsNull());
|
/freebsd/contrib/googletest/googlemock/include/gmock/ |
H A D | gmock-matchers.h | 4259 inline PolymorphicMatcher<internal::IsNullMatcher> IsNull() {
|
/freebsd/sys/contrib/edk2/ |
H A D | MdePkg.dec | 1902 …# in the following BaseLib functions: GetNextNode(), IsNull(), IsNodeAtEnd(), SwapListEntries().<…
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.cpp | 22499 bool IsNull = isNullConstant(RHS); in performSETCCCombine() local 22500 LHS = DAG.getNode(IsNull ? ISD::VECREDUCE_OR : ISD::VECREDUCE_AND, in performSETCCCombine() 22502 LHS = DAG.getNode(IsNull ? ISD::ZERO_EXTEND : ISD::SIGN_EXTEND, DL, ToVT, in performSETCCCombine()
|