Home
last modified time | relevance | path

Searched refs:nxt_py_targets (Results 1 – 5 of 5) sorted by relevance

/unit/src/python/
H A Dnxt_python.c54 nxt_python_targets_t *nxt_py_targets; variable
209 nxt_py_targets = targets; in nxt_python_start()
678 if (nxt_py_targets != NULL) { in nxt_python_atexit()
679 for (i = 0; i < nxt_py_targets->count; i++) { in nxt_python_atexit()
680 Py_XDECREF(nxt_py_targets->target[i].application); in nxt_python_atexit()
683 nxt_unit_free(NULL, nxt_py_targets); in nxt_python_atexit()
H A Dnxt_python.h53 extern nxt_python_targets_t *nxt_py_targets;
H A Dnxt_python_asgi_lifespan.c81 size = nxt_py_targets->count * sizeof(PyObject*); in nxt_py_asgi_lifespan_startup()
91 for (i = 0; i < nxt_py_targets->count; i++) { in nxt_py_asgi_lifespan_startup()
92 target = &nxt_py_targets->target[i]; in nxt_py_asgi_lifespan_startup()
288 for (i = 0; i < nxt_py_targets->count; i++) { in nxt_py_asgi_lifespan_shutdown()
H A Dnxt_python_asgi.c166 for (i = 0; i < nxt_py_targets->count; i++) { in nxt_python_asgi_init()
167 func = nxt_python_asgi_get_func(nxt_py_targets->target[i].application); in nxt_python_asgi_init()
180 nxt_py_targets->target[i].asgi_legacy = 1; in nxt_python_asgi_init()
464 target = &nxt_py_targets->target[req->request->app_target]; in nxt_py_asgi_request_handler()
H A Dnxt_python_wsgi.c351 application = nxt_py_targets->target[req->request->app_target].application; in nxt_python_request_handler()