Home
last modified time | relevance | path

Searched refs:closeit (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython3/Include/
Dpythonrun.h15 int closeit,
20 int closeit,
102 int closeit,
158 PyAPI_FUNC(int) PyRun_AnyFileEx(FILE *fp, const char *name, int closeit);
172 #define PyRun_AnyFileEx(fp, name, closeit) \ argument
173 PyRun_AnyFileExFlags(fp, name, closeit, NULL)
/external/python/cpython2/Doc/c-api/
Dveryhigh.rst47 *closeit* set to ``0`` and *flags* set to *NULL*.
53 the *closeit* argument set to ``0``.
56 .. c:function:: int PyRun_AnyFileEx(FILE *fp, const char *filename, int closeit)
62 .. c:function:: int PyRun_AnyFileExFlags(FILE *fp, const char *filename, int closeit, PyCompilerFla…
93 leaving *closeit* set to ``0`` and *flags* set to *NULL*.
99 leaving *closeit* set to ``0``.
102 .. c:function:: int PyRun_SimpleFileEx(FILE *fp, const char *filename, int closeit)
108 .. c:function:: int PyRun_SimpleFileExFlags(FILE *fp, const char *filename, int closeit, PyCompiler…
112 file. If *closeit* is true, the file is closed before PyRun_SimpleFileExFlags
200 *closeit* set to ``0`` and *flags* set to *NULL*.
[all …]
/external/python/cpython2/Python/
Dpythonrun.c749 PyRun_AnyFileExFlags(FILE *fp, const char *filename, int closeit, in PyRun_AnyFileExFlags() argument
756 if (closeit) in PyRun_AnyFileExFlags()
761 return PyRun_SimpleFileExFlags(fp, filename, closeit, flags); in PyRun_AnyFileExFlags()
882 maybe_pyc_file(FILE *fp, const char* filename, const char* ext, int closeit) in maybe_pyc_file() argument
889 if (closeit) { in maybe_pyc_file()
919 PyRun_SimpleFileExFlags(FILE *fp, const char *filename, int closeit, in PyRun_SimpleFileExFlags() argument
944 if (maybe_pyc_file(fp, filename, ext, closeit)) { in PyRun_SimpleFileExFlags()
946 if (closeit) in PyRun_SimpleFileExFlags()
958 closeit, flags); in PyRun_SimpleFileExFlags()
1355 PyObject *locals, int closeit, PyCompilerFlags *flags) in PyRun_FileExFlags() argument
[all …]
/external/python/cpython3/Doc/c-api/
Dveryhigh.rst55 *closeit* set to ``0`` and *flags* set to ``NULL``.
61 the *closeit* argument set to ``0``.
64 .. c:function:: int PyRun_AnyFileEx(FILE *fp, const char *filename, int closeit)
70 .. c:function:: int PyRun_AnyFileExFlags(FILE *fp, const char *filename, int closeit, PyCompilerFla…
102 leaving *closeit* set to ``0`` and *flags* set to ``NULL``.
105 .. c:function:: int PyRun_SimpleFileEx(FILE *fp, const char *filename, int closeit)
111 .. c:function:: int PyRun_SimpleFileExFlags(FILE *fp, const char *filename, int closeit, PyCompiler…
116 (:func:`sys.getfilesystemencoding`). If *closeit* is true, the file is
256 *closeit* set to ``0`` and *flags* set to ``NULL``.
259 …FileEx(FILE *fp, const char *filename, int start, PyObject *globals, PyObject *locals, int closeit)
[all …]
/external/python/cpython3/Python/
Dpythonrun.c75 PyRun_AnyFileExFlags(FILE *fp, const char *filename, int closeit, in PyRun_AnyFileExFlags() argument
82 if (closeit) in PyRun_AnyFileExFlags()
87 return PyRun_SimpleFileExFlags(fp, filename, closeit, flags); in PyRun_AnyFileExFlags()
313 maybe_pyc_file(FILE *fp, const char* filename, const char* ext, int closeit) in maybe_pyc_file() argument
320 if (closeit) { in maybe_pyc_file()
382 PyRun_SimpleFileExFlags(FILE *fp, const char *filename, int closeit, in PyRun_SimpleFileExFlags() argument
413 if (maybe_pyc_file(fp, filename, ext, closeit)) { in PyRun_SimpleFileExFlags()
416 if (closeit) in PyRun_SimpleFileExFlags()
439 closeit, flags); in PyRun_SimpleFileExFlags()
1086 PyObject *locals, int closeit, PyCompilerFlags *flags) in PyRun_FileExFlags() argument
[all …]
/external/python/cpython2/Include/
Dpythonrun.h86 #define PyRun_AnyFileEx(fp, name, closeit) \ argument
87 PyRun_AnyFileExFlags(fp, name, closeit, NULL)
/external/curl/lib/
Dconnect.h129 int closeit
Dconnect.c1570 bool closeit = (ctrl == CONNCTRL_CONNECTION) || in Curl_conncontrol() local
1576 else if((bit)closeit != conn->bits.close) { in Curl_conncontrol()
1578 closeit?"closure":"keep alive", reason)); in Curl_conncontrol()
1579 conn->bits.close = closeit; /* the only place in the source code that in Curl_conncontrol()
/external/python/cpython3/Doc/data/
Drefcounts.dat1844 PyRun_AnyFileEx:int:closeit::
1849 PyRun_AnyFileExFlags:int:closeit::
1865 PyRun_FileEx:int:closeit::
1881 PyRun_FileExFlags:int:closeit::
1909 PyRun_SimpleFileEx:int:closeit::
1914 PyRun_SimpleFileExFlags:int:closeit::
/external/python/cpython2/Doc/data/
Drefcounts.dat1080 PyRun_FileEx:int:closeit::
1096 PyRun_FileExFlags:int:closeit::
/external/python/cpython3/Misc/
DHISTORY6511 `PyRun_SimpleFileExFlags()` when filename points to a pyc/pyo file, closeit is