Home
last modified time | relevance | path

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

/unit/src/python/
H A Dnxt_python.h28 #define PyBytes_Check PyString_Check macro
H A Dnxt_python_wsgi.c374 if (PyBytes_Check(response)) { in nxt_python_request_handler()
398 if (nxt_fast_path(PyBytes_Check(item))) { in nxt_python_request_handler()
958 if (!PyBytes_Check(string) && !PyUnicode_Check(string)) { in nxt_py_start_resp()
986 if (PyBytes_Check(string)) { in nxt_py_start_resp()
998 if (PyBytes_Check(string)) { in nxt_py_start_resp()
1131 if (PyBytes_Check(str)) { in nxt_python_str_buf()
1155 if (nxt_fast_path(!PyBytes_Check(str))) { in nxt_py_write()
H A Dnxt_python_asgi_http.c383 if (PyBytes_Check(body)) { in nxt_py_asgi_http_response_body()
H A Dnxt_python_asgi.c1247 if (nxt_slow_path(name == NULL || !PyBytes_Check(name))) { in nxt_py_asgi_enum_headers()
1258 if (nxt_slow_path(val == NULL || !PyBytes_Check(val))) { in nxt_py_asgi_enum_headers()
H A Dnxt_python_asgi_websocket.c448 if (nxt_slow_path(bytes != NULL && !PyBytes_Check(bytes))) { in nxt_py_asgi_websocket_send_frame()