Home
last modified time | relevance | path

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

/external/python/cpython3/Include/cpython/
Dpythonrun.h9 int closeit,
14 int closeit,
19 int closeit,
24 int closeit,
53 int closeit,
87 PyAPI_FUNC(int) PyRun_AnyFileEx(FILE *fp, const char *name, int closeit);
101 #define PyRun_AnyFileEx(fp, name, closeit) \ argument
102 PyRun_AnyFileExFlags(fp, name, closeit, NULL)
/external/python/cpython3/Python/
Dpythonrun.c64 PyObject *globals, PyObject *locals, int closeit,
69 _PyRun_AnyFileObject(FILE *fp, PyObject *filename, int closeit, in _PyRun_AnyFileObject() argument
85 if (closeit) { in _PyRun_AnyFileObject()
90 res = _PyRun_SimpleFileObject(fp, filename, closeit, flags); in _PyRun_AnyFileObject()
102 PyRun_AnyFileExFlags(FILE *fp, const char *filename, int closeit, in PyRun_AnyFileExFlags() argument
116 int res = _PyRun_AnyFileObject(fp, filename_obj, closeit, flags); in PyRun_AnyFileExFlags()
321 maybe_pyc_file(FILE *fp, PyObject *filename, int closeit) in maybe_pyc_file() argument
335 if (!closeit) { in maybe_pyc_file()
399 _PyRun_SimpleFileObject(FILE *fp, PyObject *filename, int closeit, in _PyRun_SimpleFileObject() argument
423 int pyc = maybe_pyc_file(fp, filename, closeit); in _PyRun_SimpleFileObject()
[all …]
/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/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…
78 If *closeit* is true, the file is closed before
104 leaving *closeit* set to ``0`` and *flags* set to ``NULL``.
107 .. c:function:: int PyRun_SimpleFileEx(FILE *fp, const char *filename, int closeit)
113 .. c:function:: int PyRun_SimpleFileExFlags(FILE *fp, const char *filename, int closeit, PyCompiler…
118 If *closeit* is true, the file is closed before
211 *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/cpython2/Include/
Dpythonrun.h86 #define PyRun_AnyFileEx(fp, name, closeit) \ argument
87 PyRun_AnyFileExFlags(fp, name, closeit, NULL)
/external/curl/lib/
Dconnect.h74 int closeit
Dconnect.c328 bool closeit, is_multiplex; in Curl_conncontrol() local
334 closeit = (ctrl == CONNCTRL_CONNECTION) || in Curl_conncontrol()
338 else if((bit)closeit != conn->bits.close) { in Curl_conncontrol()
339 conn->bits.close = closeit; /* the only place in the source code that in Curl_conncontrol()
/external/python/cpython3/Doc/data/
Drefcounts.dat1824 PyRun_AnyFileEx:int:closeit::
1829 PyRun_AnyFileExFlags:int:closeit::
1845 PyRun_FileEx:int:closeit::
1861 PyRun_FileExFlags:int:closeit::
1889 PyRun_SimpleFileEx:int:closeit::
1894 PyRun_SimpleFileExFlags:int:closeit::
Dpython3.10.abi17661 …<parameter type-id='type-id-9' name='closeit' filepath='Python/pythonrun.c' line='1221' column='1'…
17696 …<parameter type-id='type-id-9' name='closeit' filepath='Python/pythonrun.c' line='482' column='1'/>
17703 …<parameter type-id='type-id-9' name='closeit' filepath='Python/pythonrun.c' line='399' column='1'/>
17734 …<parameter type-id='type-id-9' name='closeit' filepath='Python/pythonrun.c' line='102' column='1'/>
17741 … <parameter type-id='type-id-9' name='closeit' filepath='Python/pythonrun.c' line='69' column='1'/>
/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