Searched defs:watcher (Results 1 - 25 of 40) sorted by relevance

12

/external/libmojo/mojo/edk/system/
H A Drequest_context.cc49 for (const scoped_refptr<Watcher>& watcher :
51 watcher->Cancel();
57 // watcher lock.
59 watch.watcher->MaybeInvokeCallback(watch.result, watch.state, flags);
75 scoped_refptr<Watcher> watcher,
80 WatchNotifyFinalizer(watcher, result, state));
83 void RequestContext::AddWatchCancelFinalizer(scoped_refptr<Watcher> watcher) { argument
85 watch_cancel_finalizers_->push_back(watcher);
93 scoped_refptr<Watcher> watcher,
96 : watcher(watche
74 AddWatchNotifyFinalizer( scoped_refptr<Watcher> watcher, MojoResult result, const HandleSignalsState& state) argument
92 WatchNotifyFinalizer( scoped_refptr<Watcher> watcher, MojoResult result, const HandleSignalsState& state) argument
[all...]
H A Drequest_context.h12 #include "mojo/edk/system/watcher.h"
55 void AddWatchNotifyFinalizer(scoped_refptr<Watcher> watcher,
60 void AddWatchCancelFinalizer(scoped_refptr<Watcher> watcher);
67 WatchNotifyFinalizer(scoped_refptr<Watcher> watcher,
73 scoped_refptr<Watcher> watcher; member in struct:mojo::edk::RequestContext::WatchNotifyFinalizer
/external/apache-http/src/org/apache/http/conn/
H A DEofSensorInputStream.java47 * on EOF. That decision is left to the {@link EofSensorWatcher watcher}.
93 /** The watcher to be notified, if any. */
99 * If no watcher is passed, the underlying stream will simply be
101 * Otherwise, the watcher decides whether the underlying stream
105 * @param watcher the watcher for events, or <code>null</code> for
109 final EofSensorWatcher watcher) {
117 eofWatcher = watcher;
223 * Detects EOF and notifies the watcher.
228 * If EOF is detected, the watcher wil
108 EofSensorInputStream(final InputStream in, final EofSensorWatcher watcher) argument
[all...]
/external/libmojo/mojo/public/cpp/system/
H A Dwatcher.cc5 #include "mojo/public/cpp/system/watcher.h"
18 explicit MessageLoopObserver(Watcher* watcher) : watcher_(watcher) { argument
135 Watcher* watcher = reinterpret_cast<Watcher*>(context); local
137 watcher->task_runner_->RunsTasksOnCurrentThread() &&
138 watcher->is_default_task_runner_) {
142 watcher->OnHandleReady(result);
144 watcher->task_runner_->PostTask(
146 base::Bind(&Watcher::OnHandleReady, watcher->weak_self_, result));
/external/libchrome/base/message_loop/
H A Dmessage_pump_libevent.h64 void set_watcher(Watcher* watcher) { watcher_ = watcher; } argument
/external/libmojo/mojo/message_pump/
H A Dhandle_watcher_perftest.cc98 HandleWatcher watcher; local
102 watcher.Start(pipe.handle0.get(), MOJO_HANDLE_SIGNAL_READABLE,
104 watcher.Stop();
114 HandleWatcher watcher; member in struct:mojo::common::test::TestData
130 test_data->watcher.Start(
136 test_data->watcher.Stop();
145 HandleWatcher watcher; local
151 watcher.Start(pipe.handle0.get(), MOJO_HANDLE_SIGNAL_READABLE,
156 watcher.Stop();
170 HandleWatcher watcher; local
175 HandleWatcher watcher; member in struct:mojo::common::test::TestData
[all...]
H A Dhandle_watcher.cc37 const char kWatcherThreadName[] = "handle-watcher-thread";
312 StateBase(HandleWatcher* watcher, argument
314 : watcher_(watcher),
360 SameThreadWatchingState(HandleWatcher* watcher, argument
365 : StateBase(watcher, callback),
401 // handle on the handle watcher thread.
404 SecondaryThreadWatchingState(HandleWatcher* watcher, argument
409 : StateBase(watcher, callback),
H A Dhandle_watcher_unittest.cc46 HandleWatcher* watcher,
49 delete watcher;
93 void Start(HandleWatcher* watcher, const MessagePipeHandle& handle) { argument
94 StartWithCallback(watcher, handle, GetCallback());
97 void StartWithCallback(HandleWatcher* watcher, argument
100 watcher->Start(handle, MOJO_HANDLE_SIGNAL_READABLE,
130 // ensures that the handle watcher thread (if there is one) is shut down,
142 // it is installed before the handle watcher thread starts.
165 HandleWatcher watcher; local
166 callback_helper.Start(&watcher, test_pip
45 DeleteWatcherAndForwardResult( HandleWatcher* watcher, base::Callback<void(MojoResult)> next_callback, MojoResult result) argument
299 HandleWatcher watcher; local
357 HandleWatcher* watcher = new HandleWatcher(); local
373 HandleWatcher watcher; local
411 HandleWatcher watcher; member in struct:mojo::common::test::TestData
422 HandleWatcher watcher; local
[all...]
/external/webrtc/talk/media/devices/
H A Ddevicemanager.h189 void set_watcher(DeviceWatcher* watcher) { watcher_.reset(watcher); } argument
190 DeviceWatcher* watcher() { return watcher_.get(); } function in class:cricket::DeviceManager
/external/libchrome/base/files/
H A Dfile_path_watcher_fsevents.cc126 FilePathWatcherFSEvents* watcher = local
128 bool root_changed = watcher->ResolveTargetPath();
146 dispatch_async(watcher->queue_, ^{
147 watcher->UpdateEventStream(root_change_at);
151 watcher->OnFilePathsChanged(paths);
204 // It can happen that the watcher gets canceled while tasks that call this
H A Dfile_path_watcher_unittest.cc110 // reset expectations while the file watcher is running.
135 FilePathWatcher* watcher,
140 *result = watcher->Watch(target, recursive_watch,
193 FilePathWatcher* watcher,
219 FilePathWatcher* watcher,
226 FROM_HERE, base::Bind(SetupWatchCallback, target, watcher, delegate,
234 FilePathWatcher watcher; local
236 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false));
247 FilePathWatcher watcher; local
249 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegat
134 SetupWatchCallback(const FilePath& target, FilePathWatcher* watcher, TestDelegateBase* delegate, bool recursive_watch, bool* result, base::WaitableEvent* completion) argument
218 SetupWatch(const FilePath& target, FilePathWatcher* watcher, TestDelegateBase* delegate, bool recursive_watch) argument
262 FilePathWatcher watcher; local
275 FilePathWatcher watcher; local
289 Deleter(FilePathWatcher* watcher, MessageLoop* loop) argument
301 FilePathWatcher* watcher() const { return watcher_.get(); } function in class:base::__anon9859::Deleter
312 FilePathWatcher* watcher = new FilePathWatcher; local
330 FilePathWatcher* watcher = new FilePathWatcher; local
353 FilePathWatcher watcher; local
387 FilePathWatcher watcher; local
414 FilePathWatcher watcher; local
430 FilePathWatcher watcher; local
445 FilePathWatcher watcher; local
505 FilePathWatcher watcher; local
658 FilePathWatcher watcher; local
672 FilePathWatcher watcher; local
690 FilePathWatcher watcher; local
705 FilePathWatcher watcher; local
720 FilePathWatcher watcher; local
736 FilePathWatcher watcher; local
750 FilePathWatcher watcher; local
779 FilePathWatcher watcher; local
809 FilePathWatcher watcher; local
890 FilePathWatcher watcher; local
[all...]
H A Dfile_path_watcher_linux.cc53 // Watch directory |path| for changes. |watcher| will be notified on each
55 Watch AddWatch(const FilePath& path, FilePathWatcherImpl* watcher);
58 void RemoveWatch(Watch watch, FilePathWatcherImpl* watcher);
294 const FilePath& path, FilePathWatcherImpl* watcher) {
308 watchers_[watch].insert(watcher);
313 void InotifyReader::RemoveWatch(Watch watch, FilePathWatcherImpl* watcher) { argument
319 watchers_[watch].erase(watcher);
334 for (WatcherSet::iterator watcher = watchers_[event->wd].begin();
335 watcher != watchers_[event->wd].end();
336 ++watcher) {
293 AddWatch( const FilePath& path, FilePathWatcherImpl* watcher) argument
[all...]
/external/libchrome/base/memory/
H A Dscoped_vector_unittest.cc62 // pairing of the watcher, which observes the object and notifies of
108 // Returns true iff |object| is the same object that this watcher is tracking.
121 LifeCycleWatcher watcher; local
122 EXPECT_EQ(LC_INITIAL, watcher.life_cycle_state());
123 LifeCycleObject* object = watcher.NewLifeCycleObject();
124 EXPECT_EQ(LC_CONSTRUCTED, watcher.life_cycle_state());
126 EXPECT_EQ(LC_DESTROYED, watcher.life_cycle_state());
130 LifeCycleWatcher watcher; local
131 EXPECT_EQ(LC_INITIAL, watcher.life_cycle_state());
133 scoped_vector.push_back(watcher
142 LifeCycleWatcher watcher; local
154 LifeCycleWatcher watcher; local
193 LifeCycleWatcher watcher; local
211 LifeCycleWatcher watcher; local
223 LifeCycleWatcher watcher; local
242 LifeCycleWatcher watcher; local
[all...]
/external/webrtc/webrtc/system_wrappers/source/
H A Dscoped_vector_unittest.cc61 // pairing of the watcher, which observes the object and notifies of
101 // Returns true iff |object| is the same object that this watcher is tracking.
114 LifeCycleWatcher watcher; local
115 EXPECT_EQ(LC_INITIAL, watcher.life_cycle_state());
116 LifeCycleObject* object = watcher.NewLifeCycleObject();
117 EXPECT_EQ(LC_CONSTRUCTED, watcher.life_cycle_state());
119 EXPECT_EQ(LC_DESTROYED, watcher.life_cycle_state());
123 LifeCycleWatcher watcher; local
124 EXPECT_EQ(LC_INITIAL, watcher.life_cycle_state());
126 scoped_vector.push_back(watcher
135 LifeCycleWatcher watcher; local
147 LifeCycleWatcher watcher; local
186 LifeCycleWatcher watcher; local
204 LifeCycleWatcher watcher; local
216 LifeCycleWatcher watcher; local
236 LifeCycleWatcher watcher; local
[all...]
/external/iptables/iptables/
H A Dnft-bridge.h101 struct xtables_target *watcher; member in union:ebt_match::__anon8214
H A Dxtables-eb.c626 struct xtables_target *watcher; local
629 watcher = xtables_find_target(name, XTF_LOAD_MUST_SUCCEED);
630 if (!watcher)
632 "Unable to load %s watcher", name);
634 size = XT_ALIGN(sizeof(struct xt_entry_target)) + watcher->size;
636 watcher->t = xtables_calloc(1, size);
637 watcher->t->u.target_size = size;
638 strncpy(watcher->t->u.user.name, name,
639 sizeof(watcher->t->u.user.name));
640 watcher
699 ebt_add_watcher(struct xtables_target *watcher, struct ebtables_command_state *cs) argument
[all...]
/external/kernel-headers/original/uapi/linux/netfilter_bridge/
H A Debtables.h133 struct xt_target *watcher; member in union:ebt_entry_watcher::__anon8889
/external/libmojo/mojo/android/system/
H A Dcore_impl.cc41 void AsyncWaitCallback(mojo::common::HandleWatcher* watcher, argument
44 delete watcher;
379 common::HandleWatcher* watcher = new common::HandleWatcher(); local
380 cancel_id = reinterpret_cast<MojoAsyncWaitID>(watcher);
381 watcher->Start(Handle(static_cast<MojoHandle>(mojo_handle)), signals,
383 base::Bind(&AsyncWaitCallback, watcher, callback_data));
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowTextView.java117 for (TextWatcher watcher : watchers) {
118 watcher.afterTextChanged(new SpannableStringBuilder(getText()));
123 for (TextWatcher watcher : watchers) {
124 watcher.onTextChanged(text, 0, oldValue.length(), text.length());
129 for (TextWatcher watcher : watchers) {
130 watcher.beforeTextChanged(this.text, 0, this.text.length(), newValue.length());
469 public void addTextChangedListener(TextWatcher watcher) { argument
470 this.watchers.add(watcher);
474 public void removeTextChangedListener(TextWatcher watcher) { argument
475 this.watchers.remove(watcher);
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.p2.reconciler.dropins_1.1.2.R36x_v20101111-1430.jar ... .internal.provisional.p2.directorywatcher.DirectoryWatcher watcher org.eclipse.equinox.internal.p2. ...
H A Dorg.eclipse.equinox.p2.directorywatcher_1.0.203.R36x_v20101027.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.equinox.p2.extensionlocation_1.2.0.v20100518.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/robolectric/v3/runtime/
H A Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-17.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-18.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...

Completed in 8104 milliseconds

12