Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Support/Unix/
DPathV2.inc130 AutoFD from_fd(from_file);
150 (sz_read = ::read(from_fd, buffer, buf_sz)) > 0) {
165 if (::close(from_fd.take()) < 0) sz_read = -1;
/external/libcxx/src/filesystem/
Doperations.cpp738 FileDescriptor from_fd = in __copy_file() local
743 auto from_st = from_fd.get_status(); in __copy_file()
744 StatT const& from_stat = from_fd.get_stat(); in __copy_file()
813 if (!copy_file_impl(from_fd, to_fd, m_ec)) { in __copy_file()
/external/python/cpython3/Lib/test/
Dtest_subprocess.py2157 for from_fd in from_fds:
2159 os.dup2(f.fileno(), from_fd)
2166 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):
2184 os.lseek(from_fd, 0, os.SEEK_SET)
2185 read_bytes = os.read(from_fd, 1024)