Home | History | Annotate | Download | only in tracing

Lines Matching refs:stream_

62       stream_ << (value.as_bool ? "true" : "false");
65 stream_ << value.as_uint;
68 stream_ << value.as_int;
94 stream_ << real;
100 stream_ << "\"" << value.as_pointer << "\"";
105 stream_ << "\"NULL\"";
107 WriteJSONStringToStream(value.as_string, stream_);
119 stream_ << arg_stringified;
122 JSONTraceWriter::JSONTraceWriter(std::ostream& stream) : stream_(stream) {
123 stream_ << "{\"traceEvents\":[";
126 JSONTraceWriter::~JSONTraceWriter() { stream_ << "]}"; }
129 if (append_comma_) stream_ << ",";
131 stream_ << "{\"pid\":" << trace_event->pid()
143 stream_ << ",\"scope\":\"" << trace_event->scope() << "\"";
146 stream_ << ",\"id\":\"0x" << std::hex << trace_event->id() << "\""
149 stream_ << ",\"args\":{";
156 if (i > 0) stream_ << ",";
157 stream_ << "\"" << arg_names[i] << "\":";
164 stream_ << "}}";