Home
last modified time | relevance | path

Searched refs:WL_SERVER_ID_START (Results 1 – 6 of 6) sorted by relevance

/external/wayland/tests/
Dmap-test.c42 assert(i == WL_SERVER_ID_START); in TEST()
43 assert(j == WL_SERVER_ID_START + 1); in TEST()
44 assert(k == WL_SERVER_ID_START + 2); in TEST()
65 assert(wl_map_insert_at(&map, 0, WL_SERVER_ID_START, &a) == 0); in TEST()
66 assert(wl_map_insert_at(&map, 0, WL_SERVER_ID_START + 3, &b) == -1); in TEST()
67 assert(wl_map_insert_at(&map, 0, WL_SERVER_ID_START + 1, &c) == 0); in TEST()
69 assert(wl_map_lookup(&map, WL_SERVER_ID_START) == &a); in TEST()
70 assert(wl_map_lookup(&map, WL_SERVER_ID_START + 1) == &c); in TEST()
84 assert(i == WL_SERVER_ID_START); in TEST()
85 assert(j == WL_SERVER_ID_START + 1); in TEST()
[all …]
/external/wayland/src/
Dwayland-util.c204 base = WL_SERVER_ID_START; in wl_map_insert_new()
231 if (i < WL_SERVER_ID_START) { in wl_map_insert_at()
235 i -= WL_SERVER_ID_START; in wl_map_insert_at()
259 if (i < WL_SERVER_ID_START) { in wl_map_reserve_new()
269 i -= WL_SERVER_ID_START; in wl_map_reserve_new()
297 if (i < WL_SERVER_ID_START) { in wl_map_remove()
307 i -= WL_SERVER_ID_START; in wl_map_remove()
322 if (i < WL_SERVER_ID_START) { in wl_map_lookup()
326 i -= WL_SERVER_ID_START; in wl_map_lookup()
345 if (i < WL_SERVER_ID_START) { in wl_map_lookup_flags()
[all …]
Dwayland-private.h47 #define WL_SERVER_ID_START 0xff000000 macro
Dconnection.c876 if (id >= WL_SERVER_ID_START) in wl_object_is_zombie()
Dwayland-client.c533 } else if (proxy->object.id < WL_SERVER_ID_START) { in proxy_destroy()
Dwayland-server.c743 if (id < WL_SERVER_ID_START) { in wl_resource_destroy()