Home
last modified time | relevance | path

Searched refs:printer (Results 1 – 25 of 483) sorted by relevance

12345678910>>...20

/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_message_field.cc127 GenerateInterfaceMembers(io::Printer* printer) const { in GenerateInterfaceMembers()
132 WriteFieldDocComment(printer, descriptor_); in GenerateInterfaceMembers()
133 printer->Print(variables_, in GenerateInterfaceMembers()
135 WriteFieldDocComment(printer, descriptor_); in GenerateInterfaceMembers()
136 printer->Print(variables_, in GenerateInterfaceMembers()
140 WriteFieldDocComment(printer, descriptor_); in GenerateInterfaceMembers()
141 printer->Print(variables_, in GenerateInterfaceMembers()
147 GenerateMembers(io::Printer* printer) const { in GenerateMembers()
148 printer->Print(variables_, in GenerateMembers()
150 WriteFieldDocComment(printer, descriptor_); in GenerateMembers()
[all …]
Djava_string_field.cc171 GenerateInterfaceMembers(io::Printer* printer) const { in GenerateInterfaceMembers()
172 WriteFieldDocComment(printer, descriptor_); in GenerateInterfaceMembers()
173 printer->Print(variables_, in GenerateInterfaceMembers()
175 WriteFieldDocComment(printer, descriptor_); in GenerateInterfaceMembers()
176 printer->Print(variables_, in GenerateInterfaceMembers()
178 WriteFieldDocComment(printer, descriptor_); in GenerateInterfaceMembers()
179 printer->Print(variables_, in GenerateInterfaceMembers()
185 GenerateMembers(io::Printer* printer) const { in GenerateMembers()
186 printer->Print(variables_, in GenerateMembers()
188 WriteFieldDocComment(printer, descriptor_); in GenerateMembers()
[all …]
Djava_service.cc52 void ServiceGenerator::Generate(io::Printer* printer) { in Generate() argument
54 WriteServiceDocComment(printer, descriptor_); in Generate()
55 printer->Print( in Generate()
60 printer->Indent(); in Generate()
62 printer->Print( in Generate()
66 GenerateInterface(printer); in Generate()
68 GenerateNewReflectiveServiceMethod(printer); in Generate()
69 GenerateNewReflectiveBlockingServiceMethod(printer); in Generate()
71 GenerateAbstractMethods(printer); in Generate()
74 printer->Print( in Generate()
[all …]
Djava_enum_field.cc128 GenerateInterfaceMembers(io::Printer* printer) const { in GenerateInterfaceMembers()
129 WriteFieldDocComment(printer, descriptor_); in GenerateInterfaceMembers()
130 printer->Print(variables_, in GenerateInterfaceMembers()
132 WriteFieldDocComment(printer, descriptor_); in GenerateInterfaceMembers()
133 printer->Print(variables_, in GenerateInterfaceMembers()
138 GenerateMembers(io::Printer* printer) const { in GenerateMembers()
139 printer->Print(variables_, in GenerateMembers()
141 WriteFieldDocComment(printer, descriptor_); in GenerateMembers()
142 printer->Print(variables_, in GenerateMembers()
146 WriteFieldDocComment(printer, descriptor_); in GenerateMembers()
[all …]
Djava_message.cc63 void PrintFieldComment(io::Printer* printer, const FieldDescriptor* field) { in PrintFieldComment() argument
67 printer->Print("// $def$\n", in PrintFieldComment()
162 void MessageGenerator::GenerateStaticVariables(io::Printer* printer) { in GenerateStaticVariables() argument
188 printer->Print(vars, in GenerateStaticVariables()
193 printer->Print(vars, in GenerateStaticVariables()
203 .GenerateStaticVariables(printer); in GenerateStaticVariables()
208 io::Printer* printer) { in GenerateStaticVariableInitializers() argument
221 printer->Print(vars, in GenerateStaticVariableInitializers()
225 printer->Print(vars, in GenerateStaticVariableInitializers()
231 printer->Print(vars, in GenerateStaticVariableInitializers()
[all …]
Djava_primitive_field.cc251 GenerateInterfaceMembers(io::Printer* printer) const { in GenerateInterfaceMembers()
252 WriteFieldDocComment(printer, descriptor_); in GenerateInterfaceMembers()
253 printer->Print(variables_, in GenerateInterfaceMembers()
255 WriteFieldDocComment(printer, descriptor_); in GenerateInterfaceMembers()
256 printer->Print(variables_, in GenerateInterfaceMembers()
261 GenerateMembers(io::Printer* printer) const { in GenerateMembers()
262 printer->Print(variables_, in GenerateMembers()
265 WriteFieldDocComment(printer, descriptor_); in GenerateMembers()
266 printer->Print(variables_, in GenerateMembers()
271 WriteFieldDocComment(printer, descriptor_); in GenerateMembers()
[all …]
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc60 void PrintFieldComment(io::Printer* printer, const FieldDescriptor* field) { in PrintFieldComment() argument
64 printer->Print("// $def$\n", in PrintFieldComment()
182 GenerateForwardDeclaration(io::Printer* printer) { in GenerateForwardDeclaration() argument
183 printer->Print("class $classname$;\n", in GenerateForwardDeclaration()
187 nested_generators_[i]->GenerateForwardDeclaration(printer); in GenerateForwardDeclaration()
192 GenerateEnumDefinitions(io::Printer* printer) { in GenerateEnumDefinitions() argument
194 nested_generators_[i]->GenerateEnumDefinitions(printer); in GenerateEnumDefinitions()
198 enum_generators_[i]->GenerateDefinition(printer); in GenerateEnumDefinitions()
203 GenerateGetEnumDescriptorSpecializations(io::Printer* printer) { in GenerateGetEnumDescriptorSpecializations() argument
205 nested_generators_[i]->GenerateGetEnumDescriptorSpecializations(printer); in GenerateGetEnumDescriptorSpecializations()
[all …]
Dcpp_string_field.cc70 GeneratePrivateMembers(io::Printer* printer) const { in GeneratePrivateMembers()
71 printer->Print(variables_, in GeneratePrivateMembers()
77 GenerateAccessorDeclarations(io::Printer* printer) const { in GenerateAccessorDeclarations()
95 printer->Outdent(); in GenerateAccessorDeclarations()
96 printer->Print( in GenerateAccessorDeclarations()
99 printer->Indent(); in GenerateAccessorDeclarations()
102 printer->Print(variables_, in GenerateAccessorDeclarations()
111 printer->Outdent(); in GenerateAccessorDeclarations()
112 printer->Print(" public:\n"); in GenerateAccessorDeclarations()
113 printer->Indent(); in GenerateAccessorDeclarations()
[all …]
Dcpp_file.cc91 void FileGenerator::GenerateHeader(io::Printer* printer) { in GenerateHeader() argument
95 printer->Print( in GenerateHeader()
107 printer->Print( in GenerateHeader()
113 printer->Print( in GenerateHeader()
130 printer->Print( in GenerateHeader()
136 printer->Print( in GenerateHeader()
141 printer->Print( in GenerateHeader()
147 printer->Print( in GenerateHeader()
152 printer->Print( in GenerateHeader()
156 GenerateNamespaceOpeners(printer); in GenerateHeader()
[all …]
Dcpp_enum_field.cc69 GeneratePrivateMembers(io::Printer* printer) const { in GeneratePrivateMembers()
70 printer->Print(variables_, "int $name$_;\n"); in GeneratePrivateMembers()
74 GenerateAccessorDeclarations(io::Printer* printer) const { in GenerateAccessorDeclarations()
75 printer->Print(variables_, in GenerateAccessorDeclarations()
81 GenerateInlineAccessorDefinitions(io::Printer* printer) const { in GenerateInlineAccessorDefinitions()
82 printer->Print(variables_, in GenerateInlineAccessorDefinitions()
94 GenerateClearingCode(io::Printer* printer) const { in GenerateClearingCode()
95 printer->Print(variables_, "$name$_ = $default$;\n"); in GenerateClearingCode()
99 GenerateMergingCode(io::Printer* printer) const { in GenerateMergingCode()
100 printer->Print(variables_, "set_$name$(from.$name$());\n"); in GenerateMergingCode()
[all …]
Dcpp_primitive_field.cc110 GeneratePrivateMembers(io::Printer* printer) const { in GeneratePrivateMembers()
111 printer->Print(variables_, "$type$ $name$_;\n"); in GeneratePrivateMembers()
115 GenerateAccessorDeclarations(io::Printer* printer) const { in GenerateAccessorDeclarations()
116 printer->Print(variables_, in GenerateAccessorDeclarations()
122 GenerateInlineAccessorDefinitions(io::Printer* printer) const { in GenerateInlineAccessorDefinitions()
123 printer->Print(variables_, in GenerateInlineAccessorDefinitions()
134 GenerateClearingCode(io::Printer* printer) const { in GenerateClearingCode()
135 printer->Print(variables_, "$name$_ = $default$;\n"); in GenerateClearingCode()
139 GenerateMergingCode(io::Printer* printer) const { in GenerateMergingCode()
140 printer->Print(variables_, "set_$name$(from.$name$());\n"); in GenerateMergingCode()
[all …]
Dcpp_message_field.cc70 GeneratePrivateMembers(io::Printer* printer) const { in GeneratePrivateMembers()
71 printer->Print(variables_, "$type$* $name$_;\n"); in GeneratePrivateMembers()
75 GenerateAccessorDeclarations(io::Printer* printer) const { in GenerateAccessorDeclarations()
76 printer->Print(variables_, in GenerateAccessorDeclarations()
82 GenerateInlineAccessorDefinitions(io::Printer* printer) const { in GenerateInlineAccessorDefinitions()
83 printer->Print(variables_, in GenerateInlineAccessorDefinitions()
95 GenerateClearingCode(io::Printer* printer) const { in GenerateClearingCode()
96 printer->Print(variables_, in GenerateClearingCode()
101 GenerateMergingCode(io::Printer* printer) const { in GenerateMergingCode()
102 printer->Print(variables_, in GenerateMergingCode()
[all …]
/external/protobuf/src/google/protobuf/compiler/java/
Djava_service.cc51 void ServiceGenerator::Generate(io::Printer* printer) { in Generate() argument
53 printer->Print( in Generate()
58 printer->Indent(); in Generate()
60 printer->Print( in Generate()
64 GenerateInterface(printer); in Generate()
66 GenerateNewReflectiveServiceMethod(printer); in Generate()
67 GenerateNewReflectiveBlockingServiceMethod(printer); in Generate()
69 GenerateAbstractMethods(printer); in Generate()
72 printer->Print( in Generate()
80 GenerateGetDescriptorForType(printer); in Generate()
[all …]
Djava_message.cc57 void PrintFieldComment(io::Printer* printer, const FieldDescriptor* field) { in PrintFieldComment() argument
61 printer->Print("// $def$\n", in PrintFieldComment()
156 void MessageGenerator::GenerateStaticVariables(io::Printer* printer) { in GenerateStaticVariables() argument
182 printer->Print(vars, in GenerateStaticVariables()
187 printer->Print(vars, in GenerateStaticVariables()
197 .GenerateStaticVariables(printer); in GenerateStaticVariables()
202 io::Printer* printer) { in GenerateStaticVariableInitializers() argument
215 printer->Print(vars, in GenerateStaticVariableInitializers()
219 printer->Print(vars, in GenerateStaticVariableInitializers()
225 printer->Print(vars, in GenerateStaticVariableInitializers()
[all …]
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_message.cc62 void PrintFieldComment(io::Printer* printer, const FieldDescriptor* field) { in PrintFieldComment() argument
66 printer->Print("// $def$\n", in PrintFieldComment()
323 GenerateForwardDeclaration(io::Printer* printer) { in GenerateForwardDeclaration() argument
324 printer->Print("class $classname$;\n", in GenerateForwardDeclaration()
328 nested_generators_[i]->GenerateForwardDeclaration(printer); in GenerateForwardDeclaration()
333 GenerateEnumDefinitions(io::Printer* printer) { in GenerateEnumDefinitions() argument
335 nested_generators_[i]->GenerateEnumDefinitions(printer); in GenerateEnumDefinitions()
339 enum_generators_[i]->GenerateDefinition(printer); in GenerateEnumDefinitions()
344 GenerateGetEnumDescriptorSpecializations(io::Printer* printer) { in GenerateGetEnumDescriptorSpecializations() argument
346 nested_generators_[i]->GenerateGetEnumDescriptorSpecializations(printer); in GenerateGetEnumDescriptorSpecializations()
[all …]
Dcpp_file.cc91 void FileGenerator::GenerateHeader(io::Printer* printer) { in GenerateHeader() argument
95 printer->Print( in GenerateHeader()
108 printer->Print( in GenerateHeader()
114 printer->Print( in GenerateHeader()
131 printer->Print( in GenerateHeader()
135 printer->Print( in GenerateHeader()
138 printer->Print( in GenerateHeader()
142 printer->Print( in GenerateHeader()
147 printer->Print( in GenerateHeader()
152 printer->Print( in GenerateHeader()
[all …]
Dcpp_enum_field.cc71 GeneratePrivateMembers(io::Printer* printer) const { in GeneratePrivateMembers()
72 printer->Print(variables_, "int $name$_;\n"); in GeneratePrivateMembers()
76 GenerateAccessorDeclarations(io::Printer* printer) const { in GenerateAccessorDeclarations()
77 printer->Print(variables_, in GenerateAccessorDeclarations()
83 GenerateInlineAccessorDefinitions(io::Printer* printer) const { in GenerateInlineAccessorDefinitions()
84 printer->Print(variables_, in GenerateInlineAccessorDefinitions()
96 GenerateClearingCode(io::Printer* printer) const { in GenerateClearingCode()
97 printer->Print(variables_, "$name$_ = $default$;\n"); in GenerateClearingCode()
101 GenerateMergingCode(io::Printer* printer) const { in GenerateMergingCode()
102 printer->Print(variables_, "set_$name$(from.$name$());\n"); in GenerateMergingCode()
[all …]
Dcpp_string_field.cc76 GeneratePrivateMembers(io::Printer* printer) const { in GeneratePrivateMembers()
77 printer->Print(variables_, "::std::string* $name$_;\n"); in GeneratePrivateMembers()
79 printer->Print(variables_, "static ::std::string* $default_variable$;\n"); in GeneratePrivateMembers()
84 GenerateAccessorDeclarations(io::Printer* printer) const { in GenerateAccessorDeclarations()
102 printer->Outdent(); in GenerateAccessorDeclarations()
103 printer->Print( in GenerateAccessorDeclarations()
106 printer->Indent(); in GenerateAccessorDeclarations()
109 printer->Print(variables_, in GenerateAccessorDeclarations()
121 printer->Outdent(); in GenerateAccessorDeclarations()
122 printer->Print(" public:\n"); in GenerateAccessorDeclarations()
[all …]
Dcpp_primitive_field.cc112 GeneratePrivateMembers(io::Printer* printer) const { in GeneratePrivateMembers()
113 printer->Print(variables_, "$type$ $name$_;\n"); in GeneratePrivateMembers()
117 GenerateAccessorDeclarations(io::Printer* printer) const { in GenerateAccessorDeclarations()
118 printer->Print(variables_, in GenerateAccessorDeclarations()
124 GenerateInlineAccessorDefinitions(io::Printer* printer) const { in GenerateInlineAccessorDefinitions()
125 printer->Print(variables_, in GenerateInlineAccessorDefinitions()
136 GenerateClearingCode(io::Printer* printer) const { in GenerateClearingCode()
137 printer->Print(variables_, "$name$_ = $default$;\n"); in GenerateClearingCode()
141 GenerateMergingCode(io::Printer* printer) const { in GenerateMergingCode()
142 printer->Print(variables_, "set_$name$(from.$name$());\n"); in GenerateMergingCode()
[all …]
Dcpp_message_field.cc72 GeneratePrivateMembers(io::Printer* printer) const { in GeneratePrivateMembers()
73 printer->Print(variables_, "$type$* $name$_;\n"); in GeneratePrivateMembers()
77 GenerateAccessorDeclarations(io::Printer* printer) const { in GenerateAccessorDeclarations()
78 printer->Print(variables_, in GenerateAccessorDeclarations()
86 GenerateInlineAccessorDefinitions(io::Printer* printer) const { in GenerateInlineAccessorDefinitions()
87 printer->Print(variables_, in GenerateInlineAccessorDefinitions()
91 variables_, descriptor_->file(), printer, in GenerateInlineAccessorDefinitions()
97 printer->Print(variables_, in GenerateInlineAccessorDefinitions()
122 GenerateClearingCode(io::Printer* printer) const { in GenerateClearingCode()
123 printer->Print(variables_, in GenerateClearingCode()
[all …]
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_message.cc89 void MessageGenerator::GenerateStaticVariables(io::Printer* printer) { in GenerateStaticVariables() argument
94 .GenerateStaticVariables(printer); in GenerateStaticVariables()
99 io::Printer* printer) { in GenerateStaticVariableInitializers() argument
104 .GenerateStaticVariableInitializers(printer); in GenerateStaticVariableInitializers()
108 void MessageGenerator::Generate(io::Printer* printer) { in Generate() argument
124 printer->Print( in Generate()
130 printer->Print( in Generate()
136 printer->Print( in Generate()
140 printer->Print( in Generate()
144 printer->Print( in Generate()
[all …]
Djavanano_enum_field.cc95 io::Printer* printer, const vector<string>& canonical_values) { in PrintCaseLabels() argument
97 printer->Print( in PrintCaseLabels()
117 GenerateMembers(io::Printer* printer, bool /* unused lazy_init */) const { in GenerateMembers() argument
118 printer->Print(variables_, in GenerateMembers()
122 printer->Print(variables_, in GenerateMembers()
128 GenerateClearCode(io::Printer* printer) const { in GenerateClearCode()
129 printer->Print(variables_, in GenerateClearCode()
133 printer->Print(variables_, in GenerateClearCode()
139 GenerateMergingCode(io::Printer* printer) const { in GenerateMergingCode()
140 printer->Print(variables_, in GenerateMergingCode()
[all …]
Djavanano_primitive_field.cc270 void PrimitiveFieldGenerator::GenerateInitSavedDefaultCode(io::Printer* printer) const { in GenerateInitSavedDefaultCode()
272 printer->Print(variables_, in GenerateInitSavedDefaultCode()
278 GenerateMembers(io::Printer* printer, bool lazy_init) const { in GenerateMembers() argument
282 printer->Print(variables_, in GenerateMembers()
285 printer->Print(variables_, in GenerateMembers()
291 printer->Print(variables_, in GenerateMembers()
295 printer->Print(variables_, in GenerateMembers()
301 GenerateClearCode(io::Printer* printer) const { in GenerateClearCode()
302 printer->Print(variables_, in GenerateClearCode()
306 printer->Print(variables_, in GenerateClearCode()
[all …]
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/
Dprinter_unittest.cc57 Printer printer(&output, '\0'); in TEST() local
58 EXPECT_TRUE(!printer.failed()); in TEST()
68 Printer printer(&output, '\0'); in TEST() local
70 printer.Print("Hello World!"); in TEST()
71 printer.Print(" This is the same line.\n"); in TEST()
72 printer.Print("But this is a new one.\nAnd this is another one."); in TEST()
74 EXPECT_FALSE(printer.failed()); in TEST()
94 Printer printer(&output, '$'); in TEST() local
95 printer.WriteRaw("Hello World!", 12); in TEST()
96 printer.PrintRaw(" This is the same line.\n"); in TEST()
[all …]
/external/protobuf/src/google/protobuf/io/
Dprinter_unittest.cc57 Printer printer(&output, '\0'); in TEST() local
58 EXPECT_TRUE(!printer.failed()); in TEST()
68 Printer printer(&output, '\0'); in TEST() local
70 printer.Print("Hello World!"); in TEST()
71 printer.Print(" This is the same line.\n"); in TEST()
72 printer.Print("But this is a new one.\nAnd this is another one."); in TEST()
74 EXPECT_FALSE(printer.failed()); in TEST()
94 Printer printer(&output, '$'); in TEST() local
95 printer.WriteRaw("Hello World!", 12); in TEST()
96 printer.PrintRaw(" This is the same line.\n"); in TEST()
[all …]

12345678910>>...20