Home
last modified time | relevance | path

Searched refs:nxt_lvlhsh_t (Results 1 – 25 of 36) 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_upstream_source.h25 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 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.h122 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 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;
110 nxt_lvlhsh_t port_hash; /* of nxt_port_t */
H A Dnxt_http_source.h44 nxt_lvlhsh_t *lh);
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_upstream_source.c24 nxt_upstream_header_hash_add(nxt_mp_t *mp, nxt_lvlhsh_t *lh, in nxt_upstream_header_hash_add()
H A Dnxt_fastcgi_source.h88 nxt_lvlhsh_t *lh);
H A Dnxt_var.h37 nxt_lvlhsh_t hash;
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_http.h383 nxt_int_t nxt_http_static_mtypes_init(nxt_mp_t *mp, nxt_lvlhsh_t *hash);
384 nxt_int_t nxt_http_static_mtypes_hash_add(nxt_mp_t *mp, nxt_lvlhsh_t *hash,
386 nxt_str_t *nxt_http_static_mtype_get(nxt_lvlhsh_t *hash,
411 extern nxt_lvlhsh_t nxt_response_fields_hash;
H A Dnxt_port.h263 nxt_lvlhsh_t rpc_streams; /* stream to nxt_port_rpc_reg_t */
264 nxt_lvlhsh_t rpc_peers; /* peer to queue of nxt_port_rpc_reg_t */
266 nxt_lvlhsh_t frags;
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_cache.h19 nxt_lvlhsh_t lvlhsh;
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.c928 nxt_http_static_mtypes_init(nxt_mp_t *mp, nxt_lvlhsh_t *hash) in nxt_http_static_mtypes_init()
1033 nxt_http_static_mtypes_hash_add(nxt_mp_t *mp, nxt_lvlhsh_t *hash, in nxt_http_static_mtypes_hash_add()
1059 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 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