Home
last modified time | relevance | path

Searched refs:Watch (Results 1 – 25 of 107) sorted by relevance

12345

/external/libchrome/base/files/
Dfile_path_watcher_linux.cc67 typedef int Watch; // Watch descriptor used by AddWatch and RemoveWatch. typedef in base::__anonc6a57ca40111::InotifyReader
68 static const Watch kInvalidWatch = -1;
72 Watch AddWatch(const FilePath& path, FilePathWatcherImpl* watcher);
75 void RemoveWatch(Watch watch, FilePathWatcherImpl* watcher);
94 std::unordered_map<Watch, WatcherSet> watchers_;
123 void OnFilePathChanged(InotifyReader::Watch fired_watch,
130 void OnFilePathChangedOnOriginSequence(InotifyReader::Watch fired_watch,
138 bool Watch(const FilePath& path,
157 InotifyReader::Watch watch;
174 void UpdateRecursiveWatches(InotifyReader::Watch fired_watch, bool is_dir);
[all …]
Dfile_path_watcher.cc38 bool FilePathWatcher::Watch(const FilePath& path, in Watch() function in base::FilePathWatcher
43 return impl_->Watch(path, recursive, callback); in Watch()
Dfile_path_watcher.h47 virtual bool Watch(const FilePath& path,
98 bool Watch(const FilePath& path, bool recursive, const Callback& callback);
Dfile_path_watcher_stub.cc22 bool Watch(const FilePath& path, in Watch() function in base::__anon80c9ecb20111::FilePathWatcherImpl
/external/libchrome/mojo/core/
Dwatch.cc13 Watch::Watch(const scoped_refptr<WatcherDispatcher>& watcher, in Watch() function in mojo::core::Watch
24 bool Watch::NotifyState(const HandleSignalsState& state, in NotifyState()
57 void Watch::Cancel() { in Cancel()
61 void Watch::InvokeCallback(MojoResult result, in InvokeCallback()
81 Watch::~Watch() {} in ~Watch()
84 void Watch::AssertWatcherLockAcquired() const { in AssertWatcherLockAcquired()
Dwatch.h27 class Watch : public base::RefCountedThreadSafe<Watch> {
31 Watch(const scoped_refptr<WatcherDispatcher>& watcher,
86 friend class base::RefCountedThreadSafe<Watch>;
88 ~Watch();
121 DISALLOW_COPY_AND_ASSIGN(Watch);
Dwatcher_dispatcher.h24 class Watch; variable
57 friend class Watch;
59 using WatchSet = std::set<const Watch*>;
77 base::flat_map<uintptr_t, scoped_refptr<Watch>> watches_;
80 base::flat_map<Dispatcher*, scoped_refptr<Watch>> watched_handles_;
94 const Watch* last_watch_to_block_arming_ = nullptr;
Drequest_context.h56 void AddWatchNotifyFinalizer(scoped_refptr<Watch> watch,
64 void AddWatchCancelFinalizer(scoped_refptr<Watch> watch);
71 WatchNotifyFinalizer(scoped_refptr<Watch> watch,
77 scoped_refptr<Watch> watch;
90 base::StackVector<scoped_refptr<Watch>, kStaticWatchFinalizersCapacity>;
Drequest_context.cc53 for (const scoped_refptr<Watch>& watch : in ~RequestContext()
87 void RequestContext::AddWatchNotifyFinalizer(scoped_refptr<Watch> watch, in AddWatchNotifyFinalizer()
95 void RequestContext::AddWatchCancelFinalizer(scoped_refptr<Watch> watch) { in AddWatchCancelFinalizer()
105 scoped_refptr<Watch> watch, in WatchNotifyFinalizer()
Dwatcher_dispatcher.cc41 scoped_refptr<Watch> watch; in NotifyHandleClosed()
100 base::flat_map<uintptr_t, scoped_refptr<Watch>> watches; in Close()
135 scoped_refptr<Watch> watch = in WatchDispatcher()
136 new Watch(this, dispatcher, context, signals, condition); in WatchDispatcher()
171 scoped_refptr<Watch> watch; in CancelWatch()
241 const Watch* const watch = *next_ready_iter; in Arm()
/external/libchrome/mojo/public/cpp/system/tests/
Dsimple_watcher_unittest.cc57 b_watcher.Watch(b.get(), MOJO_HANDLE_SIGNAL_READABLE, in TEST_F()
82 b_watcher.Watch(b.get(), MOJO_HANDLE_SIGNAL_READABLE, NotReached())); in TEST_F()
92 watcher.Watch(pipe.consumer_handle.get(), MOJO_HANDLE_SIGNAL_READABLE, in TEST_F()
129 b_watcher.Watch(b.get(), MOJO_HANDLE_SIGNAL_READABLE, NotReached())); in TEST_F()
142 b_watcher.Watch(b.get(), MOJO_HANDLE_SIGNAL_READABLE, NotReached())); in TEST_F()
164 b_watcher.Watch(b.get(), MOJO_HANDLE_SIGNAL_READABLE, in TEST_F()
188 b_watcher.Watch(b.get(), MOJO_HANDLE_SIGNAL_READABLE, NotReached())); in TEST_F()
209 b_watcher.Watch(b.get(), MOJO_HANDLE_SIGNAL_READABLE, in TEST_F()
231 b_watcher.Watch(b.get(), MOJO_HANDLE_SIGNAL_READABLE, in TEST_F()
255 b_watcher.Watch(b.get(), MOJO_HANDLE_SIGNAL_READABLE, in TEST_F()
[all …]
/external/tensorflow/tensorflow/c/eager/
Dmnist_gradients_testutil.cc50 tape->Watch(inputs[0]); // Watch x. in AddGradModel()
51 tape->Watch(inputs[1]); // Watch y. in AddGradModel()
74 tape->Watch(inputs[0]); // Watch x. in MatMulGradModel()
75 tape->Watch(inputs[1]); // Watch y. in MatMulGradModel()
172 tape->Watch(X); // Watch X. in MNISTGradModel()
173 tape->Watch(W1); // Watch W1. in MNISTGradModel()
174 tape->Watch(W2); // Watch W1. in MNISTGradModel()
Dgradients_test.cc79 tape->Watch(inputs[0]); in IdentityNGradModel()
80 tape->Watch(inputs[1]); in IdentityNGradModel()
211 tape.Watch(inputs[0]); in RecordOperationWithNullGradientFunctionModel()
/external/libchrome/mojo/public/cpp/system/
Dsimple_watcher.h120 MojoResult Watch(Handle handle,
130 MojoResult Watch(Handle handle, in Watch() function
133 return Watch(handle, signals, MOJO_WATCH_CONDITION_SATISFIED, in Watch()
Dhandle_signal_tracker.cc20 MojoResult rv = high_watcher_.Watch( in HandleSignalTracker()
25 rv = low_watcher_.Watch( in HandleSignalTracker()
Dscope_to_message_pipe.cc39 unowned_scoper->pipe_watcher_.Watch( in StartWatchingPipe()
Ddata_pipe_drainer.cc24 handle_watcher_.Watch( in DataPipeDrainer()
/external/tensorflow/tensorflow/c/experimental/gradients/
Dnn_grad_test.cc45 tape.Watch(inputs[0]); in ReluGradModel()
85 tape.Watch(inputs[0]); // Watch score. in SparseSoftmaxCrossEntropyWithLogitsGradModel()
86 tape.Watch(inputs[1]); // Watch label. in SparseSoftmaxCrossEntropyWithLogitsGradModel()
115 tape.Watch(inputs[0]); // Watch A. in BiasAddGradModel()
116 tape.Watch(inputs[1]); // Watch Bias. in BiasAddGradModel()
/external/libchrome/dbus/
Dbus.cc48 class Watch { class
50 explicit Watch(DBusWatch* watch) : raw_watch_(watch) { in Watch() function in dbus::__anon549b8af70111::Watch
54 ~Watch() { dbus_watch_set_data(raw_watch_, nullptr, nullptr); } in ~Watch()
71 base::Bind(&Watch::OnFileReady, base::Unretained(this), in StartWatching()
77 base::Bind(&Watch::OnFileReady, base::Unretained(this), in StartWatching()
97 DISALLOW_COPY_AND_ASSIGN(Watch);
989 Watch* watch = new Watch(raw_watch); in OnAddWatch()
1000 Watch* watch = static_cast<Watch*>(dbus_watch_get_data(raw_watch)); in OnRemoveWatch()
1008 Watch* watch = static_cast<Watch*>(dbus_watch_get_data(raw_watch)); in OnToggleWatch()
/external/llvm-project/lldb/test/API/commands/watchpoints/watchpoint_count/
DTestWatchpointCount.py22 first_watch = first_var.Watch(True, False, True, error)
28 second_watch = second_var.Watch(True, False, True, error)
/external/openscreen/osp/impl/presentation/
Durl_availability_requester.h85 struct Watch { struct
137 std::map<uint64_t, Watch> watch_by_id;
/external/llvm-project/lldb/test/API/commands/watchpoints/step_over_watchpoint/
DTestStepOverWatchpoint.py56 read_watchpoint = read_value.Watch(True, True, False, error)
85 write_watchpoint = write_value.Watch(True, False, True, error)
/external/rust/crates/grpcio-sys/grpc/src/proto/grpc/health/v1/
Dhealth.proto37 SERVICE_UNKNOWN = 3; // Used only by the Watch method.
62 rpc Watch(HealthCheckRequest) returns (stream HealthCheckResponse); rpc
/external/grpc-grpc-java/services/src/main/proto/grpc/health/v1/
Dhealth.proto37 SERVICE_UNKNOWN = 3; // Used only by the Watch method.
62 rpc Watch(HealthCheckRequest) returns (stream HealthCheckResponse); rpc
/external/llvm-project/lldb/include/lldb/API/
DSBValue.h332 lldb::SBWatchpoint Watch(bool resolve_location, bool read, bool write,
336 lldb::SBWatchpoint Watch(bool resolve_location, bool read, bool write);

12345