Home
last modified time | relevance | path

Searched refs:PyString_FromStringAndSize (Results 1 – 4 of 4) sorted by relevance

/unit/src/python/
H A Dnxt_python.h20 #define PyString_FromStringAndSize(str, size) \ macro
27 #define PyBytes_FromStringAndSize PyString_FromStringAndSize
H A Dnxt_python_wsgi.c468 obj = PyString_FromStringAndSize((char *) nxt_server.start, in nxt_python_create_environ()
700 value = PyString_FromStringAndSize(src, size); in nxt_python_add_sptr()
787 res = PyString_FromStringAndSize(NULL, len + 5); in nxt_python_field_name()
828 res = PyString_FromStringAndSize(NULL, vl); in nxt_python_field_value()
H A Dnxt_python.c430 path = PyString_FromStringAndSize((char *) str.start, str.length); in nxt_python_set_path()
634 obj = PyString_FromStringAndSize((char *) pstr->string.start, in nxt_python_init_strings()
H A Dnxt_python_asgi.c618 v = PyString_FromStringAndSize(nxt_unit_sptr_get(&r->method), in nxt_py_asgi_create_http_scope()
750 v = PyString_FromStringAndSize(p, s == NULL ? len : s - p); in nxt_py_asgi_create_address()
855 proto = PyString_FromStringAndSize(v + start, i - start); in nxt_py_asgi_create_subprotocols()
873 proto = PyString_FromStringAndSize(v + start, i - start); in nxt_py_asgi_create_subprotocols()