Home
last modified time | relevance | path

Searched refs:to_fd (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Support/Unix/
DPathV2.inc145 AutoFD to_fd(to_file);
155 if ((sz = ::write(to_fd, buffer + sz_write, sz_read - sz_write)) < 0) {
166 if (::close(to_fd.take()) < 0) sz_read = -1;
/external/libcxx/src/filesystem/
Doperations.cpp794 FileDescriptor to_fd = FileDescriptor::create_with_status( in __copy_file() local
803 if (!detail::stat_equivalent(to_stat_path, to_fd.get_stat())) in __copy_file()
807 if (detail::posix_fchmod(to_fd, from_stat, m_ec)) in __copy_file()
809 if (detail::posix_ftruncate(to_fd, 0, m_ec)) in __copy_file()
813 if (!copy_file_impl(from_fd, to_fd, m_ec)) { in __copy_file()
/external/python/cpython3/Lib/test/
Dtest_subprocess.py2166 for from_fd, to_fd in zip(from_fds, to_fds):
2167 kwargs[arg_names[to_fd]] = from_fd
2183 for from_fd, to_fd in zip(from_fds, to_fds):
2192 self.assertEqual([to_fd], read_fds, msg)