| /freebsd-12.1/contrib/googletest/googletest/test/ |
| H A D | gtest-unittest-api_test.cc | 139 AssertionResult IsNull(const char* str) { in IsNull() function 151 EXPECT_TRUE(IsNull(test_case->type_param())); in TEST() 161 EXPECT_TRUE(IsNull(tests[0]->value_param())); in TEST() 162 EXPECT_TRUE(IsNull(tests[0]->type_param())); in TEST() 167 EXPECT_TRUE(IsNull(tests[1]->value_param())); in TEST() 168 EXPECT_TRUE(IsNull(tests[1]->type_param())); in TEST() 173 EXPECT_TRUE(IsNull(tests[2]->value_param())); in TEST() 174 EXPECT_TRUE(IsNull(tests[2]->type_param())); in TEST() 179 EXPECT_TRUE(IsNull(tests[3]->value_param())); in TEST() 180 EXPECT_TRUE(IsNull(tests[3]->type_param())); in TEST() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/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 | 363 ConditionTruthVal IsNull = isNull(V); in isNonNull() local 364 if (IsNull.isUnderconstrained()) in isNonNull() 365 return IsNull; in isNonNull() 366 return ConditionTruthVal(!IsNull.getValue()); in isNonNull()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NullabilityChecker.cpp | 261 enum class NullConstraint { IsNull, IsNotNull, Unknown }; enumerator 269 return NullConstraint::IsNull; in getNullConstraint() 353 if (getNullConstraint(*StoredVal, State) == NullConstraint::IsNull) in checkValueAtLValForInvariantViolation() 577 Nullness == NullConstraint::IsNull); in checkPreStmt() 680 if (Filter.CheckNullPassedToNonnull && Nullness == NullConstraint::IsNull && in checkPreCall() 962 if (Nullness == NullConstraint::IsNull) { in checkPostStmt() 1093 RhsNullness == NullConstraint::IsNull); in checkBind()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Core/ |
| H A D | Mangled.cpp | 370 if (m_mangled && m_demangled.IsNull()) { in GetDemangledName() 401 if (m_demangled.IsNull()) { in GetDemangledName()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Utility/ |
| H A D | ConstString.h | 355 bool IsNull() const { return m_string == nullptr; } in IsNull() function
|
| /freebsd-12.1/contrib/googletest/googlemock/ |
| H A D | CHANGES | 71 * NotNull() and IsNull() now work with smart pointers. 101 * New feature: matchers Key(), Pair(), Args<...>(), AllArgs(), IsNull(),
|
| /freebsd-12.1/contrib/googletest/googlemock/test/ |
| H A D | gmock_link_test.h | 153 using testing::IsNull; 521 ON_CALL(mock, VoidFromString(IsNull())).WillByDefault(Return()); in TEST()
|
| H A D | gmock-matchers_test.cc | 99 using testing::IsNull; 1156 Matcher<int*> m1 = IsNull(); in TEST() 1162 Matcher<const char*> m2 = IsNull(); in TEST() 1176 Matcher<void*> m3 = IsNull(); in TEST() 1184 const Matcher<linked_ptr<int> > m = IsNull(); in TEST() 1193 const Matcher<const linked_ptr<double>&> m = IsNull(); in TEST() 1203 const Matcher<std::function<void()>> m = IsNull(); in TEST() 1212 Matcher<int*> m = IsNull(); in TEST() 3744 EXPECT_THAT(&base, WhenDynamicCastTo<Derived*>(IsNull())); in TEST() 3750 EXPECT_THAT(as_base_ptr, WhenDynamicCastTo<Derived*>(IsNull())); in TEST() [all …]
|
| H A D | gmock-actions_test.cc | 1237 EXPECT_CALL(mock, TakeUnique(testing::IsNull())) in TEST()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGExprCXX.cpp | 2006 llvm::Value *IsNull = Builder.CreateIsNull(Ptr.getPointer(), "isnull"); in EmitCXXDeleteExpr() local 2008 Builder.CreateCondBr(IsNull, DeleteEnd, DeleteNotNull); in EmitCXXDeleteExpr() 2115 llvm::Value *IsNull = CGF.Builder.CreateIsNull(ThisPtr.getPointer()); in EmitTypeidFromVTable() local 2116 CGF.Builder.CreateCondBr(IsNull, BadTypeidBlock, EndBlock); in EmitTypeidFromVTable() 2220 llvm::Value *IsNull = Builder.CreateIsNull(ThisAddr.getPointer()); in EmitDynamicCast() local 2221 Builder.CreateCondBr(IsNull, CastNull, CastNotNull); in EmitDynamicCast()
|
| H A D | CGVTables.cpp | 86 llvm::Value *IsNull = CGF.Builder.CreateIsNull(ReturnValue); in PerformReturnAdjustment() local 87 CGF.Builder.CreateCondBr(IsNull, AdjustNull, AdjustNotNull); in PerformReturnAdjustment()
|
| H A D | CGClass.cpp | 403 llvm::Value *IsNull = Builder.CreateIsNull(BaseAddr.getPointer()); in GetAddressOfDerivedClass() local 404 Builder.CreateCondBr(IsNull, CastNull, CastNotNull); in GetAddressOfDerivedClass()
|
| H A D | ItaniumCXXABI.cpp | 1374 llvm::Value *IsNull = CGF.Builder.CreateIsNull(Value); in EmitDynamicCastCall() local 1375 CGF.Builder.CreateCondBr(IsNull, BadCastBlock, CastEnd); in EmitDynamicCastCall()
|
| /freebsd-12.1/contrib/llvm/tools/bugpoint/ |
| H A D | Miscompilation.cpp | 883 Value *IsNull = new ICmpInst(*EntryBB, ICmpInst::ICMP_EQ, CachedVal, in CleanupAndPrepareModules() local 885 BranchInst::Create(LookupBB, DoCallBB, IsNull, EntryBB); in CleanupAndPrepareModules()
|
| /freebsd-12.1/sys/contrib/edk2/Include/Library/ |
| H A D | BaseLib.h | 3093 IsNull (
|
| /freebsd-12.1/contrib/googletest/googlemock/docs/ |
| H A D | CheatSheet.md | 179 |`IsNull()` |`argument` is a `NULL` pointer (raw or smart).|
|
| H A D | CookBook.md | 1057 like `IsNull()`, `NotNull()`, and other comparison matchers to match a
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaExprObjC.cpp | 2731 bool IsNull = Receiver->isNullPointerConstant(Context, in BuildInstanceMessage() local 2733 CastKind Kind = IsNull ? CK_NullToPointer : CK_IntegralToPointer; in BuildInstanceMessage()
|
| /freebsd-12.1/contrib/googletest/googlemock/include/gmock/ |
| H A D | gmock-matchers.h | 4378 inline PolymorphicMatcher<internal::IsNullMatcher > IsNull() {
|
| /freebsd-12.1/sys/contrib/edk2/ |
| H A D | MdePkg.dec | 1720 …# in the following BaseLib functions: GetNextNode(), IsNull(), IsNodeAtEnd(), SwapListEntries().<…
|