Searched refs:fd_dest (Results 1 – 2 of 2) sorted by relevance
73 bool CopyTo(int fd_dest, size_t num_bytes) { in CopyTo() argument83 if (fd_dest != -1 && !android::base::WriteFully(fd_dest, buf, rv)) in CopyTo()117 ScopedFd fd_dest(TEMP_FAILURE_RETRY(open(coredump_filename_.c_str(), in WriteCoredump() local120 if (fd_dest.get() == -1) { in WriteCoredump()124 ssize_t result = WriteCoredumpToFD(fd_dest.get()); in WriteCoredump()125 fd_dest.reset(); in WriteCoredump()131 ssize_t CoredumpWriter::WriteCoredumpToFD(int fd_dest) { in WriteCoredumpToFD() argument186 if (!android::base::WriteFully(fd_dest, &elf_header, sizeof(elf_header))) { in WriteCoredumpToFD()194 if (!Seek(fd_dest, offset) || in WriteCoredumpToFD()195 !android::base::WriteFully(fd_dest, &program_header, in WriteCoredumpToFD()[all …]
59 ssize_t WriteCoredumpToFD(int fd_dest);