Home
last modified time | relevance | path

Searched refs:nxt_lvlhsh_t (Results 1 – 25 of 30) sorted by relevance

12

/unit/src/
H A Dnxt_port_hash.h14 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 Dnxt_lvlhsh.h85 } 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 Dnxt_fd_event.c33 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 Dnxt_port_hash.c45 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 Dnxt_http_parse.h123 nxt_int_t nxt_http_fields_hash(nxt_lvlhsh_t *hash,
125 nxt_uint_t nxt_http_fields_hash_collisions(nxt_lvlhsh_t *hash,
127 nxt_int_t nxt_http_fields_process(nxt_list_t *fields, nxt_lvlhsh_t *hash,
138 nxt_http_field_process(nxt_http_field_t *field, nxt_lvlhsh_t *hash, void *ctx) in nxt_http_field_process()
H A Dnxt_event_engine.h272 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 Dnxt_router.h52 nxt_lvlhsh_t mtypes_hash;
53 nxt_lvlhsh_t apps_hash;
116 nxt_lvlhsh_t port_hash; /* of nxt_port_t */
H A Dnxt_hash.h12 nxt_lvlhsh_t lvlhsh;
H A Dnxt_runtime.h41 nxt_lvlhsh_t processes; /* of nxt_process_t */
44 nxt_lvlhsh_t ports; /* of nxt_port_t */
H A Dnxt_tls.h66 nxt_lvlhsh_t bundle_hash;
H A Dnxt_http_response.c19 nxt_lvlhsh_t nxt_response_fields_hash;
H A Dnxt_var.h44 nxt_lvlhsh_t hash;
H A Dnxt_http.h399 nxt_int_t nxt_http_static_mtypes_init(nxt_mp_t *mp, nxt_lvlhsh_t *hash);
400 nxt_int_t nxt_http_static_mtypes_hash_add(nxt_mp_t *mp, nxt_lvlhsh_t *hash,
402 nxt_str_t *nxt_http_static_mtype_get(nxt_lvlhsh_t *hash,
427 extern nxt_lvlhsh_t nxt_response_fields_hash;
H A Dnxt_lvlhsh.c181 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 Dnxt_port.h272 nxt_lvlhsh_t rpc_streams; /* stream to nxt_port_rpc_reg_t */
273 nxt_lvlhsh_t rpc_peers; /* peer to queue of nxt_port_rpc_reg_t */
275 nxt_lvlhsh_t frags;
H A Dnxt_http_parse.c1180 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 Dnxt_poll_engine.c65 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 Dnxt_http_static.c929 nxt_http_static_mtypes_init(nxt_mp_t *mp, nxt_lvlhsh_t *hash) in nxt_http_static_mtypes_init()
1034 nxt_http_static_mtypes_hash_add(nxt_mp_t *mp, nxt_lvlhsh_t *hash, in nxt_http_static_mtypes_hash_add()
1060 nxt_http_static_mtype_get(nxt_lvlhsh_t *hash, const nxt_str_t *exten) in nxt_http_static_mtype_get()
H A Dnxt_var.c78 static nxt_lvlhsh_t nxt_var_hash;
H A Dnxt_conf.c112 nxt_lvlhsh_t *lvlhsh, nxt_conf_object_member_t *member);
1501 nxt_lvlhsh_t hash; in nxt_conf_json_parse_object()
1675 nxt_conf_object_hash_add(nxt_mp_t *mp, nxt_lvlhsh_t *lvlhsh, in nxt_conf_object_hash_add()
H A Dnxt_script.c37 static nxt_lvlhsh_t nxt_script_info;
H A Dnxt_openssl.c85 nxt_lvlhsh_t *lvlhsh, nxt_tls_bundle_hash_item_t *item, nxt_mp_t * mp);
976 nxt_openssl_bundle_hash_insert(nxt_task_t *task, nxt_lvlhsh_t *lvlhsh,
H A Dnxt_unit.c189 static int nxt_unit_port_hash_add(nxt_lvlhsh_t *port_hash,
191 static nxt_unit_port_t *nxt_unit_port_hash_find(nxt_lvlhsh_t *port_hash,
311 nxt_lvlhsh_t requests;
364 nxt_lvlhsh_t processes; /* of nxt_unit_process_t */
365 nxt_lvlhsh_t ports; /* of nxt_unit_port_impl_t */
6420 nxt_unit_port_hash_add(nxt_lvlhsh_t *port_hash, nxt_unit_port_t *port) in nxt_unit_port_hash_add()
6444 nxt_unit_port_hash_find(nxt_lvlhsh_t *port_hash, nxt_unit_port_id_t *port_id, in nxt_unit_port_hash_find()
/unit/src/test/
H A Dnxt_lvlhsh_test.c39 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 Dnxt_http_parse_test.c53 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()

12