Home | History | Annotate | Download | only in tests

Lines Matching defs:callback

58  * callback being invoked, even though were many queued. */
89 sync_callback(void *data, struct wl_callback *callback, uint32_t serial)
94 wl_callback_destroy(callback);
106 * callback events, destroying the second one doesn't cause any
145 sync_callback_roundtrip(void *data, struct wl_callback *callback, uint32_t serial)
173 /* arm a callback on the default queue */
178 /* arm a callback on the other queue */
189 /* re-arm the sync callback on the default queue, so we see that
214 struct wl_callback *callback;
233 callback = wl_display_sync(display_wrapper);
235 assert(callback != NULL);
238 * queue while also knowing our callback is read and queued. */
242 * callback, behind our back. */
243 wl_callback_add_listener(callback, &sync_listener_roundtrip, &done);
248 /* Make sure that we eventually end up dispatching our callback. */
252 wl_callback_destroy(callback);
263 struct wl_callback *callback;
280 callback = wl_display_sync(display);
281 assert(callback != NULL);
284 * queue while also knowing our callback is read, queued on the wrong
289 * up our callback. */
290 wl_callback_add_listener(callback, &sync_listener_roundtrip, &done);
291 wl_proxy_set_queue((struct wl_proxy *) callback, queue);
297 /* Verify that the callback has indeed been dropped. */
300 wl_callback_destroy(callback);