HomeSort by relevance Sort by last modified time
    Searched refs:MockWrite (Results 1 - 20 of 20) sorted by null

  /external/chromium/net/socket/
deterministic_socket_data_unittest.cc 32 void Initialize(MockRead* reads, size_t reads_count, MockWrite* writes,
90 MockWrite* writes,
297 MockWrite writes[] = {
298 MockWrite(false, kMsg1, kLen1, 0), // Sync Read
308 MockWrite writes[] = {
309 MockWrite(false, kMsg1, kLen1, 1), // Sync Write
320 MockWrite writes[] = {
321 MockWrite(false, kMsg1, kLen1, 0), // Sync Write
332 MockWrite writes[] = {
333 MockWrite(false, kMsg1, kLen1, 0), // Sync Writ
    [all...]
socks5_client_socket_unittest.cc 36 MockWrite writes[],
78 MockWrite writes[],
114 MockWrite data_writes[] = {
115 MockWrite(true, kSOCKS5GreetRequest, kSOCKS5GreetRequestLength),
116 MockWrite(true, kOkRequest, arraysize(kOkRequest)),
117 MockWrite(true, payload_write.data(), payload_write.size()) };
184 MockWrite data_writes[] = {
185 MockWrite(false, kSOCKS5GreetRequest, kSOCKS5GreetRequestLength),
186 MockWrite(false, request.data(), request.size())
213 MockWrite data_writes[] = {MockWrite()}
    [all...]
socks_client_socket_unittest.cc 31 MockWrite writes[], size_t writes_count,
58 MockWrite writes[],
123 MockWrite data_writes[] = {
124 MockWrite(true, kSOCKSOkRequest, arraysize(kSOCKSOkRequest)),
125 MockWrite(true, payload_write.data(), payload_write.size()) };
198 MockWrite data_writes[] = {
199 MockWrite(false, kSOCKSOkRequest, arraysize(kSOCKSOkRequest)) };
234 MockWrite data_writes[] = {
235 MockWrite(true, kSOCKSOkRequest, arraysize(kSOCKSOkRequest)) };
268 MockWrite data_writes[] =
    [all...]
socks_client_socket_pool_unittest.cc 31 writes_.reset(new MockWrite[3]);
32 writes_[0] = MockWrite(async, kSOCKS5GreetRequest,
34 writes_[1] = MockWrite(async, kSOCKS5OkRequest, kSOCKS5OkRequestLength);
35 writes_[2] = MockWrite(async, 0);
51 scoped_array<MockWrite> writes_;
52 scoped_array<MockWrite> reads_;
socket_test_util.h 119 // MockWrite uses the same member fields as MockRead, but with different
123 typedef MockRead MockWrite;
168 MockWrite* writes, size_t writes_count);
173 const MockWrite& PeekWrite() const;
176 const MockWrite& PeekWrite(size_t index) const;
196 MockWrite* writes_;
265 // |writes| the list of MockWrite completions.
267 // Note: The MockRead and MockWrite lists musts end with a EOF
271 MockWrite* writes, size_t writes_count);
277 // |writes| the list of MockWrite completions
    [all...]
socket_test_util.cc 130 MockWrite* writes,
147 const MockWrite& StaticSocketDataProvider::PeekWrite() const {
157 const MockWrite& StaticSocketDataProvider::PeekWrite(size_t index) const {
178 net::MockWrite* w = &writes_[write_index_++];
250 MockWrite* writes, size_t writes_count)
259 size_t reads_count, MockWrite* writes, size_t writes_count)
302 MockRead* reads, size_t reads_count, MockWrite* writes, size_t writes_count)
311 MockWrite* writes, size_t writes_count)
400 size_t reads_count, MockWrite* writes, size_t writes_count)
494 const MockWrite& next_write = StaticSocketDataProvider::PeekWrite()
    [all...]
ssl_client_socket_pool_unittest.cc 545 MockWrite writes[] = {
546 MockWrite(false,
577 MockWrite writes[] = {
578 MockWrite("CONNECT host:80 HTTP/1.1\r\n"
611 MockWrite writes[] = {
612 MockWrite("CONNECT host:80 HTTP/1.1\r\n"
  /external/chromium/net/http/
http_proxy_client_socket_pool_unittest.cc 148 MockWrite* writes, size_t writes_count,
150 MockWrite* spdy_writes, size_t spdy_writes_count) {
238 MockWrite writes[] = {
239 MockWrite(true, 0, "CONNECT www.google.com:443 HTTP/1.1\r\n"
252 MockWrite spdy_writes[] = {
298 MockWrite writes[] = {
299 MockWrite(false, 0,
324 MockWrite writes[] = {
325 MockWrite("CONNECT www.google.com:443 HTTP/1.1\r\n"
336 MockWrite spdy_writes[] =
    [all...]
http_network_transaction_unittest.cc 580 MockWrite data_writes1[] = {
581 MockWrite("HEAD / HTTP/1.1\r\n"
    [all...]
http_network_layer_unittest.cc 79 MockWrite data_writes[] = {
80 MockWrite("GET / HTTP/1.1\r\n"
  /external/chromium/net/socket_stream/
socket_stream_unittest.cc 249 MockWrite data_writes[] = {
250 MockWrite(SocketStreamTest::kWebSocketHandshakeRequest),
251 MockWrite(true, "\0message1\xff", 10),
252 MockWrite(true, "\0message2\xff", 10)
290 MockWrite data_writes1[] = {
291 MockWrite("CONNECT example.com:80 HTTP/1.1\r\n"
304 MockWrite data_writes2[] = {
305 MockWrite("CONNECT example.com:80 HTTP/1.1\r\n"
  /external/chromium/net/spdy/
spdy_proxy_client_socket_unittest.cc 63 void Initialize(MockRead* reads, size_t reads_count, MockWrite* writes,
164 MockWrite* writes,
419 MockWrite writes[] = {
440 MockWrite writes[] = {
463 MockWrite writes[] = {
483 MockWrite writes[] = {
505 MockWrite writes[] = {
528 MockWrite writes[] = {
557 MockWrite writes[] = {
582 MockWrite writes[] =
    [all...]
spdy_test_util.h 51 MockWrite* ChopWriteFrame(const char* data, int length, int num_chunks);
56 MockWrite* ChopWriteFrame(const spdy::SpdyFrame& frame, int num_chunks);
309 // Create an async MockWrite from the given SpdyFrame.
310 MockWrite CreateMockWrite(const spdy::SpdyFrame& req);
312 // Create an async MockWrite from the given SpdyFrame and sequence number.
313 MockWrite CreateMockWrite(const spdy::SpdyFrame& req, int seq);
315 MockWrite CreateMockWrite(const spdy::SpdyFrame& req, int seq, bool async);
spdy_http_stream_unittest.cc 26 MockWrite* writes, size_t writes_count,
59 MockWrite writes[] = {
90 // This triggers the MockWrite and read 2
111 MockWrite writes[] = {
151 // This triggers the MockWrite and read 2
173 MockWrite writes[] = {
210 // This triggers the MockWrite and read 2
spdy_network_transaction_unittest.cc 528 MockWrite writes[] = { CreateMockWrite(*req) };
555 MockWrite writes[] = { CreateMockWrite(*req) };
629 MockWrite writes[] = {
719 MockWrite writes[] = {
806 MockWrite writes[] = {
    [all...]
spdy_test_util.cc 23 MockWrite* ChopWriteFrame(const char* data, int length, int num_chunks) {
24 MockWrite* chunks = new MockWrite[num_chunks];
30 chunks[index] = MockWrite(true, ptr, chunk_size);
38 MockWrite* ChopWriteFrame(const spdy::SpdyFrame& frame, int num_chunks) {
834 // Create a MockWrite from the given SpdyFrame.
835 MockWrite CreateMockWrite(const spdy::SpdyFrame& req) {
836 return MockWrite(
840 // Create a MockWrite from the given SpdyFrame and sequence number.
841 MockWrite CreateMockWrite(const spdy::SpdyFrame& req, int seq)
    [all...]
spdy_stream_unittest.cc 167 MockWrite writes[] = {
spdy_session_unittest.cc 361 MockWrite writes[] = {
  /external/chromium/net/websockets/
websocket_unittest.cc 156 MockWrite data_writes[] = {
157 MockWrite("GET /demo HTTP/1.1\r\n"
219 MockWrite data_writes[] = {
220 MockWrite("GET /demo HTTP/1.1\r\n"
  /external/chromium/net/ftp/
ftp_network_transaction_unittest.cc     [all...]

Completed in 156 milliseconds