/external/python/cpython3/Modules/_io/clinic/ |
D | _iomodule.c.h | 135 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()
|
D | winconsoleio.c.h | 44 const char *mode, int closefd, 59 int closefd = 1; in _io__WindowsConsoleIO___init__() local 94 closefd = _PyLong_AsInt(fastargs[2]); in _io__WindowsConsoleIO___init__() 95 if (closefd == -1 && PyErr_Occurred()) { in _io__WindowsConsoleIO___init__() 104 …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); 60 int closefd = 1; in _io_FileIO___init__() local 95 closefd = _PyLong_AsInt(fastargs[2]); in _io_FileIO___init__() 96 if (closefd == -1 && PyErr_Occurred()) { in _io_FileIO___init__() 105 return_value = _io_FileIO___init___impl((fileio *)self, nameobj, mode, closefd, opener); in _io_FileIO___init__()
|
/external/python/cpython3/Modules/_io/ |
D | fileio.c | 65 unsigned int closefd : 1; member 93 if (self->fd >= 0 && self->closefd) { in fileio_dealloc_warn() 151 if (!self->closefd) { in _io_FileIO_close_impl() 188 self->closefd = 1; in fileio_new() 223 int closefd, PyObject *opener) argument 249 if (self->closefd) { 368 self->closefd = closefd; 371 self->closefd = 1; 372 if (!closefd) { 1091 self->fd, mode_string(self), self->closefd ? "True" : "False"); [all …]
|
D | _iomodule.c | 235 const char *newline, int closefd, PyObject *opener) in _io_open_impl() argument 387 "OsiO", path_or_fd, rawmode, closefd, opener); in _io_open_impl()
|
/external/elfutils/libdwfl/ |
D | offline.c | 276 const char *file_name, int fd, bool closefd, in __libdwfl_report_offline() argument 281 Dwfl_Error error = __libdw_open_file (&fd, &elf, closefd, true); in __libdwfl_report_offline() 291 if (closefd) in __libdwfl_report_offline() 304 bool closefd = false; in dwfl_report_offline() local 307 closefd = true; in dwfl_report_offline() 316 return __libdwfl_report_offline (dwfl, name, file_name, fd, closefd, NULL); in dwfl_report_offline()
|
D | dwfl_report_elf.c | 294 bool closefd = false; in dwfl_report_elf() local 297 closefd = true; in dwfl_report_elf() 307 Dwfl_Error error = __libdw_open_file (&fd, &elf, closefd, false); in dwfl_report_elf() 319 if (closefd) in dwfl_report_elf()
|
/external/python/cpython2/Modules/_io/ |
D | fileio.c | 55 unsigned int closefd : 1; member 110 if (!self->closefd) { in fileio_close() 133 self->closefd = 1; in fileio_new() 218 int closefd = 1; in fileio_init() local 223 if (self->closefd) { in fileio_init() 233 kwlist, &nameobj, &mode, &closefd)) in fileio_init() 359 self->closefd = closefd; in fileio_init() 362 self->closefd = 1; in fileio_init() 363 if (!closefd) { in fileio_init() 1109 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/fonttools/Lib/fontTools/misc/ |
D | py23.py | 184 newline=None, closefd=True, opener=None): argument 233 if closefd: 238 closefd = True 246 file, mode, buffering, encoding, errors, newline, closefd, 250 file, mode, buffering, encoding, errors, newline, closefd)
|
/external/libdrm/etnaviv/ |
D | etnaviv_device.c | 68 dev->closefd = 1; in etna_device_new_dup() 88 if (dev->closefd) in etna_device_del_impl()
|
D | etnaviv_priv.h | 78 int closefd; /* call close(fd) upon destruction */ member
|
/external/mesa3d/src/etnaviv/drm/ |
D | etnaviv_device.c | 69 dev->closefd = 1; in etna_device_new_dup() 93 if (dev->closefd) in etna_device_del_impl()
|
D | etnaviv_priv.h | 86 int closefd; /* call close(fd) upon destruction */ member
|
/external/libdrm/freedreno/ |
D | freedreno_device.c | 98 dev->closefd = 1; in fd_device_new_dup() 112 int close_fd = dev->closefd ? dev->fd : -1; in fd_device_del_impl()
|
D | freedreno_priv.h | 103 int closefd; /* call close(fd) upon destruction */ member
|
/external/mesa3d/src/freedreno/drm/ |
D | freedreno_device.c | 98 dev->closefd = 1; in fd_device_new_dup() 112 int close_fd = dev->closefd ? dev->fd : -1; in fd_device_del_impl()
|
D | freedreno_priv.h | 97 int closefd; /* call close(fd) upon destruction */ member
|
/external/python/cpython3/Lib/multiprocessing/ |
D | popen_forkserver.py | 57 with open(w, 'wb', closefd=True) as f:
|
D | popen_spawn_posix.py | 61 with open(parent_w, 'wb', closefd=False) as f:
|
D | popen_spawn_win32.py | 70 with open(wfd, 'wb', closefd=True) as to_child:
|
/external/python/cpython3/Objects/ |
D | fileobject.c | 32 const char *errors, const char *newline, int closefd) in PyFile_FromFd() argument 43 newline, closefd); in PyFile_FromFd()
|
/external/python/cpython3/Lib/test/libregrtest/ |
D | setup.py | 123 closefd=False,
|
/external/python/cpython3/Lib/ |
D | _pyio.py | 42 newline=None, closefd=True, opener=None): argument 216 closefd, opener=opener) 1480 def __init__(self, file, mode='r', closefd=True, opener=None): argument 1553 if not closefd: 1567 self._closefd = closefd 1788 def closefd(self): member in FileIO
|
/external/python/cpython2/Lib/test/ |
D | test_io.py | 545 closefd=False) 551 file = self.open(f.fileno(), "r", closefd=False) 559 self.assertRaises(ValueError, self.open, support.TESTFN, "r", closefd=False) 565 self.assertEqual(f.buffer.raw.closefd, True) 566 file = self.open(f.fileno(), "r", closefd=False) 567 self.assertEqual(file.buffer.raw.closefd, False) 620 self.check_flush_error_on_close(fd, 'wb', buffering=0, closefd=False) 627 self.check_flush_error_on_close(fd, 'wb', closefd=False) 634 self.check_flush_error_on_close(fd, 'w', closefd=False) 661 fileio = self.FileIO(f1.fileno(), closefd=False) [all …]
|