Lines Matching refs:obj

73     PyObject               *obj;  in nxt_python_start()  local
157 obj = NULL; in nxt_python_start()
161 obj = PySys_GetObject((char *) "stderr"); in nxt_python_start()
162 if (nxt_slow_path(obj == NULL)) { in nxt_python_start()
167 nxt_py_stderr_flush = PyObject_GetAttrString(obj, "flush"); in nxt_python_start()
170 obj = NULL; in nxt_python_start()
182 obj = Py_BuildValue("[s]", "unit"); in nxt_python_start()
183 if (nxt_slow_path(obj == NULL)) { in nxt_python_start()
188 if (nxt_slow_path(PySys_SetObject((char *) "argv", obj) != 0)) { in nxt_python_start()
193 Py_CLEAR(obj); in nxt_python_start()
308 Py_XDECREF(obj); in nxt_python_start()
321 PyObject *module, *obj; in nxt_python_set_target() local
328 module = obj = NULL; in nxt_python_set_target()
361 obj = PyDict_GetItemString(PyModule_GetDict(module), callable); in nxt_python_set_target()
362 if (nxt_slow_path(obj == NULL)) { in nxt_python_set_target()
368 if (nxt_slow_path(PyCallable_Check(obj) == 0)) { in nxt_python_set_target()
374 target->application = obj; in nxt_python_set_target()
375 obj = NULL; in nxt_python_set_target()
384 Py_XDECREF(obj); in nxt_python_set_target()
629 PyObject *obj; in nxt_python_init_strings() local
632 obj = PyString_FromStringAndSize((char *) pstr->string.start, in nxt_python_init_strings()
634 if (nxt_slow_path(obj == NULL)) { in nxt_python_init_strings()
638 PyUnicode_InternInPlace(&obj); in nxt_python_init_strings()
640 *pstr->object_p = obj; in nxt_python_init_strings()
652 PyObject *obj; in nxt_python_done_strings() local
655 obj = *pstr->object_p; in nxt_python_done_strings()
657 Py_XDECREF(obj); in nxt_python_done_strings()