Home
last modified time | relevance | path

Searched refs:writes_ (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/net/socket/
Dsocks_client_socket_pool_unittest.cc68 writes_.reset(new MockWrite[3]); in SOCKS5MockData()
69 writes_[0] = MockWrite(mode, kSOCKS5GreetRequest, in SOCKS5MockData()
71 writes_[1] = MockWrite(mode, kSOCKS5OkRequest, kSOCKS5OkRequestLength); in SOCKS5MockData()
72 writes_[2] = MockWrite(mode, 0); in SOCKS5MockData()
81 writes_.get(), 3)); in SOCKS5MockData()
88 scoped_ptr<MockWrite[]> writes_; member in net::__anon7791b9250111::SOCKSClientSocketPoolTest::SOCKS5MockData
Dsocket_test_util.cc154 writes_(NULL), in StaticSocketDataProvider()
166 writes_(writes), in StaticSocketDataProvider()
180 return writes_[write_index_]; in PeekWrite()
190 return writes_[index]; in PeekWrite()
200 if (!writes_) { in OnWrite()
213 MockWrite* w = &writes_[write_index_++]; in OnWrite()
Dsocket_test_util.h273 MockWrite* writes_; variable
/external/chromium_org/net/quic/
Dquic_http_stream_test.cc164 for (size_t i = 0; i < writes_.size(); i++) { in ~QuicHttpStreamTest()
165 delete writes_[i].packet; in ~QuicHttpStreamTest()
171 writes_.push_back(PacketToWrite(SYNCHRONOUS, packet.release())); in AddWrite()
176 return writes_[pos].packet; in GetWrite()
189 mock_writes_.reset(new MockWrite[writes_.size()]); in Initialize()
190 for (size_t i = 0; i < writes_.size(); i++) { in Initialize()
191 mock_writes_[i] = MockWrite(writes_[i].mode, in Initialize()
192 writes_[i].packet->data(), in Initialize()
193 writes_[i].packet->length()); in Initialize()
197 writes_.size())); in Initialize()
[all …]
Dquic_network_transaction_unittest.cc83 writes_.push_back(MockWrite(SYNCHRONOUS, packet->data(), packet->length(), in AddWrite()
91 MockWrite* writes = writes_.empty() ? NULL : &writes_[0]; in AddDelayedSocketDataToFactory()
93 delay, reads, reads_.size(), writes, writes_.size())); in AddDelayedSocketDataToFactory()
99 std::vector<MockWrite> writes_; member in net::test::MockQuicData
/external/chromium_org/jingle/glue/
Dchrome_async_socket_unittest.cc40 EXPECT_TRUE(writes_.empty()); in ~AsyncSocketDataProvider()
61 DCHECK(!writes_.empty()); in OnWrite()
62 net::MockWrite mock_write = writes_.front(); in OnWrite()
63 writes_.pop_front(); in OnWrite()
93 writes_.push_back(mock_write); in AddWrite()
100 std::deque<net::MockWrite> writes_; member in jingle_glue::__anon1b39a07c0111::AsyncSocketDataProvider
/external/chromium_org/net/http/
Dhttp_stream_parser_unittest.cc496 writes_.push_back(MockWrite( in SimpleGetRunner()
521 &reads_.front(), reads_.size(), &writes_.front(), writes_.size())); in SetupParserAndSendRequest()
523 data_->SetStop(reads_.size() + writes_.size()); in SetupParserAndSendRequest()
573 std::vector<MockWrite> writes_; member in net::__anon4a7fe0510111::SimpleGetRunner
/external/chromium_org/net/dns/
Ddns_transaction_unittest.cc47 writes_.push_back(MockWrite(mode, in DnsSocketData()
52 writes_.push_back(MockWrite(mode, in DnsSocketData()
117 &writes_[0], writes_.size())); in GetProvider()
139 std::vector<MockWrite> writes_; member in net::__anon4bc59b490111::DnsSocketData
/external/chromium_org/net/spdy/
Dspdy_stream_unittest.cc78 writes_.push_back(CreateMockWrite(frame, offset_++)); in AddWrite()
94 return vector_as_array(&writes_); in GetWrites()
98 return writes_.size(); in GetNumWrites()
107 std::vector<MockWrite> writes_; member in net::test::__anon9c24d0050111::SpdyStreamTest
/external/chromium_org/content/browser/indexed_db/
Dindexed_db_backing_store_unittest.cc110 return writes_; in writes()
112 void ClearWrites() { writes_.clear(); } in ClearWrites()
130 writes_.push_back(descriptor); in WriteBlobFile()
172 std::vector<Transaction::WriteDescriptor> writes_; member in content::__anon143584470111::TestableIndexedDBBackingStore
/external/chromium_org/extensions/browser/api/cast_channel/
Dcast_socket_unittest.cc226 writes_.push_back(write); in AddWriteResult()
304 reads_.data(), reads_.size(), writes_.data(), writes_.size())); in CreateSslSocket()
333 std::vector<net::MockWrite> writes_; member in extensions::core_api::cast_channel::TestCastSocket