Home
last modified time | relevance | path

Searched refs:SetArgPointee (Results 1 – 25 of 44) sorted by relevance

12

/external/webrtc/webrtc/modules/audio_processing/agc/
Dagc_manager_direct_unittest.cc26 using ::testing::SetArgPointee;
111 .WillOnce(DoAll(SetArgPointee<0>(5), Return(true))); in TEST_F()
116 .WillOnce(DoAll(SetArgPointee<0>(10), Return(true))); in TEST_F()
121 .WillOnce(DoAll(SetArgPointee<0>(11), Return(true))); in TEST_F()
126 .WillOnce(DoAll(SetArgPointee<0>(20), Return(true))); in TEST_F()
132 .WillOnce(DoAll(SetArgPointee<0>(5), Return(true))); in TEST_F()
135 .WillOnce(DoAll(SetArgPointee<0>(0), Return(true))); in TEST_F()
140 .WillOnce(DoAll(SetArgPointee<0>(-1), Return(true))); in TEST_F()
145 .WillOnce(DoAll(SetArgPointee<0>(-1), Return(true))); in TEST_F()
150 .WillOnce(DoAll(SetArgPointee<0>(-9), Return(true))); in TEST_F()
[all …]
/external/libbrillo/brillo/streams/
Dstream_unittest.cc21 using testing::SetArgPointee;
119 DoAll(SetArgPointee<2>(0), SetArgPointee<3>(false), Return(true))); in TEST()
153 .WillOnce(DoAll(SetArgPointee<2>(7), in TEST()
154 SetArgPointee<3>(false), in TEST()
178 DoAll(SetArgPointee<2>(5), SetArgPointee<3>(false), Return(true))); in TEST()
227 DoAll(SetArgPointee<2>(0), SetArgPointee<3>(false), Return(true))); in TEST()
243 .WillOnce(DoAll(SetArgPointee<2>(7), in TEST()
244 SetArgPointee<3>(false), in TEST()
248 DoAll(SetArgPointee<2>(0), SetArgPointee<3>(false), Return(true))); in TEST()
257 .WillOnce(DoAll(SetArgPointee<2>(3), in TEST()
[all …]
Dinput_stream_set_unittest.cc17 using testing::SetArgPointee;
107 .WillOnce(DoAll(SetArgPointee<2>(10), in TEST_F()
108 SetArgPointee<3>(false), in TEST_F()
116 .WillOnce(DoAll(SetArgPointee<2>(0), SetArgPointee<3>(true), Return(true))); in TEST_F()
118 .WillOnce(DoAll(SetArgPointee<2>(100), in TEST_F()
119 SetArgPointee<3>(false), in TEST_F()
127 .WillOnce(DoAll(SetArgPointee<2>(0), SetArgPointee<3>(true), Return(true))); in TEST_F()
139 .WillOnce(DoAll(SetArgPointee<2>(10), in TEST_F()
140 SetArgPointee<3>(false), in TEST_F()
146 .WillOnce(DoAll(SetArgPointee<2>(0), in TEST_F()
[all …]
Dopenssl_stream_bio_unittests.cc16 using testing::SetArgPointee;
42 .WillOnce(DoAll(SetArgPointee<2>(10), in TEST_F()
43 SetArgPointee<3>(false), in TEST_F()
51 .WillOnce(DoAll(SetArgPointee<2>(3), in TEST_F()
52 SetArgPointee<3>(false), in TEST_F()
60 .WillOnce(DoAll(SetArgPointee<2>(0), in TEST_F()
61 SetArgPointee<3>(false), in TEST_F()
70 .WillOnce(DoAll(SetArgPointee<2>(0), in TEST_F()
71 SetArgPointee<3>(true), in TEST_F()
88 .WillOnce(DoAll(SetArgPointee<2>(10), Return(true))); in TEST_F()
[all …]
Dmemory_stream_unittest.cc19 using testing::SetArgPointee;
148 .WillOnce(DoAll(SetArgPointee<3>(5), Return(true))); in TEST_F()
157 .WillOnce(DoAll(SetArgPointee<3>(100), Return(true))); in TEST_F()
166 .WillOnce(DoAll(SetArgPointee<3>(0), Return(true))); in TEST_F()
179 .WillOnce(DoAll(SetArgPointee<3>(5), Return(true))); in TEST_F()
187 .WillOnce(DoAll(SetArgPointee<3>(100), Return(true))); in TEST_F()
195 .WillOnce(DoAll(SetArgPointee<3>(10), Return(true))); in TEST_F()
/external/googletest/googlemock/test/
Dgmock-generated-actions_test.cc61 using testing::SetArgPointee;
423 Action<int(int*)> a = DoAll(SetArgPointee<0>(1), // NOLINT in TEST()
432 Action<int(int*, int*)> a = DoAll(SetArgPointee<0>(1), // NOLINT in TEST()
433 SetArgPointee<1>(2), in TEST()
445 DoAll(SetArgPointee<0>(1), in TEST()
446 SetArgPointee<1>(2), in TEST()
447 SetArgPointee<2>('a'), in TEST()
460 DoAll(SetArgPointee<0>(1), in TEST()
461 SetArgPointee<1>(2), in TEST()
462 SetArgPointee<2>('a'), in TEST()
[all …]
Dgmock-actions_test.cc66 using testing::SetArgPointee;
787 Action<MyFunction> a = SetArgPointee<1>(2); in TEST()
795 a = SetArgPointee<2>('a'); in TEST()
808 Action<MyFunction> a = SetArgPointee<0>("hi"); in TEST()
815 a = SetArgPointee<1>("world"); in TEST()
824 Action<MyFunction> a = SetArgPointee<0>(L"world"); in TEST()
832 Action<MyStringFunction> a2 = SetArgPointee<0>(L"world"); in TEST()
845 Action<MyFunction> a = SetArgPointee<1>(hi); in TEST()
854 a = SetArgPointee<2>(world); in TEST()
864 Action<MyFunction> a = SetArgPointee<1>(hi); in TEST()
[all …]
Dgmock_link_test.h167 using testing::SetArgPointee;
289 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(SetArgPointee<0>('y')); in TEST()
384 .WillOnce(DoAll(SetArgPointee<0>('y'), Return())); in TEST()
/external/v8/testing/gmock/test/
Dgmock-generated-actions_test.cc61 using testing::SetArgPointee;
422 Action<int(int*)> a = DoAll(SetArgPointee<0>(1), // NOLINT in TEST()
431 Action<int(int*, int*)> a = DoAll(SetArgPointee<0>(1), // NOLINT in TEST()
432 SetArgPointee<1>(2), in TEST()
444 DoAll(SetArgPointee<0>(1), in TEST()
445 SetArgPointee<1>(2), in TEST()
446 SetArgPointee<2>('a'), in TEST()
459 DoAll(SetArgPointee<0>(1), in TEST()
460 SetArgPointee<1>(2), in TEST()
461 SetArgPointee<2>('a'), in TEST()
[all …]
Dgmock-actions_test.cc66 using testing::SetArgPointee;
787 Action<MyFunction> a = SetArgPointee<1>(2); in TEST()
795 a = SetArgPointee<2>('a'); in TEST()
808 Action<MyFunction> a = SetArgPointee<0>("hi"); in TEST()
815 a = SetArgPointee<1>("world"); in TEST()
824 Action<MyFunction> a = SetArgPointee<0>(L"world"); in TEST()
832 Action<MyStringFunction> a2 = SetArgPointee<0>(L"world"); in TEST()
845 Action<MyFunction> a = SetArgPointee<1>(hi); in TEST()
854 a = SetArgPointee<2>(world); in TEST()
864 Action<MyFunction> a = SetArgPointee<1>(hi); in TEST()
[all …]
Dgmock_link_test.h167 using testing::SetArgPointee;
289 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(SetArgPointee<0>('y')); in TEST()
384 .WillOnce(DoAll(SetArgPointee<0>('y'), Return())); in TEST()
/external/google-breakpad/src/testing/test/
Dgmock-generated-actions_test.cc61 using testing::SetArgPointee;
422 Action<int(int*)> a = DoAll(SetArgPointee<0>(1), // NOLINT in TEST()
431 Action<int(int*, int*)> a = DoAll(SetArgPointee<0>(1), // NOLINT in TEST()
432 SetArgPointee<1>(2), in TEST()
444 DoAll(SetArgPointee<0>(1), in TEST()
445 SetArgPointee<1>(2), in TEST()
446 SetArgPointee<2>('a'), in TEST()
459 DoAll(SetArgPointee<0>(1), in TEST()
460 SetArgPointee<1>(2), in TEST()
461 SetArgPointee<2>('a'), in TEST()
[all …]
Dgmock-actions_test.cc72 using testing::SetArgPointee;
702 Action<MyFunction> a = SetArgPointee<1>(2); in TEST()
710 a = SetArgPointee<2>('a'); in TEST()
723 Action<MyFunction> a = SetArgPointee<0>("hi"); in TEST()
730 a = SetArgPointee<1>("world"); in TEST()
739 Action<MyFunction> a = SetArgPointee<0>(L"world"); in TEST()
747 Action<MyStringFunction> a2 = SetArgPointee<0>(L"world"); in TEST()
760 Action<MyFunction> a = SetArgPointee<1>(hi); in TEST()
769 a = SetArgPointee<2>(world); in TEST()
779 Action<MyFunction> a = SetArgPointee<1>(hi); in TEST()
[all …]
Dgmock_link_test.h167 using testing::SetArgPointee;
289 EXPECT_CALL(mock, VoidFromString(_)).WillOnce(SetArgPointee<0>('y')); in TEST()
384 .WillOnce(DoAll(SetArgPointee<0>('y'), Return())); in TEST()
/external/webrtc/talk/app/webrtc/
Dstatscollector_unittest.cc58 using testing::SetArgPointee;
545 .WillRepeatedly(DoAll(SetArgPointee<1>(kLocalTrackId), Return(true))); in AddOutgoingVideoTrackStats()
554 .WillRepeatedly(DoAll(SetArgPointee<1>(kRemoteTrackId), Return(true))); in AddIncomingVideoTrackStats()
566 .WillOnce(DoAll(SetArgPointee<1>(kLocalTrackId), Return(true))); in AddOutgoingAudioTrackStats()
578 .WillOnce(DoAll(SetArgPointee<1>(kRemoteTrackId), Return(true))); in AddIncomingAudioTrackStats()
615 .WillRepeatedly(DoAll(SetArgPointee<0>(session_stats_), in SetupAndVerifyAudioTrackStats()
628 .WillOnce(DoAll(SetArgPointee<0>(*stats_read), Return(true))); in SetupAndVerifyAudioTrackStats()
704 .WillOnce(DoAll(SetArgPointee<1>(local_certificate), Return(true))); in TestCertificateReports()
708 DoAll(SetArgPointee<1>(remote_cert.GetReference()), Return(true))); in TestCertificateReports()
710 .WillOnce(DoAll(SetArgPointee<0>(session_stats), in TestCertificateReports()
[all …]
/external/libbrillo/brillo/http/
Dhttp_transport_curl_unittest.cc21 using testing::SetArgPointee;
223 .WillRepeatedly(DoAll(SetArgPointee<2>(200), Return(CURLE_OK))); in TEST_F()
258 .WillOnce(DoAll(SetArgPointee<3>(1), in TEST_F()
261 .WillRepeatedly(DoAll(SetArgPointee<3>(0), Return(CURLM_OK))); in TEST_F()
269 .WillOnce(DoAll(SetArgPointee<1>(0), Return(&msg))) in TEST_F()
270 .WillRepeatedly(DoAll(SetArgPointee<1>(0), Return(nullptr))); in TEST_F()
272 .WillRepeatedly(DoAll(SetArgPointee<2>(connection.get()), in TEST_F()
Dhttp_connection_curl_unittest.cc25 using testing::SetArgPointee;
289 .WillOnce(DoAll(SetArgPointee<2>(status_code::Ok), Return(CURLE_OK))); in TEST_F()
309 .WillOnce(DoAll(SetArgPointee<2>(status_code::Ok), Return(CURLE_OK))); in TEST_F()
Dhttp_request_unittest.cc21 using testing::SetArgPointee;
185 .WillOnce(DoAll(SetArgPointee<2>(0), Return(true))); in TEST_F()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dneteq_impl_unittest.cc36 using ::testing::SetArgPointee;
319 .WillRepeatedly(DoAll(SetArgPointee<2>(kPayloadType), in TEST_F()
534 SetArgPointee<4>(AudioDecoder::kSpeech), in TEST_F()
577 SetArgPointee<4>(AudioDecoder::kSpeech), in TEST_F()
695 SetArgPointee<4>(AudioDecoder::kSpeech), in TEST_F()
702 SetArgPointee<4>(AudioDecoder::kComfortNoise), in TEST_F()
709 SetArgPointee<4>(AudioDecoder::kComfortNoise), in TEST_F()
716 SetArgPointee<4>(AudioDecoder::kSpeech), in TEST_F()
847 SetArgPointee<4>(AudioDecoder::kSpeech), in TEST_F()
967 SetArgPointee<4>(AudioDecoder::kSpeech), in TEST_F()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dremote_ntp_time_estimator_unittest.cc20 using ::testing::SetArgPointee;
/external/google-breakpad/src/testing/
DCHANGES12 * SetArgPointee<> now accepts string literals.
24 * SetArgumentPointee is deprecated in favor of SetArgPointee.
/external/googletest/googlemock/
DCHANGES46 * SetArgPointee<> now accepts string literals.
58 * SetArgumentPointee is deprecated in favor of SetArgPointee.
/external/v8/testing/gmock/
DCHANGES46 * SetArgPointee<> now accepts string literals.
58 * SetArgumentPointee is deprecated in favor of SetArgPointee.
/external/google-breakpad/src/testing/include/gmock/
Dgmock-actions.h982 SetArgPointee(const T& x) { in SetArgPointee() function
994 SetArgPointee(const char* p) { in SetArgPointee() function
1002 SetArgPointee(const wchar_t* p) { in SetArgPointee() function
/external/googletest/googlemock/include/gmock/
Dgmock-actions.h1109 SetArgPointee(const T& x) {
1121 SetArgPointee(const char* p) {
1129 SetArgPointee(const wchar_t* p) {

12