Home
last modified time | relevance | path

Searched refs:proto (Results 1 – 25 of 66) sorted by relevance

123

/unit/src/
H A Dnxt_lvlhsh.c75 proto->bucket_size
359 proto = lhq->proto; in nxt_lvlhsh_bucket_insert()
462 proto = lhq->proto; in nxt_lvlhsh_convert_bucket_to_level()
490 q.proto = proto; in nxt_lvlhsh_convert_bucket_to_level()
560 proto = lhq->proto; in nxt_lvlhsh_bucket_convertion_insert()
607 proto = lhq->proto; in nxt_lvlhsh_free_level()
617 proto->free(lhq->pool, nxt_lvlhsh_bucket(proto, level[i])); in nxt_lvlhsh_free_level()
692 proto = lhq->proto; in nxt_lvlhsh_bucket_delete()
871 peek.proto = proto; in nxt_lvlhsh_peek()
955 proto = peek->proto; in nxt_lvlhsh_bucket_peek()
[all …]
H A Dnxt_hash.h13 const nxt_lvlhsh_proto_t *proto; member
21 lhq->proto = h->proto; in nxt_hash_find()
30 lhq->proto = h->proto; in nxt_hash_insert()
40 lhq->proto = h->proto; in nxt_hash_delete()
H A Dnxt_vector.c12 const nxt_mem_proto_t *proto, void *pool) in nxt_vector_create() argument
16 vector = proto->alloc(pool, sizeof(nxt_vector_t) + items * item_size); in nxt_vector_create()
32 const nxt_mem_proto_t *proto, void *pool) in nxt_vector_init() argument
34 vector->start = proto->alloc(pool, items * item_size); in nxt_vector_init()
48 nxt_vector_destroy(nxt_vector_t *vector, const nxt_mem_proto_t *proto, in nxt_vector_destroy() argument
54 proto->free(pool, vector->start); in nxt_vector_destroy()
63 proto->free(pool, vector->start); in nxt_vector_destroy()
68 proto->free(pool, vector); in nxt_vector_destroy()
96 start = proto->alloc(pool, size); in nxt_vector_add()
111 proto->free(pool, old); in nxt_vector_add()
[all …]
H A Dnxt_vector.h32 const nxt_mem_proto_t *proto, void *pool);
34 size_t item_size, const nxt_mem_proto_t *proto, void *pool);
36 const nxt_mem_proto_t *proto, void *pool);
38 const nxt_mem_proto_t *proto, void *pool);
40 const nxt_mem_proto_t *proto, void *pool);
H A Dnxt_lvlhsh.h94 const nxt_lvlhsh_proto_t *proto; member
103 const nxt_lvlhsh_proto_t *proto; member
167 (lhe)->proto = _proto; \
184 const nxt_lvlhsh_proto_t *proto);
193 const nxt_lvlhsh_proto_t *proto, void *pool);
H A Dnxt_fd_event.c41 lhq.proto = &nxt_event_set_fd_hash_proto; in nxt_fd_event_hash_add()
62 lhq.proto = &nxt_event_set_fd_hash_proto; in nxt_fd_event_hash_get()
84 lhq.proto = &nxt_event_set_fd_hash_proto; in nxt_fd_event_hash_delete()
H A Dnxt_cache.c49 static const nxt_lvlhsh_proto_t proto nxt_aligned(64) = { in nxt_cache_shm_create()
63 cache->proto = &proto; in nxt_cache_shm_create()
82 static const nxt_lvlhsh_proto_t proto nxt_aligned(64) = { in nxt_cache_init()
90 cache->proto = &proto; in nxt_cache_init()
143 lhq.proto = cache->proto; in nxt_cache_query()
428 lhq.proto = cache->proto; in nxt_cache_update()
H A Dnxt_http_error.c66 nxt_http_request_error_handler(task, r, r->proto.any); in nxt_http_request_error()
103 nxt_http_request_error_handler(task, r, r->proto.any); in nxt_http_request_send_error_body()
H A Dnxt_http_request.c602 if (nxt_fast_path(r->proto.any != NULL)) { in nxt_http_request_proto_info()
611 if (nxt_fast_path(r->proto.any != NULL)) { in nxt_http_request_read_body()
679 if (nxt_fast_path(r->proto.any != NULL)) { in nxt_http_request_header_send()
695 if (r->proto.any != NULL) { in nxt_http_request_ws_frame_start()
777 nxt_http_proto_t proto; in nxt_http_request_error_handler() local
781 proto.any = data; in nxt_http_request_error_handler()
787 if (nxt_fast_path(proto.any != NULL)) { in nxt_http_request_error_handler()
797 nxt_http_proto_t proto; in nxt_http_request_close_handler() local
804 proto.any = data; in nxt_http_request_close_handler()
822 r->proto.any = NULL; in nxt_http_request_close_handler()
[all …]
H A Dnxt_h1proto.c55 nxt_http_proto_t proto);
487 r->proto.h1 = h1p; in nxt_h1p_conn_request_init()
853 h1p = r->proto.h1; in nxt_h1p_request_body_read()
1227 h1p = r->proto.h1; in nxt_h1p_request_header_send()
1462 h1p = r->proto.h1; in nxt_h1p_request_send()
1549 h1p = proto.h1; in nxt_h1p_request_body_bytes_sent()
1568 h1p = r->proto.h1; in nxt_h1p_request_discard()
1692 h1p = proto.h1; in nxt_h1p_request_close()
2167 peer->proto.h1 = h1p; in nxt_h1p_peer_connect()
2308 c = peer->proto.h1->conn; in nxt_h1p_peer_header_send()
[all …]
H A Dnxt_upstream.h42 const nxt_upstream_server_proto_t *proto; member
H A Dnxt_upstream_source.c35 lhq.proto = &nxt_upstream_header_hash_proto; in nxt_upstream_header_hash_add()
/unit/src/test/
H A Dnxt_lvlhsh_test.c49 lhq.proto = proto; in nxt_lvlhsh_test_add()
76 lhq.proto = proto; in nxt_lvlhsh_test_get()
102 lhq.proto = proto; in nxt_lvlhsh_test_delete()
126 const nxt_lvlhsh_proto_t *proto; in nxt_lvlhsh_test() local
145 proto = &pool_proto; in nxt_lvlhsh_test()
150 proto = &malloc_proto; in nxt_lvlhsh_test()
160 if (nxt_lvlhsh_test_add(&lh, proto, mp, key) != NXT_OK) { in nxt_lvlhsh_test()
171 if (nxt_lvlhsh_test_get(&lh, proto, key) != NXT_OK) { in nxt_lvlhsh_test()
176 nxt_lvlhsh_each_init(&lhe, proto); in nxt_lvlhsh_test()
191 value = nxt_lvlhsh_peek(&lh, proto); in nxt_lvlhsh_test()
[all …]
/unit/src/python/
H A Dnxt_python.h76 int nxt_python_wsgi_init(nxt_unit_init_t *init, nxt_python_proto_t *proto);
79 int nxt_python_asgi_init(nxt_unit_init_t *init, nxt_python_proto_t *proto);
H A Dnxt_python.c74 nxt_str_t proto, probe_proto, name; in nxt_python_start() local
238 proto = c->protocol; in nxt_python_start()
240 if (proto.length == 0) { in nxt_python_start()
241 proto = nxt_python_asgi_check(targets->target[0].application) in nxt_python_start()
247 if (probe_proto.start != proto.start) { in nxt_python_start()
255 if (nxt_strstr_eq(&proto, &asgi)) { in nxt_python_start()
/unit/go/
H A Drequest.go51 proto := GoStringN(&req.version, C.int(req.version_length))
59 Proto: proto,
61 ProtoMinor: int(proto[7] - '0'),
/unit/test/
H A Dtest_forwarded_header.py157 for proto in ['http', 'https']:
158 assert self.get_scheme('ipv6', xfp=proto) == proto, 'replace'
H A Dtest_reconfigure.py4 from unit.applications.proto import TestApplicationProto
H A Dtest_static_share.py5 from unit.applications.proto import TestApplicationProto
H A Dtest_static_symlink.py5 from unit.applications.proto import TestApplicationProto
/unit/test/unit/applications/lang/
H A Dperl.py1 from unit.applications.proto import TestApplicationProto
H A Dnode.py4 from unit.applications.proto import TestApplicationProto
H A Druby.py3 from unit.applications.proto import TestApplicationProto
H A Dphp.py4 from unit.applications.proto import TestApplicationProto
H A Dpython.py5 from unit.applications.proto import TestApplicationProto

123