Searched refs:wl_container_of (Results 1 – 11 of 11) sorted by relevance
/external/wayland/src/ |
D | wayland-util.h | 408 #define wl_container_of(ptr, sample, member) \ macro 443 for (pos = wl_container_of((head)->next, pos, member); \ 445 pos = wl_container_of(pos->member.next, pos, member)) 463 for (pos = wl_container_of((head)->next, pos, member), \ 464 tmp = wl_container_of((pos)->member.next, tmp, member); \ 467 tmp = wl_container_of(pos->member.next, tmp, member)) 481 for (pos = wl_container_of((head)->prev, pos, member); \ 483 pos = wl_container_of(pos->member.prev, pos, member)) 501 for (pos = wl_container_of((head)->prev, pos, member), \ 502 tmp = wl_container_of((pos)->member.prev, tmp, member); \ [all …]
|
D | event-loop.c | 538 timer = wl_container_of(source, timer, base); in wl_event_source_timer_dispatch() 614 wl_container_of(source, tsource, base); in wl_event_source_timer_update() 967 source = wl_container_of(loop->idle_list.next, in wl_event_loop_dispatch_idle()
|
D | wayland-server.c | 771 return wl_container_of(link, resource, link); in wl_resource_from_link() 880 return wl_container_of(object, resource, object); in wl_resource_from_object() 1422 client = wl_container_of(pos, client, link); in wl_display_destroy_clients() 1991 return wl_container_of(link, client, link); in wl_client_from_link() 2141 l = wl_container_of(pos, l, link); in wl_priv_signal_emit() 2181 l = wl_container_of(pos, l, link); in wl_priv_signal_final_emit()
|
D | wayland-client.c | 337 closure = wl_container_of(queue->event_list.next, in wl_event_queue_release() 1462 closure = wl_container_of(queue->event_list.next, closure, link); in dispatch_event() 2329 return wl_container_of(object, proxy, object); in wl_proxy_from_object()
|
/external/wayland/tests/ |
D | compositor-introspection-test.c | 57 struct compositor *c = wl_container_of(listener, c, listener); in client_created() 137 l = wl_container_of(listener, l, listener); in resource_created()
|
D | socket-test.c | 200 wl_container_of(l, listener, listener); in client_destroy_notify() 210 wl_container_of(l, listener, listener); in client_create_notify()
|
D | client-test.c | 50 wl_container_of(l, listener, listener); in client_destroy_notify()
|
D | test-compositor.c | 150 ci = wl_container_of(listener, ci, destroy_listener); in client_destroyed()
|
D | event-loop-test.c | 490 wl_container_of(l, listener, listener); in event_loop_destroy_notify()
|
D | display-test.c | 63 listener = wl_container_of(l, listener, listener); in display_destroy_notify()
|
/external/wayland/patches/ |
D | 0003-client-server-Safe-casts-from-wl_object.diff | 65 + return wl_container_of(object, proxy, object); 112 + return wl_container_of(object, resource, object);
|