Searched refs:printer (Results 1 - 25 of 150) sorted by relevance

123456

/external/protobuf/src/google/protobuf/compiler/java/
H A Djava_service.cc37 #include <google/protobuf/io/printer.h>
51 void ServiceGenerator::Generate(io::Printer* printer) { argument
53 printer->Print(
58 printer->Indent();
60 printer->Print(
64 GenerateInterface(printer);
66 GenerateNewReflectiveServiceMethod(printer);
67 GenerateNewReflectiveBlockingServiceMethod(printer);
69 GenerateAbstractMethods(printer);
72 printer
93 GenerateGetDescriptorForType(io::Printer* printer) argument
101 GenerateInterface(io::Printer* printer) argument
109 GenerateNewReflectiveServiceMethod( io::Printer* printer) argument
136 GenerateNewReflectiveBlockingServiceMethod( io::Printer* printer) argument
157 GenerateAbstractMethods(io::Printer* printer) argument
165 GenerateCallMethod(io::Printer* printer) argument
211 GenerateCallBlockingMethod(io::Printer* printer) argument
253 GenerateGetPrototype(RequestOrResponse which, io::Printer* printer) argument
297 GenerateStub(io::Printer* printer) argument
351 GenerateBlockingStub(io::Printer* printer) argument
411 GenerateMethodSignature(io::Printer* printer, const MethodDescriptor* method, IsAbstract is_abstract) argument
426 GenerateBlockingMethodSignature( io::Printer* printer, const MethodDescriptor* method) argument
[all...]
H A Djava_enum_field.cc41 #include <google/protobuf/io/printer.h>
81 GenerateMembers(io::Printer* printer) const {
82 printer->Print(variables_,
90 GenerateBuilderMembers(io::Printer* printer) const {
91 printer->Print(variables_,
114 GenerateInitializationCode(io::Printer* printer) const {
115 printer->Print(variables_, "$name$_ = $default$;\n");
119 GenerateMergingCode(io::Printer* printer) const {
120 printer->Print(variables_,
127 GenerateBuildingCode(io::Printer* printer) cons
[all...]
H A Djava_enum_field.h53 void GenerateMembers(io::Printer* printer) const;
54 void GenerateBuilderMembers(io::Printer* printer) const;
55 void GenerateInitializationCode(io::Printer* printer) const;
56 void GenerateMergingCode(io::Printer* printer) const;
57 void GenerateBuildingCode(io::Printer* printer) const;
58 void GenerateParsingCode(io::Printer* printer) const;
59 void GenerateSerializationCode(io::Printer* printer) const;
60 void GenerateSerializedSizeCode(io::Printer* printer) const;
77 void GenerateMembers(io::Printer* printer) const;
78 void GenerateBuilderMembers(io::Printer* printer) cons
[all...]
H A Djava_primitive_field.h53 void GenerateMembers(io::Printer* printer) const;
54 void GenerateBuilderMembers(io::Printer* printer) const;
55 void GenerateInitializationCode(io::Printer* printer) const;
56 void GenerateMergingCode(io::Printer* printer) const;
57 void GenerateBuildingCode(io::Printer* printer) const;
58 void GenerateParsingCode(io::Printer* printer) const;
59 void GenerateSerializationCode(io::Printer* printer) const;
60 void GenerateSerializedSizeCode(io::Printer* printer) const;
77 void GenerateMembers(io::Printer* printer) const;
78 void GenerateBuilderMembers(io::Printer* printer) cons
[all...]
H A Djava_message_field.h53 void GenerateMembers(io::Printer* printer) const;
54 void GenerateBuilderMembers(io::Printer* printer) const;
55 void GenerateInitializationCode(io::Printer* printer) const;
56 void GenerateMergingCode(io::Printer* printer) const;
57 void GenerateBuildingCode(io::Printer* printer) const;
58 void GenerateParsingCode(io::Printer* printer) const;
59 void GenerateSerializationCode(io::Printer* printer) const;
60 void GenerateSerializedSizeCode(io::Printer* printer) const;
77 void GenerateMembers(io::Printer* printer) const;
78 void GenerateBuilderMembers(io::Printer* printer) cons
[all...]
H A Djava_message_field.cc40 #include <google/protobuf/io/printer.h>
79 GenerateMembers(io::Printer* printer) const {
80 printer->Print(variables_,
88 GenerateBuilderMembers(io::Printer* printer) const {
89 printer->Print(variables_,
128 GenerateInitializationCode(io::Printer* printer) const {
129 printer->Print(variables_, "$name$_ = $type$.getDefaultInstance();\n");
133 GenerateMergingCode(io::Printer* printer) const {
134 printer->Print(variables_,
141 GenerateBuildingCode(io::Printer* printer) cons
[all...]
H A Djava_message.cc42 #include <google/protobuf/io/printer.h>
57 void PrintFieldComment(io::Printer* printer, const FieldDescriptor* field) { argument
61 printer->Print("// $def$\n",
156 void MessageGenerator::GenerateStaticVariables(io::Printer* printer) { argument
182 printer->Print(vars,
187 printer->Print(vars,
197 .GenerateStaticVariables(printer);
202 io::Printer* printer) {
215 printer->Print(vars,
219 printer
201 GenerateStaticVariableInitializers( io::Printer* printer) argument
256 Generate(io::Printer* printer) argument
396 GenerateMessageSerializationMethods(io::Printer* printer) argument
505 GenerateParseFromMethods(io::Printer* printer) argument
580 GenerateSerializeOneField( io::Printer* printer, const FieldDescriptor* field) argument
585 GenerateSerializeOneExtensionRange( io::Printer* printer, const Descriptor::ExtensionRange* range) argument
594 GenerateBuilder(io::Printer* printer) argument
659 GenerateCommonBuilderMethods(io::Printer* printer) argument
803 GenerateBuilderParsingMethods(io::Printer* printer) argument
903 GenerateIsInitialized(io::Printer* printer) argument
967 GenerateExtensionRegistrationCode(io::Printer* printer) argument
[all...]
H A Djava_service.h44 class Printer; // printer.h
57 void Generate(io::Printer* printer);
62 void GenerateGetDescriptorForType(io::Printer* printer);
65 void GenerateInterface(io::Printer* printer);
68 void GenerateNewReflectiveServiceMethod(io::Printer* printer);
71 void GenerateNewReflectiveBlockingServiceMethod(io::Printer* printer);
74 void GenerateAbstractMethods(io::Printer* printer);
77 void GenerateCallMethod(io::Printer* printer);
80 void GenerateCallBlockingMethod(io::Printer* printer);
84 void GenerateGetPrototype(RequestOrResponse which, io::Printer* printer);
[all...]
/external/protobuf/src/google/protobuf/io/
H A Dprinter_unittest.cc37 #include <google/protobuf/io/printer.h>
57 Printer printer(&output, '\0');
58 EXPECT_TRUE(!printer.failed());
68 Printer printer(&output, '\0');
70 printer.Print("Hello World!");
71 printer.Print(" This is the same line.\n");
72 printer.Print("But this is a new one.\nAnd this is another one.");
74 EXPECT_FALSE(printer.failed());
94 Printer printer(&output, '$');
95 printer
[all...]
/external/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_message_field.cc37 #include <google/protobuf/io/printer.h>
70 GeneratePrivateMembers(io::Printer* printer) const {
71 printer->Print(variables_, "$type$* $name$_;\n");
75 GenerateAccessorDeclarations(io::Printer* printer) const {
76 printer->Print(variables_,
82 GenerateInlineAccessorDefinitions(io::Printer* printer) const {
83 printer->Print(variables_,
95 GenerateClearingCode(io::Printer* printer) const {
96 printer->Print(variables_,
101 GenerateMergingCode(io::Printer* printer) cons
[all...]
H A Dcpp_string_field.cc37 #include <google/protobuf/io/printer.h>
70 GeneratePrivateMembers(io::Printer* printer) const {
71 printer->Print(variables_,
77 GenerateAccessorDeclarations(io::Printer* printer) const {
95 printer->Outdent();
96 printer->Print(
99 printer->Indent();
102 printer->Print(variables_,
111 printer->Outdent();
112 printer
[all...]
H A Dcpp_string_field.h53 void GeneratePrivateMembers(io::Printer* printer) const;
54 void GenerateAccessorDeclarations(io::Printer* printer) const;
55 void GenerateInlineAccessorDefinitions(io::Printer* printer) const;
56 void GenerateNonInlineAccessorDefinitions(io::Printer* printer) const;
57 void GenerateClearingCode(io::Printer* printer) const;
58 void GenerateMergingCode(io::Printer* printer) const;
59 void GenerateSwappingCode(io::Printer* printer) const;
60 void GenerateConstructorCode(io::Printer* printer) const;
61 void GenerateDestructorCode(io::Printer* printer) const;
62 void GenerateMergeFromCodedStream(io::Printer* printer) cons
[all...]
H A Dcpp_message.cc45 #include <google/protobuf/io/printer.h>
60 void PrintFieldComment(io::Printer* printer, const FieldDescriptor* field) { argument
64 printer->Print("// $def$\n",
182 GenerateForwardDeclaration(io::Printer* printer) { argument
183 printer->Print("class $classname$;\n",
187 nested_generators_[i]->GenerateForwardDeclaration(printer);
192 GenerateEnumDefinitions(io::Printer* printer) { argument
194 nested_generators_[i]->GenerateEnumDefinitions(printer);
198 enum_generators_[i]->GenerateDefinition(printer);
203 GenerateGetEnumDescriptorSpecializations(io::Printer* printer) { argument
213 GenerateFieldAccessorDeclarations(io::Printer* printer) argument
248 GenerateFieldAccessorDefinitions(io::Printer* printer) argument
295 GenerateClassDefinition(io::Printer* printer) argument
522 GenerateInlineMethods(io::Printer* printer) argument
533 GenerateDescriptorDeclarations(io::Printer* printer) argument
552 GenerateDescriptorInitializer(io::Printer* printer, int index) argument
608 GenerateTypeRegistrations(io::Printer* printer) argument
622 GenerateDefaultInstanceAllocator(io::Printer* printer) argument
638 GenerateDefaultInstanceInitializer(io::Printer* printer) argument
655 GenerateShutdownCode(io::Printer* printer) argument
673 GenerateClassMethods(io::Printer* printer) argument
767 GenerateOffsets(io::Printer* printer) argument
787 GenerateSharedConstructorCode(io::Printer* printer) argument
809 GenerateSharedDestructorCode(io::Printer* printer) argument
845 GenerateStructors(io::Printer* printer) argument
949 GenerateClear(io::Printer* printer) argument
1033 GenerateSwap(io::Printer* printer) argument
1070 GenerateMergeFrom(io::Printer* printer) argument
1178 GenerateCopyFrom(io::Printer* printer) argument
1212 GenerateMergeFromCodedStream(io::Printer* printer) argument
1420 GenerateSerializeOneField( io::Printer* printer, const FieldDescriptor* field, bool to_array) argument
1445 GenerateSerializeOneExtensionRange( io::Printer* printer, const Descriptor::ExtensionRange* range, bool to_array) argument
1465 GenerateSerializeWithCachedSizes(io::Printer* printer) argument
1497 GenerateSerializeWithCachedSizesToArray(io::Printer* printer) argument
1533 GenerateSerializeWithCachedSizesBody(io::Printer* printer, bool to_array) argument
1585 GenerateByteSize(io::Printer* printer) argument
1702 GenerateIsInitialized(io::Printer* printer) argument
[all...]
H A Dcpp_enum_field.h53 void GeneratePrivateMembers(io::Printer* printer) const;
54 void GenerateAccessorDeclarations(io::Printer* printer) const;
55 void GenerateInlineAccessorDefinitions(io::Printer* printer) const;
56 void GenerateClearingCode(io::Printer* printer) const;
57 void GenerateMergingCode(io::Printer* printer) const;
58 void GenerateSwappingCode(io::Printer* printer) const;
59 void GenerateConstructorCode(io::Printer* printer) const;
60 void GenerateMergeFromCodedStream(io::Printer* printer) const;
61 void GenerateSerializeWithCachedSizes(io::Printer* printer) const;
62 void GenerateSerializeWithCachedSizesToArray(io::Printer* printer) cons
[all...]
H A Dcpp_primitive_field.h53 void GeneratePrivateMembers(io::Printer* printer) const;
54 void GenerateAccessorDeclarations(io::Printer* printer) const;
55 void GenerateInlineAccessorDefinitions(io::Printer* printer) const;
56 void GenerateClearingCode(io::Printer* printer) const;
57 void GenerateMergingCode(io::Printer* printer) const;
58 void GenerateSwappingCode(io::Printer* printer) const;
59 void GenerateConstructorCode(io::Printer* printer) const;
60 void GenerateMergeFromCodedStream(io::Printer* printer) const;
61 void GenerateSerializeWithCachedSizes(io::Printer* printer) const;
62 void GenerateSerializeWithCachedSizesToArray(io::Printer* printer) cons
[all...]
H A Dcpp_enum_field.cc37 #include <google/protobuf/io/printer.h>
69 GeneratePrivateMembers(io::Printer* printer) const {
70 printer->Print(variables_, "int $name$_;\n");
74 GenerateAccessorDeclarations(io::Printer* printer) const {
75 printer->Print(variables_,
81 GenerateInlineAccessorDefinitions(io::Printer* printer) const {
82 printer->Print(variables_,
94 GenerateClearingCode(io::Printer* printer) const {
95 printer->Print(variables_, "$name$_ = $default$;\n");
99 GenerateMergingCode(io::Printer* printer) cons
[all...]
H A Dcpp_message.h45 class Printer; // printer.h
66 void GenerateForwardDeclaration(io::Printer* printer);
70 void GenerateEnumDefinitions(io::Printer* printer);
74 void GenerateGetEnumDescriptorSpecializations(io::Printer* printer);
77 void GenerateClassDefinition(io::Printer* printer);
81 void GenerateInlineMethods(io::Printer* printer);
87 void GenerateDescriptorDeclarations(io::Printer* printer);
91 void GenerateDescriptorInitializer(io::Printer* printer, int index);
95 void GenerateTypeRegistrations(io::Printer* printer);
98 void GenerateDefaultInstanceAllocator(io::Printer* printer);
[all...]
H A Dcpp_message_field.h53 void GeneratePrivateMembers(io::Printer* printer) const;
54 void GenerateAccessorDeclarations(io::Printer* printer) const;
55 void GenerateInlineAccessorDefinitions(io::Printer* printer) const;
56 void GenerateClearingCode(io::Printer* printer) const;
57 void GenerateMergingCode(io::Printer* printer) const;
58 void GenerateSwappingCode(io::Printer* printer) const;
59 void GenerateConstructorCode(io::Printer* printer) const;
60 void GenerateMergeFromCodedStream(io::Printer* printer) const;
61 void GenerateSerializeWithCachedSizes(io::Printer* printer) const;
62 void GenerateSerializeWithCachedSizesToArray(io::Printer* printer) cons
[all...]
H A Dcpp_primitive_field.cc37 #include <google/protobuf/io/printer.h>
110 GeneratePrivateMembers(io::Printer* printer) const {
111 printer->Print(variables_, "$type$ $name$_;\n");
115 GenerateAccessorDeclarations(io::Printer* printer) const {
116 printer->Print(variables_,
122 GenerateInlineAccessorDefinitions(io::Printer* printer) const {
123 printer->Print(variables_,
134 GenerateClearingCode(io::Printer* printer) const {
135 printer->Print(variables_, "$name$_ = $default$;\n");
139 GenerateMergingCode(io::Printer* printer) cons
[all...]
H A Dcpp_file.cc42 #include <google/protobuf/io/printer.h>
91 void FileGenerator::GenerateHeader(io::Printer* printer) { argument
95 printer->Print(
107 printer->Print(
113 printer->Print(
130 printer->Print(
136 printer->Print(
141 printer->Print(
147 printer->Print(
152 printer
282 GenerateSource(io::Printer* printer) argument
379 GenerateBuildDescriptors(io::Printer* printer) argument
587 GenerateNamespaceOpeners(io::Printer* printer) argument
596 GenerateNamespaceClosers(io::Printer* printer) argument
[all...]
/external/protobuf/src/google/protobuf/compiler/javamicro/
H A Djavamicro_enum_field.cc41 #include <google/protobuf/io/printer.h>
82 GenerateMembers(io::Printer* printer) const {
83 printer->Print(variables_,
101 GenerateMergingCode(io::Printer* printer) const {
102 printer->Print(variables_,
110 GenerateParsingCode(io::Printer* printer) const {
111 printer->Print(variables_,
116 GenerateSerializationCode(io::Printer* printer) const {
117 printer->Print(variables_,
124 GenerateSerializedSizeCode(io::Printer* printer) cons
[all...]
H A Djavamicro_message.cc41 #include <google/protobuf/io/printer.h>
56 void PrintFieldComment(io::Printer* printer, const FieldDescriptor* field) { argument
60 printer->Print("// $def$\n",
149 void MessageGenerator::GenerateStaticVariables(io::Printer* printer) { argument
154 .GenerateStaticVariables(printer);
159 io::Printer* printer) {
164 .GenerateStaticVariableInitializers(printer);
172 void MessageGenerator::Generate(io::Printer* printer) { argument
192 printer->Print(
198 printer
158 GenerateStaticVariableInitializers( io::Printer* printer) argument
236 GenerateMessageSerializationMethods(io::Printer* printer) argument
293 GenerateMergeFromMethods(io::Printer* printer) argument
362 GenerateParseFromMethods(io::Printer* printer) argument
385 GenerateSerializeOneField( io::Printer* printer, const FieldDescriptor* field) argument
390 GenerateClear(io::Printer* printer) argument
414 GenerateIsInitialized(io::Printer* printer) argument
[all...]
/external/protobuf/src/google/protobuf/compiler/javanano/
H A Djavanano_message.cc41 #include <google/protobuf/io/printer.h>
56 void PrintFieldComment(io::Printer* printer, const FieldDescriptor* field) { argument
60 printer->Print("// $def$\n",
103 void MessageGenerator::GenerateStaticVariables(io::Printer* printer) { argument
108 .GenerateStaticVariables(printer);
113 io::Printer* printer) {
118 .GenerateStaticVariableInitializers(printer);
126 void MessageGenerator::Generate(io::Printer* printer) { argument
146 printer->Print(
152 printer
112 GenerateStaticVariableInitializers( io::Printer* printer) argument
187 GenerateMessageSerializationMethods(io::Printer* printer) argument
244 GenerateMergeFromMethods(io::Printer* printer) argument
305 GenerateParseFromMethods(io::Printer* printer) argument
328 GenerateSerializeOneField( io::Printer* printer, const FieldDescriptor* field) argument
333 GenerateClear(io::Printer* printer) argument
[all...]
H A Djavanano_message_field.cc40 #include <google/protobuf/io/printer.h>
85 GenerateMembers(io::Printer* printer) const {
86 printer->Print(variables_,
91 GenerateParsingCode(io::Printer* printer) const {
92 printer->Print(variables_,
96 printer->Print(variables_,
99 printer->Print(variables_,
105 GenerateSerializationCode(io::Printer* printer) const {
106 printer->Print(variables_,
113 GenerateSerializedSizeCode(io::Printer* printer) cons
[all...]
H A Djavanano_enum_field.cc41 #include <google/protobuf/io/printer.h>
82 GenerateMembers(io::Printer* printer) const {
83 printer->Print(variables_,
88 GenerateParsingCode(io::Printer* printer) const {
89 printer->Print(variables_,
94 GenerateSerializationCode(io::Printer* printer) const {
96 printer->Print(variables_,
99 printer->Print(variables_,
107 GenerateSerializedSizeCode(io::Printer* printer) const {
109 printer
[all...]

Completed in 265 milliseconds

123456