Lines Matching refs:tablelen
34 map->tablelen = INITIAL_TABLE_LENGTH; in nghttp2_map_init()
36 nghttp2_mem_calloc(mem, map->tablelen, sizeof(nghttp2_map_entry *)); in nghttp2_map_init()
56 for (i = 0; i < map->tablelen; ++i) { in nghttp2_map_each_free()
73 for (i = 0; i < map->tablelen; ++i) { in nghttp2_map_each()
101 static int insert(nghttp2_map_entry **table, uint32_t tablelen, in insert() argument
104 uint32_t h = hash(entry->key, tablelen); in insert()
133 for (i = 0; i < map->tablelen; ++i) { in resize()
144 map->tablelen = new_tablelen; in resize()
154 if ((map->size + 1) * 4 > map->tablelen * 3) { in nghttp2_map_insert()
155 rv = resize(map, map->tablelen * 2); in nghttp2_map_insert()
160 rv = insert(map->table, map->tablelen, new_entry); in nghttp2_map_insert()
172 h = hash(key, map->tablelen); in nghttp2_map_find()
186 h = hash(key, map->tablelen); in nghttp2_map_remove()