Searched defs:watch (Results 1 - 18 of 18) sorted by relevance

/external/libmojo/mojo/public/js/
H A Dsupport.js12 /* @deprecated Please use watch()/cancelWatch() instead of
28 /* @deprecated Please use watch()/cancelWatch() instead of
39 * @param {MojoHandle} handle The handle to watch.
40 * @param {MojoHandleSignals} signals The signals to watch.
45 * watch.
47 function watch(handle, signals, callback) { [native code] } function
49 /* Cancels a handle watch initiated by watch().
51 * @param {MojoWatchId} watchId The watch identifier returned by watch()
[all...]
/external/tensorflow/tensorflow/python/eager/
H A Dtape.py42 def watch(tensor): function
H A Dbackprop.py325 have `variable.watch()` called on them by f.
402 `variable.watch()` called on them by f.
689 tape.watch(args[i])
804 watched and tensors can be manually watched by calling the watch method on the
812 g.watch(x)
824 g.watch(x)
827 gg.watch(y)
847 g.watch(x)
875 def watch(self, tensor): member in class:GradientTape
884 tape.watch(
[all...]
/external/adhd/cras/src/server/
H A Dcras_dbus.c20 DBusWatch *watch = (DBusWatch *)arg; local
24 pollfd.fd = dbus_watch_get_unix_fd(watch);
37 if (!dbus_watch_handle(watch, flags))
38 syslog(LOG_WARNING, "Failed to handle D-Bus watch.");
41 static dbus_bool_t dbus_watch_add(DBusWatch *watch, void *data) argument
44 unsigned int flags = dbus_watch_get_flags(watch);
46 /* Only select the read watch.
47 * TODO(hychao): select on write watch when we have a use case.
49 if ((flags & DBUS_WATCH_READABLE) && dbus_watch_get_enabled(watch)) {
50 r = cras_system_add_select_fd(dbus_watch_get_unix_fd(watch),
60 dbus_watch_remove(DBusWatch *watch, void *data) argument
69 dbus_watch_toggled(DBusWatch *watch, void *data) argument
[all...]
/external/selinux/restorecond/
H A Dwatch.c88 syslog(LOG_ERR, "Unable to watch (%s) %s\n",
168 Inotify watch loop
170 int watch(int fd, const char *watch_file) function
/external/ltp/testcases/kernel/syscalls/utils/
H A Dinotify.h19 __s32 wd; /* watch descriptor */
20 __u32 mask; /* watch mask */
26 /* the following are legal, implemented events that user-space can watch for */
40 /* the following are legal events. they are sent as needed to any watch */
50 #define IN_ONLYDIR 0x01000000 /* only watch the path if it is a directory */
52 #define IN_MASK_ADD 0x20000000 /* add to the mask of an already existing watch */
72 * struct inotify_watch - represents a watch request on a specific inode
76 * ih, inode, and wd are never written to once the watch is created.
88 __s32 wd; /* watch descriptor */
89 __u32 mask; /* event mask for this watch */
172 inotify_init_watch(struct inotify_watch *watch) argument
192 inotify_add_watch(struct inotify_handle *ih, struct inotify_watch *watch, struct inode *inode, __u32 mask) argument
199 inotify_rm_watch(struct inotify_handle *ih, struct inotify_watch *watch) argument
210 inotify_remove_watch_locked(struct inotify_handle *ih, struct inotify_watch *watch) argument
215 get_inotify_watch(struct inotify_watch *watch) argument
219 put_inotify_watch(struct inotify_watch *watch) argument
[all...]
/external/tensorflow/tensorflow/core/debug/
H A Dgrpc_session_debug_test.cc162 // Iteration 0: No watch.
165 // Iteration 5: No watch.
170 DebugTensorWatch* watch = debug_options->add_debug_tensor_watch_opts(); local
171 watch->set_node_name(node_names[0]);
172 watch->set_output_slot(0);
173 watch->add_debug_ops("DebugIdentity");
174 watch->add_debug_urls(GetDebugURL());
177 watch = debug_options->add_debug_tensor_watch_opts();
178 watch->set_node_name(node_names[1]);
179 watch
256 DebugTensorWatch* watch = debug_options->add_debug_tensor_watch_opts(); local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/dbus/
H A Ddbus_common.c60 DBusWatch *watch, eloop_event_type type)
67 dbus_watch_handle(watch, DBUS_WATCH_READABLE);
69 dbus_watch_handle(watch, DBUS_WATCH_WRITABLE);
71 dbus_watch_handle(watch, DBUS_WATCH_ERROR);
100 static dbus_bool_t add_watch(DBusWatch *watch, void *data) argument
106 if (!dbus_watch_get_enabled(watch))
109 flags = dbus_watch_get_flags(watch);
110 fd = dbus_watch_get_unix_fd(watch);
113 priv, watch);
117 priv, watch);
59 process_watch(struct wpas_dbus_priv *priv, DBusWatch *watch, eloop_event_type type) argument
130 remove_watch(DBusWatch *watch, void *data) argument
149 watch_toggled(DBusWatch *watch, void *data) argument
[all...]
/external/dhcpcd-6.8.2/dbus/
H A Drpc-dbus.c554 dbus_handle_event(DBusWatch *watch, int flags) argument
556 dbus_watch_handle((DBusWatch *)watch, flags);
568 dbus_read_event(void *watch) argument
570 dbus_handle_event((DBusWatch *)watch, DBUS_WATCH_READABLE);
574 dbus_write_event(void *watch) argument
576 dbus_handle_event((DBusWatch *)watch, DBUS_WATCH_WRITABLE);
580 add_watch(DBusWatch *watch, __unused void *data) argument
588 fd = dbus_watch_get_unix_fd(watch);
589 flags = dbus_watch_get_flags(watch);
592 read_arg = watch;
606 remove_watch(DBusWatch *watch, __unused void *data) argument
[all...]
/external/libchrome/base/files/
H A Dfile_path_watcher_linux.cc59 // Remove |watch| if it's valid.
60 void RemoveWatch(Watch watch, FilePathWatcherImpl* watcher);
98 // Called for each event coming from the watch. |fired_watch| identifies the
99 // watch that fired, |child| indicates what has changed, and is relative to
119 // Returns true if watch for |path| has been added successfully.
124 // Cancel the watch. This unregisters the instance with InotifyReader.
129 // - |watch|: the watch descriptor for a component.
136 : watch(InotifyReader::kInvalidWatch),
139 InotifyReader::Watch watch; member in struct:base::__anon10830::FilePathWatcherImpl::WatchEntry
271 Watch watch = inotify_add_watch(inotify_fd_, path.value().c_str(), local
284 RemoveWatch(Watch watch, FilePathWatcherImpl* watcher) argument
561 InotifyReader::Watch watch = local
568 InotifyReader::Watch watch = local
580 TrackWatchForRecursion(InotifyReader::Watch watch, const FilePath& path) argument
623 InotifyReader::Watch watch = local
[all...]
/external/adhd/cras/src/tests/
H A Ddbus_test.cc592 dbus_bool_t DBusTest::AddWatchThunk(DBusWatch *watch, void *data) { argument
594 return test->AddWatch(watch);
597 dbus_bool_t DBusTest::AddWatch(DBusWatch *watch) { argument
598 watches_.push_back(watch);
602 void DBusTest::RemoveWatchThunk(DBusWatch *watch, void *data) { argument
604 test->RemoveWatch(watch);
607 void DBusTest::RemoveWatch(DBusWatch *watch) { argument
609 find(watches_.begin(), watches_.end(), watch);
614 void DBusTest::WatchToggledThunk(DBusWatch *watch, void *data) { argument
616 test->WatchToggled(watch);
619 WatchToggled(DBusWatch *watch) argument
707 DBusWatch *watch = *it; local
763 DBusWatch *watch = *it; local
[all...]
/external/autotest/client/bin/
H A Djob.py535 @disk_usage_monitor.watch(log_warning, "/", self._max_disk_usage_rate)
1138 def watch(cls, *monitor_args, **monitor_dargs): member in class:disk_usage_monitor
/external/libchrome/dbus/
H A Dbus.cc47 explicit Watch(DBusWatch* watch) argument
48 : raw_watch_(watch), file_descriptor_watcher_(FROM_HERE) {
1030 // watch will be deleted when raw_watch is removed in OnRemoveWatch().
1031 Watch* watch = new Watch(raw_watch); local
1032 if (watch->IsReadyToBeWatched()) {
1033 watch->StartWatching();
1042 Watch* watch = static_cast<Watch*>(dbus_watch_get_data(raw_watch)); local
1043 delete watch;
1050 Watch* watch = static_cast<Watch*>(dbus_watch_get_data(raw_watch)); local
1051 if (watch
[all...]
/external/toybox/generated/
H A Dglobals.h957 // toys/pending/watch.c
1511 struct watch_data watch; member in union:global_union
/external/guice/extensions/struts2/lib/
H A Djsp-2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/jasper/ org/apache/jasper/resources/ ...
H A Dant-1.6.5.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...
/external/jarjar/lib/
H A Dapache-ant-1.9.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...

Completed in 3276 milliseconds