Home
last modified time | relevance | path

Searched refs:loop_ (Results 1 – 25 of 146) sorted by relevance

123456

/external/chromium_org/base/
Drun_loop.cc17 : loop_(MessageLoop::current()), in RunLoop()
32 : loop_(MessageLoop::current()), in RunLoop()
54 loop_->RunHandler(); in Run()
67 if (running_ && loop_->run_loop_ == this) { in Quit()
69 loop_->QuitNow(); in Quit()
86 previous_run_loop_ = loop_->run_loop_; in BeforeRun()
88 loop_->run_loop_ = this; in BeforeRun()
98 loop_->run_loop_ = previous_run_loop_; in AfterRun()
102 loop_->QuitNow(); in AfterRun()
Ddeferred_sequenced_task_runner_unittest.cc62 loop_(), in DeferredSequencedTaskRunnerTest()
64 new base::DeferredSequencedTaskRunner(loop_.message_loop_proxy())) { in DeferredSequencedTaskRunnerTest()
67 base::MessageLoop loop_; member in __anond5285a270111::DeferredSequencedTaskRunnerTest
75 loop_.RunUntilIdle(); in TEST_F()
82 loop_.RunUntilIdle(); in TEST_F()
91 loop_.RunUntilIdle(); in TEST_F()
97 loop_.RunUntilIdle(); in TEST_F()
101 loop_.RunUntilIdle(); in TEST_F()
105 loop_.RunUntilIdle(); in TEST_F()
112 loop_.RunUntilIdle(); in TEST_F()
[all …]
Dobserver_list_unittest.cc103 loop_(NULL), in AddRemoveThread()
116 loop_ = new MessageLoop(); // Fire up a message loop. in ThreadMain()
117 loop_->PostTask( in ThreadMain()
120 loop_->Run(); in ThreadMain()
123 delete loop_; in ThreadMain()
124 loop_ = reinterpret_cast<MessageLoop*>(0xdeadbeef); in ThreadMain()
147 loop_->PostTask( in AddTask()
153 loop_->PostTask(FROM_HERE, MessageLoop::QuitWhenIdleClosure()); in Quit()
164 EXPECT_EQ(loop_, MessageLoop::current()); in Observe()
172 MessageLoop* loop_; member in base::__anona8bf8ea20111::AddRemoveThread
/external/chromium_org/media/base/
Dbind_to_current_loop_unittest.cc44 base::MessageLoop loop_; member in media::BindToCurrentLoopTest
54 loop_.RunUntilIdle(); in TEST_F()
64 loop_.RunUntilIdle(); in TEST_F()
75 loop_.RunUntilIdle(); in TEST_F()
86 loop_.RunUntilIdle(); in TEST_F()
99 loop_.RunUntilIdle(); in TEST_F()
111 loop_.RunUntilIdle(); in TEST_F()
125 loop_.RunUntilIdle(); in TEST_F()
139 loop_.RunUntilIdle(); in TEST_F()
151 loop_.RunUntilIdle(); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/net/
Dpref_proxy_config_tracker_impl_unittest.cc79 : ui_thread_(BrowserThread::UI, &loop_), in PrefProxyConfigTrackerImplTestBase()
80 io_thread_(BrowserThread::IO, &loop_) {} in PrefProxyConfigTrackerImplTestBase()
96 loop_.RunUntilIdle(); in Init()
101 loop_.RunUntilIdle(); in TearDown()
106 base::MessageLoop loop_; member in __anonb15b722a0111::PrefProxyConfigTrackerImplTestBase
139 loop_.RunUntilIdle(); in TEST_F()
153 loop_.RunUntilIdle(); in TEST_F()
179 loop_.RunUntilIdle(); in TEST_F()
191 loop_.RunUntilIdle(); in TEST_F()
200 loop_.RunUntilIdle(); in TEST_F()
[all …]
/external/chromium_org/content/renderer/media/android/
Dstream_texture_factory_impl.cc42 scoped_refptr<base::MessageLoopProxy> loop_; member in content::__anon80414e290111::StreamTextureProxyImpl
62 if (!loop_.get() || loop_->BelongsToCurrentThread() || in Release()
63 !loop_->DeleteSoon(FROM_HERE, this)) { in Release()
76 DCHECK(!loop_ || (loop == loop_)); in BindToLoop()
77 loop_ = loop; in BindToLoop()
Dstream_texture_factory_synchronous_impl.cc49 scoped_refptr<base::MessageLoopProxy> loop_; member in content::__anon903ecad30111::StreamTextureProxyImpl
80 if (!loop_.get() || loop_->BelongsToCurrentThread() || in Release()
81 !loop_->DeleteSoon(FROM_HERE, this)) { in Release()
94 DCHECK(!loop_ || (loop == loop_)); in BindToLoop()
95 loop_ = loop; in BindToLoop()
/external/chromium_org/components/policy/core/common/
Dasync_policy_provider_unittest.cc86 base::MessageLoop loop_; member in policy::AsyncPolicyProviderTest
102 loader_ = new MockPolicyLoader(loop_.message_loop_proxy()); in SetUp()
114 loop_.RunUntilIdle(); in SetUp()
126 loop_.RunUntilIdle(); in TearDown()
138 loop_.RunUntilIdle(); in TEST_F()
162 loop_.RunUntilIdle(); in TEST_F()
198 loop_.RunUntilIdle(); in TEST_F()
220 loop_.RunUntilIdle(); in TEST_F()
Dconfiguration_policy_provider_test.cc134 loop_.RunUntilIdle(); in TearDown()
197 loop_.message_loop_proxy())); in SetUp()
201 loop_.RunUntilIdle(); in SetUp()
222 loop_.RunUntilIdle(); in CheckValue()
237 loop_.RunUntilIdle(); in TEST_P()
328 loop_.RunUntilIdle(); in TEST_P()
337 loop_.RunUntilIdle(); in TEST_P()
390 loop_.RunUntilIdle(); in TEST_P()
/external/chromium_org/mojo/application_manager/
Dapplication_manager_unittest.cc156 loop_(loop) {} in TesterContext()
223 loop_->PostTask(FROM_HERE, base::MessageLoop::QuitWhenIdleClosure()); in QuitSoon()
238 base::MessageLoop* loop_; member in mojo::__anonc09af2240111::TesterContext
413 ApplicationManagerTest() : tester_context_(&loop_) {} in ApplicationManagerTest()
460 base::MessageLoop loop_; member in mojo::ApplicationManagerTest
468 loop_.Run(); in TEST_F()
484 loop_.Run(); in TEST_F()
505 loop_.Run(); in TEST_F()
515 loop_.Run(); in TEST_F()
518 loop_.Run(); in TEST_F()
[all …]
/external/chromium_org/media/audio/sounds/
Dtest_data.cc13 : loop_(base::MessageLoop::current()), in TestObserver()
18 DCHECK(loop_); in TestObserver()
31 loop_->PostTask(FROM_HERE, quit_); in OnStop()
/external/chromium_org/components/policy/core/common/cloud/
Duser_cloud_policy_manager_unittest.cc59 loop_.message_loop_proxy(), in CreateManager()
60 loop_.message_loop_proxy(), in CreateManager()
61 loop_.message_loop_proxy())); in CreateManager()
68 base::MessageLoop loop_; member in policy::__anon77eb3b3d0111::UserCloudPolicyManagerTest
Dcomponent_cloud_policy_service_unittest.cc114 loop_.message_loop_proxy()) {} in ComponentCloudPolicyServiceTest()
119 cache_ = new ResourceCache(temp_dir_.path(), loop_.message_loop_proxy()); in SetUp()
121 new TestURLRequestContextGetter(loop_.message_loop_proxy()); in SetUp()
128 loop_.message_loop_proxy(), in SetUp()
129 loop_.message_loop_proxy())); in SetUp()
232 base::MessageLoop loop_; member in policy::ComponentCloudPolicyServiceTest
255 cache_ = new ResourceCache(temp_dir_.path(), loop_.message_loop_proxy()); in TEST_F()
261 loop_.message_loop_proxy(), in TEST_F()
262 loop_.message_loop_proxy())); in TEST_F()
/external/chromium_org/chrome/test/chromedriver/net/
Dwebsocket_unittest.cc105 loop_.PostDelayedTask( in CreateWebSocket()
126 loop_.PostDelayedTask( in SendReceive()
132 base::MessageLoopForIO loop_; member in __anon36daee470111::WebSocketTest
146 RunPending(&loop_); in TEST_F()
159 RunPending(&loop_); in TEST_F()
176 loop_.PostDelayedTask( in TEST_F()
190 loop_.PostDelayedTask( in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/storage/
Dpolicy_value_store_unittest.cc92 : file_thread_(content::BrowserThread::FILE, &loop_) {} in PolicyValueStoreTest()
113 base::MessageLoop loop_; member in extensions::PolicyValueStoreTest
171 loop_.RunUntilIdle(); in TEST_F()
187 loop_.RunUntilIdle(); in TEST_F()
205 loop_.RunUntilIdle(); in TEST_F()
220 loop_.RunUntilIdle(); in TEST_F()
226 loop_.RunUntilIdle(); in TEST_F()
/external/chromium_org/chrome/browser/policy/
Dprofile_policy_connector_unittest.cc46 loop_.message_loop_proxy(), in SetUp()
47 loop_.message_loop_proxy(), in SetUp()
48 loop_.message_loop_proxy())); in SetUp()
56 base::MessageLoop loop_; member in policy::ProfilePolicyConnectorTest
/external/chromium_org/chrome/browser/chromeos/
Dproxy_config_service_impl_unittest.cc214 : ui_thread_(BrowserThread::UI, &loop_), in ProxyConfigServiceImplTest()
215 io_thread_(BrowserThread::IO, &loop_) {} in ProxyConfigServiceImplTest()
236 loop_.RunUntilIdle(); in SetUp()
246 loop_.RunUntilIdle(); in SetUpNetwork()
259 loop_.RunUntilIdle(); in SetUpNetwork()
264 loop_.RunUntilIdle(); in TearDown()
317 loop_.RunUntilIdle(); in SyncGetLatestProxyConfig()
324 base::MessageLoop loop_; member in chromeos::ProxyConfigServiceImplTest
/external/chromium_org/content/browser/download/
Ddownload_file_unittest.cc126 ui_thread_(BrowserThread::UI, &loop_), in DownloadFileTest()
127 file_thread_(BrowserThread::FILE, &loop_) { in DownloadFileTest()
277 loop_.RunUntilIdle(); in FinishStream()
343 base::MessageLoop loop_; member in content::DownloadFileTest
461 loop_.RunUntilIdle(); in TEST_P()
506 loop_.RunUntilIdle(); in TEST_F()
531 loop_.RunUntilIdle(); in TEST_F()
548 loop_.RunUntilIdle(); in TEST_F()
583 loop_.RunUntilIdle(); in TEST_P()
675 loop_.RunUntilIdle(); in TEST_P()
[all …]
/external/chromium_org/net/socket/
Dtcp_listen_socket_unittest.cc26 : loop_(NULL), in TCPListenSocketTester()
35 loop_ = reinterpret_cast<base::MessageLoopForIO*>(thread_->message_loop()); in SetUp()
37 loop_->PostTask(FROM_HERE, base::Bind( in SetUp()
81 loop_->PostTask(FROM_HERE, base::Bind( in TearDown()
87 loop_ = NULL; in TearDown()
173 loop_->PostTask(FROM_HERE, base::Bind( in TestServerSend()
200 loop_->PostTask(FROM_HERE, base::Bind( in TestServerSendMultiple()
/external/chromium_org/chrome/browser/spellchecker/
Dspellcheck_message_filter_mac_browsertest.cc23 loop_(loop) { } in TestingSpellCheckMessageFilter()
27 loop_->PostTask(FROM_HERE, base::MessageLoop::QuitClosure()); in Send()
32 base::MessageLoopForUI* loop_; member in TestingSpellCheckMessageFilter
/external/openfst/src/include/fst/extensions/pdt/
Dcompose.h56 loop_.ilabel = kNoLabel; in matcher_()
57 loop_.olabel = 0; in matcher_()
59 loop_.ilabel = 0; in matcher_()
60 loop_.olabel = kNoLabel; in matcher_()
62 loop_.weight = Weight::One(); in matcher_()
63 loop_.nextstate = kNoStateId; in matcher_()
72 loop_(matcher.loop_) {
73 loop_.nextstate = kNoStateId;
84 loop_.nextstate = s; in SetState()
94 return paren_loop_ ? loop_ : matcher_.Value(); in Value()
[all …]
/external/openfst/src/include/fst/
Dmatcher.h157 loop_(kNoLabel, 0, Weight::One(), kNoStateId),
164 swap(loop_.ilabel, loop_.olabel);
181 loop_(matcher.loop_),
225 loop_.nextstate = s; in SetState()
276 return loop_; in Value()
315 Arc loop_; // For non-consuming symbols variable
1005 loop_.ilabel = kNoLabel;
1006 loop_.olabel = 0;
1008 loop_.ilabel = 0;
1009 loop_.olabel = kNoLabel;
[all …]
/external/chromium_org/ppapi/proxy/
Dppb_message_loop_proxy.cc91 loop_.reset(new base::MessageLoop); in AttachToCurrentThread()
112 base::Bind(&base::MessageLoop::Run, base::Unretained(loop_.get()))); in Run()
117 loop_.reset(); in Run()
144 loop_->Quit(); in PostQuit()
163 loop_.reset(); in DetachFromThread()
/external/chromium_org/chrome/browser/sync/
Dbackup_rollback_controller_unittest.cc73 loop_.PostTask(FROM_HERE, run_loop.QuitClosure()); in PumpLoop()
82 base::MessageLoop loop_; member in __anon2a80cae30111::BackupRollbackControllerTest
97 loop_.PostTask(FROM_HERE, run_loop.QuitClosure()); in TEST_F()
/external/chromium_org/content/browser/loader/
Dtemporary_file_stream_unittest.cc47 loop_.Quit(); in OnFileStreamCreated()
51 loop_.Run(); in Wait()
59 base::RunLoop loop_; member in content::__anona1da0b450111::WaitForFileStream

123456