Home | History | Annotate | Download | only in dumpstate

Lines Matching refs:out_fd

90 int DumpFileFromFdToFd(const std::string& title, const std::string& path_string, int fd, int out_fd,
94 dprintf(out_fd, "------ %s (%s", title.c_str(), path);
105 dprintf(out_fd, ": %s", stamp);
107 dprintf(out_fd, ") ------\n");
108 fsync(out_fd);
111 if (out_fd != STDOUT_FILENO) {
113 dprintf(out_fd, "%s: skipped on dry run\n", path);
115 dprintf(out_fd, "\t(skipped on dry run)\n");
117 fsync(out_fd);
132 dprintf(out_fd, "*** %s: select failed: %s\n", path, strerror(errno));
137 dprintf(out_fd, "*** %s: Timed out after %.3fs\n", path, (float)elapsed / NANOS_PER_SEC);
144 android::base::WriteFully(out_fd, buffer, bytes_read);
148 dprintf(out_fd, "*** %s: Failed to read from fd: %s", path, strerror(errno));
157 if (!newline) dprintf(out_fd, "\n");
158 if (!title.empty()) dprintf(out_fd, "\n");