Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Checkers/
DCStringSyntaxChecker.cpp47 inline bool isSizeof(const Expr *E, const Expr *WithArg) { in isSizeof() argument
51 return sameDecl(UE->getArgumentExpr(), WithArg); in isSizeof()
56 inline bool isStrlen(const Expr *E, const Expr *WithArg) { in isStrlen() argument
62 sameDecl(CE->getArg(0), WithArg)); in isStrlen()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_indirect_object_holder_unittest.cpp33 .WillOnce(::testing::WithArg<0>(::testing::Invoke( in TEST()
53 .WillOnce(::testing::WithArg<0>(::testing::Invoke( in TEST()
/external/libchrome/base/
Dgmock_unittest.cc17 using testing::WithArg;
127 .WillRepeatedly(WithArg<1>(ReturnVal())); in TEST()
/external/grpc-grpc/test/cpp/end2end/
Dmock_test.cc51 using ::testing::WithArg;
331 .WillOnce(DoAll(WithArg<0>(copy(&msg)), Return(true))) in TEST_F()
332 .WillOnce(DoAll(WithArg<0>(copy(&msg)), Return(true))) in TEST_F()
333 .WillOnce(DoAll(WithArg<0>(copy(&msg)), Return(true))) in TEST_F()
/external/grpc-grpc/doc/
Dunit_testing.md164 WillOnce(DoAll(WithArg<0>(copy(&msg)), Return(true))).
165 WillOnce(DoAll(WithArg<0>(copy(&msg)), Return(true))).
166 WillOnce(DoAll(WithArg<0>(copy(&msg)), Return(true))).
/external/libbrillo/brillo/http/
Dhttp_request_unittest.cc23 using testing::WithArg;
197 .WillOnce(DoAll(WithArg<0>(Invoke(finish_request_async)), Return(23))); in TEST_F()
/external/webrtc/webrtc/video/
Dvideo_capture_input_unittest.cc30 using ::testing::WithArg;
62 WithArg<0>(Invoke(this, &VideoCaptureInputTest::AddOutputFrame))); in SetUp()
/external/google-breakpad/src/testing/include/gmock/
Dgmock-more-actions.h129 WithArg(const InnerAction& action) { in WithArg() function
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-more-actions.h146 WithArg(const InnerAction& action) { in WithArg() function
/external/googletest/googlemock/test/
Dgmock_link_test.h181 using testing::WithArg;
362 .WillOnce(WithArg<0>(Invoke(&InvokeHelper::StaticVoidFromString))); in TEST()
Dgmock-more-actions_test.cc62 using testing::WithArg;
481 Action<bool(double x, int n)> b = WithArg<1>(Invoke(Unary)); // NOLINT in TEST()
/external/google-breakpad/src/testing/test/
Dgmock_link_test.h176 using testing::WithArg;
357 .WillOnce(WithArg<0>(Invoke(&InvokeHelper::StaticVoidFromString))); in TEST()
Dgmock-more-actions_test.cc67 using testing::WithArg;
479 Action<bool(double x, int n)> b = WithArg<1>(Invoke(Unary)); // NOLINT in TEST()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dneteq_impl_unittest.cc40 using ::testing::WithArg;
320 WithArg<0>(Invoke(DeletePacketsAndReturnOk)))); in TEST_F()
/external/googletest/googlemock/include/gmock/
Dgmock-actions.h1013 WithArg(InnerAction&& action) {
/external/googletest/googlemock/docs/
DCheatSheet.md445 |`WithArg<N>(a)` |Pass the `N`-th (0-based) argument of the mock function to action `…
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…