Home
last modified time | relevance | path

Searched refs:wl_container_of (Results 1 – 11 of 11) sorted by relevance

/external/wayland/src/
Dwayland-util.h408 #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 …]
Devent-loop.c538 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()
Dwayland-server.c771 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()
Dwayland-client.c337 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/
Dcompositor-introspection-test.c57 struct compositor *c = wl_container_of(listener, c, listener); in client_created()
137 l = wl_container_of(listener, l, listener); in resource_created()
Dsocket-test.c200 wl_container_of(l, listener, listener); in client_destroy_notify()
210 wl_container_of(l, listener, listener); in client_create_notify()
Dclient-test.c50 wl_container_of(l, listener, listener); in client_destroy_notify()
Dtest-compositor.c150 ci = wl_container_of(listener, ci, destroy_listener); in client_destroyed()
Devent-loop-test.c490 wl_container_of(l, listener, listener); in event_loop_destroy_notify()
Ddisplay-test.c63 listener = wl_container_of(l, listener, listener); in display_destroy_notify()
/external/wayland/patches/
D0003-client-server-Safe-casts-from-wl_object.diff65 + return wl_container_of(object, proxy, object);
112 + return wl_container_of(object, resource, object);