/build/soong/python/scripts/ |
main.py | 1 import runpy 12 runpy._run_module_as_main("ENTRY_POINT", alter_argv=False)
|
/external/fonttools/Lib/fontTools/ |
__main__.py | 28 import runpy 29 runpy.run_module(mod, run_name='__main__')
|
/development/gsi/gsi_util/ |
run_test.py | 21 import runpy 34 runpy.run_path(unittest_file, run_name='__main__')
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/ |
main.c | 167 PyObject *runpy, *runmodule, *runargs, *result;
local 168 runpy = PyImport_ImportModule("runpy");
169 if (runpy == NULL) {
170 fprintf(stderr, "Could not import runpy module\n");
173 runmodule = PyObject_GetAttrString(runpy, "_run_module_as_main");
175 fprintf(stderr, "Could not access runpy._run_module_as_main\n");
176 Py_DECREF(runpy);
182 "Could not create arguments for runpy._run_module_as_main\n");
183 Py_DECREF(runpy);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/ |
main.c | 167 PyObject *runpy, *runmodule, *runargs, *result;
local 168 runpy = PyImport_ImportModule("runpy");
169 if (runpy == NULL) {
170 fprintf(stderr, "Could not import runpy module\n");
173 runmodule = PyObject_GetAttrString(runpy, "_run_module_as_main");
175 fprintf(stderr, "Could not access runpy._run_module_as_main\n");
176 Py_DECREF(runpy);
182 "Could not create arguments for runpy._run_module_as_main\n");
183 Py_DECREF(runpy);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
main.c | 162 PyObject *runpy, *runmodule, *runargs, *result;
local 163 runpy = PyImport_ImportModule("runpy");
164 if (runpy == NULL) {
165 fprintf(stderr, "Could not import runpy module\n");
168 runmodule = PyObject_GetAttrString(runpy, "_run_module_as_main");
170 fprintf(stderr, "Could not access runpy._run_module_as_main\n");
171 Py_DECREF(runpy);
177 "Could not create arguments for runpy._run_module_as_main\n");
178 Py_DECREF(runpy);
[all...] |
/external/python/cpython2/Modules/ |
main.c | 177 PyObject *runpy, *runmodule, *runargs, *result; local 178 runpy = PyImport_ImportModule("runpy"); 179 if (runpy == NULL) { 180 fprintf(stderr, "Could not import runpy module\n"); 183 runmodule = PyObject_GetAttrString(runpy, "_run_module_as_main"); 185 fprintf(stderr, "Could not access runpy._run_module_as_main\n"); 186 Py_DECREF(runpy); 192 "Could not create arguments for runpy._run_module_as_main\n"); 193 Py_DECREF(runpy); [all...] |
/external/python/cpython3/Lib/test/ |
test_multiprocessing_main_handling.py | 131 import sys, os.path, runpy 133 runpy._run_module_as_main(%r)
|
test_runpy.py | 1 # Test the runpy module 18 import runpy 19 from runpy import _run_code, _run_module_code, run_module, run_path 41 import runpy 42 nested = runpy._run_module_code('x=1\\n', mod_name='<run>') 55 "runpy": runpy, 145 """Unit tests for runpy._run_code and runpy._run_module_code""" 184 """Unit tests for runpy.run_module"" [all...] |
/external/python/cpython3/Lib/test/test_tools/ |
test_fixcid.py | 5 import runpy 89 runpy.run_path(script, run_name="__main__")
|
/external/python/cpython3/Lib/multiprocessing/ |
spawn.py | 13 import runpy 247 main_content = runpy.run_module(mod_name, 276 main_content = runpy.run_path(main_path,
|
/external/python/cpython3/Lib/ |
cProfile.py | 126 import runpy 152 'run_module': runpy.run_module,
|
pdb.py | [all...] |
/external/python/cpython2/Lib/test/ |
test_tools.py | 8 import runpy 442 runpy.run_path(script, run_name="__main__")
|
test_runpy.py | 1 # Test the runpy module 13 from runpy import _run_code, _run_module_code, run_module, run_path 22 """Unit tests for runpy._run_code and runpy._run_module_code""" 38 "import runpy\n" 39 "nested = runpy._run_module_code('x=1\\n', mod_name='<run>')\n" 84 """Unit tests for runpy.run_module""" 107 run_module("runpy") 309 """Unit tests for runpy.run_path""" 416 source = ("import runpy\n [all...] |
/external/python/cpython3/Modules/ |
main.c | 288 PyObject *module, *runpy, *runmodule, *runargs, *result; local 289 runpy = PyImport_ImportModule("runpy"); 290 if (runpy == NULL) { 291 fprintf(stderr, "Could not import runpy module\n"); 295 runmodule = PyObject_GetAttrString(runpy, "_run_module_as_main"); 297 fprintf(stderr, "Could not access runpy._run_module_as_main\n"); 299 Py_DECREF(runpy); 306 Py_DECREF(runpy); 313 "Could not create arguments for runpy._run_module_as_main\n") [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_runpy.py | 1 # Test the runpy module
13 from runpy import _run_code, _run_module_code, run_module, run_path
22 """Unit tests for runpy._run_code and runpy._run_module_code"""
38 "import runpy\n"
39 "nested = runpy._run_module_code('x=1\\n', mod_name='<run>')\n"
84 """Unit tests for runpy.run_module"""
107 run_module("runpy")
282 """Unit tests for runpy.run_path"""
389 source = ("import runpy\n" [all...] |