Home
last modified time | relevance | path

Searched refs:SaveArg (Results 1 – 22 of 22) sorted by relevance

/external/perfetto/src/trace_processor/
Dsyscall_tracker_unittest.cc29 using ::testing::SaveArg;
62 .WillOnce(SaveArg<3>(&begin_name)); in TEST_F()
64 .WillOnce(SaveArg<3>(&end_name)); in TEST_F()
85 .WillOnce(SaveArg<3>(&begin_name)); in TEST_F()
87 .WillOnce(SaveArg<3>(&end_name)); in TEST_F()
100 .WillOnce(SaveArg<3>(&begin_name)); in TEST_F()
102 .WillOnce(SaveArg<3>(&end_name)); in TEST_F()
/external/webrtc/webrtc/modules/audio_processing/agc/
Dagc_unittest.cc28 using ::testing::SaveArg;
114 .WillRepeatedly(SaveArg<1>(&last_level)); in TEST_F()
121 .WillRepeatedly(SaveArg<1>(&last_level)); in TEST_F()
136 .WillRepeatedly(SaveArg<1>(&last_level)); in TEST_F()
144 .WillRepeatedly(SaveArg<1>(&last_level)); in TEST_F()
/external/webrtc/webrtc/modules/desktop_capture/
Dscreen_capturer_unittest.cc23 using ::testing::SaveArg;
78 .WillOnce(SaveArg<0>(&frame)); in TEST_F()
110 .WillOnce(SaveArg<0>(&frame)); in TEST_F()
132 EXPECT_CALL(callback_, OnCaptureCompleted(_)).WillOnce(SaveArg<0>(&frame)); in TEST_F()
/external/libbrillo/brillo/streams/
Dstream_unittest.cc20 using testing::SaveArg;
129 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST()
214 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST()
231 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST()
265 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST()
375 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST()
410 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST()
422 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST()
Dfile_stream_unittest.cc29 using testing::SaveArg;
388 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST_F()
525 .WillOnce(DoAll(SaveArg<1>(&data_callback), Return(true))); in TEST_F()
/external/libbrillo/brillo/dbus/
Ddbus_signal_handler_unittest.cc18 using testing::SaveArg;
53 .WillOnce(SaveArg<2>(&signal_callback)); in CallSignal()
/external/v8/tools/clang/rewrite_to_chrome_style/tests/
Dgmock-original.cc31 .WillByDefault(testing::SaveArg<0>(&arg)); in test()
Dgmock-expected.cc31 .WillByDefault(testing::SaveArg<0>(&arg)); in Test()
/external/google-breakpad/src/common/mac/
Dmacho_reader_unittest.cc69 using testing::SaveArg;
1109 .WillOnce(DoAll(SaveArg<0>(&actual_segment), in TEST_F()
1146 .WillOnce(DoAll(SaveArg<0>(&actual_segment), in TEST_F()
1182 .WillOnce(DoAll(SaveArg<0>(&actual_segment), in TEST_F()
1219 .WillOnce(DoAll(SaveArg<0>(&actual_segment), in TEST_F()
1399 .WillOnce(DoAll(SaveArg<0>(&actual_segment), in TEST_F()
1791 .WillOnce(DoAll(SaveArg<0>(&symbols_found), in TEST_F()
1792 SaveArg<1>(&strings_found), in TEST_F()
1828 .WillOnce(DoAll(SaveArg<0>(&symbols_found), in TEST_F()
1829 SaveArg<1>(&strings_found), in TEST_F()
/external/libbrillo/brillo/http/
Dhttp_transport_curl_unittest.cc20 using testing::SaveArg;
258 .WillOnce(DoAll(SaveArg<1>(&socket_callback), Return(CURLM_OK))); in TEST_F()
263 .WillOnce(DoAll(SaveArg<1>(&timer_callback), Return(CURLM_OK))); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/
DCoroInstr.h267 enum { SaveArg, FinalArg }; enumerator
271 Value *Arg = getArgOperand(SaveArg); in getCoroSave()
/external/googletest/googlemock/include/gmock/
Dgmock-more-actions.h85 ACTION_TEMPLATE(SaveArg, in ACTION_TEMPLATE() argument
/external/grpc-grpc/test/cpp/end2end/
Dmock_test.cc49 using ::testing::SaveArg;
329 .WillRepeatedly(DoAll(SaveArg<0>(&msg), Return(true))); in TEST_F()
/external/google-breakpad/src/testing/test/
Dgmock-more-actions_test.cc62 using testing::SaveArg;
501 const Action<void(int n)> a1 = SaveArg<0>(&result); in TEST()
508 const Action<void(bool, char)> a1 = SaveArg<1>(&result); in TEST()
/external/googletest/googlemock/test/
Dgmock-more-actions_test.cc57 using testing::SaveArg;
503 const Action<void(int n)> a1 = SaveArg<0>(&result); in TEST()
510 const Action<void(bool, char)> a1 = SaveArg<1>(&result); in TEST()
Dgmock-spec-builders_test.cc93 using testing::SaveArg;
2690 ON_CALL(a, DoA).WillByDefault(SaveArg<0>(&do_a_arg0)); in TEST()
2692 ON_CALL(a, DoA(47)).WillByDefault(SaveArg<0>(&do_a_47_arg0)); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-more-actions.h169 ACTION_TEMPLATE(SaveArg, in ACTION_TEMPLATE() argument
/external/google-breakpad/src/testing/include/gmock/
Dgmock-more-actions.h152 ACTION_TEMPLATE(SaveArg, in ACTION_TEMPLATE() argument
/external/grpc-grpc/doc/
Dunit_testing.md162 EXPECT_CALL(*rw, Write(_, _)).Times(3).WillRepeatedly(DoAll(SaveArg<0>(&msg), Return(true)));
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_rtcp_impl_unittest.cc30 using ::testing::SaveArg;
/external/googletest/googlemock/docs/
DCheatSheet.md396 |`SaveArg<N>(pointer)`| Save the `N`-th (0-based) argument to `*pointer`.|
DCookBook.md1729 using ::testing::SaveArg;
1738 .WillRepeatedly(SaveArg<0>(&previous_value));
2362 Many built-in actions (`WithArgs`, `WithoutArgs`,`DeleteArg`, `SaveArg`, ...)