Lines Matching defs:stream
17 // Writes |string| to |stream| while escaping all C escape sequences.
18 void EscapeString(std::ostream* stream, const std::string& string) {
22 *stream << "\\0";
25 *stream << "\\a";
28 *stream << "\\b";
31 *stream << "\\e";
34 *stream << "\\f";
37 *stream << "\\n";
40 *stream << "\\r";
43 *stream << "\\t";
46 *stream << "\\v";
49 *stream << "\\\\";
52 *stream << "\\\"";
55 *stream << c;