Home
last modified time | relevance | path

Searched refs:wl_map_insert_at (Results 1 – 5 of 5) sorted by relevance

/third_party/wayland_standard/tests/
Dmap-test.c65 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()
/third_party/wayland_standard/src/
Dwayland-private.h90 wl_map_insert_at(struct wl_map *map, uint32_t flags, uint32_t i, void *data);
Dwayland-server.c543 if (wl_map_insert_at(&client->objects, 0, 0, NULL) < 0) in wl_client_create()
748 wl_map_insert_at(&client->objects, 0, id, NULL); in wl_resource_destroy()
1790 if (wl_map_insert_at(&client->objects, 0, id, resource) < 0) { in wl_resource_create()
2186 } else if (wl_map_insert_at(&client->objects, WL_MAP_ENTRY_LEGACY, in wl_client_add_resource()
Dwayland-client.c488 wl_map_insert_at(&display->objects, 0, id, proxy); in wl_proxy_create_for_id()
503 wl_map_insert_at(&proxy->display->objects, in proxy_destroy()
508 wl_map_insert_at(&proxy->display->objects, 0, in proxy_destroy()
Dwayland-util.c225 wl_map_insert_at(struct wl_map *map, uint32_t flags, uint32_t i, void *data) in wl_map_insert_at() function