Home
last modified time | relevance | path

Searched refs:PySys_SetObject (Results 1 – 17 of 17) sorted by relevance

/external/python/cpython2/Demo/pysvr/
Dpysvr.c299 PySys_SetObject("stdin", new_stdin); in run_interpreter()
300 PySys_SetObject("stdout", new_stdout); in run_interpreter()
301 PySys_SetObject("stderr", new_stdout); in run_interpreter()
/external/python/cpython2/Include/
Dsysmodule.h11 PyAPI_FUNC(int) PySys_SetObject(char *, PyObject *);
/external/python/cpython3/Include/
Dsysmodule.h11 PyAPI_FUNC(int) PySys_SetObject(const char *, PyObject *);
/external/python/cpython2/Python/
Dsysmodule.c72 PySys_SetObject(char *name, PyObject *v) in PySys_SetObject() function
190 PySys_SetObject("exc_type", Py_None); in sys_exc_clear()
191 PySys_SetObject("exc_value", Py_None); in sys_exc_clear()
192 PySys_SetObject("exc_traceback", Py_None); in sys_exc_clear()
1572 if (PySys_SetObject("path", v) != 0) in PySys_SetPath()
1630 if (PySys_SetObject("argv", av) != 0) in PySys_SetArgvEx()
Dpythonrun.c777 PySys_SetObject("ps1", v = PyString_FromString(">>> ")); in PyRun_InteractiveLoopFlags()
782 PySys_SetObject("ps2", v = PyString_FromString("... ")); in PyRun_InteractiveLoopFlags()
1180 PySys_SetObject("last_type", exception); in PyErr_PrintEx()
1181 PySys_SetObject("last_value", v); in PyErr_PrintEx()
1182 PySys_SetObject("last_traceback", tb); in PyErr_PrintEx()
1767 PySys_SetObject("exitfunc", (PyObject *)NULL); in call_sys_exitfunc()
Dceval.c3758 PySys_SetObject("exc_type", type); in set_exc_info()
3759 PySys_SetObject("exc_value", value); in set_exc_info()
3760 PySys_SetObject("exc_traceback", tb); in set_exc_info()
3792 PySys_SetObject("exc_type", frame->f_exc_type); in reset_exc_info()
3793 PySys_SetObject("exc_value", frame->f_exc_value); in reset_exc_info()
3794 PySys_SetObject("exc_traceback", frame->f_exc_traceback); in reset_exc_info()
Dimport.c216 err = PySys_SetObject("meta_path", v); in _PyImportHooks_Init()
223 err = PySys_SetObject("path_importer_cache", v); in _PyImportHooks_Init()
230 err = PySys_SetObject("path_hooks", path_hooks); in _PyImportHooks_Init()
/external/python/cpython3/Python/
Dpylifecycle.c795 PySys_SetObject("__stderr__", pstderr); in _Py_InitializeCore_impl()
1448 PySys_SetObject("__stderr__", pstderr); in new_interpreter()
1929 PySys_SetObject("__stdin__", std); in init_sys_streams()
1938 PySys_SetObject("__stdout__", std); in init_sys_streams()
1962 if (PySys_SetObject("__stderr__", std) < 0) { in init_sys_streams()
Dimport.c65 err = PySys_SetObject("meta_path", v); in _PyImportHooks_Init()
72 err = PySys_SetObject("path_importer_cache", v); in _PyImportHooks_Init()
79 err = PySys_SetObject("path_hooks", path_hooks); in _PyImportHooks_Init()
Dsysmodule.c92 PySys_SetObject(const char *name, PyObject *v) in PySys_SetObject() function
2609 if (PySys_SetObject("argv", av) != 0) { in PySys_SetArgvEx()
/external/python/cpython2/PC/os2vacpp/
Dpython.def374 PySys_SetObject
/external/python/cpython2/Doc/c-api/
Dsys.rst70 .. c:function:: int PySys_SetObject(char *name, PyObject *v)
/external/python/cpython3/PC/
Dpython3.def561 PySys_SetObject=python37.PySys_SetObject
/external/python/cpython2/Doc/data/
Drefcounts.dat1331 PySys_SetObject:int:::
1332 PySys_SetObject:char*:name::
1333 PySys_SetObject:PyObject*:v:+1:
/external/python/cpython2/PC/os2emx/
Dpython27.def1140 "PySys_SetObject"
/external/python/cpython3/Doc/c-api/
Dsys.rst200 .. c:function:: int PySys_SetObject(const char *name, PyObject *v)
/external/python/cpython3/Doc/data/
Drefcounts.dat2146 PySys_SetObject:int:::
2147 PySys_SetObject:const char*:name::
2148 PySys_SetObject:PyObject*:v:+1: