/third_party/libuv/test/ |
D | runner-unix.c | 45 static void closefd(int fd) { in closefd() function 65 closefd(fd); in notify_parent_process() 144 closefd(pipefd[0]); in process_start() 158 closefd(pipefd[1]); in process_start() 165 closefd(pipefd[0]); in process_start() 334 closefd(args.pipe[0]); in process_wait() 335 closefd(args.pipe[1]); in process_wait()
|
/third_party/python/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) { 369 self->closefd = closefd; 372 self->closefd = 1; 373 if (!closefd) { 1093 self->fd, mode_string(self), self->closefd ? "True" : "False"); [all …]
|
D | winconsoleio.c | 147 unsigned int closefd : 1; member 172 if (self->closefd) { in internal_close() 201 if (!self->closefd) { in _io__WindowsConsoleIO_close_impl() 228 self->closefd = 0; in winconsoleio_new() 252 const char *mode, int closefd, in _io__WindowsConsoleIO___init___impl() argument 267 if (self->closefd) { in _io__WindowsConsoleIO___init___impl() 337 self->closefd = 0; in _io__WindowsConsoleIO___init___impl() 341 self->closefd = 1; in _io__WindowsConsoleIO___init___impl() 342 if (!closefd) { in _io__WindowsConsoleIO___init___impl() 1038 self->closefd ? "True" : "False"); in winconsoleio_repr() [all …]
|
D | _iomodule.c | 235 const char *newline, int closefd, PyObject *opener) in _io_open_impl() argument 388 closefd ? Py_True : Py_False, in _io_open_impl()
|
/third_party/python/Modules/_io/clinic/ |
D | _iomodule.c.h | 135 const char *newline, int closefd, PyObject *opener); 151 int closefd = 1; in _io_open() local 259 closefd = _PyLong_AsInt(args[6]); in _io_open() 260 if (closefd == -1 && PyErr_Occurred()) { in _io_open() 269 …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 89 closefd = _PyLong_AsInt(fastargs[2]); in _io__WindowsConsoleIO___init__() 90 if (closefd == -1 && PyErr_Occurred()) { in _io__WindowsConsoleIO___init__() 99 …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 90 closefd = _PyLong_AsInt(fastargs[2]); in _io_FileIO___init__() 91 if (closefd == -1 && PyErr_Occurred()) { in _io_FileIO___init__() 100 return_value = _io_FileIO___init___impl((fileio *)self, nameobj, mode, closefd, opener); in _io_FileIO___init__()
|
/third_party/elfutils/libdwfl/ |
D | offline.c | 281 const char *file_name, int fd, bool closefd, in __libdwfl_report_offline() argument 286 Dwfl_Error error = __libdw_open_file (&fd, &elf, closefd, true); in __libdwfl_report_offline() 296 if (closefd) in __libdwfl_report_offline() 309 bool closefd = false; in dwfl_report_offline() local 312 closefd = true; in dwfl_report_offline() 321 return __libdwfl_report_offline (dwfl, name, file_name, fd, closefd, NULL); in dwfl_report_offline()
|
D | dwfl_report_elf.c | 293 bool closefd = false; in dwfl_report_elf() local 296 closefd = true; in dwfl_report_elf() 306 Dwfl_Error error = __libdw_open_file (&fd, &elf, closefd, false); in dwfl_report_elf() 318 if (closefd) in dwfl_report_elf()
|
/third_party/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
|
/third_party/mesa3d/src/etnaviv/drm/ |
D | etnaviv_device.c | 91 dev->closefd = 1; in etna_device_new_dup() 117 if (dev->closefd) in etna_device_del_impl()
|
D | etnaviv_priv.h | 89 int closefd; /* call close(fd) upon destruction */ member
|
/third_party/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
|
/third_party/mesa3d/src/freedreno/drm/ |
D | freedreno_device.c | 111 dev->closefd = 1; in fd_device_new_dup() 175 if (dev->closefd) in fd_device_del_impl()
|
D | freedreno_priv.h | 142 bool closefd; /* call close(fd) upon destruction */ member
|
/third_party/python/Lib/multiprocessing/ |
D | popen_spawn_posix.py | 61 with open(parent_w, 'wb', closefd=False) as f:
|
D | popen_forkserver.py | 57 with open(w, 'wb', closefd=True) as f:
|
D | popen_spawn_win32.py | 70 with open(wfd, 'wb', closefd=True) as to_child:
|
D | spawn.py | 121 with os.fdopen(fd, 'rb', closefd=True) as from_parent:
|
/third_party/python/Objects/ |
D | fileobject.c | 34 const char *errors, const char *newline, int closefd) in PyFile_FromFd() argument 44 newline, closefd ? Py_True : Py_False); in PyFile_FromFd()
|
/third_party/python/Lib/test/libregrtest/ |
D | setup.py | 131 closefd=False,
|
/third_party/python/Lib/ |
D | _pyio.py | 74 newline=None, closefd=True, opener=None): argument 248 closefd, opener=opener) 1509 def __init__(self, file, mode='r', closefd=True, opener=None): argument 1582 if not closefd: 1596 self._closefd = closefd 1817 def closefd(self): member in FileIO
|
/third_party/python/Lib/test/ |
D | test_io.py | 739 encoding="utf-8", closefd=False) 745 file = self.open(f.fileno(), "r", encoding="utf-8", closefd=False) 751 file = self.open(f.fileno(), "rb", closefd=False) 759 encoding="utf-8", closefd=False) 765 self.assertEqual(f.buffer.raw.closefd, True) 766 file = self.open(f.fileno(), "r", encoding="utf-8", closefd=False) 767 self.assertEqual(file.buffer.raw.closefd, False) 821 self.check_flush_error_on_close(fd, 'wb', buffering=0, closefd=False) 828 self.check_flush_error_on_close(fd, 'wb', closefd=False) 835 self.check_flush_error_on_close(fd, 'w', encoding="utf-8", closefd=False) [all …]
|