Home
last modified time | relevance | path

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

/freebsd-13.1/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-13.1/contrib/googletest/googlemock/include/gmock/
H A Dgmock-more-actions.h147 WithArg(const InnerAction& action) { in WithArg() function
/freebsd-13.1/contrib/googletest/googlemock/test/
H A Dgmock_link_test.h181 using testing::WithArg;
362 .WillOnce(WithArg<0>(Invoke(&InvokeHelper::StaticVoidFromString))); in TEST()
H A Dgmock-more-actions_test.cc66 using testing::WithArg;
483 Action<bool(double x, int n)> b = WithArg<1>(Invoke(Unary)); // NOLINT in TEST()
/freebsd-13.1/contrib/googletest/googlemock/docs/
H A DCheatSheet.md423 |`WithArg<N>(a)` |Pass the `N`-th (0-based) argument of the mock function to action `a` and…
H A DCookBook.md2105 * `WithArg<N>(action)` (no `s` after `Arg`) when the inner `action` takes _one_ argument.
2115 …ment of the mock function is an `int` and `my_action` takes a `double`, `WithArg<4>(my_action)` wi…