/third_party/spirv-tools/source/ |
D | disassemble.cpp | 206 stream_(stream), in InstructionDisassembler() 217 void InstructionDisassembler::EmitHeaderSpirv() { stream_ << "; SPIR-V\n"; } in EmitHeaderSpirv() 220 stream_ << "; Version: " << SPV_SPIRV_VERSION_MAJOR_PART(version) << "." in EmitHeaderVersion() 227 stream_ << "; Generator: " << generator_tool; in EmitHeaderGenerator() 230 stream_ << "(" << SPV_GENERATOR_TOOL_PART(generator) << ")"; in EmitHeaderGenerator() 234 stream_ << "; " << SPV_GENERATOR_MISC_PART(generator) << "\n"; in EmitHeaderGenerator() 238 stream_ << "; Bound: " << id_bound << "\n"; in EmitHeaderIdBound() 242 stream_ << "; Schema: " << schema << "\n"; in EmitHeaderSchema() 253 stream_ << std::setw(std::max(0, indent_ - 3 - int(id_name.size()))); in EmitInstruction() 254 stream_ << "%" << id_name; in EmitInstruction() [all …]
|
D | diagnostic.cpp | 74 : stream_(), in DiagnosticStream() 84 stream_ << other.stream_.str(); in DiagnosticStream() 110 stream_ << std::endl << " " << disassembled_instruction_ << std::endl; in ~DiagnosticStream() 112 consumer_(level, "input", position_, stream_.str().c_str()); in ~DiagnosticStream()
|
D | diagnostic.h | 52 stream_ << val; 60 std::ostringstream stream_;
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/data/ |
D | font_input_stream.cc | 24 : stream_(is), position_(0), length_(0), bounded_(false) { in FontInputStream() 28 : stream_(is), position_(0), length_(length), bounded_(true) { in FontInputStream() 38 if (stream_) in Length() 39 return stream_->Length(); in Length() 44 if (stream_) in Available() 45 return stream_->Available(); in Available() 50 if (stream_) { in Close() 51 stream_->Close(); in Close() 56 if (stream_) { in Mark() 57 stream_->Mark(readlimit); in Mark() [all …]
|
D | font_output_stream.cc | 24 : stream_(os), in FontOutputStream() 33 if (stream_) { in Write() 34 stream_->Write(b); in Write() 48 assert(stream_); in Write() 58 stream_->Write(b, off, len); in Write() 64 assert(stream_); in Write() 73 stream_->Write(b, off, len); in Write() 117 if (stream_) { in Flush() 118 stream_->Flush(); in Flush() 123 if (stream_) { in Close() [all …]
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
D | protostream_objectsource.cc | 119 : stream_(stream), in ProtoStreamObjectSource() 139 : stream_(stream), in ProtoStreamObjectSource() 201 uint32 tag = stream_->ReadTag(), last_tag = tag + 1; in WriteMessage() 226 WireFormat::SkipField(stream_, tag, in WriteMessage() 228 tag = stream_->ReadTag(); in WriteMessage() 243 tag = stream_->ReadTag(); in WriteMessage() 266 tag_to_return = stream_->ReadTag(); in RenderList() 270 } while ((tag_to_return = stream_->ReadTag()) == list_tag); in RenderList() 285 stream_->ReadVarint32(&buffer32); // message length in RenderMap() 286 int old_limit = stream_->PushLimit(buffer32); in RenderMap() [all …]
|
D | json_objectwriter.h | 94 stream_(out), in JsonObjectWriter() 171 explicit ByteSinkWrapper(io::CodedOutputStream* stream) : stream_(stream) {} in ByteSinkWrapper() 176 stream_->WriteRaw(bytes, n); in Append() 180 io::CodedOutputStream* stream_; 223 out = stream_->GetDirectBufferForNBytesAndAdvance(len); in NewLine() 233 stream_->WriteRaw(indent_string_.c_str(), indent_string_.length()); in NewLine() 245 void WriteChar(const char c) { stream_->WriteRaw(&c, sizeof(c)); } in WriteChar() 249 stream_->WriteRaw(s.data(), s.length()); in WriteRawString() 253 io::CodedOutputStream* stream_; variable
|
D | proto_writer.cc | 78 stream_(new CodedOutputStream(&adapter_)), in ProtoWriter() 99 stream_(new CodedOutputStream(&adapter_)), in ProtoWriter() 335 int start_pos = ow_->stream_->ByteCount(); in ProtoElement() 364 ow_->size_insert_[size_index_].size += ow_->stream_->ByteCount(); in pop() 642 status = WriteInt32(field.number(), data, stream_.get()); in RenderPrimitiveField() 646 status = WriteSFixed32(field.number(), data, stream_.get()); in RenderPrimitiveField() 650 status = WriteSInt32(field.number(), data, stream_.get()); in RenderPrimitiveField() 654 status = WriteFixed32(field.number(), data, stream_.get()); in RenderPrimitiveField() 658 status = WriteUInt32(field.number(), data, stream_.get()); in RenderPrimitiveField() 662 status = WriteInt64(field.number(), data, stream_.get()); in RenderPrimitiveField() [all …]
|
/third_party/node/deps/v8/src/libplatform/tracing/ |
D | trace-writer.cc | 66 stream_ << (value.as_uint ? "true" : "false"); in AppendArgValue() 69 stream_ << value.as_uint; in AppendArgValue() 72 stream_ << value.as_int; in AppendArgValue() 98 stream_ << real; in AppendArgValue() 104 stream_ << "\"" << value.as_pointer << "\""; in AppendArgValue() 109 stream_ << "\"nullptr\""; in AppendArgValue() 111 WriteJSONStringToStream(value.as_string, stream_); in AppendArgValue() 122 stream_ << arg_stringified; in AppendArgValue() 129 : stream_(stream) { in JSONTraceWriter() 130 stream_ << "{\"" << tag << "\":["; in JSONTraceWriter() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/ |
D | disassemble.cpp | 60 stream_(out_.get()), in Disassembler() 126 std::ostream& stream_; // The output std::stream. member in __anon42789fe20111::Disassembler 144 stream_ << "; SPIR-V\n" in HandleHeader() 150 stream_ << "(" << SPV_GENERATOR_TOOL_PART(generator) << ")"; in HandleHeader() 154 stream_ << "; " << SPV_GENERATOR_MISC_PART(generator) << "\n" in HandleHeader() 168 stream_ << std::endl; in HandleInstruction() 169 stream_ << std::string(indent_, ' '); in HandleInstruction() 170 stream_ << "; Function " << name_mapper_(inst.result_id) << std::endl; in HandleInstruction() 175 stream_ << std::endl; in HandleInstruction() 176 stream_ << std::string(indent_, ' '); in HandleInstruction() [all …]
|
D | diagnostic.cpp | 74 : stream_(), in DiagnosticStream() 84 stream_ << other.stream_.str(); in DiagnosticStream() 110 stream_ << std::endl << " " << disassembled_instruction_ << std::endl; in ~DiagnosticStream() 112 consumer_(level, "input", position_, stream_.str().c_str()); in ~DiagnosticStream()
|
D | diagnostic.h | 52 stream_ << val; 60 std::ostringstream stream_;
|
/third_party/skia/third_party/externals/spirv-tools/source/ |
D | disassemble.cpp | 60 stream_(out_.get()), in Disassembler() 126 std::ostream& stream_; // The output std::stream. member in __anon620a84760111::Disassembler 144 stream_ << "; SPIR-V\n" in HandleHeader() 150 stream_ << "(" << SPV_GENERATOR_TOOL_PART(generator) << ")"; in HandleHeader() 154 stream_ << "; " << SPV_GENERATOR_MISC_PART(generator) << "\n" in HandleHeader() 168 stream_ << std::endl; in HandleInstruction() 169 stream_ << std::string(indent_, ' '); in HandleInstruction() 170 stream_ << "; Function " << name_mapper_(inst.result_id) << std::endl; in HandleInstruction() 175 stream_ << std::endl; in HandleInstruction() 176 stream_ << std::string(indent_, ' '); in HandleInstruction() [all …]
|
D | diagnostic.cpp | 74 : stream_(), in DiagnosticStream() 84 stream_ << other.stream_.str(); in DiagnosticStream() 110 stream_ << std::endl << " " << disassembled_instruction_ << std::endl; in ~DiagnosticStream() 112 consumer_(level, "input", position_, stream_.str().c_str()); in ~DiagnosticStream()
|
D | diagnostic.h | 52 stream_ << val; 60 std::ostringstream stream_;
|
/third_party/node/deps/v8/src/asmjs/ |
D | asm-scanner.cc | 24 : stream_(stream), in AsmJsScanner() 87 position_ = stream_->pos(); in Next() 88 base::uc32 ch = stream_->Advance(); in Next() 112 ch = stream_->Advance(); in Next() 121 stream_->Back(); in Next() 215 stream_->Seek(pos); in Seek() 231 ch = stream_->Advance(); in ConsumeIdentifier() 234 stream_->Back(); in ConsumeIdentifier() 280 ch = stream_->Advance(); in ConsumeNumber() 299 stream_->Back(); in ConsumeNumber() [all …]
|
/third_party/gn/src/base/ |
D | logging.cc | 151 stream_ << "Check failed: " << condition << ". "; in LogMessage() 157 stream_ << "Check failed: " << *result; in LogMessage() 167 stream_ << "Check failed: " << *result; in LogMessage() 173 stream_ << std::endl; // Newline to separate from log message. in ~LogMessage() 175 stream_ << std::endl; in ~LogMessage() 176 std::string str_newline(stream_.str()); in ~LogMessage() 198 stream_ << '['; in Init() 199 stream_ << std::this_thread::get_id() << ':'; in Init() 203 stream_ << std::setfill('0') << std::setw(2) << local_time.wMonth in Init() 215 stream_ << std::setfill('0') << std::setw(2) << 1 + tm_time->tm_mon in Init() [all …]
|
/third_party/cef/libcef_dll/wrapper/ |
D | cef_stream_resource_handler.cc | 19 stream_(stream) { in CefStreamResourceHandler() 33 stream_(stream) { in CefStreamResourceHandler() 60 response_length = stream_ ? -1 : 0; in GetResponseHeaders() 70 DCHECK(stream_); in Read() 78 stream_->Read(static_cast<char*>(data_out) + bytes_read, 1, in Read()
|
/third_party/skia/third_party/externals/spirv-tools/source/util/ |
D | parse_number.cpp | 38 if (error_msg_sink_) stream_ = MakeUnique<std::ostringstream>(); in ErrorMsgStream() 41 if (error_msg_sink_ && stream_) *error_msg_sink_ = stream_->str(); in ~ErrorMsgStream() 45 if (stream_) *stream_ << val; in operator <<() 50 std::unique_ptr<std::ostringstream> stream_; member in spvtools::utils::__anonadfea9ba0111::ErrorMsgStream
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/ |
D | parse_number.cpp | 38 if (error_msg_sink_) stream_ = MakeUnique<std::ostringstream>(); in ErrorMsgStream() 41 if (error_msg_sink_ && stream_) *error_msg_sink_ = stream_->str(); in ~ErrorMsgStream() 45 if (stream_) *stream_ << val; in operator <<() 50 std::unique_ptr<std::ostringstream> stream_; member in spvtools::utils::__anon86e6a6260111::ErrorMsgStream
|
/third_party/spirv-tools/source/util/ |
D | parse_number.cpp | 38 if (error_msg_sink_) stream_ = MakeUnique<std::ostringstream>(); in ErrorMsgStream() 41 if (error_msg_sink_ && stream_) *error_msg_sink_ = stream_->str(); in ~ErrorMsgStream() 45 if (stream_) *stream_ << val; in operator <<() 50 std::unique_ptr<std::ostringstream> stream_; member in spvtools::utils::__anon7440f8c50111::ErrorMsgStream
|
/third_party/skia/third_party/externals/piex/src/ |
D | tiff_parser.cc | 639 TiffParser::TiffParser(StreamInterface* stream) : stream_(stream) {} in TiffParser() 642 : stream_(stream), tiff_offset_(offset) {} in TiffParser() 648 success = FillPreviewImageData(tiff_directory, stream_, preview_image_data); in GetPreviewImageData() 651 success = FillPreviewImageData(*tiff_content.exif_directory, stream_, in GetPreviewImageData() 661 FillPreviewImageData(sub_directory, stream_, preview_image_data); in GetPreviewImageData() 677 if (!GetEndianness(tiff_offset_, stream_, &endian_) || in Parse() 678 !Get32u(stream_, tiff_offset_ + kTiffIdentifierSize, endian_, in Parse() 699 stream_, tiff_content->exif_directory.get(), &next_ifd_offset)) { in Parse() 725 stream_, &tiff_ifd, &next_ifd_offset) || in ParseIfd() 727 stream_, &tiff_ifd)) { in ParseIfd() [all …]
|
/third_party/node/src/inspector/ |
D | tracing_agent.cc | 91 json_writer_.reset(TraceWriter::CreateJSONTraceWriter(stream_, "value")); in AppendTraceEvent() 102 result << stream_.str(); in Flush() 106 stream_.str(""); in Flush() 111 std::ostringstream stream_; member in node::inspector::protocol::__anonf0e06a1f0111::InspectorTraceWriter
|
/third_party/vixl/examples/aarch32/ |
D | custom-aarch32-disasm.cc | 98 CustomStream* stream_; member in vixl::aarch32::NamedLabel 103 : stream_(stream), name_(name) {} in NamedLabel() 106 stream_->GetSymbols().insert( in ~NamedLabel()
|
/third_party/node/src/tracing/ |
D | node_trace_writer.cc | 110 json_trace_writer_.reset(TraceWriter::CreateJSONTraceWriter(stream_)); in AppendTraceEvent() 128 str = stream_.str(); in FlushPrivate() 129 stream_.str(""); in FlushPrivate() 130 stream_.clear(); in FlushPrivate()
|