Home
last modified time | relevance | path

Searched refs:key_hash (Results 1 – 24 of 24) sorted by relevance

/unit/src/
H A Dnxt_fd_event.c38 lhq.key_hash = nxt_murmur_hash2(&fd, sizeof(nxt_fd_t)); in nxt_fd_event_hash_add()
61 lhq.key_hash = nxt_murmur_hash2(&fd, sizeof(nxt_fd_t)); in nxt_fd_event_hash_get()
83 lhq.key_hash = nxt_murmur_hash2(&fd, sizeof(nxt_fd_t)); in nxt_fd_event_hash_delete()
H A Dnxt_lvlhsh.c193 return nxt_lvlhsh_level_find(lhq, slot, lhq->key_hash, 0); in nxt_lvlhsh_find()
243 if (nxt_lvlhsh_entry_key(e) == lhq->key_hash) { in nxt_lvlhsh_bucket_find()
274 key = lhq->key_hash; in nxt_lvlhsh_insert()
297 nxt_lvlhsh_set_entry_key(bucket, lhq->key_hash); in nxt_lvlhsh_new_bucket()
371 if (nxt_lvlhsh_entry_key(e) == lhq->key_hash) { in nxt_lvlhsh_bucket_insert()
424 nxt_lvlhsh_set_entry_key(vacant_entry, lhq->key_hash); in nxt_lvlhsh_bucket_insert()
494 q.key_hash = key; in nxt_lvlhsh_convert_bucket_to_level()
570 nxt_lvlhsh_set_entry_key(e, lhq->key_hash); in nxt_lvlhsh_bucket_convertion_insert()
636 return nxt_lvlhsh_level_delete(lhq, &lh->slot, lhq->key_hash, 0); in nxt_lvlhsh_delete()
702 if (nxt_lvlhsh_entry_key(e) == lhq->key_hash) { in nxt_lvlhsh_bucket_delete()
H A Dnxt_upstream_source.c30 lhq.key_hash = nxt_djb_hash(unv->name, unv->len); in nxt_upstream_header_hash_add()
H A Dnxt_lvlhsh.h89 uint32_t key_hash; member
H A Dnxt_file_cache.c76 hkey.key_hash = nxt_murmur_hash2(q->key_data, q->key_len); in nxt_file_cache_query()
410 hkey.key_hash = nxt_murmur_hash2(node->key_data, node->key_len);
484 hkey.key_hash = nxt_murmur_hash2(node->key_data, node->key_len); in nxt_cache_node_release_locked()
H A Dnxt_var.c110 lhq.key_hash = nxt_djb_hash(name->start, name->length); in nxt_var_hash_find()
134 lhq.key_hash = nxt_murmur_hash2_uint32(&index); in nxt_var_cache_find()
153 lhq.key_hash = nxt_murmur_hash2_uint32(&index); in nxt_var_cache_add()
176 lhq.key_hash = nxt_djb_hash(lhq.key.start, lhq.key.length); in nxt_var_register()
H A Dnxt_port_hash.c54 lhq->key_hash = nxt_murmur_hash2(pid_port, sizeof(nxt_pid_port_id_t)); in nxt_port_hash_lhq()
H A Dnxt_http_parse.h143 lhq.key_hash = field->hash; in nxt_http_field_process()
H A Dnxt_poll_engine.c422 lhq.key_hash = nxt_murmur_hash2(&ev->fd, sizeof(nxt_fd_t)); in nxt_poll_set_add()
469 lhq.key_hash = nxt_murmur_hash2(&fd, sizeof(nxt_fd_t)); in nxt_poll_set_delete()
642 lhq.key_hash = nxt_murmur_hash2(&fd, sizeof(nxt_fd_t)); in nxt_poll_fd_hash_get()
H A Dnxt_port_rpc.c74 lhq->key_hash = nxt_murmur_hash2(stream, sizeof(*stream)); in nxt_port_rpc_lhq_stream()
84 lhq->key_hash = nxt_murmur_hash2(peer, sizeof(*peer)); in nxt_port_rpc_lhq_peer()
H A Dnxt_cache.c139 lhq.key_hash = nxt_murmur_hash2(q->key_data, q->key_len); in nxt_cache_query()
423 lhq.key_hash = nxt_murmur_hash2(node->key_data, node->key_len); in nxt_cache_update()
H A Dnxt_cert.c397 lhq.key_hash = nxt_djb_hash(name->start, name->length); in nxt_cert_info_save()
429 lhq.key_hash = nxt_djb_hash(name->start, name->length); in nxt_cert_info_get()
797 lhq.key_hash = nxt_djb_hash(name->start, name->length); in nxt_cert_info_delete()
H A Dnxt_http_parse.c1202 lhq.key_hash = nxt_http_field_hash_end(key) & 0xFFFF; in nxt_http_fields_hash()
1247 lhq.key_hash = nxt_http_field_hash_end(key) & mask; in nxt_http_fields_hash_collisions()
H A Dnxt_http_static.c1041 lhq.key_hash = nxt_djb_hash_lowcase(lhq.key.start, lhq.key.length); in nxt_http_static_mtypes_hash_add()
1060 lhq.key_hash = nxt_djb_hash_lowcase(lhq.key.start, lhq.key.length); in nxt_http_static_mtype_get()
H A Dnxt_http_source.c355 lhq.key_hash = nv->hash; in nxt_http_source_header_line_process()
H A Dnxt_port_socket.c1097 lhq.key_hash = nxt_murmur_hash2(&frag_key, sizeof(nxt_port_frag_key_t)); in nxt_port_frag_start()
1147 lhq.key_hash = nxt_murmur_hash2(&frag_key, sizeof(nxt_port_frag_key_t)); in nxt_port_frag_find()
H A Dnxt_fastcgi_source.c577 lhq.key_hash = nv->hash; in nxt_fastcgi_source_header_process()
H A Dnxt_openssl.c1003 lhq.key_hash = nxt_murmur_hash2(item->name.start, item->name.length);
1120 lhq.key_hash = nxt_murmur_hash2(sn->start, sn->length);
H A Dnxt_unit.c4425 lhq->key_hash = nxt_murmur_hash2(pid, sizeof(*pid)); in nxt_unit_process_lhq_pid()
6385 lhq->key_hash = port_id->hash; in nxt_unit_port_hash_lhq()
6388 lhq->key_hash = nxt_murmur_hash2(port_hash_id, sizeof(*port_hash_id)); in nxt_unit_port_hash_lhq()
6390 port_id->hash = lhq->key_hash; in nxt_unit_port_hash_lhq()
6492 lhq.key_hash = nxt_murmur_hash2(stream, sizeof(*stream)); in nxt_unit_request_hash_add()
6528 lhq.key_hash = nxt_murmur_hash2(&stream, sizeof(stream)); in nxt_unit_request_hash_find()
H A Dnxt_application.c1095 lhq->key_hash = nxt_murmur_hash2(pid, sizeof(nxt_pid_t)); in nxt_proto_process_lhq_pid()
H A Dnxt_runtime.c1452 lhq->key_hash = nxt_murmur_hash2(pid, sizeof(*pid)); in nxt_runtime_process_lhq_pid()
H A Dnxt_conf.c1657 lhq.key_hash = nxt_djb_hash(lhq.key.start, lhq.key.length); in nxt_conf_object_hash_add()
H A Dnxt_router.c2358 lhq.key_hash = nxt_djb_hash(app->name.start, app->name.length); in nxt_router_apps_hash_add()
2385 lhq.key_hash = nxt_djb_hash(name->start, name->length); in nxt_router_apps_hash_get()
/unit/src/test/
H A Dnxt_lvlhsh_test.c44 lhq.key_hash = key; in nxt_lvlhsh_test_add()
73 lhq.key_hash = key; in nxt_lvlhsh_test_get()
99 lhq.key_hash = key; in nxt_lvlhsh_test_delete()