Home
last modified time | relevance | path

Searched refs:fd_dest (Results 1 – 2 of 2) sorted by relevance

/device/google/dragon/crash_collector/
Dcoredump_writer.cc73 bool CopyTo(int fd_dest, size_t num_bytes) { in CopyTo() argument
83 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() local
120 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() argument
186 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 …]
Dcoredump_writer.h59 ssize_t WriteCoredumpToFD(int fd_dest);