Home | History | Annotate | Download | only in gn

Lines Matching refs:out

33 void PathOutput::WriteFile(std::ostream& out, const SourceFile& file) const {
34 WritePathStr(out, file.value());
37 void PathOutput::WriteDir(std::ostream& out,
44 out << "/.";
46 out << "/";
48 // Writing out the source root.
51 // can't just write it out.
53 out << ".";
55 out.write(inverse_current_dir_.c_str(),
60 out << "./";
62 out << inverse_current_dir_;
68 out << "./";
70 out << ".";
72 WritePathStr(out, dir.value());
75 WritePathStr(out, base::StringPiece(dir.value().data(),
80 void PathOutput::WriteFile(std::ostream& out, const OutputFile& file) const {
82 EscapeStringToStream(out, file.value(), options_);
85 void PathOutput::WriteFile(std::ostream& out,
88 EscapeStringToStream(out, FilePathToUTF8(file), options_);
92 std::ostream& out,
106 EscapeStringToStream(out,
112 out << inverse_current_dir_;
113 EscapeStringToStream(out, str, options_);
117 void PathOutput::WritePathStr(std::ostream& out,
124 // prefix and write out the result.
125 EscapeStringToStream(out, str.substr(current_dir_.value().size()),
128 WriteSourceRelativeString(out, str.substr(2));
135 EscapeStringToStream(out, str.substr(1), options_);
137 EscapeStringToStream(out, str, options_);