Searched refs:NotNull (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | StdLibraryFunctionsChecker.cpp | 1791 auto NotNull = [&](ArgNo ArgN) { in initFunctionSummaries() local 2050 .ArgConstraint(NotNull(ArgNo(3))) in initFunctionSummaries() 2121 .ArgConstraint(NotNull(ArgNo(0))) in initFunctionSummaries() 2122 .Case({NotNull(Ret)}, ErrnoIrrelevant, in initFunctionSummaries() 2126 GetenvSummary.Case({NotNull(Ret)->negate()}, ErrnoIrrelevant, in initFunctionSummaries() 2144 .ArgConstraint(NotNull(ArgNo(0)))); in initFunctionSummaries() 2174 .Case({NotNull(Ret)}, ErrnoMustNotBeChecked, GenericSuccessMsg) in initFunctionSummaries() 2176 .ArgConstraint(NotNull(ArgNo(0))) in initFunctionSummaries() 2177 .ArgConstraint(NotNull(ArgNo(1)))); in initFunctionSummaries() 2184 .Case({NotNull(Ret)}, ErrnoMustNotBeChecked, GenericSuccessMsg) in initFunctionSummaries() [all …]
|
H A D | StringChecker.cpp | 76 ProgramStateRef NotNull, Null; in checkPreCall() local 77 std::tie(NotNull, Null) = C.getState()->assume(*Param); in checkPreCall() 79 if (NotNull) { in checkPreCall() 86 C.addTransition(NotNull, Null ? C.getNoteTag(Callback) : nullptr); in checkPreCall()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | StackLifetime.h | 144 std::function<bool(const IntrinsicInst *)> NotNull( in getMarkers() 146 return make_filter_range(Instructions, NotNull); in getMarkers()
|
/freebsd/contrib/googletest/googlemock/test/ |
H A D | gmock_link_test.h | 163 using testing::NotNull; 517 ON_CALL(mock, VoidFromString(NotNull())).WillByDefault(Return()); in TEST()
|
H A D | gmock-matchers-comparisons_test.cc | 1048 Matcher<int*> m1 = NotNull(); in TEST() 1054 Matcher<const char*> m2 = NotNull(); in TEST() 1061 const Matcher<std::shared_ptr<int>> m = NotNull(); in TEST() 1070 const Matcher<const std::shared_ptr<double>&> m = NotNull(); in TEST() 1079 const Matcher<std::function<void()>> m = NotNull(); in TEST() 1087 Matcher<int*> m = NotNull(); in TEST()
|
/freebsd/contrib/googletest/docs/ |
H A D | gmock_cook_book.md | 865 using ::testing::NotNull; 870 EXPECT_CALL(foo, DoThat("Hello", NotNull())); 877 EXPECT_CALL(foo, DoThat(_, NotNull())); 1267 `IsNull()`, `NotNull()`, and other comparison matchers to match a pointer, but 1290 using ::testing::NotNull; 1293 AllOf(NotNull(), Pointee(m)) 2023 using ::testing::NotNull; 2034 EXPECT_CALL(mutator, Mutate(NotNull(), 5)) 2833 EXPECT_CALL(mock_buzzer_, ShareBuzz(NotNull(), _)).WillOnce(Return(true)); 2873 EXPECT_CALL(mock_buzzer_, DoShareBuzz(NotNull(), _)); [all …]
|
/freebsd/contrib/googletest/docs/reference/ |
H A D | matchers.md | 47 | `NotNull()` | `argument` is a non-null pointer (raw or smart). |
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | MemorySanitizer.cpp | 3731 Value *NotNull = convertToBool(MaskedPassThruShadow, IRB, "_mscmp"); in handleMaskedLoad() local 3734 Value *Origin = IRB.CreateSelect(NotNull, getOrigin(PassThru), PtrOrigin); in handleMaskedLoad()
|
/freebsd/contrib/googletest/googlemock/include/gmock/ |
H A D | gmock-matchers.h | 4267 inline PolymorphicMatcher<internal::NotNullMatcher> NotNull() {
|