Lines Matching refs:tablelen
37 map->tablelen = INITIAL_TABLE_LENGTH; in nghttp2_map_init()
39 nghttp2_mem_calloc(mem, map->tablelen, sizeof(nghttp2_map_bucket)); in nghttp2_map_init()
57 for (i = 0; i < map->tablelen; ++i) { in nghttp2_map_free()
75 for (i = 0; i < map->tablelen; ++i) { in nghttp2_map_each_free()
106 for (i = 0; i < map->tablelen; ++i) { in nghttp2_map_each()
157 uint32_t tablelen, nghttp2_map_entry *entry) { in map_insert() argument
158 uint32_t h = hash(entry->key, tablelen); in map_insert()
203 for (i = 0; i < map->tablelen; ++i) { in map_resize()
226 for (i = 0; i < map->tablelen; ++i) { in map_resize()
235 map->tablelen = new_tablelen; in map_resize()
256 if ((map->size + 1) * 4 > map->tablelen * 3) { in nghttp2_map_insert()
257 rv = map_resize(map, map->tablelen * 2); in nghttp2_map_insert()
262 rv = map_insert(map, map->table, map->tablelen, new_entry); in nghttp2_map_insert()
271 nghttp2_map_bucket *bkt = &map->table[hash(key, map->tablelen)]; in nghttp2_map_find()
294 nghttp2_map_bucket *bkt = &map->table[hash(key, map->tablelen)]; in nghttp2_map_remove()
322 for (i = 0; i < map->tablelen; ++i) { in nghttp2_map_clear()