Lines Matching defs:key
95 static uint32_t hash(nghttp3_map_key_type key) {
96 return (uint32_t)((key * 11400714819323198485llu) >> 32);
111 nghttp3_map_key_type key = bkt->key;
115 bkt->key = *pkey;
119 *pkey = key;
124 nghttp3_map_key_type key, void *data) {
126 bkt->key = key;
144 fprintf(stderr, "@%u hash=%08x key=%" PRIu64 " base=%zu distance=%zu\n", i,
145 bkt->hash, bkt->key, idx,
152 nghttp3_map_key_type key, void *data) {
161 map_bucket_set_data(bkt, hash, key, data);
167 map_bucket_swap(bkt, &hash, &key, &data);
169 } else if (bkt->key == key) {
203 rv = insert(new_table, new_tablelen, new_tablelenbits, bkt->hash, bkt->key,
217 int nghttp3_map_insert(nghttp3_map *map, nghttp3_map_key_type key, void *data) {
238 rv = insert(map->table, map->tablelen, map->tablelenbits, hash(key), key,
247 void *nghttp3_map_find(nghttp3_map *map, nghttp3_map_key_type key) {
257 h = hash(key);
268 if (bkt->key == key) {
277 int nghttp3_map_remove(nghttp3_map *map, nghttp3_map_key_type key) {
287 h = hash(key);
298 if (bkt->key == key) {