/external/python/cpython3/Modules/_io/clinic/ |
D | _iomodule.c.h | 135 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()
|
D | winconsoleio.c.h | 44 const char *mode, int closefd, 55 int closefd = 1; in _io__WindowsConsoleIO___init__() local 59 &nameobj, &mode, &closefd, &opener)) { in _io__WindowsConsoleIO___init__() 62 …return_value = _io__WindowsConsoleIO___init___impl((winconsoleio *)self, nameobj, mode, closefd, o… in _io__WindowsConsoleIO___init__()
|
D | fileio.c.h | 46 int closefd, PyObject *opener); 56 int closefd = 1; in _io_FileIO___init__() local 60 &nameobj, &mode, &closefd, &opener)) { in _io_FileIO___init__() 63 return_value = _io_FileIO___init___impl((fileio *)self, nameobj, mode, closefd, opener); in _io_FileIO___init__()
|
/external/python/cpython3/Modules/_io/ |
D | fileio.c | 70 unsigned int closefd : 1; member 95 if (self->fd >= 0 && self->closefd) { in fileio_dealloc_warn() 158 if (!self->closefd) { in _io_FileIO_close_impl() 195 self->closefd = 1; in fileio_new() 230 int closefd, PyObject *opener) argument 256 if (self->closefd) { 372 self->closefd = closefd; 375 self->closefd = 1; 376 if (!closefd) { 1082 self->fd, mode_string(self), self->closefd ? "True" : "False"); [all …]
|
D | _iomodule.c | 234 const char *newline, int closefd, PyObject *opener) in _io_open_impl() argument 376 "OsiO", path_or_fd, rawmode, closefd, opener); in _io_open_impl()
|
D | winconsoleio.c | 267 const char *mode, int closefd, in _io__WindowsConsoleIO___init___impl() argument 377 if (!closefd) { in _io__WindowsConsoleIO___init___impl()
|
/external/elfutils/libdwfl/ |
D | offline.c | 269 const char *file_name, int fd, bool closefd, in __libdwfl_report_offline() argument 274 Dwfl_Error error = __libdw_open_file (&fd, &elf, closefd, true); in __libdwfl_report_offline() 284 if (closefd) in __libdwfl_report_offline() 297 bool closefd = false; in dwfl_report_offline() local 300 closefd = true; in dwfl_report_offline() 309 return __libdwfl_report_offline (dwfl, name, file_name, fd, closefd, NULL); in dwfl_report_offline()
|
D | dwfl_report_elf.c | 290 bool closefd = false; in dwfl_report_elf() local 293 closefd = true; in dwfl_report_elf() 303 Dwfl_Error error = __libdw_open_file (&fd, &elf, closefd, false); in dwfl_report_elf() 315 if (closefd) in dwfl_report_elf()
|
/external/python/cpython2/Modules/_io/ |
D | fileio.c | 52 unsigned int closefd : 1; member 107 if (!self->closefd) { in fileio_close() 130 self->closefd = 1; in fileio_new() 192 int closefd = 1; in fileio_init() local 197 if (self->closefd) { in fileio_init() 207 kwlist, &nameobj, &mode, &closefd)) in fileio_init() 333 self->closefd = closefd; in fileio_init() 336 self->closefd = 1; in fileio_init() 337 if (!closefd) { in fileio_init() 1073 return PyBool_FromLong((long)(self->closefd)); in get_closefd()
|
D | _iomodule.c | 295 int buffering = -1, closefd = 1; in io_open() local 311 &closefd)) { in io_open() 416 "Osi", file, rawmode, closefd); in io_open()
|
/external/libdrm/etnaviv/ |
D | etnaviv_device.c | 72 dev->closefd = 1; in etna_device_new_dup() 92 if (dev->closefd) in etna_device_del_impl()
|
D | etnaviv_priv.h | 97 int closefd; /* call close(fd) upon destruction */ member
|
/external/libdrm/freedreno/ |
D | freedreno_device.c | 101 dev->closefd = 1; in fd_device_new_dup() 118 if (dev->closefd) in fd_device_del_impl()
|
D | freedreno_priv.h | 104 int closefd; /* call close(fd) upon destruction */ member
|
/external/python/cpython3/Objects/ |
D | fileobject.c | 30 const char *errors, const char *newline, int closefd) in PyFile_FromFd() argument 40 newline, closefd); in PyFile_FromFd()
|
/external/python/cpython3/Lib/multiprocessing/ |
D | popen_spawn_posix.py | 61 with open(parent_w, 'wb', closefd=False) as f:
|
D | popen_forkserver.py | 53 with open(w, 'wb', closefd=True) as f:
|
D | popen_spawn_win32.py | 43 with open(wfd, 'wb', closefd=True) as to_child:
|
D | spawn.py | 110 with os.fdopen(fd, 'rb', closefd=True) as from_parent:
|
D | heap.py | 72 with open(self.fd, 'wb', closefd=False) as f:
|
/external/python/cpython3/Lib/test/libregrtest/ |
D | setup.py | 115 closefd=False,
|
/external/python/cpython3/Lib/ |
D | _pyio.py | 41 newline=None, closefd=True, opener=None): argument 210 closefd, opener=opener) 1399 def __init__(self, file, mode='r', closefd=True, opener=None): argument 1472 if not closefd: 1486 self._closefd = closefd 1703 def closefd(self): member in FileIO
|
/external/python/cpython2/Lib/test/ |
D | test_io.py | 529 closefd=False) 535 file = self.open(f.fileno(), "r", closefd=False) 543 self.assertRaises(ValueError, self.open, support.TESTFN, "r", closefd=False) 549 self.assertEqual(f.buffer.raw.closefd, True) 550 file = self.open(f.fileno(), "r", closefd=False) 551 self.assertEqual(file.buffer.raw.closefd, False) 604 self.check_flush_error_on_close(fd, 'wb', buffering=0, closefd=False) 611 self.check_flush_error_on_close(fd, 'wb', closefd=False) 618 self.check_flush_error_on_close(fd, 'w', closefd=False) 645 fileio = self.FileIO(f1.fileno(), closefd=False) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_io.py | 682 closefd=False) 688 file = self.open(f.fileno(), "r", closefd=False) 696 self.assertRaises(ValueError, self.open, support.TESTFN, "r", closefd=False) 702 self.assertEqual(f.buffer.raw.closefd, True) 703 file = self.open(f.fileno(), "r", closefd=False) 704 self.assertEqual(file.buffer.raw.closefd, False) 758 self.check_flush_error_on_close(fd, 'wb', buffering=0, closefd=False) 765 self.check_flush_error_on_close(fd, 'wb', closefd=False) 772 self.check_flush_error_on_close(fd, 'w', closefd=False) 835 fileio = self.FileIO(f1.fileno(), closefd=False) [all …]
|
/external/python/cpython3/Doc/c-api/ |
D | file.rst | 20 …r *mode, int buffering, const char *encoding, const char *errors, const char *newline, int closefd)
|