Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 203) sorted by last modified time

123456789

/unit/test/unit/
H A Dhttp.py184 data = b''
203 data += part
208 return data
312 data = "&".join(
315 return data, 'application/x-www-form-urlencoded'
336 data = value['data'].read()
339 data = value
357 body += "\r\n%s\r\n" % data
/unit/src/
H A Dnxt_var.c12 u_char data[]; member
37 void *data; member
44 #define nxt_var_subs(var) ((nxt_var_sub_t *) (var)->data)
47 ((var)->data + (var)->vars * sizeof(nxt_var_sub_t))
50 static nxt_int_t nxt_var_hash_test(nxt_lvlhsh_query_t *lhq, void *data);
58 static nxt_int_t nxt_var_cache_test(nxt_lvlhsh_query_t *lhq, void *data);
87 nxt_var_hash_test(nxt_lvlhsh_query_t *lhq, void *data) in nxt_var_hash_test() argument
91 decl = data; in nxt_var_hash_test()
226 nxt_var_cache_test(nxt_lvlhsh_query_t *lhq, void *data) in nxt_var_cache_test() argument
H A Dnxt_router.h243 void nxt_router_conf_apply(nxt_task_t *task, void *obj, void *data);
H A Dnxt_tstr.c43 void *data; member
291 nxt_tstr_query_resolve(nxt_task_t *task, nxt_tstr_query_t *query, void *data, in nxt_tstr_query_resolve() argument
294 query->data = data; in nxt_tstr_query_resolve()
301 task, query->ctx, query->data); in nxt_tstr_query_resolve()
315 task, query->ctx, query->data); in nxt_tstr_query_handle()
H A Dnxt_runtime.h23 void *data; member
138 void nxt_stream_connection_init(nxt_task_t *task, void *obj, void *data);
H A Dnxt_router_access_log.c29 void *data);
31 void *data);
37 void *data);
184 ctx = data; in nxt_router_access_log_write_ready()
251 void *data) in nxt_router_access_log_ready() argument
256 tmcf = data; in nxt_router_access_log_ready()
269 void *data) in nxt_router_access_log_error() argument
273 tmcf = data; in nxt_router_access_log_error()
406 mp = b->data; in nxt_router_access_log_reopen_completion()
414 void *data) in nxt_router_access_log_reopen_ready() argument
[all …]
H A Dnxt_tstr.h55 void *data, nxt_work_handler_t ready, nxt_work_handler_t error);
H A Dnxt_router.c184 void *data);
186 void *data);
188 void *data);
190 void *data);
192 void *data);
194 void *data);
196 void *data);
215 void *data);
372 void *data) in nxt_router_start_app_process_handler() argument
384 app = data; in nxt_router_start_app_process_handler()
[all …]
H A Dnxt_main.h29 typedef void (*nxt_work_handler_t)(nxt_task_t *task, void *obj, void *data);
H A Dnxt_http_static.c60 void *data);
62 void *data);
65 void *data);
67 static void nxt_http_static_mtypes_hash_free(void *data, void *p);
322 ctx = data; in nxt_http_static_send_ready()
857 r = data; in nxt_http_static_buf_completion()
1084 mtype = data; in nxt_http_static_mtypes_hash_test()
1091 nxt_http_static_mtypes_hash_alloc(void *data, size_t size) in nxt_http_static_mtypes_hash_alloc() argument
1093 return nxt_mp_align(data, size, size); in nxt_http_static_mtypes_hash_alloc()
1098 nxt_http_static_mtypes_hash_free(void *data, void *p) in nxt_http_static_mtypes_hash_free() argument
[all …]
H A Dnxt_http_return.c27 static void nxt_http_return_send_ready(nxt_task_t *task, void *obj, void *data);
28 static void nxt_http_return_send_error(nxt_task_t *task, void *obj, void *data);
177 nxt_http_return_send_ready(nxt_task_t *task, void *obj, void *data) in nxt_http_return_send_ready() argument
185 ctx = data; in nxt_http_return_send_ready()
220 nxt_http_return_send_error(nxt_task_t *task, void *obj, void *data) in nxt_http_return_send_error() argument
H A Dnxt_http_route.c196 static void nxt_http_pass_query_ready(nxt_task_t *task, void *obj, void *data);
197 static void nxt_http_pass_query_error(nxt_task_t *task, void *obj, void *data);
1337 nxt_http_pass_query_ready(nxt_task_t *task, void *obj, void *data) in nxt_http_pass_query_ready() argument
1346 action = data; in nxt_http_pass_query_ready()
1366 nxt_http_pass_query_error(nxt_task_t *task, void *obj, void *data) in nxt_http_pass_query_error() argument
H A Dnxt_http_request.c12 static void nxt_http_request_start(nxt_task_t *task, void *obj, void *data);
25 void *data);
214 uintptr_t data) in nxt_http_request_content_length() argument
306 nxt_http_request_start(nxt_task_t *task, void *obj, void *data) in nxt_http_request_start() argument
542 nxt_http_request_ready(nxt_task_t *task, void *obj, void *data) in nxt_http_request_ready() argument
623 nxt_work_handler_t body_handler, void *data) in nxt_http_request_header_send() argument
740 r = data; in nxt_http_request_mem_buf_completion()
766 nxt_http_request_done(nxt_task_t *task, void *obj, void *data) in nxt_http_request_done() argument
770 r = data; in nxt_http_request_done()
785 proto.any = data; in nxt_http_request_error_handler()
[all …]
H A Dnxt_http.h261 nxt_work_handler_t body_handler, void *data);
316 void nxt_http_conn_init(nxt_task_t *task, void *obj, void *data);
322 nxt_work_handler_t body_handler, void *data);
330 void nxt_http_request_error_handler(nxt_task_t *task, void *obj, void *data);
331 void nxt_http_request_close_handler(nxt_task_t *task, void *obj, void *data);
334 uintptr_t data);
338 uintptr_t data);
399 uintptr_t data);
401 uintptr_t data);
403 uintptr_t data);
[all …]
H A Dnxt_conf.h95 nxt_conf_map_t *map, nxt_uint_t n, void *data);
H A Dnxt_conf_validation.c512 void *data) in nxt_conf_vldt_tls_timeout() argument
532 void *data) in nxt_conf_vldt_ticket_key() argument
1365 void *data) in nxt_conf_vldt_unsupported() argument
1396 void *data) in nxt_conf_vldt_mtypes() argument
1519 void *data) in nxt_conf_vldt_action() argument
1566 void *data) in nxt_conf_vldt_pass() argument
1685 void *data) in nxt_conf_vldt_return() argument
1702 void *data) in nxt_conf_vldt_share() argument
1745 void *data) in nxt_conf_vldt_proxy() argument
1769 void *data) in nxt_conf_vldt_python() argument
[all …]
H A Dnxt_main_process.c39 void *data);
41 void *data);
43 void *data);
45 void *data);
47 void *data);
499 process->data.app = app_conf; in nxt_main_start_process_handler()
747 (int) (uintptr_t) obj, data); in nxt_main_process_sigterm_handler()
761 (int) (uintptr_t) obj, data); in nxt_main_process_sigquit_handler()
883 (int) (uintptr_t) obj, data); in nxt_main_process_sigchld_handler()
1000 (int) (uintptr_t) obj, data); in nxt_main_process_signal_handler()
[all …]
H A Dnxt_php_sapi.c84 static nxt_int_t nxt_php_start(nxt_task_t *task, nxt_process_data_t *data);
450 nxt_php_start(nxt_task_t *task, nxt_process_data_t *data) in nxt_php_start() argument
462 conf = data->app; in nxt_php_start()
/unit/
H A Dconfigure26 NXT_AUTOCONF_DATA=$NXT_BUILD_DIR/autoconf.data
/unit/src/python/
H A Dnxt_python_wsgi.c55 static void nxt_python_wsgi_ctx_data_free(void *data);
194 obj = nxt_python_create_environ(init->data); in nxt_python_wsgi_init()
264 nxt_python_wsgi_ctx_data_free(void *data) in nxt_python_wsgi_ctx_data_free() argument
268 pctx = data; in nxt_python_wsgi_ctx_data_free()
283 pctx = ctx->data; in nxt_python_wsgi_run()
313 pctx = req->ctx->data; in nxt_python_request_handler()
H A Dnxt_python.c26 nxt_process_data_t *data);
68 nxt_python_start(nxt_task_t *task, nxt_process_data_t *data) in nxt_python_start() argument
93 app_conf = data->app; in nxt_python_start()
232 nxt_unit_default_init(task, &python_init, data->app); in nxt_python_start()
234 python_init.data = c; in nxt_python_start()
513 c = ctx->unit->data; in nxt_python_ready_handler()
541 nxt_python_thread_func(void *data) in nxt_python_thread_func() argument
547 ti = data; in nxt_python_thread_func()
H A Dnxt_python_asgi.c330 ctx_data = data; in nxt_python_asgi_ctx_data_free()
358 ctx_data = ctx->data; in nxt_python_asgi_run()
387 ctx_data = ctx->data; in nxt_py_asgi_remove_reader()
465 req->data = asgi; in nxt_py_asgi_request_handler()
966 ctx_data = ctx->data; in nxt_py_asgi_add_reader()
1043 ctx_data = ctx->data; in nxt_py_asgi_quit()
1073 ctx_data = ctx->data; in nxt_py_asgi_shm_ack_handler()
1134 ctx_data = ctx->data; in nxt_py_asgi_port_read()
1153 void *data) in nxt_py_asgi_enum_headers() argument
1227 ctx = data; in nxt_py_asgi_calc_size()
[all …]
/unit/pkg/rpm/
H A DMakefile.python3845 …sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/unit/control.sock http://localh…
/unit/src/test/
H A Dnxt_http_parse_test.c43 nxt_http_parse_test_data_t *data,
46 nxt_http_parse_test_data_t data; member
55 nxt_http_parse_test_data_t *data,
58 nxt_http_parse_test_data_t *data, nxt_str_t *request, nxt_log_t *log);
62 uintptr_t data);
576 && test->handler(&rp, &test->data, &test->request, thr->log) in nxt_http_parse_test()
717 nxt_http_parse_test_data_t *data, nxt_str_t *request, nxt_log_t *log) in nxt_http_parse_test_request_line() argument
721 nxt_http_parse_test_request_line_t *test = &data->request_line; in nxt_http_parse_test_request_line()
803 if (rc != data->fields.result) { in nxt_http_parse_test_fields()
807 request, rc, data->fields.result); in nxt_http_parse_test_fields()
[all …]
/unit/src/perl/
H A Dnxt_perl_psgi.c92 nxt_process_data_t *data);
604 pctx = req->ctx->data; in nxt_perl_psgi_env_create()
953 SvREFCNT_dec(data); in nxt_perl_psgi_result_body_ref()
995 read_info.data = &io_ctx; in nxt_perl_psgi_result_body_fh()
1007 ctx = read_info->data; in nxt_perl_psgi_io_read()
1102 pctx = req->ctx->data; in nxt_perl_psgi_result_cb()
1139 common_conf = data->app; in nxt_perl_psgi_start()
1167 perl_init.data = c; in nxt_perl_psgi_start()
1209 pctx = req->ctx->data; in nxt_perl_psgi_request_handler()
1270 c = ctx->unit->data; in nxt_perl_psgi_ready_handler()
[all …]

123456789