Home
last modified time | relevance | path

Searched refs:WithArg (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCStringSyntaxChecker.cpp46 bool isSizeof(const Expr *E, const Expr *WithArg) { in isSizeof() argument
49 return sameDecl(UE->getArgumentExpr(), WithArg); in isSizeof()
54 bool isStrlen(const Expr *E, const Expr *WithArg) { in isStrlen() argument
60 sameDecl(CE->getArg(0), WithArg)); in isStrlen()
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock_link_test.h180 using testing::WithArg;
363 .WillOnce(WithArg<0>(Invoke(&InvokeHelper::StaticVoidFromString))); in TEST()
H A Dgmock-more-actions_test.cc65 using testing::WithArg;
455 Action<bool(double x, int n)> b = WithArg<1>(Invoke(Unary)); // NOLINT in TEST()
844 .WillByDefault(WithArg<1>(InvokeArgument<0>())); in TEST()
H A Dgmock-actions_test.cc1596 EXPECT_CALL(mock, Call).WillOnce(WithArg<1>(SomeAction{})); in TEST()
/freebsd/contrib/googletest/docs/reference/
H A Dactions.md103 | `WithArg<N>(a)` | Pass the `N`-th (0-based) argument of the mock function to actio…
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-actions.h1809 internal::WithArgsAction<typename std::decay<InnerAction>::type, k> WithArg(
/freebsd/contrib/googletest/docs/
H A Dgmock_cook_book.md2536 * `WithArg<N>(action)` (no `s` after `Arg`) when the inner `action` takes
2553 a `double`, `WithArg<4>(my_action)` will work.