Home
last modified time | relevance | path

Searched refs:clients_ (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/content/browser/renderer_host/
Dsoftware_frame_manager_unittest.cc75 clients_.push_back(new FakeSoftwareFrameManagerClient); in AllocateClients()
78 for (size_t i = 0; i < clients_.size(); ++i) in FreeClients()
79 delete clients_[i]; in FreeClients()
80 clients_.clear(); in FreeClients()
89 std::vector<FakeSoftwareFrameManagerClient*> clients_; member in content::SoftwareFrameManagerTest
101 for (size_t i = 0; i < clients_.size(); ++i) { in TEST_F()
102 bool swap_result = clients_[i]->SwapToNewFrame( in TEST_F()
104 clients_[i]->software_frame_manager()->SwapToNewFrameComplete(true); in TEST_F()
106 EXPECT_EQ(0u, clients_[i]->evicted_frame_count()); in TEST_F()
107 EXPECT_EQ(0u, clients_[i]->freed_frame_count()); in TEST_F()
[all …]
/external/chromium_org/content/renderer/media/
Dvideo_capture_impl.cc94 clients_.count(client_id)) { in StartCapture()
103 clients_[client_id] = client_info; in StartCapture()
114 clients_[client_id] = client_info; in StartCapture()
139 RemoveClient(client_id, &clients_); in StopCapture()
143 if (clients_.empty()) { in StopCapture()
252 for (ClientInfoMap::iterator it = clients_.begin(); it != clients_.end(); in OnBufferReceived()
290 for (ClientInfoMap::iterator it = clients_.begin(); it != clients_.end(); in OnMailboxBufferReceived()
318 if (!clients_.empty() || !clients_pending_on_restart_.empty()) in OnStateChanged()
322 for (ClientInfoMap::iterator it = clients_.begin(); in OnStateChanged()
323 it != clients_.end(); ++it) { in OnStateChanged()
[all …]
Dmidi_message_filter.cc79 if (clients_.find(client) == clients_.end()) { in StartSession()
81 clients_[client] = client_id; in StartSession()
94 ClientsMap::iterator i = clients_.find(client); in RemoveClient()
95 if (i != clients_.end()) in RemoveClient()
96 clients_.erase(i); in RemoveClient()
168 for (ClientsMap::iterator i = clients_.begin(); i != clients_.end(); ++i) { in GetClientFromId()
198 for (ClientsMap::iterator i = clients_.begin(); i != clients_.end(); ++i) in HandleDataReceived()
Dmidi_message_filter.h111 ClientsMap clients_; variable
Dvideo_capture_impl.h159 ClientInfoMap clients_; variable
/external/chromium_org/remoting/host/
Dchromoting_host.cc102 while (!clients_.empty()) { in ~ChromotingHost()
103 clients_.front()->DisconnectSession(); in ~ChromotingHost()
199 ClientList::iterator it = clients_.begin(); in OnSessionAuthenticated()
200 while (it != clients_.end()) { in OnSessionAuthenticated()
207 DCHECK_EQ(clients_.size(), 1U); in OnSessionAuthenticated()
254 ClientList::iterator it = std::find(clients_.begin(), clients_.end(), client); in OnSessionClosed()
255 CHECK(it != clients_.end()); in OnSessionClosed()
262 clients_.erase(it); in OnSessionClosed()
340 clients_.push_back(client); in OnIncomingSession()
354 while (!clients_.empty()) { in DisconnectAllClients()
[all …]
/external/chromium_org/components/password_manager/core/browser/
Dlog_router.cc30 clients_.AddObserver(client); in RegisterClient()
35 DCHECK(clients_.HasObserver(client)); in UnregisterClient()
36 clients_.RemoveObserver(client); in UnregisterClient()
45 PasswordManagerClient, clients_, OnLogRouterAvailabilityChanged(true)); in RegisterReceiver()
57 PasswordManagerClient, clients_, OnLogRouterAvailabilityChanged(false)); in UnregisterReceiver()
Dlog_router.h54 ObserverList<PasswordManagerClient, true> clients_;
/external/chromium_org/chrome/installer/util/
Dproduct_state_unittest.cc37 RegKey clients_; member in ProductStateTest
73 clients_.Create(overridden_, dist_->GetVersionKey().c_str(), in SetUp()
83 clients_.Close(); in TearDown()
92 clients_.WriteValue(google_update::kRegVersionField, version)); in MinimallyInstallProduct()
121 LONG result = clients_.DeleteValue(google_update::kRegVersionField); in TEST_F()
129 LONG result = clients_.WriteValue(google_update::kRegVersionField, L""); in TEST_F()
137 LONG result = clients_.WriteValue(google_update::kRegVersionField, in TEST_F()
146 LONG result = clients_.WriteValue(google_update::kRegVersionField, in TEST_F()
161 LONG result = clients_.DeleteValue(google_update::kRegOldVersionField); in TEST_F()
170 LONG result = clients_.WriteValue(google_update::kRegOldVersionField, L""); in TEST_F()
[all …]
/external/chromium_org/media/midi/
Dmidi_manager.cc75 clients_.insert(client); in StartSession()
83 clients_.erase(client); in EndSession()
124 for (ClientList::iterator i = clients_.begin(); i != clients_.end(); ++i) in ReceiveMidiData()
132 DCHECK(clients_.empty()); in CompleteInitializationInternal()
141 clients_.insert(it->first); in CompleteInitializationInternal()
Dmidi_manager.h142 size_t clients_size_for_testing() const { return clients_.size(); } in clients_size_for_testing()
152 ClientList clients_; variable
/external/chromium_org/content/renderer/npapi/
Dwebplugin_impl.cc610 for (size_t i = 0; i < clients_.size(); ++i) { in CancelResource()
611 if (clients_[i].id == id) { in CancelResource()
612 if (clients_[i].loader.get()) { in CancelResource()
613 clients_[i].loader->setDefersLoading(false); in CancelResource()
614 clients_[i].loader->cancel(); in CancelResource()
800 for (size_t i = 0; i < clients_.size(); ++i) { in URLRedirectResponse()
801 if (clients_[i].id == static_cast<unsigned long>(resource_id)) { in URLRedirectResponse()
802 if (clients_[i].loader.get()) { in URLRedirectResponse()
804 clients_[i].loader->setDefersLoading(false); in URLRedirectResponse()
806 clients_[i].loader->cancel(); in URLRedirectResponse()
[all …]
/external/chromium_org/content/common/gpu/media/
Drendering_helper.cc86 CHECK_EQ(clients_.size(), 0U) << "Must call UnInitialize before dtor."; in ~RenderingHelper()
94 if (clients_.size()) { in Initialize()
183 clients_ = params.clients; in Initialize()
184 CHECK_GT(clients_.size(), 0U); in Initialize()
252 CHECK_EQ(clients_.size(), 1U); in Initialize()
492 clients_.clear(); in Clear()
566 for (size_t i = 0; i < clients_.size(); ++i) { in RenderContent()
567 if (clients_[i]) { in RenderContent()
569 clients_[i]->RenderContent(this); in RenderContent()
599 size_t cols = sqrt(clients_.size() - 1) + 1; in LayoutRenderingAreas()
[all …]
Drendering_helper.h125 std::vector<base::WeakPtr<Client> > clients_; variable
/external/chromium_org/content/renderer/p2p/
Dsocket_dispatcher.cc31 for (IDMap<P2PSocketClientImpl>::iterator i(&clients_); !i.IsAtEnd(); in ~P2PSocketDispatcher()
94 return clients_.Add(client); in RegisterClient()
99 clients_.Remove(id); in UnregisterClient()
182 P2PSocketClientImpl* client = clients_.Lookup(socket_id); in GetClient()
Dsocket_dispatcher.h108 IDMap<P2PSocketClientImpl> clients_; variable
/external/chromium_org/third_party/webrtc/base/
Dnatsocketfactory.cc428 if (clients_.find(int_ip) != clients_.end()) in AddClient()
431 clients_.insert(int_ip); in AddClient()
437 std::set<SocketAddress>::iterator it = clients_.find(int_ip); in RemoveClient()
438 if (it != clients_.end()) { in RemoveClient()
439 clients_.erase(it); in RemoveClient()
446 return (clients_.find(int_ip) != clients_.end()) ? in FindClient()
Dtestutils.h395 size_t size() const { return clients_.size(); } in size()
396 SocketTestClient* client(size_t index) const { return clients_[index]; } in client()
400 for (size_t i=0; i<clients_.size(); ++i) { in clear()
401 delete clients_[i]; in clear() local
403 clients_.clear(); in clear()
412 clients_.push_back(new SocketTestClient(accepted)); in OnReadEvent()
416 std::vector<SocketTestClient*> clients_; variable
/external/chromium_org/third_party/libjingle/source/talk/base/
Dnatsocketfactory.cc445 if (clients_.find(int_ip) != clients_.end()) in AddClient()
448 clients_.insert(int_ip); in AddClient()
454 std::set<SocketAddress>::iterator it = clients_.find(int_ip); in RemoveClient()
455 if (it != clients_.end()) { in RemoveClient()
456 clients_.erase(it); in RemoveClient()
463 return (clients_.find(int_ip) != clients_.end()) ? in FindClient()
Dtestutils.h412 size_t size() const { return clients_.size(); } in size()
413 SocketTestClient* client(size_t index) const { return clients_[index]; } in client()
417 for (size_t i=0; i<clients_.size(); ++i) { in clear()
418 delete clients_[i]; in clear() local
420 clients_.clear(); in clear()
429 clients_.push_back(new SocketTestClient(accepted)); in OnReadEvent()
433 std::vector<SocketTestClient*> clients_; variable
/external/chromium_org/webkit/browser/quota/
Dquota_manager.cc554 remaining_clients_ = manager()->clients_.size(); in Run()
555 for (QuotaClientList::iterator iter = manager()->clients_.begin(); in Run()
556 iter != manager()->clients_.end(); ++iter) { in Run()
634 remaining_clients_ = manager()->clients_.size(); in Run()
635 for (QuotaClientList::iterator iter = manager()->clients_.begin(); in Run()
636 iter != manager()->clients_.end(); ++iter) { in Run()
932 if (origin.is_empty() || clients_.empty()) { in DeleteOriginData()
949 if (host.empty() || clients_.empty()) { in DeleteHostData()
1170 clients_, kStorageTypeTemporary, special_storage_policy_.get(), in ResetUsageTracker()
1175 clients_, kStorageTypePersistent, special_storage_policy_.get(), in ResetUsageTracker()
[all …]
/external/chromium_org/chrome/browser/sync/test/integration/
Dsync_test.cc312 if (clients_.empty()) in GetClient()
314 if (index < 0 || index >= static_cast<int>(clients_.size())) in GetClient()
316 return clients_[index]; in GetClient()
344 if (!profiles_.empty() || !browsers_.empty() || !clients_.empty()) in SetupClients()
350 clients_.resize(num_clients_); in SetupClients()
393 clients_[index] = in InitializeInstance()
442 new P2PInvalidationForwarder(clients_[index]->service(), in InitializeInvalidations()
475 for (size_t i = 0; i < clients_.size(); ++i) { in CleanUpOnMainThread()
476 clients_[i]->service()->DisableForUser(); in CleanUpOnMainThread()
499 clients_.clear(); in CleanUpOnMainThread()
Dsync_test.h146 return clients_.get(); in clients()
382 ScopedVector<ProfileSyncServiceHarness> clients_; variable
/external/chromium_org/chrome/browser/policy/test/
Dlocal_policy_test_server.cc136 clients_.Set(dm_token, client_dict.release()); in RegisterClient()
247 if (!clients_.empty()) { in GenerateAdditionalArguments()
249 base::JSONWriter::Write(&clients_, &json); in GenerateAdditionalArguments()
Dlocal_policy_test_server.h95 base::DictionaryValue clients_; variable

12