Searched refs:WL_SERVER_ID_START (Results 1 – 5 of 5) sorted by relevance
/external/wayland/tests/ |
D | map-test.c | 42 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/ |
D | wayland-util.c | 206 base = WL_SERVER_ID_START; in wl_map_insert_new() 233 if (i < WL_SERVER_ID_START) { in wl_map_insert_at() 237 i -= WL_SERVER_ID_START; in wl_map_insert_at() 261 if (i < WL_SERVER_ID_START) { in wl_map_reserve_new() 271 i -= WL_SERVER_ID_START; in wl_map_reserve_new() 299 if (i < WL_SERVER_ID_START) { in wl_map_remove() 309 i -= WL_SERVER_ID_START; in wl_map_remove() 324 if (i < WL_SERVER_ID_START) { in wl_map_lookup() 328 i -= WL_SERVER_ID_START; in wl_map_lookup() 347 if (i < WL_SERVER_ID_START) { in wl_map_lookup_flags() [all …]
|
D | wayland-private.h | 50 #define WL_SERVER_ID_START 0xff000000 macro
|
D | wayland-client.c | 410 else if (proxy->object.id < WL_SERVER_ID_START) in proxy_destroy()
|
D | wayland-server.c | 628 if (id < WL_SERVER_ID_START) { in wl_resource_destroy()
|