Home
last modified time | relevance | path

Searched refs:closefd (Results 1 – 25 of 1133) sorted by relevance

12345678910>>...46

/dports/archivers/py-zstandard/zstandard-0.16.0/zstandard/
H A D__init__.py98 closefd=None, argument
153 closefd = True
156 closefd = bool(closefd)
163 fh = dctx.stream_reader(inner_fh, closefd=closefd)
165 fh = cctx.stream_writer(inner_fh, closefd=closefd)
/dports/devel/py-gevent/gevent-21.8.0/src/gevent/
H A D_fileobjectposix.py41 def __init__(self, fileno, open_descriptor, closefd=True): argument
44 self._closefd = closefd
136 def __finish_close(closefd, fileno, keep_alive): argument
138 if closefd:
227 fileio = GreenFileDescriptorIO(self._fobj, self, closefd=self.closefd)
232 closefd = False
237 fileio = GreenFileDescriptorIO(fileno, self, closefd=closefd)
336 def _do_close(self, fobj, closefd): argument
H A D_fileobjectcommon.py158 buffering=None, closefd=None, argument
163 closefd = self._collapse_arg('closefd', closefd, 'close', close, True)
175 closefd = True
257 self.closefd = closefd
298 return FileIO(self._fobj, self.fileio_mode, self.closefd)
498 self._close = descriptor.closefd
547 def _do_close(self, fobj, closefd): argument
601 def _do_close(self, fobj, closefd): argument
649 def _do_close(self, fobj, closefd): argument
655 if closefd:
/dports/devel/py-aiofiles/aiofiles-0.8.0/src/aiofiles/threadpool/
H A D__init__.py30 closefd=True, argument
44 closefd=closefd,
60 closefd=True, argument
77 closefd=closefd,
/dports/archivers/py-zstandard/zstandard-0.16.0/tests/
H A Dtest_compressor_stream_writer.py147 writer = cctx.stream_writer(buffer, closefd=False)
174 writer = cctx.stream_writer(buffer, closefd=False)
185 writer = cctx.stream_writer(buffer, closefd=False)
199 with cctx.stream_writer(buffer, closefd=False) as compressor:
401 with_size, size=len(b"foobar" * 256), closefd=False
467 dest, write_size=1, closefd=False
478 with cctx.stream_writer(dest, closefd=False) as compressor:
497 with cctx.stream_writer(dest, closefd=False) as compressor:
522 with cctx.stream_writer(dest, closefd=False) as compressor:
550 with cctx.stream_writer(dest, closefd=False) as compressor:
[all …]
/dports/lang/python37/Python-3.7.12/Modules/_io/clinic/
H A D_iomodule.c.h135 const char *newline, int closefd, PyObject *opener);
149 int closefd = 1; in _io_open() local
153 &file, &mode, &buffering, &encoding, &errors, &newline, &closefd, &opener)) { in _io_open()
156 …return_value = _io_open_impl(module, file, mode, buffering, encoding, errors, newline, closefd, op… in _io_open()
/dports/devel/pytype/pytype-2021.9.9/pytype/typeshed/stubs/aiofiles/aiofiles/threadpool/
H A D__init__.pyi29 closefd: bool = ...,
45 closefd: bool = ...,
61 closefd: bool = ...,
77 closefd: bool = ...,
93 closefd: bool = ...,
/dports/net/kamailio/kamailio-5.4.5/src/modules/tcpops/
H A Dtcpops.c141 int tcpops_keepalive_enable(int fd, int idle, int count, int interval, int closefd) in tcpops_keepalive_enable() argument
147 int tcpops_keepalive_disable(int fd, int closefd) in tcpops_keepalive_disable() argument
155 int tcpops_keepalive_enable(int fd, int idle, int count, int interval, int closefd) in tcpops_keepalive_enable() argument
189 if (closefd) in tcpops_keepalive_enable()
196 int tcpops_keepalive_disable(int fd, int closefd) in tcpops_keepalive_disable() argument
209 if (closefd) in tcpops_keepalive_disable()
/dports/www/varnish6/varnish-cache-varnish-6.6.2/lib/libvarnish/
H A Dvus.c87 closefd(&sd); in VUS_bind()
96 closefd(&sd); in VUS_bind()
129 closefd(&s); in VUS_connect()
150 closefd(&s); in VUS_connect()
/dports/print/py-ttfautohint-py/ttfautohint-py-0.4.3.post1/src/python/ttfautohint/
H A D_compat.py54 newline=None, closefd=True): argument
68 if closefd:
73 closefd = True
79 file, mode, buffering, encoding, errors, newline, closefd)
/dports/databases/py-gdbm/Python-3.8.12/Modules/_io/clinic/
H A D_iomodule.c.h135 const char *newline, int closefd, PyObject *opener);
151 int closefd = 1; in _io_open() local
269 closefd = _PyLong_AsInt(args[6]); in _io_open()
270 if (closefd == -1 && PyErr_Occurred()) { in _io_open()
279 …return_value = _io_open_impl(module, file, mode, buffering, encoding, errors, newline, closefd, op… in _io_open()
/dports/lang/python-tools/Python-3.8.12/Modules/_io/clinic/
H A D_iomodule.c.h135 const char *newline, int closefd, PyObject *opener);
151 int closefd = 1; in _io_open() local
269 closefd = _PyLong_AsInt(args[6]); in _io_open()
270 if (closefd == -1 && PyErr_Occurred()) { in _io_open()
279 …return_value = _io_open_impl(module, file, mode, buffering, encoding, errors, newline, closefd, op… in _io_open()
/dports/lang/python39/Python-3.9.9/Modules/_io/clinic/
H A D_iomodule.c.h135 const char *newline, int closefd, PyObject *opener);
151 int closefd = 1; in _io_open() local
269 closefd = _PyLong_AsInt(args[6]); in _io_open()
270 if (closefd == -1 && PyErr_Occurred()) { in _io_open()
279 …return_value = _io_open_impl(module, file, mode, buffering, encoding, errors, newline, closefd, op… in _io_open()
/dports/lang/python38/Python-3.8.12/Modules/_io/clinic/
H A D_iomodule.c.h135 const char *newline, int closefd, PyObject *opener);
151 int closefd = 1; in _io_open() local
269 closefd = _PyLong_AsInt(args[6]); in _io_open()
270 if (closefd == -1 && PyErr_Occurred()) { in _io_open()
279 …return_value = _io_open_impl(module, file, mode, buffering, encoding, errors, newline, closefd, op… in _io_open()
/dports/databases/py-sqlite3/Python-3.8.12/Modules/_io/clinic/
H A D_iomodule.c.h135 const char *newline, int closefd, PyObject *opener);
151 int closefd = 1; in _io_open() local
269 closefd = _PyLong_AsInt(args[6]); in _io_open()
270 if (closefd == -1 && PyErr_Occurred()) { in _io_open()
279 …return_value = _io_open_impl(module, file, mode, buffering, encoding, errors, newline, closefd, op… in _io_open()
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Modules/_io/clinic/
H A D_iomodule.c.h135 const char *newline, int closefd, PyObject *opener);
151 int closefd = 1; in _io_open() local
269 closefd = _PyLong_AsInt(args[6]); in _io_open()
270 if (closefd == -1 && PyErr_Occurred()) { in _io_open()
279 …return_value = _io_open_impl(module, file, mode, buffering, encoding, errors, newline, closefd, op… in _io_open()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/lldb/packages/Python/lldbsuite/support/
H A Dencoded_file.py54 closefd=True): argument
62 closefd=closefd)
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/lldb/packages/Python/lldbsuite/support/
H A Dencoded_file.py54 closefd=True): argument
62 closefd=closefd)
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/lldb/packages/Python/lldbsuite/support/
H A Dencoded_file.py54 closefd=True): argument
62 closefd=closefd)
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/lldb/packages/Python/lldbsuite/support/
H A Dencoded_file.py54 closefd=True): argument
62 closefd=closefd)
/dports/devel/llvm12/llvm-project-12.0.1.src/lldb/packages/Python/lldbsuite/support/
H A Dencoded_file.py54 closefd=True): argument
62 closefd=closefd)
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/lldb/packages/Python/lldbsuite/support/
H A Dencoded_file.py54 closefd=True): argument
62 closefd=closefd)
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/lldb/packages/Python/lldbsuite/support/
H A Dencoded_file.py54 closefd=True): argument
62 closefd=closefd)
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/lldb/packages/Python/lldbsuite/support/
H A Dencoded_file.py54 closefd=True): argument
62 closefd=closefd)
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/lldb/packages/Python/lldbsuite/support/
H A Dencoded_file.py54 closefd=True): argument
62 closefd=closefd)

12345678910>>...46