/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/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() 732 DECLPROC(hPython, int, PyRun_SimpleString, (char *)); in do_run_installscript() 741 || !PyRun_SimpleString || !Py_FinalizeEx) in do_run_installscript() 784 result = PyRun_SimpleString(script); in do_run_installscript() 853 DECLPROC(hPython, int, PyRun_SimpleString, (char *)); in do_run_simple_script() 857 !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/cpython3/Include/ |
D | pythonrun.h | 153 PyAPI_FUNC(int) PyRun_SimpleString(const char *s); 169 #define PyRun_SimpleString(s) PyRun_SimpleStringFlags(s, NULL) macro
|
/external/python/cpython3/Programs/ |
D | _testembed.c | 47 PyRun_SimpleString( in print_subinterp() 109 PyRun_SimpleString( in check_stdio_details() 169 PyRun_SimpleString("import sys; " in test_pre_initialization_api() 219 PyRun_SimpleString("import sys; " in test_pre_initialization_sys_options() 1551 int res = PyRun_SimpleString( in test_init_main()
|
/external/python/cpython2/Include/ |
D | pythonrun.h | 90 #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 69 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 | 222 PyRun_SimpleString("import myApp"); // Import the shadow class.
|
/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/cpython3/Python/ |
D | pythonrun.c | 1737 #undef PyRun_SimpleString 1739 PyRun_SimpleString(const char *s) in PyRun_SimpleString() function
|
/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 | 80 .. c:function:: int PyRun_SimpleString(const char *command)
|
D | init_config.rst | 1042 int res = PyRun_SimpleString(
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 1916 PyRun_SimpleString:int::: 1917 PyRun_SimpleString:const char*:command::
|
/external/python/cffi/doc/source/ |
D | embedding.rst | 46 the CPython C API: no ``Py_Initialize()`` nor ``PyRun_SimpleString()``
|