Home
last modified time | relevance | path

Searched refs:wl_container_of (Results 1 – 5 of 5) 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 …]
Dwayland-server.c768 return wl_container_of(link, resource, link); in wl_resource_from_link()
1342 client = wl_container_of(pos, client, link); in wl_display_destroy_clients()
2052 l = wl_container_of(pos, l, link); in wl_priv_signal_emit()
2092 l = wl_container_of(pos, l, link); in wl_priv_signal_final_emit()
/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()
Dtest-compositor.c146 ci = wl_container_of(listener, ci, destroy_listener); in client_destroyed()