Lines Matching refs:signal
40 struct wl_signal signal; in TEST() local
42 wl_signal_init(&signal); in TEST()
45 assert(&signal.listener_list == signal.listener_list.next in TEST()
47 assert(signal.listener_list.next == signal.listener_list.prev in TEST()
53 struct wl_signal signal; in TEST() local
62 wl_signal_init(&signal); in TEST()
64 wl_signal_add(&signal, &l1); in TEST()
65 wl_signal_add(&signal, &l2); in TEST()
66 wl_signal_add(&signal, &l3); in TEST()
67 wl_signal_add(&signal, &l4); in TEST()
69 assert(wl_signal_get(&signal, signal_notify) == &l4); in TEST()
70 assert(wl_signal_get(&signal, (wl_notify_func_t) 0x3) == &l3); in TEST()
71 assert(wl_signal_get(&signal, (wl_notify_func_t) 0x2) == &l2); in TEST()
72 assert(wl_signal_get(&signal, (wl_notify_func_t) 0x1) == &l1); in TEST()
75 assert(wl_signal_get(&signal, signal_notify) == &l4); in TEST()
76 assert(wl_signal_get(&signal, (wl_notify_func_t) 0x3) == &l3); in TEST()
77 assert(wl_signal_get(&signal, (wl_notify_func_t) 0x2) == &l2); in TEST()
78 assert(wl_signal_get(&signal, (wl_notify_func_t) 0x1) == &l1); in TEST()
86 struct wl_signal signal; in TEST() local
89 wl_signal_init(&signal); in TEST()
90 wl_signal_add(&signal, &l1); in TEST()
93 wl_signal_emit(&signal, &count); in TEST()
103 struct wl_signal signal; in TEST() local
108 wl_signal_init(&signal); in TEST()
109 wl_signal_add(&signal, &l1); in TEST()
110 wl_signal_add(&signal, &l2); in TEST()
111 wl_signal_add(&signal, &l3); in TEST()
114 wl_signal_emit(&signal, &count); in TEST()