/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/ |
main.c | 165 static int RunModule(char *module, int set_argv0)
167 PyObject *runpy, *runmodule, *runargs, *result;
local 173 runmodule = PyObject_GetAttrString(runpy, "_run_module_as_main");
174 if (runmodule == NULL) {
184 Py_DECREF(runmodule);
187 result = PyObject_Call(runmodule, runargs, NULL);
192 Py_DECREF(runmodule);
218 return RunModule("__main__", 0) != 0;
561 sts = (RunModule(module, 1) != 0);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/ |
main.c | 165 static int RunModule(char *module, int set_argv0)
167 PyObject *runpy, *runmodule, *runargs, *result;
local 173 runmodule = PyObject_GetAttrString(runpy, "_run_module_as_main");
174 if (runmodule == NULL) {
184 Py_DECREF(runmodule);
187 result = PyObject_Call(runmodule, runargs, NULL);
192 Py_DECREF(runmodule);
218 return RunModule("__main__", 0) != 0;
584 sts = (RunModule(module, 1) != 0);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
main.c | 160 static int RunModule(char *module, int set_argv0)
162 PyObject *runpy, *runmodule, *runargs, *result;
local 168 runmodule = PyObject_GetAttrString(runpy, "_run_module_as_main");
169 if (runmodule == NULL) {
179 Py_DECREF(runmodule);
182 result = PyObject_Call(runmodule, runargs, NULL);
187 Py_DECREF(runmodule);
213 return RunModule("__main__", 0) != 0;
546 sts = RunModule(module, 1);
|
/external/python/cpython2/Modules/ |
main.c | 175 static int RunModule(char *module, int set_argv0) 177 PyObject *runpy, *runmodule, *runargs, *result; local 183 runmodule = PyObject_GetAttrString(runpy, "_run_module_as_main"); 184 if (runmodule == NULL) { 194 Py_DECREF(runmodule); 197 result = PyObject_Call(runmodule, runargs, NULL); 202 Py_DECREF(runmodule); 228 return RunModule("__main__", 0) != 0; 592 sts = (RunModule(module, 1) != 0);
|
/external/python/cpython3/Modules/ |
main.c | 288 PyObject *module, *runpy, *runmodule, *runargs, *result; local 295 runmodule = PyObject_GetAttrString(runpy, "_run_module_as_main"); 296 if (runmodule == NULL) { 307 Py_DECREF(runmodule); 316 Py_DECREF(runmodule); 320 result = PyObject_Call(runmodule, runargs, NULL); 325 Py_DECREF(runmodule); [all...] |