Home
last modified time | relevance | path

Searched refs:PyRun_SimpleString (Results 1 – 25 of 27) sorted by relevance

12

/external/python/cpython2/Demo/embed/
Ddemo.c37 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()
Dimportexc.c9 PyRun_SimpleString(cmd); in main()
13 PyRun_SimpleString(cmd); in main()
Dloop.c29 PyRun_SimpleString(command); in main()
/external/python/cpython3/Programs/
D_testembed.c37 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/
Dinstall.c257 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/
Dinstall.c250 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/
Dpythonrun.h90 #define PyRun_SimpleString(s) PyRun_SimpleStringFlags(s, NULL) macro
/external/python/cpython3/Include/
Dpythonrun.h140 #define PyRun_SimpleString(s) PyRun_SimpleStringFlags(s, NULL) macro
/external/python/cpython2/PC/os2vacpp/
Dpython.def341 PyRun_SimpleString
/external/python/cpython2/Doc/extending/
Dembedding.rst33 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/
Dembedding.rst33 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/
Dextending.rst63 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
Dwindows.rst220 PyRun_SimpleString("import myApp"); // Import the shadow class.
/external/python/cpython3/Python/
Dpythonrun.c1577 #undef PyRun_SimpleString
1579 PyRun_SimpleString(const char *s) in PyRun_SimpleString() function
/external/python/cpython2/Python/
Dpythonrun.c2015 #undef PyRun_SimpleString
2017 PyRun_SimpleString(const char *s) in PyRun_SimpleString() function
/external/python/cpython2/Doc/faq/
Dextending.rst66 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
Dwindows.rst246 PyRun_SimpleString("import myApp"); // Import the shadow class.
/external/python/cpython2/PC/os2emx/
Dpython27.def1110 "PyRun_SimpleString"
/external/python/cpython2/Doc/data/
Drefcounts.dat1111 PyRun_SimpleString:int:::
1112 PyRun_SimpleString:char*:command::
/external/python/cpython2/Doc/c-api/
Dveryhigh.rst71 .. c:function:: int PyRun_SimpleString(const char *command)
Dinit.rst306 PyRun_SimpleString("import sys; sys.path.pop(0)\n");
/external/python/cpython3/Doc/c-api/
Dveryhigh.rst73 .. c:function:: int PyRun_SimpleString(const char *command)
Dinit.rst591 PyRun_SimpleString("import sys; sys.path.pop(0)\n");
/external/python/cpython3/Doc/data/
Drefcounts.dat1888 PyRun_SimpleString:int:::
1889 PyRun_SimpleString:const char*:command::
/external/python/cpython3/Modules/
D_testcapimodule.c3108 r = PyRun_SimpleString(code); in run_in_subinterp()

12