Home
last modified time | relevance | path

Searched refs:runargs (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Modules/
Dmain.c182 PyObject *runpy, *runmodule, *runargs, *result; in RunModule() local
194 runargs = Py_BuildValue("(si)", module, set_argv0); in RunModule()
195 if (runargs == NULL) { in RunModule()
202 result = PyObject_Call(runmodule, runargs, NULL); in RunModule()
208 Py_DECREF(runargs); in RunModule()
/external/python/cpython3/Modules/
Dmain.c261 PyObject *module, *runpy, *runmodule, *runargs, *result; in pymain_run_module() local
283 runargs = PyTuple_Pack(2, module, set_argv0 ? Py_True : Py_False); in pymain_run_module()
284 if (runargs == NULL) { in pymain_run_module()
293 result = PyObject_Call(runmodule, runargs, NULL); in pymain_run_module()
300 Py_DECREF(runargs); in pymain_run_module()
/external/lua/src/
Dlua.c302 static int runargs (lua_State *L, char **argv, int n) { in runargs() function
600 if (!runargs(L, argv, script)) /* execute arguments -e and -l */ in pmain()