Searched refs:PySys_SetObject (Results 1 – 17 of 17) sorted by relevance
/external/python/cpython2/Demo/pysvr/ |
D | pysvr.c | 299 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/ |
D | sysmodule.h | 11 PyAPI_FUNC(int) PySys_SetObject(char *, PyObject *);
|
/external/python/cpython3/Include/ |
D | sysmodule.h | 11 PyAPI_FUNC(int) PySys_SetObject(const char *, PyObject *);
|
/external/python/cpython2/Python/ |
D | sysmodule.c | 72 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()
|
D | pythonrun.c | 777 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()
|
D | ceval.c | 3758 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()
|
D | import.c | 216 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/cpython2/PC/os2vacpp/ |
D | python.def | 374 PySys_SetObject
|
/external/python/cpython3/Python/ |
D | pylifecycle.c | 2000 PySys_SetObject("__stdin__", std); in init_sys_streams() 2011 PySys_SetObject("__stdout__", std); in init_sys_streams() 2037 if (PySys_SetObject("__stderr__", std) < 0) { in init_sys_streams()
|
D | import.c | 64 err = PySys_SetObject("meta_path", v); in _PyImportHooks_Init() 71 err = PySys_SetObject("path_importer_cache", v); in _PyImportHooks_Init() 78 err = PySys_SetObject("path_hooks", path_hooks); in _PyImportHooks_Init()
|
D | sysmodule.c | 134 PySys_SetObject(const char *name, PyObject *v) in PySys_SetObject() function
|
/external/python/cpython2/Doc/c-api/ |
D | sys.rst | 70 .. c:function:: int PySys_SetObject(char *name, PyObject *v)
|
/external/python/cpython3/PC/ |
D | python3.def | 563 PySys_SetObject=python39.PySys_SetObject
|
/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 1331 PySys_SetObject:int::: 1332 PySys_SetObject:char*:name:: 1333 PySys_SetObject:PyObject*:v:+1:
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 1140 "PySys_SetObject"
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 2175 PySys_SetObject:int::: 2176 PySys_SetObject:const char*:name:: 2177 PySys_SetObject:PyObject*:v:+1:
|
/external/python/cpython3/Doc/c-api/ |
D | sys.rst | 225 .. c:function:: int PySys_SetObject(const char *name, PyObject *v)
|