Home
last modified time | relevance | path

Searched refs:watch (Results 1 – 25 of 155) sorted by relevance

1234567

/external/libchrome/base/files/
Dfile_path_watcher_linux.cc60 void RemoveWatch(Watch watch, FilePathWatcherImpl* watcher);
136 : watch(InotifyReader::kInvalidWatch), in WatchEntry()
139 InotifyReader::Watch watch; member
163 void TrackWatchForRecursion(InotifyReader::Watch watch, const FilePath& path);
271 Watch watch = inotify_add_watch(inotify_fd_, path.value().c_str(), in AddWatch() local
276 if (watch == kInvalidWatch) in AddWatch()
279 watchers_[watch].insert(watcher); in AddWatch()
281 return watch; in AddWatch()
284 void InotifyReader::RemoveWatch(Watch watch, FilePathWatcherImpl* watcher) { in RemoveWatch() argument
285 if (!valid_ || (watch == kInvalidWatch)) in RemoveWatch()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_common.c60 DBusWatch *watch, eloop_event_type type) in process_watch() argument
67 dbus_watch_handle(watch, DBUS_WATCH_READABLE); in process_watch()
69 dbus_watch_handle(watch, DBUS_WATCH_WRITABLE); in process_watch()
71 dbus_watch_handle(watch, DBUS_WATCH_ERROR); in process_watch()
100 static dbus_bool_t add_watch(DBusWatch *watch, void *data) in add_watch() argument
106 if (!dbus_watch_get_enabled(watch)) in add_watch()
109 flags = dbus_watch_get_flags(watch); in add_watch()
110 fd = dbus_watch_get_unix_fd(watch); in add_watch()
113 priv, watch); in add_watch()
117 priv, watch); in add_watch()
[all …]
/external/adhd/cras/src/server/
Dcras_dbus.c20 DBusWatch *watch = (DBusWatch *)arg; in dbus_watch_callback() local
24 pollfd.fd = dbus_watch_get_unix_fd(watch); in dbus_watch_callback()
37 if (!dbus_watch_handle(watch, flags)) in dbus_watch_callback()
41 static dbus_bool_t dbus_watch_add(DBusWatch *watch, void *data) in dbus_watch_add() argument
44 unsigned int flags = dbus_watch_get_flags(watch); in dbus_watch_add()
49 if ((flags & DBUS_WATCH_READABLE) && dbus_watch_get_enabled(watch)) { in dbus_watch_add()
50 r = cras_system_add_select_fd(dbus_watch_get_unix_fd(watch), in dbus_watch_add()
52 watch); in dbus_watch_add()
60 static void dbus_watch_remove(DBusWatch *watch, void *data) in dbus_watch_remove() argument
62 unsigned int flags = dbus_watch_get_flags(watch); in dbus_watch_remove()
[all …]
/external/tensorflow/tensorflow/core/debug/
Dgrpc_session_debug_test.cc170 DebugTensorWatch* watch = debug_options->add_debug_tensor_watch_opts(); in TEST_F() local
171 watch->set_node_name(node_names[0]); in TEST_F()
172 watch->set_output_slot(0); in TEST_F()
173 watch->add_debug_ops("DebugIdentity"); in TEST_F()
174 watch->add_debug_urls(GetDebugURL()); in TEST_F()
177 watch = debug_options->add_debug_tensor_watch_opts(); in TEST_F()
178 watch->set_node_name(node_names[1]); in TEST_F()
179 watch->set_output_slot(0); in TEST_F()
180 watch->add_debug_ops("DebugIdentity"); in TEST_F()
181 watch->add_debug_urls(GetDebugURL()); in TEST_F()
[all …]
Ddebugger_state_impl.cc24 for (const DebugTensorWatch& watch : in DebuggerState() local
26 for (const string& url : watch.debug_urls()) { in DebuggerState()
57 for (const DebugTensorWatch& watch : in PublishGraph() local
59 for (const string& url : watch.debug_urls()) { in PublishGraph()
Ddebug_graph_utils.cc67 for (const DebugTensorWatch& watch : watches) { in InsertNodes() local
68 if (watch.output_slot() < 0) { in InsertNodes()
74 if (watch.debug_ops().empty()) { in InsertNodes()
79 strings::StrCat(watch.node_name(), ":", watch.output_slot()); in InsertNodes()
82 for (const string& debug_op : watch.debug_ops()) { in InsertNodes()
88 watch.tolerate_debug_op_creation_failures(); in InsertNodes()
91 for (const string& url : watch.debug_urls()) { in InsertNodes()
/external/tensorflow/tensorflow/core/common_runtime/
Ddebugger_state_interface.cc32 for (const DebugTensorWatch& watch : watches) { in SummarizeDebugTensorWatches() local
34 strings::StrCat(watch.node_name(), ":", watch.output_slot()); in SummarizeDebugTensorWatches()
35 if (watch.tolerate_debug_op_creation_failures()) { in SummarizeDebugTensorWatches()
40 for (const string& debug_op : watch.debug_ops()) { in SummarizeDebugTensorWatches()
45 for (const string& debug_url : watch.debug_urls()) { in SummarizeDebugTensorWatches()
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_utils.py64 watch = watch_opts.add()
65 watch.tolerate_debug_op_creation_failures = (
67 watch.node_name = node_name
68 watch.output_slot = output_slot
73 watch.debug_ops.extend(debug_ops)
79 watch.debug_urls.extend(debug_urls)
Ddebug_utils_test.py88 for watch in watch_opts:
89 node_names.append(watch.node_name)
91 self.assertEqual(expected_output_slot, watch.output_slot)
92 self.assertEqual(expected_debug_ops, watch.debug_ops)
93 self.assertEqual(expected_debug_urls, watch.debug_urls)
/external/adhd/cras/src/tests/
Ddbus_test.cc592 dbus_bool_t DBusTest::AddWatchThunk(DBusWatch *watch, void *data) { in AddWatchThunk() argument
594 return test->AddWatch(watch); in AddWatchThunk()
597 dbus_bool_t DBusTest::AddWatch(DBusWatch *watch) { in AddWatch() argument
598 watches_.push_back(watch); in AddWatch()
602 void DBusTest::RemoveWatchThunk(DBusWatch *watch, void *data) { in RemoveWatchThunk() argument
604 test->RemoveWatch(watch); in RemoveWatchThunk()
607 void DBusTest::RemoveWatch(DBusWatch *watch) { in RemoveWatch() argument
609 find(watches_.begin(), watches_.end(), watch); in RemoveWatch()
614 void DBusTest::WatchToggledThunk(DBusWatch *watch, void *data) { in WatchToggledThunk() argument
616 test->WatchToggled(watch); in WatchToggledThunk()
[all …]
Ddbus_test.h290 static dbus_bool_t AddWatchThunk(DBusWatch *watch, void *data);
291 dbus_bool_t AddWatch(DBusWatch *watch);
293 static void RemoveWatchThunk(DBusWatch *watch, void *data);
294 void RemoveWatch(DBusWatch *watch);
296 static void WatchToggledThunk(DBusWatch *watch, void *data);
297 void WatchToggled(DBusWatch *watch);
/external/ltp/testcases/kernel/syscalls/utils/
Dinotify.h172 static inline void inotify_init_watch(struct inotify_watch *watch) in inotify_init_watch() argument
193 struct inotify_watch *watch, in inotify_add_watch() argument
200 struct inotify_watch *watch) in inotify_rm_watch() argument
211 struct inotify_watch *watch) in inotify_remove_watch_locked() argument
215 static inline void get_inotify_watch(struct inotify_watch *watch) in get_inotify_watch() argument
219 static inline void put_inotify_watch(struct inotify_watch *watch) in put_inotify_watch() argument
/external/dhcpcd-6.8.2/dbus/
Drpc-dbus.c554 dbus_handle_event(DBusWatch *watch, int flags) in dbus_handle_event() argument
556 dbus_watch_handle((DBusWatch *)watch, flags); in dbus_handle_event()
568 dbus_read_event(void *watch) in dbus_read_event() argument
570 dbus_handle_event((DBusWatch *)watch, DBUS_WATCH_READABLE); in dbus_read_event()
574 dbus_write_event(void *watch) in dbus_write_event() argument
576 dbus_handle_event((DBusWatch *)watch, DBUS_WATCH_WRITABLE); in dbus_write_event()
580 add_watch(DBusWatch *watch, __unused void *data) in add_watch() argument
588 fd = dbus_watch_get_unix_fd(watch); in add_watch()
589 flags = dbus_watch_get_flags(watch); in add_watch()
592 read_arg = watch; in add_watch()
[all …]
/external/libmojo/mojo/edk/system/
Drequest_context.cc53 for (const WatchNotifyFinalizer& watch : in ~RequestContext() local
59 watch.watcher->MaybeInvokeCallback(watch.result, watch.state, flags); in ~RequestContext()
/external/tensorflow/tensorflow/python/eager/
Dpywrap_tfe_test.py65 tape.watch(a_2_by_2)
96 tape.watch(a_2_by_2)
97 tape.watch(b_2_by_2)
129 tape.watch(a_2_by_2)
130 tape.watch(b_2_by_2)
/external/valgrind/gdbserver_tests/
Dmcwatchpoints.stdinB.gdb16 watch undefined[8]
19 watch undefined[9]
/external/libchrome/dbus/
Dbus.cc47 explicit Watch(DBusWatch* watch) in Watch() argument
48 : raw_watch_(watch), file_descriptor_watcher_(FROM_HERE) { in Watch()
1031 Watch* watch = new Watch(raw_watch); in OnAddWatch() local
1032 if (watch->IsReadyToBeWatched()) { in OnAddWatch()
1033 watch->StartWatching(); in OnAddWatch()
1042 Watch* watch = static_cast<Watch*>(dbus_watch_get_data(raw_watch)); in OnRemoveWatch() local
1043 delete watch; in OnRemoveWatch()
1050 Watch* watch = static_cast<Watch*>(dbus_watch_get_data(raw_watch)); in OnToggleWatch() local
1051 if (watch->IsReadyToBeWatched()) { in OnToggleWatch()
1052 watch->StartWatching(); in OnToggleWatch()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dlist_ops_test.py162 tape.watch(c)
171 tape.watch(c)
181 tape.watch(c)
184 tape.watch(c2)
/external/clang/test/ARCMT/
Dobjcmt-atomic-property.m108 - (BOOL)is3bar; // watch out
109 - (NSString *)get3foo; // watch out
153 - (BOOL)is3bar; // watch out
154 - (NSString *)get3foo; // watch out
Dobjcmt-ns-nonatomic-iosonly.m115 - (BOOL)is3bar; // watch out
116 - (NSString *)get3foo; // watch out
160 - (BOOL)is3bar; // watch out
161 - (NSString *)get3foo; // watch out
Dobjcmt-property.m111 - (BOOL)is3bar; // watch out
112 - (NSString *)get3foo; // watch out
156 - (BOOL)is3bar; // watch out
157 - (NSString *)get3foo; // watch out
Dobjcmt-atomic-property.m.result92 - (BOOL)is3bar; // watch out
93 - (NSString *)get3foo; // watch out
130 - (BOOL)is3bar; // watch out
131 - (NSString *)get3foo; // watch out
Dobjcmt-ns-nonatomic-iosonly.m.result99 - (BOOL)is3bar; // watch out
100 - (NSString *)get3foo; // watch out
137 - (BOOL)is3bar; // watch out
138 - (NSString *)get3foo; // watch out
Dobjcmt-property.m.result95 - (BOOL)is3bar; // watch out
96 - (NSString *)get3foo; // watch out
133 - (BOOL)is3bar; // watch out
134 - (NSString *)get3foo; // watch out
/external/perfetto/src/base/
Dandroid_task_runner.cc43 for (const auto& watch : watch_tasks_) { in ~AndroidTaskRunner() local
48 looper_, watch.first, ALOOPER_POLL_CALLBACK, in ~AndroidTaskRunner()
51 ALooper_removeFd(looper_, watch.first); in ~AndroidTaskRunner()

1234567