Home
last modified time | relevance | path

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

/external/chromium_org/net/spdy/
Dhpack_huffman_aggregator_test.cc73 : peer_(&agg_) {} in HpackHuffmanAggregatorTest()
76 test::HpackHuffmanAggregatorPeer peer_; member in net::HpackHuffmanAggregatorTest
85 EXPECT_FALSE(peer_.IsCrossOrigin(request)); in TEST_F()
89 EXPECT_TRUE(peer_.IsCrossOrigin(request)); in TEST_F()
95 EXPECT_FALSE(peer_.IsCrossOrigin(request)); in TEST_F()
99 EXPECT_TRUE(peer_.IsCrossOrigin(request)); in TEST_F()
104 EXPECT_FALSE(peer_.IsCrossOrigin(request)); in TEST_F()
109 EXPECT_TRUE(peer_.IsCrossOrigin(request)); in TEST_F()
113 peer_.set_max_encoders(2); in TEST_F()
123 HpackEncoder* one = peer_.ObtainEncoder(key1); in TEST_F()
[all …]
Dhpack_header_table_test.cc82 HpackHeaderTableTest() : table_(), peer_(&table_) {} in HpackHeaderTableTest()
135 peer_.AddDynamicEntry(name, value); in DynamicEntry()
136 return peer_.dynamic_entries().back(); in DynamicEntry()
140 test::HpackHeaderTablePeer peer_; member in net::__anona76f4c900111::HpackHeaderTableTest
148 EXPECT_EQ(0u, peer_.dynamic_entries_count()); in TEST_F()
149 EXPECT_EQ(peer_.static_entries().size(), peer_.total_insertions()); in TEST_F()
152 EXPECT_NE(0u, peer_.static_entries().size()); in TEST_F()
153 EXPECT_EQ(peer_.index_size(), peer_.static_entries().size()); in TEST_F()
154 for (size_t i = 0; i != peer_.static_entries().size(); ++i) { in TEST_F()
155 const HpackEntry* entry = &peer_.static_entries()[i]; in TEST_F()
[all …]
Dhpack_encoder_test.cc101 peer_(&encoder_), in HpackEncoderTest()
102 static_(peer_.table()->GetByIndex(1)) {} in HpackEncoderTest()
107 key_1_ = peer_.table()->TryAddEntry("key1", "value1"); in SetUp()
108 key_2_ = peer_.table()->TryAddEntry("key2", "value2"); in SetUp()
109 cookie_a_ = peer_.table()->TryAddEntry("cookie", "a=bb"); in SetUp()
110 cookie_c_ = peer_.table()->TryAddEntry("cookie", "c=dd"); in SetUp()
113 peer_.table()->SetMaxSize(peer_.table()->size()); in SetUp()
116 peer_.set_allow_huffman_compression(false); in SetUp()
157 return peer_.table()->IndexOf(entry); in IndexOf()
160 return peer_.table()->IndexOf(entry); in IndexOf()
[all …]
Dhpack_huffman_table_test.cc95 peer_(table_) {} in HpackHuffmanTableTest()
109 HpackHuffmanTablePeer peer_; member in net::test::__anon79cc71ec0111::HpackHuffmanTableTest
131 EXPECT_EQ(peer_.pad_bits(), bits8("11111111")); // First 8 bits of EOS. in TEST_F()
242 EXPECT_THAT(peer_.code_by_id(), ElementsAre( in TEST_F()
251 EXPECT_THAT(peer_.length_by_id(), ElementsAre( in TEST_F()
254 EXPECT_EQ(1u, peer_.decode_tables().size()); in TEST_F()
267 EXPECT_THAT(peer_.decode_entries(peer_.decode_tables()[0]), in TEST_F()
270 EXPECT_EQ(bits8("10011000"), peer_.pad_bits()); in TEST_F()
300 EXPECT_EQ(2u, peer_.decode_tables().size()); in TEST_F()
308 const DecodeTable& decode_table = peer_.decode_tables()[0]; in TEST_F()
[all …]
/external/chromium_org/base/threading/
Dworker_pool_posix_unittest.cc94 peer_(pool_.get()), in PosixDynamicThreadPoolTest()
101 peer_.set_num_idle_threads_cv(new ConditionVariable(peer_.lock())); in SetUp()
117 base::AutoLock pool_locked(*peer_.lock()); in WaitForIdleThreads()
118 while (peer_.num_idle_threads() < num_idle_threads) { in WaitForIdleThreads()
119 peer_.num_idle_threads_cv()->Wait(); in WaitForIdleThreads()
138 base::PosixDynamicThreadPool::PosixDynamicThreadPoolPeer peer_; member in base::__anon0b6717c90111::PosixDynamicThreadPoolTest
152 EXPECT_EQ(0, peer_.num_idle_threads()); in TEST_F()
154 EXPECT_EQ(0U, peer_.pending_tasks().size()); in TEST_F()
181 EXPECT_EQ(2, peer_.num_idle_threads()); in TEST_F()
197 EXPECT_EQ(2, peer_.num_idle_threads()) << "Existing threads are now idle."; in TEST_F()
[all …]
/external/chromium_org/tools/android/forwarder2/
Dforwarder.cc76 peer_(NULL), in BufferedCopier()
81 DCHECK(!peer_); in SetPeer()
82 peer_ = peer; in SetPeer()
198 if (peer_) { in ForceClose()
199 peer_->Close(); in ForceClose()
200 peer_ = NULL; in ForceClose()
211 BufferedCopier* peer_; member in forwarder2::Forwarder::BufferedCopier
/external/chromium_org/content/browser/
Dbyte_stream.cc103 ByteStreamReaderImpl* peer_; member in content::__anon5f99e2120111::ByteStreamWriterImpl
179 ByteStreamWriterImpl* peer_; member in content::__anon5f99e2120111::ByteStreamReaderImpl
191 peer_(NULL) { in ByteStreamWriterImpl()
207 peer_ = peer; in SetPeer()
306 peer_, in PostToPeer()
323 peer_(NULL) { in ByteStreamReaderImpl()
339 peer_ = peer; in SetPeer()
434 peer_, in MaybeUpdateInput()
/external/chromium_org/content/child/
Dweb_url_loader_impl_unittest.cc60 TestBridge() : peer_(NULL), canceled_(false) {} in TestBridge()
67 EXPECT_FALSE(peer_); in Start()
68 peer_ = peer; in Start()
90 RequestPeer* peer() { return peer_; } in peer()
95 RequestPeer* peer_; member in content::__anonfb6ff0890111::TestBridge
/external/chromium_org/third_party/libjingle/source/talk/media/sctp/
Dsctpdataengine_unittest.cc198 : channel_(channel), peer_(peer) {} in SignalChannelClosedReopener()
204 peer_->AddSendStream(p); in OnStreamClosed()
205 peer_->AddRecvStream(p); in OnStreamClosed()
215 cricket::SctpDataMediaChannel* peer_; member in SignalChannelClosedReopener
/external/chromium_org/ipc/
Dipc_sync_channel_unittest.cc1275 peer_(peer) { } in RestrictedDispatchDeadlockServer()
1302 DCHECK(peer_ != NULL); in OnNoArgs()
1303 peer_->SendMessageToClient(); in OnNoArgs()
1317 RestrictedDispatchDeadlockServer* peer_; member in IPC::__anonf85d28b00111::RestrictedDispatchDeadlockServer
1386 peer_(peer), in RestrictedDispatchDeadlockClient1()
1398 peer_->ListenerThread()->message_loop()->PostTask( in Run()
1400 base::Bind(&RestrictedDispatchDeadlockClient2::OnDoClient2Task, peer_)); in Run()
1435 RestrictedDispatchDeadlockClient2* peer_; member in IPC::__anonf85d28b00111::RestrictedDispatchDeadlockClient1
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dturnserver.cc151 const rtc::IPAddress& peer() const { return peer_; } in peer()
160 rtc::IPAddress peer_; member in cricket::TurnServer::Permission
173 const rtc::SocketAddress& peer() const { return peer_; } in peer()
183 rtc::SocketAddress peer_; member in cricket::TurnServer::Channel
988 : thread_(thread), peer_(peer) { in Permission()
1009 : thread_(thread), id_(id), peer_(peer) { in Channel()