Lines Matching refs:queue

111 	struct wl_event_queue *queue;  in client_test_multiple_queues()  local
119 queue = wl_display_create_queue(state.display); in client_test_multiple_queues()
120 assert(queue); in client_test_multiple_queues()
126 wl_proxy_set_queue((struct wl_proxy *) callback1, queue); in client_test_multiple_queues()
131 wl_proxy_set_queue((struct wl_proxy *) state.callback2, queue); in client_test_multiple_queues()
136 ret = wl_display_dispatch_queue(state.display, queue); in client_test_multiple_queues()
138 wl_event_queue_destroy(queue); in client_test_multiple_queues()
160 struct wl_event_queue *queue; in client_test_queue_roundtrip() local
170 queue = wl_display_create_queue(display); in client_test_queue_roundtrip()
171 assert(queue); in client_test_queue_roundtrip()
182 wl_proxy_set_queue((struct wl_proxy *) callback2, queue); in client_test_queue_roundtrip()
197 wl_display_roundtrip_queue(display, queue); in client_test_queue_roundtrip()
203 wl_event_queue_destroy(queue); in client_test_queue_roundtrip()
211 struct wl_event_queue *queue; in client_test_queue_proxy_wrapper() local
227 queue = wl_display_create_queue(display); in client_test_queue_proxy_wrapper()
228 assert(queue); in client_test_queue_proxy_wrapper()
232 wl_proxy_set_queue((struct wl_proxy *) display_wrapper, queue); in client_test_queue_proxy_wrapper()
250 assert(wl_display_dispatch_queue(display, queue) != -1); in client_test_queue_proxy_wrapper()
253 wl_event_queue_destroy(queue); in client_test_queue_proxy_wrapper()
261 struct wl_event_queue *queue; in client_test_queue_set_queue_race() local
277 queue = wl_display_create_queue(display); in client_test_queue_set_queue_race()
278 assert(queue); in client_test_queue_set_queue_race()
291 wl_proxy_set_queue((struct wl_proxy *) callback, queue); in client_test_queue_set_queue_race()
295 wl_display_roundtrip_queue(display, queue); in client_test_queue_set_queue_race()
301 wl_event_queue_destroy(queue); in client_test_queue_set_queue_race()