Home
last modified time | relevance | path

Searched refs:PyRun_SimpleString (Results 1 – 25 of 30) 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/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()
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/
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/cpython3/Include/
Dpythonrun.h153 PyAPI_FUNC(int) PyRun_SimpleString(const char *s);
169 #define PyRun_SimpleString(s) PyRun_SimpleStringFlags(s, NULL) macro
/external/python/cpython3/Programs/
D_testembed.c47 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/
Dpythonrun.h90 #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
69 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.rst222 PyRun_SimpleString("import myApp"); // Import the shadow class.
/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/cpython3/Python/
Dpythonrun.c1737 #undef PyRun_SimpleString
1739 PyRun_SimpleString(const char *s) in PyRun_SimpleString() function
/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.rst80 .. c:function:: int PyRun_SimpleString(const char *command)
Dinit_config.rst1042 int res = PyRun_SimpleString(
/external/python/cpython3/Doc/data/
Drefcounts.dat1916 PyRun_SimpleString:int:::
1917 PyRun_SimpleString:const char*:command::
/external/python/cffi/doc/source/
Dembedding.rst46 the CPython C API: no ``Py_Initialize()`` nor ``PyRun_SimpleString()``

12