Searched defs:out_fd (Results 1 - 2 of 2) sorted by relevance
/frameworks/native/cmds/dumpstate/ |
H A D | DumpstateInternal.cpp | 128 int DumpFileFromFdToFd(const std::string& title, const std::string& path_string, int fd, int out_fd, argument 132 dprintf(out_fd, "------ %s (%s", title.c_str(), path); 143 dprintf(out_fd, ": %s", stamp); 145 dprintf(out_fd, ") ------\n"); 146 fsync(out_fd); 149 if (out_fd != STDOUT_FILENO) { 151 dprintf(out_fd, "%s: skipped on dry run\n", path); 153 dprintf(out_fd, "\t(skipped on dry run)\n"); 155 fsync(out_fd); 164 dprintf(out_fd, "*** [all...] |
H A D | DumpstateUtil.cpp | 194 int DumpFileToFd(int out_fd, const std::string& title, const std::string& path) { argument 199 dprintf(out_fd, "*** Error dumping %s: %s\n", path.c_str(), strerror(err)); 201 dprintf(out_fd, "*** Error dumping %s (%s): %s\n", path.c_str(), title.c_str(), 204 fsync(out_fd); 207 return DumpFileFromFdToFd(title, path, fd.get(), out_fd, PropertiesHelper::IsDryRun());
|
Completed in 77 milliseconds