Home
last modified time | relevance | path

Searched refs:PyBytes_FromStringAndSize (Results 1 – 5 of 5) sorted by last modified time

/unit/src/python/
H A Dnxt_python_asgi_http.c188 body = PyBytes_FromStringAndSize(NULL, size); in nxt_py_asgi_http_read_msg()
H A Dnxt_python_wsgi.c1219 content = PyBytes_FromStringAndSize(NULL, size); in nxt_py_input_read()
1261 return PyBytes_FromStringAndSize("", 0); in nxt_py_input_readline()
1291 return PyBytes_FromStringAndSize("", 0); in nxt_py_input_getline()
1294 content = PyBytes_FromStringAndSize(NULL, res); in nxt_py_input_getline()
H A Dnxt_python_asgi.c726 v = PyBytes_FromStringAndSize(target, target_length); in nxt_py_asgi_create_http_scope()
735 v = PyBytes_FromStringAndSize(query, r->query_length); in nxt_py_asgi_create_http_scope()
910 v = PyBytes_FromStringAndSize(name, f->name_length); in nxt_py_asgi_create_header()
919 v = PyBytes_FromStringAndSize(nxt_unit_sptr_get(&f->value), in nxt_py_asgi_create_header()
H A Dnxt_python.h27 #define PyBytes_FromStringAndSize PyString_FromStringAndSize macro
H A Dnxt_python_asgi_websocket.c798 data = PyBytes_FromStringAndSize(NULL, payload_len); in nxt_py_asgi_websocket_pop_msg()