Lines Matching refs:watcher
884 // add the new watcher
886 Watcher* watcher = new(nothrow) EventMaskWatcher(target, events);
887 if (watcher) {
888 if (!fWatchingService.AddWatcher(watcher)) {
890 delete watcher;
924 // remove the watcher
1506 TRoster::AddWatcher(Watcher* watcher)
1510 if (!watcher)
1513 if (!fWatchingService.AddWatcher(watcher))
1521 TRoster::RemoveWatcher(Watcher* watcher)
1525 if (watcher)
1526 fWatchingService.RemoveWatcher(watcher, false);