Home
last modified time | relevance | path

Searched refs:NotNull (Results 1 – 9 of 9) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp1791 auto NotNull = [&](ArgNo ArgN) { in initFunctionSummaries() local
2057 .ArgConstraint(NotNull(ArgNo(3))) in initFunctionSummaries()
2128 .ArgConstraint(NotNull(ArgNo(0))) in initFunctionSummaries()
2173 .ArgConstraint(NotNull(ArgNo(0))) in initFunctionSummaries()
2204 .ArgConstraint(NotNull(ArgNo(1))) in initFunctionSummaries()
2246 .ArgConstraint(NotNull(ArgNo(0))) in initFunctionSummaries()
2256 .ArgConstraint(NotNull(ArgNo(0))) in initFunctionSummaries()
2270 .ArgConstraint(NotNull(ArgNo(0))) in initFunctionSummaries()
2283 .ArgConstraint(NotNull(ArgNo(0))) in initFunctionSummaries()
2433 .ArgConstraint(NotNull(ArgNo(0))) in initFunctionSummaries()
[all …]
H A DStringChecker.cpp76 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-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DStackLifetime.h144 std::function<bool(const IntrinsicInst *)> NotNull( in getMarkers()
146 return make_filter_range(Instructions, NotNull); in getMarkers()
/freebsd-14.2/contrib/googletest/googlemock/test/
H A Dgmock_link_test.h163 using testing::NotNull;
508 ON_CALL(mock, VoidFromString(NotNull())).WillByDefault(Return()); in TEST()
H A Dgmock-matchers-comparisons_test.cc1048 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-14.2/contrib/googletest/docs/
H A Dgmock_cook_book.md865 using ::testing::NotNull;
870 EXPECT_CALL(foo, DoThat("Hello", NotNull()));
877 EXPECT_CALL(foo, DoThat(_, NotNull()));
1290 using ::testing::NotNull;
1293 AllOf(NotNull(), Pointee(m))
2017 using ::testing::NotNull;
2028 EXPECT_CALL(mutator, Mutate(NotNull(), 5))
2867 EXPECT_CALL(mock_buzzer_, DoShareBuzz(NotNull(), _));
3642 // In this example, we want to use NotNull() with any pointer, so
3658 NotNullMatcher NotNull() {
[all …]
/freebsd-14.2/contrib/googletest/docs/reference/
H A Dmatchers.md47 | `NotNull()` | `argument` is a non-null pointer (raw or smart). |
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp3590 Value *NotNull = convertToBool(MaskedPassThruShadow, IRB, "_mscmp"); in handleMaskedLoad() local
3593 Value *Origin = IRB.CreateSelect(NotNull, getOrigin(PassThru), PtrOrigin); in handleMaskedLoad()
/freebsd-14.2/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h4266 inline PolymorphicMatcher<internal::NotNullMatcher> NotNull() {