Home
last modified time | relevance | path

Searched refs:IsNull (Results 1 – 21 of 21) sorted by relevance

/freebsd-12.1/contrib/googletest/googletest/test/
H A Dgtest-unittest-api_test.cc139 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 DSimpleConstraintManager.cpp84 bool IsNull = !Cond.castAs<nonloc::PointerToMember>().isNullMemberPointer(); in assumeAux() local
85 bool IsFeasible = IsNull ? Assumption : !Assumption; in assumeAux()
H A DProgramState.cpp363 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 DNullabilityChecker.cpp261 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 DMangled.cpp370 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 DConstString.h355 bool IsNull() const { return m_string == nullptr; } in IsNull() function
/freebsd-12.1/contrib/googletest/googlemock/
H A DCHANGES71 * 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 Dgmock_link_test.h153 using testing::IsNull;
521 ON_CALL(mock, VoidFromString(IsNull())).WillByDefault(Return()); in TEST()
H A Dgmock-matchers_test.cc99 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 Dgmock-actions_test.cc1237 EXPECT_CALL(mock, TakeUnique(testing::IsNull())) in TEST()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprCXX.cpp2006 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 DCGVTables.cpp86 llvm::Value *IsNull = CGF.Builder.CreateIsNull(ReturnValue); in PerformReturnAdjustment() local
87 CGF.Builder.CreateCondBr(IsNull, AdjustNull, AdjustNotNull); in PerformReturnAdjustment()
H A DCGClass.cpp403 llvm::Value *IsNull = Builder.CreateIsNull(BaseAddr.getPointer()); in GetAddressOfDerivedClass() local
404 Builder.CreateCondBr(IsNull, CastNull, CastNotNull); in GetAddressOfDerivedClass()
H A DItaniumCXXABI.cpp1374 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 DMiscompilation.cpp883 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 DBaseLib.h3093 IsNull (
/freebsd-12.1/contrib/googletest/googlemock/docs/
H A DCheatSheet.md179 |`IsNull()` |`argument` is a `NULL` pointer (raw or smart).|
H A DCookBook.md1057 like `IsNull()`, `NotNull()`, and other comparison matchers to match a
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExprObjC.cpp2731 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 Dgmock-matchers.h4378 inline PolymorphicMatcher<internal::IsNullMatcher > IsNull() {
/freebsd-12.1/sys/contrib/edk2/
H A DMdePkg.dec1720 …# in the following BaseLib functions: GetNextNode(), IsNull(), IsNodeAtEnd(), SwapListEntries().<…