Home
last modified time | relevance | path

Searched refs:printer_ (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc328 printer_ = &printer; in Generate()
330 PrintTopBoilerplate(printer_, file_, GeneratingDescriptorProto()); in Generate()
364 printer_->Print("$statement$ as $alias$\n", "statement", in PrintImports()
368 printer_->Print("\n"); in PrintImports()
373 printer_->Print("from $module$ import *\n", "module", module_name); in PrintImports()
375 printer_->Print("\n"); in PrintImports()
390 printer_->Print(m, file_descriptor_template); in PrintFileDescriptor()
391 printer_->Indent(); in PrintFileDescriptor()
392 printer_->Print( in PrintFileDescriptor()
397 printer_->Print(",\ndependencies=["); in PrintFileDescriptor()
[all …]
Dpython_generator.h162 mutable io::Printer* printer_; // Set in Generate(). Under mutex_. variable
/external/protobuf/src/google/protobuf/util/
Dmessage_differencer.cc1469 io::ZeroCopyOutputStream* output) : printer_(new io::Printer(output, '$')), in StreamReporter()
1474 io::Printer* printer) : printer_(printer), in StreamReporter()
1479 if (delete_printer_) delete printer_; in ~StreamReporter()
1486 printer_->Print("."); in PrintPath()
1493 printer_->Print("($name$)", "name", in PrintPath()
1496 printer_->PrintRaw(specific_field.field->name()); in PrintPath()
1499 printer_->PrintRaw(SimpleItoa(specific_field.unknown_field_number)); in PrintPath()
1502 printer_->Print("[$name$]", "name", SimpleItoa(specific_field.index)); in PrintPath()
1505 printer_->Print("[$name$]", "name", SimpleItoa(specific_field.new_index)); in PrintPath()
1526 printer_->Print("{ }"); in PrintValue()
[all …]
Dmessage_differencer.h635 io::Printer* printer_;
/external/grpc-grpc/src/compiler/
Dprotobuf_plugin.h136 : output_stream_(str), printer_(&output_stream_, '$') {} in ProtoBufPrinter()
140 printer_.Print(vars, string_template); in Print()
143 void Print(const char* string) { printer_.Print(string); } in Print()
144 void PrintRaw(const char* string) { printer_.PrintRaw(string); } in PrintRaw()
145 void Indent() { printer_.Indent(); } in Indent()
146 void Outdent() { printer_.Outdent(); } in Outdent()
150 grpc::protobuf::io::Printer printer_; variable
Dpython_generator.cc72 explicit IndentScope(grpc_generator::Printer* printer) : printer_(printer) { in IndentScope()
73 printer_->Indent(); in IndentScope()
76 ~IndentScope() { printer_->Outdent(); } in ~IndentScope()
79 grpc_generator::Printer* printer_; member in grpc_python_generator::__anonac6c940b0111::IndentScope