Home
last modified time | relevance | path

Searched refs:StaticSocketDataProvider (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/net/socket/
Dssl_client_socket_pool_unittest.cc255 StaticSocketDataProvider data1; in TEST_P()
256 StaticSocketDataProvider data2; in TEST_P()
257 StaticSocketDataProvider data3; in TEST_P()
258 StaticSocketDataProvider data4; in TEST_P()
259 StaticSocketDataProvider data5; in TEST_P()
260 StaticSocketDataProvider data6; in TEST_P()
261 StaticSocketDataProvider data7; in TEST_P()
333 StaticSocketDataProvider data1; in TEST_P()
334 StaticSocketDataProvider data2; in TEST_P()
335 StaticSocketDataProvider data3; in TEST_P()
[all …]
Dsocket_test_util.cc150 StaticSocketDataProvider::StaticSocketDataProvider() in StaticSocketDataProvider() function in net::StaticSocketDataProvider
159 StaticSocketDataProvider::StaticSocketDataProvider(MockRead* reads, in StaticSocketDataProvider() function in net::StaticSocketDataProvider
171 StaticSocketDataProvider::~StaticSocketDataProvider() {} in ~StaticSocketDataProvider()
173 const MockRead& StaticSocketDataProvider::PeekRead() const { in PeekRead()
178 const MockWrite& StaticSocketDataProvider::PeekWrite() const { in PeekWrite()
183 const MockRead& StaticSocketDataProvider::PeekRead(size_t index) const { in PeekRead()
188 const MockWrite& StaticSocketDataProvider::PeekWrite(size_t index) const { in PeekWrite()
193 MockRead StaticSocketDataProvider::GetNextRead() { in GetNextRead()
199 MockWriteResult StaticSocketDataProvider::OnWrite(const std::string& data) { in OnWrite()
235 void StaticSocketDataProvider::Reset() { in Reset()
[all …]
Dsocks_client_socket_pool_unittest.cc80 data_.reset(new StaticSocketDataProvider(reads_.get(), 3, in SOCKS5MockData()
87 scoped_ptr<StaticSocketDataProvider> data_;
201 StaticSocketDataProvider socket_data; in TEST_F()
215 StaticSocketDataProvider socket_data; in TEST_F()
236 StaticSocketDataProvider socket_data( in TEST_F()
255 StaticSocketDataProvider socket_data( in TEST_F()
Dsocket_test_util.h239 class StaticSocketDataProvider : public SocketDataProvider {
241 StaticSocketDataProvider();
242 StaticSocketDataProvider(MockRead* reads,
246 virtual ~StaticSocketDataProvider();
277 DISALLOW_COPY_AND_ASSIGN(StaticSocketDataProvider);
347 class DelayedSocketData : public StaticSocketDataProvider {
404 class OrderedSocketData : public StaticSocketDataProvider {
507 class DeterministicSocketData : public StaticSocketDataProvider {
Dsocks5_client_socket_unittest.cc93 data_.reset(new StaticSocketDataProvider(reads, reads_count, in BuildMockSocket()
Dsocks_client_socket_unittest.cc71 data_.reset(new StaticSocketDataProvider(reads, reads_count, in BuildMockSocket()
/external/chromium_org/net/quic/
Dquic_network_transaction_unittest.cc323 StaticSocketDataProvider hanging_data_;
448 StaticSocketDataProvider data(http_reads, arraysize(http_reads), NULL, 0); in TEST_P()
467 StaticSocketDataProvider http_data(http_reads, arraysize(http_reads), in TEST_P()
504 StaticSocketDataProvider http_data(http_reads, arraysize(http_reads), in TEST_P()
542 StaticSocketDataProvider http_data(http_reads, arraysize(http_reads), in TEST_P()
564 StaticSocketDataProvider http_data(http_reads, arraysize(http_reads), in TEST_P()
588 StaticSocketDataProvider http_data(http_reads, arraysize(http_reads), in TEST_P()
749 StaticSocketDataProvider http_data(http_reads, arraysize(http_reads), in TEST_P()
824 StaticSocketDataProvider quic_data(quic_reads, arraysize(quic_reads), in TEST_P()
836 StaticSocketDataProvider http_data(http_reads, arraysize(http_reads), in TEST_P()
[all …]
Dquic_client_session_test.cc80 StaticSocketDataProvider socket_data_;
Dquic_http_stream_test.cc196 socket_data_.reset(new StaticSocketDataProvider(NULL, 0, mock_writes_.get(), in Initialize()
338 scoped_ptr<StaticSocketDataProvider> socket_data_;
/external/chromium_org/net/http/
Dhttp_network_layer_unittest.cc143 StaticSocketDataProvider data1(data_reads, data_reads_size, in TestProxyFallbackByMethodWithMockReads()
159 StaticSocketDataProvider data2(data_reads2, data_reads2_index, in TestProxyFallbackByMethodWithMockReads()
192 StaticSocketDataProvider data1(data_reads, arraysize(data_reads), in TestProxyFallbackToDirect()
208 StaticSocketDataProvider data2(data_reads2, arraysize(data_reads2), in TestProxyFallbackToDirect()
240 StaticSocketDataProvider data1(data_reads, arraysize(data_reads), in TestProxyFallbackFail()
242 StaticSocketDataProvider data2(data_reads, arraysize(data_reads), in TestProxyFallbackFail()
306 StaticSocketDataProvider data(data_reads, arraysize(data_reads), in TEST_F()
345 StaticSocketDataProvider data(data_reads, arraysize(data_reads), in TEST_F()
378 StaticSocketDataProvider data(data_reads, arraysize(data_reads), in TEST_F()
Dhttp_network_transaction_unittest.cc293 SimpleGetHelperResult SimpleGetHelperForData(StaticSocketDataProvider* data[], in SimpleGetHelperForData()
376 StaticSocketDataProvider reads(data_reads, reads_count, NULL, 0); in SimpleGetHelper()
377 StaticSocketDataProvider* data[] = { &reads }; in SimpleGetHelper()
962 StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); in TEST_P()
1026 StaticSocketDataProvider data1(data_reads1, arraysize(data_reads1), in TEST_P()
1073 StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); in TEST_P()
1132 StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); in TEST_P()
1174 StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); in TEST_P()
1211 StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); in TEST_P()
1241 StaticSocketDataProvider data(data_reads, arraysize(data_reads), NULL, 0); in TEST_P()
[all …]
Dhttp_network_transaction_ssl_unittest.cc115 StaticSocketDataProvider data1(NULL, 0, NULL, 0); in TEST_F()
123 StaticSocketDataProvider data2(NULL, 0, NULL, 0); in TEST_F()
131 StaticSocketDataProvider data3(NULL, 0, NULL, 0); in TEST_F()
Dhttp_stream_factory_impl_unittest.cc594 StaticSocketDataProvider socket_data1; in TEST_P()
599 StaticSocketDataProvider socket_data2; in TEST_P()
632 StaticSocketDataProvider socket_data; in TEST_P()
686 StaticSocketDataProvider socket_data; in TEST_P()
739 StaticSocketDataProvider socket_data; in TEST_P()
766 StaticSocketDataProvider socket_data; in TEST_P()
813 StaticSocketDataProvider socket_data(&mock_read, 1, NULL, 0); in TEST_P()
860 StaticSocketDataProvider socket_data; in TEST_P()
912 StaticSocketDataProvider socket_data; in TEST_P()
957 StaticSocketDataProvider socket_data(&mock_read, 1, NULL, 0); in TEST_P()
[all …]
Dhttp_stream_parser_unittest.cc827 StaticSocketDataProvider data(reads, arraysize(reads), writes, in TEST()
/external/chromium_org/jingle/glue/
Dproxy_resolving_client_socket_unittest.cc77 net::StaticSocketDataProvider socket_data1; in TEST_F()
90 net::StaticSocketDataProvider socket_data2(reads, arraysize(reads), in TEST_F()
Dfake_ssl_client_socket_unittest.cc103 new net::StaticSocketDataProvider( in SetData()
268 scoped_ptr<net::StaticSocketDataProvider> static_socket_data_provider_;
/external/chromium_org/net/socket_stream/
Dsocket_stream_unittest.cc467 StaticSocketDataProvider data_provider(NULL, 0, NULL, 0); in TEST_F()
532 StaticSocketDataProvider data1(data_reads1, arraysize(data_reads1), in TEST_F()
551 StaticSocketDataProvider data2(data_reads2, arraysize(data_reads2), in TEST_F()
609 StaticSocketDataProvider data(data_reads, arraysize(data_reads), in TEST_F()
663 StaticSocketDataProvider data1(data_reads1, arraysize(data_reads1), in TEST_F()
848 StaticSocketDataProvider data(data_reads, arraysize(data_reads), in TEST_F()
899 StaticSocketDataProvider data(data_reads, arraysize(data_reads), in TEST_F()
972 StaticSocketDataProvider data; in TEST_F()
/external/chromium_org/components/data_reduction_proxy/browser/
Ddata_reduction_proxy_protocol_unittest.cc37 using net::StaticSocketDataProvider;
144 StaticSocketDataProvider data1(data_reads, arraysize(data_reads), in TestProxyFallback()
164 StaticSocketDataProvider data2(data_reads2, arraysize(data_reads2), in TestProxyFallback()
786 StaticSocketDataProvider data1(data_reads, arraysize(data_reads), in TEST_F()
/external/chromium_org/net/ftp/
Dftp_network_transaction_unittest.cc824 ScopedVector<StaticSocketDataProvider> data_sockets; in ExecuteTransaction()
829 data_sockets.push_back(new StaticSocketDataProvider( in ExecuteTransaction()
832 data_sockets.push_back(new StaticSocketDataProvider); in ExecuteTransaction()
1114 StaticSocketDataProvider data_socket1; in TEST_P()
1115 StaticSocketDataProvider data_socket2(data_reads, arraysize(data_reads), in TEST_P()
1309 StaticSocketDataProvider ctrl_socket2(ctrl_reads, arraysize(ctrl_reads), in TEST_P()
1345 StaticSocketDataProvider ctrl_socket2(ctrl_reads, arraysize(ctrl_reads), in TEST_P()
/external/chromium_org/net/spdy/
Dspdy_session_pool_unittest.cc106 StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); in TEST_P()
147 StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); in TEST_P()
277 StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); in TEST_P()
367 StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); in RunIPPoolingTest()
Dspdy_session_unittest.cc913 StaticSocketDataProvider data( in TEST_P()
1127 StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); in TEST_P()
1282 StaticSocketDataProvider data( in TEST_P()
1482 StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); in TEST_P()
1585 StaticSocketDataProvider data(reads, arraysize(reads), in TEST_P()
1636 StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); in TEST_P()
1678 StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); in TEST_P()
1724 StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); in TEST_P()
2636 StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); in TEST_P()
3078 StaticSocketDataProvider data(reads, arraysize(reads), NULL, 0); in TEST_P()
[all …]
Dspdy_network_transaction_unittest.cc299 void RunToCompletion(StaticSocketDataProvider* data) { in RunToCompletion()
307 StaticSocketDataProvider* data, in RunToCompletionWithSSLData()
315 void AddData(StaticSocketDataProvider* data) { in AddData()
322 StaticSocketDataProvider* data, in AddDataWithSSLSocketDataProvider()
339 StaticSocketDataProvider* hanging_non_alternate_protocol_socket = in AddDataWithSSLSocketDataProvider()
340 new StaticSocketDataProvider(NULL, 0, NULL, 0); in AddDataWithSSLSocketDataProvider()
396 typedef std::vector<StaticSocketDataProvider*> DataVector;
398 typedef ScopedVector<StaticSocketDataProvider> AlternateVector;
405 scoped_ptr<StaticSocketDataProvider> first_transaction_;
573 StaticSocketDataProvider* data, in ReadResult()
[all …]
/external/chromium_org/net/dns/
Ddns_session_unittest.cc192 SocketDataProvider* data_provider = new StaticSocketDataProvider(); in CreateDatagramClientSocket()
/external/chromium_org/net/url_request/
Durl_request_http_job_unittest.cc202 StaticSocketDataProvider socket_data_;
/external/chromium_org/net/websockets/
Dwebsocket_basic_stream_test.cc83 class StrictStaticSocketDataProvider : public StaticSocketDataProvider {
90 : StaticSocketDataProvider(reads, reads_count, writes, writes_count), in StrictStaticSocketDataProvider()

12