/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/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() 1158 if (Nullness == NullConstraint::IsNull) { in checkPostStmt() 1289 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 2175 .Case({IsNull(Ret)}, ErrnoNEZeroIrrelevant, GenericFailureMsg) in initFunctionSummaries() 2185 .Case({IsNull(Ret)}, ErrnoNEZeroIrrelevant, GenericFailureMsg) in initFunctionSummaries() 2194 .Case({IsNull(Ret)}, ErrnoNEZeroIrrelevant, GenericFailureMsg)); in initFunctionSummaries() 2206 .Case({IsNull(Ret)}, ErrnoNEZeroIrrelevant, GenericFailureMsg) in initFunctionSummaries() 2216 .Case({IsNull(Ret)}, ErrnoNEZeroIrrelevant, GenericFailureMsg) in initFunctionSummaries() 2275 .Case({IsNull(Ret)}, ErrnoIrrelevant, GenericFailureMsg) in initFunctionSummaries() 2643 .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() 2194 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<Derived*>(Not(IsNull()))); in TEST() 2207 EXPECT_THAT(&base, WhenDynamicCastTo<Derived*>(IsNull())); in TEST() 2210 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<OtherDerived*>(IsNull())); in TEST() 2213 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 | 1840 EXPECT_CALL(mock, TakeUnique(testing::IsNull())) in TEST()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | ProgramState.cpp | 384 ConditionTruthVal IsNull = isNull(V); in isNonNull() local 385 if (IsNull.isUnderconstrained()) in isNonNull() 386 return IsNull; in isNonNull() 387 return ConditionTruthVal(!IsNull.getValue()); in isNonNull()
|
/freebsd/contrib/llvm-project/lldb/source/Core/ |
H A D | Mangled.cpp | 273 if (m_mangled && m_demangled.IsNull()) { in GetDemangledName() 310 if (m_demangled.IsNull()) { in GetDemangledName()
|
/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 | 2096 llvm::Value *IsNull = Builder.CreateIsNull(Ptr, "isnull"); in EmitCXXDeleteExpr() local 2098 Builder.CreateCondBr(IsNull, DeleteEnd, DeleteNotNull); in EmitCXXDeleteExpr() 2170 llvm::Value *IsNull = CGF.Builder.CreateIsNull(ThisPtr); in EmitTypeidFromVTable() local 2171 CGF.Builder.CreateCondBr(IsNull, BadTypeidBlock, EndBlock); in EmitTypeidFromVTable() 2297 llvm::Value *IsNull = Builder.CreateIsNull(ThisAddr); in EmitDynamicCast() local 2298 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 | 430 llvm::Value *IsNull = Builder.CreateIsNull(BaseAddr); in GetAddressOfDerivedClass() local 431 Builder.CreateCondBr(IsNull, CastNull, CastNotNull); in GetAddressOfDerivedClass()
|
H A D | ItaniumCXXABI.cpp | 1660 llvm::Value *IsNull = CGF.Builder.CreateIsNull(Value); in emitDynamicCastCall() local 1661 CGF.Builder.CreateCondBr(IsNull, BadCastBlock, CastEnd); in emitDynamicCastCall()
|
/freebsd/contrib/llvm-project/lldb/source/Utility/ |
H A D | StructuredData.cpp |
|
/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 | 400 bool IsNull = Val->isNullValue() && ZeroAsNull; in getOrCreateCompositeOrNull() local 406 if (!IsNull) in getOrCreateCompositeOrNull() 419 if (!IsNull) { in getOrCreateCompositeOrNull()
|
H A D | SPIRVInstructionSelector.cpp | 1990 bool IsNull = I.getNumExplicitDefs() + 1 == I.getNumExplicitOperands(); in selectIntrinsic() local 1994 if (!IsNull) { in selectIntrinsic() 2003 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 | 2923 bool IsNull = Receiver->isNullPointerConstant(Context, in BuildInstanceMessage() local 2925 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 | 4260 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 | 23934 bool IsNull = isNullConstant(RHS); in performSETCCCombine() local 23935 LHS = DAG.getNode(IsNull ? ISD::VECREDUCE_OR : ISD::VECREDUCE_AND, in performSETCCCombine() 23937 LHS = DAG.getNode(IsNull ? ISD::ZERO_EXTEND : ISD::SIGN_EXTEND, DL, ToVT, in performSETCCCombine()
|