Home
last modified time | relevance | path

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

12

/external/chromium/chrome/browser/policy/
Dasynchronous_policy_loader_unittest.cc78 loop_.RunAllPending(); in TEST_F()
80 loop_.RunAllPending(); in TEST_F()
96 loop_.RunAllPending(); in TEST_F()
98 loop_.RunAllPending(); in TEST_F()
100 loop_.RunAllPending(); in TEST_F()
126 loop_.RunAllPending(); in TEST_F()
128 loop_.RunAllPending(); in TEST_F()
130 loop_.RunAllPending(); in TEST_F()
132 loop_.RunAllPending(); in TEST_F()
Ddevice_token_fetcher_unittest.cc44 : ui_thread_(BrowserThread::UI, &loop_), in DeviceTokenFetcherTest()
45 file_thread_(BrowserThread::FILE, &loop_) { in DeviceTokenFetcherTest()
56 loop_.RunAllPending(); in TearDown()
59 MessageLoop loop_; member in policy::DeviceTokenFetcherTest
83 loop_.RunAllPending(); in TEST_F()
95 loop_.RunAllPending(); in TEST_F()
116 loop_.RunAllPending(); in TEST_F()
134 loop_.RunAllPending(); in TEST_F()
Dcloud_policy_controller_unittest.cc79 : ui_thread_(BrowserThread::UI, &loop_), in CloudPolicyControllerTest()
80 file_thread_(BrowserThread::FILE, &loop_) {} in CloudPolicyControllerTest()
161 MessageLoop loop_; member in policy::CloudPolicyControllerTest
179 loop_.RunAllPending(); in TEST_F()
191 loop_.RunAllPending(); in TEST_F()
202 loop_.RunAllPending(); in TEST_F()
217 loop_.RunAllPending(); in TEST_F()
232 loop_.RunAllPending(); in TEST_F()
248 loop_.RunAllPending(); in TEST_F()
263 loop_.RunAllPending(); in TEST_F()
[all …]
Dasynchronous_policy_test_base.cc17 : ui_thread_(BrowserThread::UI, &loop_), in AsynchronousPolicyTestBase()
18 file_thread_(BrowserThread::FILE, &loop_) {} in AsynchronousPolicyTestBase()
28 loop_.RunAllPending(); in TearDown()
Dfile_based_policy_provider_unittest.cc48 loop_.RunAllPending(); in TEST_F()
70 loop_.RunAllPending(); in TEST_F()
77 loop_.RunAllPending(); in TEST_F()
Dconfiguration_policy_provider_win_unittest.cc160 MessageLoop loop_; member in policy::ConfigurationPolicyProviderWinTest
173 : ui_thread_(BrowserThread::UI, &loop_), in ConfigurationPolicyProviderWinTest()
174 file_thread_(BrowserThread::FILE, &loop_), in ConfigurationPolicyProviderWinTest()
204 loop_.RunAllPending(); in TearDown()
311 loop_.RunAllPending(); in TEST_P()
321 loop_.RunAllPending(); in TEST_P()
333 loop_.RunAllPending(); in TEST_P()
348 loop_.RunAllPending(); in TEST_P()
Dasynchronous_policy_provider_unittest.cc50 loop_.RunAllPending(); in TEST_F()
52 loop_.RunAllPending(); in TEST_F()
Duser_policy_cache_unittest.cc48 : loop_(MessageLoop::TYPE_UI), in UserPolicyCacheTest()
49 ui_thread_(BrowserThread::UI, &loop_), in UserPolicyCacheTest()
50 file_thread_(BrowserThread::FILE, &loop_) {} in UserPolicyCacheTest()
57 loop_.RunAllPending(); in TearDown()
128 MessageLoop loop_; member in policy::UserPolicyCacheTest
307 loop_.RunAllPending(); in TEST_F()
/external/chromium/chrome/browser/net/
Dpref_proxy_config_service_unittest.cc74 : ui_thread_(BrowserThread::UI, &loop_), in PrefProxyConfigServiceTestBase()
75 io_thread_(BrowserThread::IO, &loop_) {} in PrefProxyConfigServiceTestBase()
92 loop_.RunAllPending(); in TearDown()
96 MessageLoop loop_; member in __anonfa3dd2c60111::PrefProxyConfigServiceTestBase
129 loop_.RunAllPending(); in TEST_F()
143 loop_.RunAllPending(); in TEST_F()
169 loop_.RunAllPending(); in TEST_F()
181 loop_.RunAllPending(); in TEST_F()
190 loop_.RunAllPending(); in TEST_F()
197 loop_.RunAllPending(); in TEST_F()
[all …]
/external/chromium/chrome/browser/prerender/
Dprerender_resource_handler_unittest.cc88 : loop_(MessageLoop::TYPE_IO), in PrerenderResourceHandlerTest()
89 ui_thread_(BrowserThread::UI, &loop_), in PrerenderResourceHandlerTest()
90 io_thread_(BrowserThread::IO, &loop_), in PrerenderResourceHandlerTest()
110 loop_.RunAllPending(); in ~PrerenderResourceHandlerTest()
136 loop_.RunAllPending(); in StartPrerendering()
146 MessageLoop loop_; member in prerender::PrerenderResourceHandlerTest
193 loop_.RunAllPending(); in TEST_F()
/external/chromium/base/
Dobserver_list_unittest.cc110 loop_ = new MessageLoop(); // Fire up a message loop. in ThreadMain()
111 loop_->PostTask( in ThreadMain()
113 loop_->Run(); in ThreadMain()
116 delete loop_; in ThreadMain()
117 loop_ = reinterpret_cast<MessageLoop*>(0xdeadbeef); in ThreadMain()
140 loop_->PostDelayedTask(FROM_HERE, in AddTask()
145 loop_->PostTask(FROM_HERE, new MessageLoop::QuitTask()); in Quit()
156 EXPECT_EQ(loop_, MessageLoop::current()); in Observe()
164 MessageLoop* loop_; member in __anon0a44572a0111::AddRemoveThread
Dmessage_loop.h259 : loop_(loop), in ScopedNestableTaskAllower()
260 old_state_(loop_->NestableTasksAllowed()) { in ScopedNestableTaskAllower()
261 loop_->SetNestableTasksAllowed(true); in ScopedNestableTaskAllower()
264 loop_->SetNestableTasksAllowed(old_state_); in ~ScopedNestableTaskAllower()
268 MessageLoop* loop_;
353 MessageLoop* loop_;
Dmessage_pump_glib_unittest.cc156 MessagePumpGLibTest() : loop_(NULL), injector_(NULL) { } in MessagePumpGLibTest()
159 loop_ = new MessageLoop(MessageLoop::TYPE_UI); in SetUp()
166 delete loop_; in TearDown()
167 loop_ = NULL; in TearDown()
170 MessageLoop* loop() const { return loop_; } in loop()
174 MessageLoop* loop_; member in __anon0d2f474a0111::MessagePumpGLibTest
/external/chromium/chrome/browser/extensions/
Dextension_service_unittest.cc378 loop_(MessageLoop::TYPE_IO), in ExtensionServiceTestBase()
379 ui_thread_(BrowserThread::UI, &loop_), in ExtensionServiceTestBase()
380 db_thread_(BrowserThread::DB, &loop_), in ExtensionServiceTestBase()
381 webkit_thread_(BrowserThread::WEBKIT, &loop_), in ExtensionServiceTestBase()
382 file_thread_(BrowserThread::FILE, &loop_), in ExtensionServiceTestBase()
383 io_thread_(BrowserThread::IO, &loop_) { in ExtensionServiceTestBase()
611 loop_.RunAllPending(); in WaitForCrxInstall()
664 loop_.RunAllPending(); in UpdateExtension()
1025 loop_.RunAllPending(); in TEST_F()
1068 loop_.RunAllPending(); in TEST_F()
[all …]
Dexternal_policy_extension_loader_unittest.cc24 : loop_(MessageLoop::TYPE_IO), in ExternalPolicyExtensionProviderTest()
25 ui_thread_(BrowserThread::UI, &loop_) { in ExternalPolicyExtensionProviderTest()
33 MessageLoop loop_; member in ExternalPolicyExtensionProviderTest
Dsandboxed_extension_unpacker_unittest.cc59 file_thread_.reset(new BrowserThread(BrowserThread::FILE, &loop_)); in SetUp()
69 loop_.RunAllPending(); in TearDown()
155 MessageLoop loop_; member in SandboxedExtensionUnpackerTest
/external/chromium/base/files/
Dfile_path_watcher_browsertest.cc44 : loop_(base::MessageLoopProxy::CreateForCurrentThread()) {} in NotificationCollector()
48 loop_->PostTask(FROM_HERE, in OnChange()
68 ASSERT_TRUE(loop_->BelongsToCurrentThread()); in RecordChange()
74 loop_->PostTask(FROM_HERE, new MessageLoop::QuitTask()); in RecordChange()
84 scoped_refptr<base::MessageLoopProxy> loop_; member in base::files::__anona691d9c60111::NotificationCollector
161 loop_.RunAllPending(); in TearDown()
192 loop_.Run(); in WaitForEvents()
198 MessageLoop loop_; member in base::files::__anona691d9c60111::FilePathWatcherTest
259 loop_(loop) { in Deleter()
264 loop_->PostTask(FROM_HERE, new MessageLoop::QuitTask()); in OnFilePathChanged()
[all …]
/external/openfst/src/include/fst/
Dmatcher.h146 loop_(kNoLabel, 0, Weight::One(), kNoStateId),
153 swap(loop_.ilabel, loop_.olabel);
170 loop_(matcher.loop_),
214 loop_.nextstate = s; in SetState()
234 return loop_; in Value()
269 Arc loop_; // For non-consuming symbols variable
919 loop_.ilabel = kNoLabel;
920 loop_.olabel = 0;
922 loop_.ilabel = 0;
923 loop_.olabel = kNoLabel;
[all …]
/external/chromium/chrome/browser/
Dspellcheck_message_filter_browsertest.cc24 : loop_(loop) { } in TestingSpellCheckMessageFilter()
36 loop_->PostTask(FROM_HERE, new MessageLoop::QuitTask()); in Send()
41 MessageLoopForUI* loop_; member in __anoneae581880111::TestingSpellCheckMessageFilter
/external/chromium/net/base/
Dlisten_socket_unittest.cc24 loop_(NULL), in ListenSocketTester()
35 loop_ = reinterpret_cast<MessageLoopForIO*>(thread_->message_loop()); in SetUp()
37 loop_->PostTask(FROM_HERE, NewRunnableMethod( in SetUp()
70 loop_->PostTask(FROM_HERE, NewRunnableMethod( in TearDown()
76 loop_ = NULL; in TearDown()
159 loop_->PostTask(FROM_HERE, NewRunnableMethod( in TestServerSend()
/external/chromium/net/proxy/
Dproxy_config_service_linux.cc197 : client_(NULL), notify_delegate_(NULL), loop_(NULL) {} in GConfSettingGetterImplGConf()
208 if (MessageLoop::current() == loop_) { in ~GConfSettingGetterImplGConf()
226 DCHECK(!loop_); in Init()
227 loop_ = glib_default_loop; in Init()
232 loop_ = NULL; in Init()
255 DCHECK(MessageLoop::current() == loop_); in Shutdown()
259 loop_ = NULL; in Shutdown()
265 DCHECK(MessageLoop::current() == loop_); in SetupNotification()
288 return loop_; in GetNotificationLoop()
297 DCHECK(MessageLoop::current() == loop_); in GetString()
[all …]
/external/chromium/chrome/browser/debugger/
Ddevtools_remote_listen_socket_unittest.cc76 loop_(NULL), in DevToolsRemoteListenSocketTester()
99 loop_ = static_cast<MessageLoopForIO*>(thread_->message_loop()); in SetUp()
101 loop_->PostTask(FROM_HERE, NewRunnableMethod( in SetUp()
137 loop_->PostTask(FROM_HERE, NewRunnableMethod( in TearDown()
155 loop_ = NULL; in TearDown()
336 loop_->PostTask(FROM_HERE, NewRunnableMethod(
/external/chromium/chrome/browser/ui/gtk/
Dreload_button_gtk_unittest.cc28 MessageLoop loop_; member in ReloadButtonGtkTest
97 loop_.RunAllPending(); in TEST_F()
142 loop_.RunAllPending(); in TEST_F()
/external/chromium/chrome/browser/ui/views/
Dreload_button_unittest.cc27 MessageLoop loop_; member in ReloadButtonTest
98 loop_.RunAllPending(); in TEST_F()
147 loop_.RunAllPending(); in TEST_F()
/external/chromium/chrome/browser/download/
Ddownload_file_unittest.cc35 ui_thread_(BrowserThread::UI, &loop_), in DownloadFileTest()
36 file_thread_(BrowserThread::FILE, &loop_) { in DownloadFileTest()
106 MessageLoop loop_; member in DownloadFileTest

12