Home
last modified time | relevance | path

Searched refs:listener_list (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/compiler/jit/
Dxla_activity_listener.cc33 static XlaActivityListenerList* listener_list = new XlaActivityListenerList; in GetXlaActivityListenerList() local
36 return listener_list; in GetXlaActivityListenerList()
41 XlaActivityListenerList* listener_list = GetXlaActivityListenerList(); in ForEachListener() local
42 absl::ReaderMutexLock reader_lock(&listener_list->mutex); in ForEachListener()
45 listener_list->listeners) { in ForEachListener()
92 XlaActivityListenerList* listener_list = GetXlaActivityListenerList(); in RegisterXlaActivityListener() local
93 absl::WriterMutexLock writer_lock(&listener_list->mutex); in RegisterXlaActivityListener()
95 listener_list->listeners.push_back(std::move(listener)); in RegisterXlaActivityListener()
/external/wayland/tests/
Dsignal-test.c45 assert(&signal.listener_list == signal.listener_list.next in TEST()
47 assert(signal.listener_list.next == signal.listener_list.prev in TEST()
Dnewsignal-test.c45 assert(&signal.listener_list == signal.listener_list.next in TEST()
47 assert(signal.listener_list.next == signal.listener_list.prev in TEST()
/external/wayland/src/
Dwayland-server-core.h410 struct wl_list listener_list; member
422 wl_list_init(&signal->listener_list); in wl_signal_init()
435 wl_list_insert(signal->listener_list.prev, &listener->link); in wl_signal_add()
452 wl_list_for_each(l, &signal->listener_list, link) in wl_signal_get()
471 wl_list_for_each_safe(l, next, &signal->listener_list, link) in wl_signal_emit()
Dwayland-server.c885 wl_list_remove(&client->resource_created_signal.listener_list); in wl_client_destroy()
1985 wl_list_init(&signal->listener_list); in wl_priv_signal_init()
2001 wl_list_insert(signal->listener_list.prev, &listener->link); in wl_priv_signal_add()
2018 wl_list_for_each(l, &signal->listener_list, link) in wl_priv_signal_get()
2041 wl_list_insert_list(&signal->emit_list, &signal->listener_list); in wl_priv_signal_emit()
2042 wl_list_init(&signal->listener_list); in wl_priv_signal_emit()
2055 wl_list_insert(&signal->listener_list, pos); in wl_priv_signal_emit()
2090 while (!wl_list_empty(&signal->listener_list)) { in wl_priv_signal_final_emit()
2091 pos = signal->listener_list.next; in wl_priv_signal_final_emit()
Dwayland-private.h240 struct wl_list listener_list; member