Home
last modified time | relevance | path

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

/external/wayland/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()
/external/wayland/src/
Dwayland-private.h94 wl_map_insert_at(struct wl_map *map, uint32_t flags, uint32_t i, void *data);
Dwayland-server.c540 if (wl_map_insert_at(&client->objects, 0, 0, NULL) < 0) in wl_client_create()
745 wl_map_insert_at(&client->objects, 0, id, NULL); in wl_resource_destroy()
1723 if (wl_map_insert_at(&client->objects, 0, id, resource) < 0) { in wl_resource_create()
2117 } else if (wl_map_insert_at(&client->objects, WL_MAP_ENTRY_LEGACY, in wl_client_add_resource()
Dwayland-client.c487 wl_map_insert_at(&display->objects, 0, id, proxy); in wl_proxy_create_for_id()
502 wl_map_insert_at(&proxy->display->objects, in proxy_destroy()
507 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