Home
last modified time | relevance | path

Searched refs:PySys_GetObject (Results 1 – 25 of 40) sorted by relevance

12

/external/python/cpython2/Python/
Dpythonrun.c359 sys_stream = PySys_GetObject("stdin"); in Py_InitializeEx()
366 sys_stream = PySys_GetObject("stdout"); in Py_InitializeEx()
373 sys_stream = PySys_GetObject("stderr"); in Py_InitializeEx()
775 v = PySys_GetObject("ps1"); in PyRun_InteractiveLoopFlags()
780 v = PySys_GetObject("ps2"); in PyRun_InteractiveLoopFlags()
824 v = PySys_GetObject("ps1"); in PyRun_InteractiveOneFlags()
832 w = PySys_GetObject("ps2"); in PyRun_InteractiveOneFlags()
1142 PyObject *sys_stderr = PySys_GetObject("stderr"); in handle_system_exit()
1184 hook = PySys_GetObject("excepthook"); in PyErr_PrintEx()
1233 PyObject *f = PySys_GetObject("stderr"); in PyErr_Display()
[all …]
Dtraceback.c140 path = PySys_GetObject("path"); in _Py_DisplaySourceLine()
269 limitv = PySys_GetObject("tracebacklimit"); in PyTraceBack_Print()
Dsysmodule.c50 PySys_GetObject(char *name) in PySys_GetObject() function
63 PyObject *v = PySys_GetObject(name); in PySys_GetFile()
110 outf = PySys_GetObject("stdout"); in sys_displayhook()
1627 PyObject *path = PySys_GetObject("path"); in PySys_SetArgvEx()
1760 file = PySys_GetObject(name); in mywrite()
Dimport.c1135 PyObject *ro = PySys_GetObject("dont_write_bytecode"); in load_source_module()
1312 if ((path_importer_cache = PySys_GetObject("path_importer_cache"))) { in PyImport_GetImporter()
1313 if ((path_hooks = PySys_GetObject("path_hooks"))) { in PyImport_GetImporter()
1373 meta_path = PySys_GetObject("meta_path"); in find_module()
1446 path = PySys_GetObject("path"); in find_module()
1454 path_hooks = PySys_GetObject("path_hooks"); in find_module()
1461 path_importer_cache = PySys_GetObject("path_importer_cache"); in find_module()
D_warnings.c262 f_stderr = PySys_GetObject("stderr"); in show_warning()
525 PyObject *argv = PySys_GetObject("argv"); in setup_context()
Derrors.c667 f = PySys_GetObject("stderr"); in PyErr_WriteUnraisable()
Dbltinmodule.c1624 file = PySys_GetObject("stdout"); in builtin_print()
2035 PyObject *fin = PySys_GetObject("stdin"); in builtin_raw_input()
2036 PyObject *fout = PySys_GetObject("stdout"); in builtin_raw_input()
/external/python/cpython2/Include/
Dsysmodule.h10 PyAPI_FUNC(PyObject *) PySys_GetObject(char *);
/external/python/cffi/cffi/
D_embedding.h208 f = PySys_GetObject((char *)"stderr"); in _cffi_initialize_python()
237 PyFile_WriteObject(PySys_GetObject((char *)"path"), f, 0); in _cffi_initialize_python()
/external/python/cpython3/Include/
Dsysmodule.h10 PyAPI_FUNC(PyObject *) PySys_GetObject(const char *);
/external/python/cpython3/Python/
Dimport.c99 path_hooks = PySys_GetObject("path_hooks"); in _PyImportZip_Init()
1168 path_importer_cache = PySys_GetObject("path_importer_cache"); in PyImport_GetImporter()
1169 path_hooks = PySys_GetObject("path_hooks"); in PyImport_GetImporter()
1665 PyObject *sys_path = PySys_GetObject("path"); in import_find_and_load()
1666 PyObject *sys_meta_path = PySys_GetObject("meta_path"); in import_find_and_load()
1667 PyObject *sys_path_hooks = PySys_GetObject("path_hooks"); in import_find_and_load()
Dtraceback.c609 limitv = PySys_GetObject("tracebacklimit"); in PyTraceBack_Print()
Dinitconfig.c2600 obj = PySys_GetObject(#NAME); \ in _Py_DumpPathConfig()
2620 PyObject *sys_path = PySys_GetObject("path"); /* borrowed reference */ in _Py_DumpPathConfig()
/external/python/cffi/c/
Dcffi1_module.c213 modules_dict = PySys_GetObject("modules"); in b_init_cffi_1_0_external_module()
/external/python/cpython2/Modules/
Dsyslogmodule.c74 PyObject *argv = PySys_GetObject("argv"); in syslog_get_argv()
Dmain.c227 if ((sys_path = PySys_GetObject("path")) && in RunMainFromImporter()
Dthreadmodule.c631 file = PySys_GetObject("stderr"); in t_bootstrap()
/external/python/cpython3/Modules/
Dsyslogmodule.c74 PyObject *argv = PySys_GetObject("argv"); in syslog_get_argv()
/external/python/cpython2/PC/os2vacpp/
Dpython.def372 PySys_GetObject
/external/python/cpython3/PC/bdist_wininst/
Dinstall.c341 DECLPROC(hPython, PyObject *, PySys_GetObject, (char *)); in compile_filelist()
353 if (!PyRun_SimpleString || !PySys_GetObject || !Py_OptimizeFlag) in compile_filelist()
1333 void* (__cdecl * PySys_GetObject)(char *); in get_sys_prefix()
1365 PySys_GetObject = (void* (*)(char *))GetProcAddress in get_sys_prefix()
/external/python/cpython2/PC/bdist_wininst/
Dinstall.c313 DECLPROC(hPython, PyObject *, PySys_GetObject, (char *)); in compile_filelist()
325 if (!PyRun_SimpleString || !PySys_GetObject || !Py_OptimizeFlag) in compile_filelist()
1289 void* (__cdecl * PySys_GetObject)(char *); in get_sys_prefix()
1321 PySys_GetObject = (void* (*)(char *))GetProcAddress in get_sys_prefix()
/external/python/cpython3/Modules/_ctypes/
Dcallbacks.c83 PyObject *f = PySys_GetObject("stderr"); in PrintError()
/external/python/cpython2/Doc/c-api/
Dsys.rst59 .. c:function:: PyObject *PySys_GetObject(char *name)
/external/python/cpython2/Modules/_ctypes/
Dcallbacks.c89 PyObject *f = PySys_GetObject("stderr"); in PrintError()
/external/python/cpython3/PC/
Dpython3.def558 PySys_GetObject=python38.PySys_GetObject

12