Home
last modified time | relevance | path

Searched refs:watcher (Results 1 – 23 of 23) sorted by relevance

/external/chromium/base/synchronization/
Dwaitable_event_watcher_unittest.cc39 WaitableEventWatcher watcher; in RunTest_BasicSignal() local
40 EXPECT_TRUE(watcher.GetWatchedEvent() == NULL); in RunTest_BasicSignal()
43 watcher.StartWatching(&event, &delegate); in RunTest_BasicSignal()
44 EXPECT_EQ(&event, watcher.GetWatchedEvent()); in RunTest_BasicSignal()
50 EXPECT_TRUE(watcher.GetWatchedEvent() == NULL); in RunTest_BasicSignal()
59 WaitableEventWatcher watcher; in RunTest_BasicCancel() local
62 watcher.StartWatching(&event, &delegate); in RunTest_BasicCancel()
64 watcher.StopWatching(); in RunTest_BasicCancel()
73 WaitableEventWatcher watcher; in RunTest_CancelAfterSet() local
78 watcher.StartWatching(&event, &delegate); in RunTest_CancelAfterSet()
[all …]
Dwaitable_event_watcher_win.cc14 WaitableEventWatcher* watcher) in ObjectWatcherHelper() argument
15 : watcher_(watcher) { in ObjectWatcherHelper()
Dwaitable_event_watcher.h129 ObjectWatcherHelper(WaitableEventWatcher* watcher);
/external/chromium/base/memory/
Dscoped_vector_unittest.cc100 LifeCycleWatcher watcher; in TEST() local
101 EXPECT_EQ(LC_INITIAL, watcher.life_cycle_state()); in TEST()
102 LifeCycleObject* object = watcher.NewLifeCycleObject(); in TEST()
103 EXPECT_EQ(LC_CONSTRUCTED, watcher.life_cycle_state()); in TEST()
105 EXPECT_EQ(LC_DESTROYED, watcher.life_cycle_state()); in TEST()
109 LifeCycleWatcher watcher; in TEST() local
110 EXPECT_EQ(LC_INITIAL, watcher.life_cycle_state()); in TEST()
112 scoped_vector.push_back(watcher.NewLifeCycleObject()); in TEST()
113 EXPECT_EQ(LC_CONSTRUCTED, watcher.life_cycle_state()); in TEST()
115 EXPECT_EQ(LC_DESTROYED, watcher.life_cycle_state()); in TEST()
[all …]
/external/chromium/base/win/
Dobject_watcher_unittest.cc37 ObjectWatcher watcher; in RunTest_BasicSignal() local
38 EXPECT_EQ(NULL, watcher.GetWatchedObject()); in RunTest_BasicSignal()
44 bool ok = watcher.StartWatching(event, &delegate); in RunTest_BasicSignal()
46 EXPECT_EQ(event, watcher.GetWatchedObject()); in RunTest_BasicSignal()
52 EXPECT_EQ(NULL, watcher.GetWatchedObject()); in RunTest_BasicSignal()
59 ObjectWatcher watcher; in RunTest_BasicCancel() local
65 bool ok = watcher.StartWatching(event, &delegate); in RunTest_BasicCancel()
68 watcher.StopWatching(); in RunTest_BasicCancel()
77 ObjectWatcher watcher; in RunTest_CancelAfterSet() local
85 bool ok = watcher.StartWatching(event, &delegate); in RunTest_CancelAfterSet()
[all …]
Dobject_watcher.cc15 ObjectWatcher* watcher; // The associated ObjectWatcher instance member
25 if (!watcher) in Run()
29 watcher->StopWatching(); in Run()
51 watch->watcher = this; in StartWatching()
97 watch_->watcher = NULL; in StopWatching()
/external/chromium/base/files/
Dfile_path_watcher_browsertest.cc119 FilePathWatcher* watcher, in SetupWatchTask() argument
124 watcher_(watcher), in SetupWatchTask()
176 FilePathWatcher* watcher, in SetupWatch() argument
182 watcher, in SetupWatch()
206 FilePathWatcher watcher; in TEST_F() local
208 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get())); in TEST_F()
218 FilePathWatcher watcher; in TEST_F() local
220 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get())); in TEST_F()
232 FilePathWatcher watcher; in TEST_F() local
234 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get())); in TEST_F()
[all …]
Dfile_path_watcher_linux.cc49 Watch AddWatch(const FilePath& path, FilePathWatcherImpl* watcher);
52 bool RemoveWatch(Watch watch, FilePathWatcherImpl* watcher);
251 const FilePath& path, FilePathWatcherImpl* watcher) { in AddWatch() argument
265 watchers_[watch].insert(watcher); in AddWatch()
271 FilePathWatcherImpl* watcher) { in RemoveWatch() argument
277 watchers_[watch].erase(watcher); in RemoveWatch()
294 for (WatcherSet::iterator watcher = watchers_[event->wd].begin(); in OnInotifyEvent() local
295 watcher != watchers_[event->wd].end(); in OnInotifyEvent()
296 ++watcher) { in OnInotifyEvent()
297 (*watcher)->OnFilePathChanged(event->wd, in OnInotifyEvent()
/external/chromium/chrome/browser/
Dtab_closeable_state_watcher.cc18 ::TabCloseableStateWatcher* watcher = NULL; in Create()
24 watcher = new chromeos::TabCloseableStateWatcher(); in Create()
26 if (!watcher) in Create()
27 watcher = new ::TabCloseableStateWatcher(); in Create()
28 return watcher; in Create()
Dplugin_data_remover_browsertest.cc61 base::WaitableEventWatcher watcher; in IN_PROC_BROWSER_TEST_F() local
64 watcher.StartWatching(event, this); in IN_PROC_BROWSER_TEST_F()
/external/chromium/chrome/browser/metrics/
Dthread_watcher.cc60 ThreadWatcher* watcher = in StartWatching() local
62 DCHECK(watcher); in StartWatching()
67 watcher->ActivateThreadWatching(); in StartWatching()
211 void ThreadWatcherList::Register(ThreadWatcher* watcher) { in Register() argument
215 DCHECK(!global_->PreLockedFind(watcher->thread_id())); in Register()
216 global_->registered_[watcher->thread_id()] = watcher; in Register()
Dthread_watcher.h214 static void Register(ThreadWatcher* watcher);
/external/chromium/chrome/browser/sync/engine/net/
Dserver_connection_manager.cc166 const PostBufferParams* params, ScopedServerStatusWatcher* watcher) { in PostBufferWithCachedAuth() argument
169 return PostBufferToPath(params, path, auth_token(), watcher); in PostBufferWithCachedAuth()
174 ScopedServerStatusWatcher* watcher) { in PostBufferToPath() argument
175 DCHECK(watcher != NULL); in PostBufferToPath()
199 ScopedServerStatusWatcher watcher(this, &response); in CheckTime() local
Dserver_connection_manager.h239 ScopedServerStatusWatcher* watcher);
335 ScopedServerStatusWatcher* watcher);
/external/chromium/base/
Dmessage_pump_libevent.h76 void set_watcher(Watcher* watcher) { watcher_ = watcher; } in set_watcher() argument
/external/apache-http/src/org/apache/http/conn/
DEofSensorInputStream.java104 final EofSensorWatcher watcher) { in EofSensorInputStream() argument
112 eofWatcher = watcher; in EofSensorInputStream()
/external/webkit/Source/WebKit2/WebProcess/mac/
DFullKeyboardAccessWatcher.mm66 static FullKeyboardAccessWatcher *watcher = [[FullKeyboardAccessWatcher alloc] init];
67 return watcher->fullKeyboardAccessEnabled;
/external/chromium/third_party/libjingle/source/talk/session/phone/
Ddevicemanager_mac.mm71 void ReleaseDeviceWatcherCallback(void* watcher) {
72 DeviceWatcherImpl* watcher_impl = static_cast<DeviceWatcherImpl*>(watcher);
/external/chromium/chrome/browser/sync/engine/
Dsyncer_proto_util_unittest.cc193 ScopedServerStatusWatcher* watcher) { in PostBufferWithCachedAuth() argument
/external/chromium/chrome/browser/ui/
Dbrowser.cc1270 TabCloseableStateWatcher* watcher = in IsClosingPermitted() local
1272 bool can_close = !watcher || watcher->CanCloseBrowser(this); in IsClosingPermitted()
2679 TabCloseableStateWatcher* watcher = in CanCloseTab() local
2681 return !watcher || watcher->CanCloseTab(this); in CanCloseTab()
4055 TabCloseableStateWatcher* watcher = in CancelWindowClose() local
4057 if (watcher) in CancelWindowClose()
4058 watcher->OnWindowCloseCanceled(this); in CancelWindowClose()
/external/replicaisland/src/com/replica/replicaisland/
DGameObjectFactory.java6504 …FrameRateWatcherComponent watcher = (FrameRateWatcherComponent)allocateComponent(FrameRateWatcherC…
6505 watcher.setup(render, indicator);
6508 object.add(watcher);
/external/webkit/Source/WebCore/
DChangeLog-2010-01-2940717 … The pair of maps allows us to look up a watcher either by its ID or by its GeoNotifier object.
40718 … The ability to look up by a watcher by its GeoNotifier object will be required when implementing
40722 (WebCore::Geolocation::Watchers::set): Added. Adds a watcher with the given ID.
40723 (WebCore::Geolocation::Watchers::remove): Added. Removes a watcher by ID.
40724 (WebCore::Geolocation::Watchers::remove): Added. Removes a watcher by GeoNotifier object.
40728 (WebCore::Geolocation::watchPosition): Modified. Rename watcher identifier static variable.
/external/webkit/Tools/
DChangeLog-2011-02-163736 ews: Add additional watcher to efl ews
3739 Add gyuyoung.kim@samsung.com to watcher list of efl-ews.