Lines Matching defs:closeit
53 PyObject *globals, PyObject *locals, int closeit,
58 _PyRun_AnyFileObject(FILE *fp, PyObject *filename, int closeit,
74 if (closeit) {
79 res = _PyRun_SimpleFileObject(fp, filename, closeit, flags);
91 PyRun_AnyFileExFlags(FILE *fp, const char *filename, int closeit,
105 int res = _PyRun_AnyFileObject(fp, filename_obj, closeit, flags);
305 maybe_pyc_file(FILE *fp, PyObject *filename, int closeit)
319 if (!closeit) {
383 _PyRun_SimpleFileObject(FILE *fp, PyObject *filename, int closeit,
407 int pyc = maybe_pyc_file(fp, filename, closeit);
415 if (closeit) {
441 closeit, flags);
466 PyRun_SimpleFileExFlags(FILE *fp, const char *filename, int closeit,
473 int res = _PyRun_SimpleFileObject(fp, filename_obj, closeit, flags);
1613 PyObject *locals, int closeit, PyCompilerFlags *flags)
1624 if (closeit) {
1643 PyObject *locals, int closeit, PyCompilerFlags *flags)
1651 locals, closeit, flags);
1918 PyRun_AnyFileEx(FILE *fp, const char *name, int closeit)
1920 return PyRun_AnyFileExFlags(fp, name, closeit, NULL);