| /freebsd/contrib/googletest/googletest/test/ |
| H A D | gtest-unittest-api_test.cc | 132 AssertionResult IsNull(const char* str) { in IsNull() function 144 EXPECT_TRUE(IsNull(test_suite->type_param())); in TEST() 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() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SimpleConstraintManager.cpp | 83 bool IsNull = !Cond.castAs<nonloc::PointerToMember>().isNullMemberPointer(); in assumeAux() local 84 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/lldb/source/Core/ |
| H A D | Mangled.cpp | 306 if (!force && !m_demangled.IsNull()) in GetDemangledNameImpl() 310 !m_demangled.IsNull()) in GetDemangledNameImpl() 347 if (m_demangled.IsNull()) { in GetDemangledNameImpl()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NullabilityChecker.cpp | 298 enum class NullConstraint { IsNull, IsNotNull, Unknown }; enumerator 306 return NullConstraint::IsNull; in getNullConstraint() 395 if (getNullConstraint(*StoredVal, State) == NullConstraint::IsNull) in checkValueAtLValForInvariantViolation() 710 Nullness == NullConstraint::IsNull) { in checkPreStmt() 807 if (NullPassedToNonnull.isEnabled() && Nullness == NullConstraint::IsNull && in checkPreCall() 1158 if (Nullness == NullConstraint::IsNull) { in checkPostStmt() 1289 RhsNullness == NullConstraint::IsNull); in checkBind()
|
| H A D | StdLibraryFunctionsChecker.cpp | 1205 auto [IsNonNull, IsNull] = State->assume(*Val); in apply() 1206 return IsNull && !IsNonNull; in apply() 1797 auto IsNull = [&](ArgNo ArgN) { in initFunctionSummaries() local 2179 .Case({IsNull(Ret)}, ErrnoNEZeroIrrelevant, GenericFailureMsg) in initFunctionSummaries() 2189 .Case({IsNull(Ret)}, ErrnoNEZeroIrrelevant, GenericFailureMsg) in initFunctionSummaries() 2198 .Case({IsNull(Ret)}, ErrnoNEZeroIrrelevant, GenericFailureMsg)); in initFunctionSummaries() 2210 .Case({IsNull(Ret)}, ErrnoNEZeroIrrelevant, GenericFailureMsg) in initFunctionSummaries() 2220 .Case({IsNull(Ret)}, ErrnoNEZeroIrrelevant, GenericFailureMsg) in initFunctionSummaries() 2279 .Case({IsNull(Ret)}, ErrnoIrrelevant, GenericFailureMsg) in initFunctionSummaries() 2647 .Case({IsNull(Ret)}, ErrnoNEZeroIrrelevant, GenericFailureMsg) in initFunctionSummaries() [all …]
|
| /freebsd/contrib/googletest/googlemock/test/ |
| H A D | gmock-matchers-comparisons_test.cc | 719 Matcher<std::unique_ptr<int>> m1 = IsNull(); in TEST() 1071 Matcher<int*> m1 = IsNull(); in TEST() 1077 Matcher<const char*> m2 = IsNull(); in TEST() 1082 Matcher<void*> m3 = IsNull(); in TEST() 1089 const Matcher<std::function<void()>> m = IsNull(); in TEST() 1097 Matcher<int*> m = IsNull(); in TEST() 2250 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<Derived*>(Not(IsNull()))); in TEST() 2263 EXPECT_THAT(&base, WhenDynamicCastTo<Derived*>(IsNull())); in TEST() 2266 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<OtherDerived*>(IsNull())); in TEST() 2269 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<Derived*>(IsNull())); in TEST() [all …]
|
| H A D | gmock_link_test.h | 152 using testing::IsNull; 524 ON_CALL(mock, VoidFromString(IsNull())).WillByDefault(Return()); in TEST()
|
| H A D | gmock-actions_test.cc | 1904 EXPECT_CALL(mock, TakeUnique(testing::IsNull())) in TEST()
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
| H A D | ConstString.h | 311 bool IsNull() const { return m_string == nullptr; } in IsNull() function
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprCXX.cpp | 2133 llvm::Value *IsNull = Builder.CreateIsNull(Ptr, "isnull"); in EmitCXXDeleteExpr() local 2135 Builder.CreateCondBr(IsNull, DeleteEnd, DeleteNotNull); in EmitCXXDeleteExpr() 2207 llvm::Value *IsNull = CGF.Builder.CreateIsNull(ThisPtr); in EmitTypeidFromVTable() local 2208 CGF.Builder.CreateCondBr(IsNull, BadTypeidBlock, EndBlock); in EmitTypeidFromVTable() 2334 llvm::Value *IsNull = Builder.CreateIsNull(ThisAddr); in EmitDynamicCast() local 2335 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 | 425 llvm::Value *IsNull = Builder.CreateIsNull(BaseAddr); in GetAddressOfDerivedClass() local 426 Builder.CreateCondBr(IsNull, CastNull, CastNotNull); in GetAddressOfDerivedClass()
|
| H A D | ItaniumCXXABI.cpp | 1674 llvm::Value *IsNull = CGF.Builder.CreateIsNull(Value); in emitDynamicCastCall() local 1675 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 | SPIRVGlobalRegistry.cpp | 493 bool IsNull = Val->isNullValue() && ZeroAsNull; in getOrCreateCompositeOrNull() local 495 if (!IsNull) in getOrCreateCompositeOrNull() 509 if (!IsNull) { in getOrCreateCompositeOrNull()
|
| H A D | SPIRVInstructionSelector.cpp | 2922 bool IsNull = I.getNumExplicitDefs() + 1 == I.getNumExplicitOperands(); in selectIntrinsic() local 2927 if (!IsNull) { in selectIntrinsic()
|
| /freebsd/contrib/googletest/docs/reference/ |
| H A D | matchers.md | 48 | `IsNull()` | `argument` is a `NULL` pointer (raw or smart). |
|
| /freebsd/sys/contrib/edk2/Include/Library/ |
| H A D | BaseLib.h | 3174 IsNull (
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExprObjC.cpp | 2912 bool IsNull = Receiver->isNullPointerConstant(Context, in BuildInstanceMessage() local 2914 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 2780 using ::testing::IsNull; 2786 EXPECT_THAT(mock_buzzer_.MakeBuzz("hello"), IsNull());
|
| /freebsd/contrib/googletest/googlemock/include/gmock/ |
| H A D | gmock-matchers.h | 4486 inline PolymorphicMatcher<internal::IsNullMatcher> IsNull() {
|
| /freebsd/sys/contrib/edk2/ |
| H A D | MdePkg.dec | 2053 …# in the following BaseLib functions: GetNextNode(), IsNull(), IsNodeAtEnd(), SwapListEntries().<…
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 23305 bool IsNull = llvm::isNullConstant(InVal); in visitINSERT_VECTOR_ELT() local 23308 if ((IsNull || llvm::isAllOnesConstant(InVal)) && in visitINSERT_VECTOR_ELT() 23325 if (IsNull) in visitINSERT_VECTOR_ELT()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 25311 bool IsNull = isNullConstant(RHS); in performSETCCCombine() local 25312 LHS = DAG.getNode(IsNull ? ISD::VECREDUCE_OR : ISD::VECREDUCE_AND, in performSETCCCombine() 25314 LHS = DAG.getNode(IsNull ? ISD::ZERO_EXTEND : ISD::SIGN_EXTEND, DL, ToVT, in performSETCCCombine()
|