/external/python/cpython2/Demo/embed/ |
D | demo.c | 37 PyRun_SimpleString("import sys\n"); in main() 38 PyRun_SimpleString("print sys.builtin_module_names\n"); in main() 39 PyRun_SimpleString("print sys.modules.keys()\n"); in main() 40 PyRun_SimpleString("print sys.executable\n"); in main() 41 PyRun_SimpleString("print sys.argv\n"); in main()
|
D | importexc.c | 9 PyRun_SimpleString(cmd); in main() 13 PyRun_SimpleString(cmd); in main()
|
D | loop.c | 29 PyRun_SimpleString(command); in main()
|
/external/python/cpython3/Programs/ |
D | _testembed.c | 37 PyRun_SimpleString( in print_subinterp() 99 PyRun_SimpleString( in check_stdio_details() 156 PyRun_SimpleString("import sys; " in test_pre_initialization_api() 206 PyRun_SimpleString("import sys; " in test_pre_initialization_sys_options()
|
/external/python/cpython3/PC/bdist_wininst/ |
D | install.c | 257 static int do_compile_files(int (__cdecl * PyRun_SimpleString)(char *), in do_compile_files() 282 if (PyRun_SimpleString(Buffer)) { in do_compile_files() 340 DECLPROC(hPython, int, PyRun_SimpleString, (char *)); in compile_filelist() 353 if (!PyRun_SimpleString || !PySys_GetObject || !Py_OptimizeFlag) in compile_filelist() 360 errors += do_compile_files(PyRun_SimpleString, optimize_flag); in compile_filelist() 733 DECLPROC(hPython, int, PyRun_SimpleString, (char *)); in do_run_installscript() 742 || !PyRun_SimpleString || !Py_FinalizeEx) in do_run_installscript() 785 result = PyRun_SimpleString(script); in do_run_installscript() 854 DECLPROC(hPython, int, PyRun_SimpleString, (char *)); in do_run_simple_script() 858 !PyRun_SimpleString || !PyErr_Print) in do_run_simple_script() [all …]
|
/external/python/cpython2/PC/bdist_wininst/ |
D | install.c | 250 static int do_compile_files(int (__cdecl * PyRun_SimpleString)(char *), in do_compile_files() 275 if (PyRun_SimpleString(Buffer)) { in do_compile_files() 312 DECLPROC(hPython, int, PyRun_SimpleString, (char *)); in compile_filelist() 325 if (!PyRun_SimpleString || !PySys_GetObject || !Py_OptimizeFlag) in compile_filelist() 332 errors += do_compile_files(PyRun_SimpleString, optimize_flag); in compile_filelist() 702 DECLPROC(hPython, int, PyRun_SimpleString, (char *)); in do_run_installscript() 711 || !PyRun_SimpleString || !Py_Finalize) in do_run_installscript() 745 result = PyRun_SimpleString(script); in do_run_installscript() 812 DECLPROC(hPython, int, PyRun_SimpleString, (char *)); in do_run_simple_script() 816 !PyRun_SimpleString || !PyErr_Print) in do_run_simple_script() [all …]
|
/external/python/cpython2/Include/ |
D | pythonrun.h | 90 #define PyRun_SimpleString(s) PyRun_SimpleStringFlags(s, NULL) macro
|
/external/python/cpython3/Include/ |
D | pythonrun.h | 140 #define PyRun_SimpleString(s) PyRun_SimpleStringFlags(s, NULL) macro
|
/external/python/cpython2/PC/os2vacpp/ |
D | python.def | 341 PyRun_SimpleString
|
/external/python/cpython2/Doc/extending/ |
D | embedding.rst | 33 containing Python statements to :c:func:`PyRun_SimpleString`, or you can pass a 66 PyRun_SimpleString("from time import time,ctime\n"
|
/external/python/cpython3/Doc/extending/ |
D | embedding.rst | 33 containing Python statements to :c:func:`PyRun_SimpleString`, or you can pass a 68 PyRun_SimpleString("from time import time,ctime\n"
|
/external/python/cpython3/Doc/faq/ |
D | extending.rst | 63 The highest-level function to do this is :c:func:`PyRun_SimpleString` which takes 67 :c:func:`PyRun_String`; see the source for :c:func:`PyRun_SimpleString` in
|
D | windows.rst | 220 PyRun_SimpleString("import myApp"); // Import the shadow class.
|
/external/python/cpython3/Python/ |
D | pythonrun.c | 1577 #undef PyRun_SimpleString 1579 PyRun_SimpleString(const char *s) in PyRun_SimpleString() function
|
/external/python/cpython2/Python/ |
D | pythonrun.c | 2015 #undef PyRun_SimpleString 2017 PyRun_SimpleString(const char *s) in PyRun_SimpleString() function
|
/external/python/cpython2/Doc/faq/ |
D | extending.rst | 66 The highest-level function to do this is :c:func:`PyRun_SimpleString` which takes 70 :c:func:`PyRun_String`; see the source for :c:func:`PyRun_SimpleString` in
|
D | windows.rst | 246 PyRun_SimpleString("import myApp"); // Import the shadow class.
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 1110 "PyRun_SimpleString"
|
/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 1111 PyRun_SimpleString:int::: 1112 PyRun_SimpleString:char*:command::
|
/external/python/cpython2/Doc/c-api/ |
D | veryhigh.rst | 71 .. c:function:: int PyRun_SimpleString(const char *command)
|
D | init.rst | 306 PyRun_SimpleString("import sys; sys.path.pop(0)\n");
|
/external/python/cpython3/Doc/c-api/ |
D | veryhigh.rst | 73 .. c:function:: int PyRun_SimpleString(const char *command)
|
D | init.rst | 591 PyRun_SimpleString("import sys; sys.path.pop(0)\n");
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 1888 PyRun_SimpleString:int::: 1889 PyRun_SimpleString:const char*:command::
|
/external/python/cpython3/Modules/ |
D | _testcapimodule.c | 3108 r = PyRun_SimpleString(code); in run_in_subinterp()
|