Lines Matching defs:map
529 static void hd_map_init(nghttp2_hd_map *map) {
530 memset(map, 0, sizeof(nghttp2_hd_map));
533 static void hd_map_insert(nghttp2_hd_map *map, nghttp2_hd_entry *ent) {
536 bucket = &map->table[ent->hash & (HD_MAP_SIZE - 1)];
548 static nghttp2_hd_entry *hd_map_find(nghttp2_hd_map *map, int *exact_match,
556 for (p = map->table[hash & (HD_MAP_SIZE - 1)]; p; p = p->next) {
577 static void hd_map_remove(nghttp2_hd_map *map, nghttp2_hd_entry *ent) {
580 dst = &map->table[ent->hash & (HD_MAP_SIZE - 1)];
710 hd_map_init(&deflater->map);
1101 nghttp2_hd_nv *nv, nghttp2_hd_map *map,
1124 if (map) {
1125 hd_map_remove(map, ent);
1157 if (map) {
1158 hd_map_insert(map, new_ent);
1198 int indexing_mode, nghttp2_hd_map *map,
1206 ent = hd_map_find(map, &exact_match, nv, token, hash, name_only);
1224 nghttp2_hd_map *map) {
1236 if (map) {
1237 hd_map_remove(map, ent);
1257 hd_context_shrink_table_size(&deflater->ctx, &deflater->map);
1376 &deflater->map, hash);
1419 rv = add_hd_table_incremental(&deflater->ctx, &hd_nv, &deflater->map, hash);