/unit/src/ |
H A D | nxt_port_hash.h | 14 nxt_int_t nxt_port_hash_add(nxt_lvlhsh_t *port_hash, nxt_port_t *port); 16 nxt_int_t nxt_port_hash_remove(nxt_lvlhsh_t *port_hash, nxt_port_t *port); 18 nxt_port_t *nxt_port_hash_find(nxt_lvlhsh_t *port_hash, nxt_pid_t pid, 21 nxt_port_t *nxt_port_hash_retrieve(nxt_lvlhsh_t *port_hash);
|
H A D | nxt_lvlhsh.h | 85 } nxt_lvlhsh_t; typedef 131 NXT_EXPORT nxt_int_t nxt_lvlhsh_find(nxt_lvlhsh_t *lh, nxt_lvlhsh_query_t *lhq); 147 NXT_EXPORT nxt_int_t nxt_lvlhsh_insert(nxt_lvlhsh_t *lh, 158 NXT_EXPORT nxt_int_t nxt_lvlhsh_delete(nxt_lvlhsh_t *lh, 175 NXT_EXPORT void *nxt_lvlhsh_each(nxt_lvlhsh_t *lh, nxt_lvlhsh_each_t *lhe); 183 NXT_EXPORT void *nxt_lvlhsh_peek(nxt_lvlhsh_t *lh, 192 NXT_EXPORT void *nxt_lvlhsh_retrieve(nxt_lvlhsh_t *lh,
|
H A D | nxt_upstream_source.h | 25 nxt_lvlhsh_t hash; 64 nxt_lvlhsh_t header_hash; 76 nxt_lvlhsh_t *lh, const nxt_upstream_name_value_t *unv, nxt_uint_t n);
|
H A D | nxt_fd_event.c | 33 nxt_fd_event_hash_add(nxt_lvlhsh_t *lvlhsh, nxt_fd_t fd, nxt_fd_event_t *ev) in nxt_fd_event_hash_add() 56 nxt_fd_event_hash_get(nxt_task_t *task, nxt_lvlhsh_t *lvlhsh, nxt_fd_t fd) in nxt_fd_event_hash_get() 77 nxt_fd_event_hash_delete(nxt_task_t *task, nxt_lvlhsh_t *lvlhsh, nxt_fd_t fd, in nxt_fd_event_hash_delete() 97 nxt_fd_event_hash_destroy(nxt_lvlhsh_t *lvlhsh) in nxt_fd_event_hash_destroy()
|
H A D | nxt_port_hash.c | 45 nxt_port_hash_retrieve(nxt_lvlhsh_t *port_hash) in nxt_port_hash_retrieve() 63 nxt_port_hash_add(nxt_lvlhsh_t *port_hash, nxt_port_t *port) in nxt_port_hash_add() 94 nxt_port_hash_remove(nxt_lvlhsh_t *port_hash, nxt_port_t *port) in nxt_port_hash_remove() 123 nxt_port_hash_find(nxt_lvlhsh_t *port_hash, nxt_pid_t pid, in nxt_port_hash_find()
|
H A D | nxt_http_parse.h | 122 nxt_int_t nxt_http_fields_hash(nxt_lvlhsh_t *hash, 124 nxt_uint_t nxt_http_fields_hash_collisions(nxt_lvlhsh_t *hash, 126 nxt_int_t nxt_http_fields_process(nxt_list_t *fields, nxt_lvlhsh_t *hash, 136 nxt_http_field_process(nxt_http_field_t *field, nxt_lvlhsh_t *hash, void *ctx) in nxt_http_field_process()
|
H A D | nxt_event_engine.h | 272 nxt_lvlhsh_t fd_hash; 299 nxt_lvlhsh_t fd_hash; 324 nxt_lvlhsh_t fd_hash; 345 nxt_int_t nxt_fd_event_hash_add(nxt_lvlhsh_t *lvlhsh, nxt_fd_t fd, 347 void *nxt_fd_event_hash_get(nxt_task_t *task, nxt_lvlhsh_t *lvlhsh, 349 void nxt_fd_event_hash_delete(nxt_task_t *task, nxt_lvlhsh_t *lvlhsh, 351 void nxt_fd_event_hash_destroy(nxt_lvlhsh_t *lvlhsh);
|
H A D | nxt_router.h | 51 nxt_lvlhsh_t mtypes_hash; 52 nxt_lvlhsh_t apps_hash; 108 nxt_lvlhsh_t port_hash; /* of nxt_port_t */
|
H A D | nxt_http_source.h | 44 nxt_lvlhsh_t *lh);
|
H A D | nxt_hash.h | 12 nxt_lvlhsh_t lvlhsh;
|
H A D | nxt_var.c | 39 nxt_lvlhsh_t cache; 63 static nxt_str_t *nxt_var_cache_find(nxt_lvlhsh_t *lh, uint32_t index); 64 static nxt_int_t nxt_var_cache_add(nxt_lvlhsh_t *lh, uint32_t index, 88 static nxt_lvlhsh_t nxt_var_hash; 130 nxt_var_cache_find(nxt_lvlhsh_t *lh, uint32_t index) in nxt_var_cache_find() 148 nxt_var_cache_add(nxt_lvlhsh_t *lh, uint32_t index, nxt_str_t *value, in nxt_var_cache_add()
|
H A D | nxt_runtime.h | 41 nxt_lvlhsh_t processes; /* of nxt_process_t */ 44 nxt_lvlhsh_t ports; /* of nxt_port_t */
|
H A D | nxt_upstream_source.c | 24 nxt_upstream_header_hash_add(nxt_mp_t *mp, nxt_lvlhsh_t *lh, in nxt_upstream_header_hash_add()
|
H A D | nxt_fastcgi_source.h | 88 nxt_lvlhsh_t *lh);
|
H A D | nxt_tls.h | 66 nxt_lvlhsh_t bundle_hash;
|
H A D | nxt_http.h | 377 nxt_int_t nxt_http_static_mtypes_init(nxt_mp_t *mp, nxt_lvlhsh_t *hash); 378 nxt_int_t nxt_http_static_mtypes_hash_add(nxt_mp_t *mp, nxt_lvlhsh_t *hash, 380 nxt_str_t *nxt_http_static_mtype_get(nxt_lvlhsh_t *hash, 405 extern nxt_lvlhsh_t nxt_response_fields_hash;
|
H A D | nxt_http_response.c | 19 nxt_lvlhsh_t nxt_response_fields_hash;
|
H A D | nxt_port.h | 258 nxt_lvlhsh_t rpc_streams; /* stream to nxt_port_rpc_reg_t */ 259 nxt_lvlhsh_t rpc_peers; /* peer to queue of nxt_port_rpc_reg_t */ 261 nxt_lvlhsh_t frags;
|
H A D | nxt_lvlhsh.c | 181 nxt_lvlhsh_find(nxt_lvlhsh_t *lh, nxt_lvlhsh_query_t *lhq) in nxt_lvlhsh_find() 268 nxt_lvlhsh_insert(nxt_lvlhsh_t *lh, nxt_lvlhsh_query_t *lhq) in nxt_lvlhsh_insert() 628 nxt_lvlhsh_delete(nxt_lvlhsh_t *lh, nxt_lvlhsh_query_t *lhq) in nxt_lvlhsh_delete() 739 nxt_lvlhsh_each(nxt_lvlhsh_t *lh, nxt_lvlhsh_each_t *lhe) in nxt_lvlhsh_each() 862 nxt_lvlhsh_peek(nxt_lvlhsh_t *lh, const nxt_lvlhsh_proto_t *proto) in nxt_lvlhsh_peek() 972 nxt_lvlhsh_retrieve(nxt_lvlhsh_t *lh, const nxt_lvlhsh_proto_t *proto, in nxt_lvlhsh_retrieve()
|
H A D | nxt_cache.h | 19 nxt_lvlhsh_t lvlhsh;
|
H A D | nxt_http_parse.c | 1180 nxt_http_fields_hash(nxt_lvlhsh_t *hash, in nxt_http_fields_hash() 1218 nxt_http_fields_hash_collisions(nxt_lvlhsh_t *hash, in nxt_http_fields_hash_collisions() 1260 nxt_http_fields_process(nxt_list_t *fields, nxt_lvlhsh_t *hash, void *ctx) in nxt_http_fields_process()
|
H A D | nxt_poll_engine.c | 65 nxt_lvlhsh_t *lh); 681 nxt_poll_fd_hash_destroy(nxt_event_engine_t *engine, nxt_lvlhsh_t *lh) in nxt_poll_fd_hash_destroy()
|
H A D | nxt_http_static.c | 921 nxt_http_static_mtypes_init(nxt_mp_t *mp, nxt_lvlhsh_t *hash) in nxt_http_static_mtypes_init() 1026 nxt_http_static_mtypes_hash_add(nxt_mp_t *mp, nxt_lvlhsh_t *hash, in nxt_http_static_mtypes_hash_add() 1052 nxt_http_static_mtype_get(nxt_lvlhsh_t *hash, const nxt_str_t *exten) in nxt_http_static_mtype_get()
|
/unit/src/test/ |
H A D | nxt_lvlhsh_test.c | 39 nxt_lvlhsh_test_add(nxt_lvlhsh_t *lh, const nxt_lvlhsh_proto_t *proto, in nxt_lvlhsh_test_add() 68 nxt_lvlhsh_test_get(nxt_lvlhsh_t *lh, const nxt_lvlhsh_proto_t *proto, in nxt_lvlhsh_test_get() 93 nxt_lvlhsh_test_delete(nxt_lvlhsh_t *lh, const nxt_lvlhsh_proto_t *proto, in nxt_lvlhsh_test_delete() 124 nxt_lvlhsh_t lh; in nxt_lvlhsh_test() 154 nxt_memzero(&lh, sizeof(nxt_lvlhsh_t)); in nxt_lvlhsh_test()
|
H A D | nxt_http_parse_test.c | 53 nxt_str_t *request, nxt_lvlhsh_t *hash, const char *name, nxt_uint_t n); 373 static nxt_lvlhsh_t nxt_http_test_fields_hash; 534 nxt_lvlhsh_t hash; in nxt_http_parse_test() 587 nxt_memzero(&hash, sizeof(nxt_lvlhsh_t)); in nxt_http_parse_test() 594 nxt_memzero(&hash, sizeof(nxt_lvlhsh_t)); in nxt_http_parse_test() 605 nxt_memzero(&hash, sizeof(nxt_lvlhsh_t)); in nxt_http_parse_test() 654 nxt_lvlhsh_t *hash, const char *name, nxt_uint_t n) in nxt_http_parse_test_bench()
|