Home
last modified time | relevance | path

Searched refs:Print (Results 1 – 25 of 775) sorted by relevance

12345678910>>...31

/external/flatbuffers/grpc/src/compiler/
Dgo_generator.cc69 printer->Print("//Generated by gRPC Go plugin\n"); in GenerateImports()
70 printer->Print("//If you make any local changes, they will be lost\n"); in GenerateImports()
71 printer->Print(vars, "//source: $filename$\n\n"); in GenerateImports()
72 printer->Print(vars, "package $Package$\n\n"); in GenerateImports()
74 printer->Print(file->additional_imports().c_str()); in GenerateImports()
75 printer->Print("\n\n"); in GenerateImports()
77 printer->Print("import (\n"); in GenerateImports()
79 printer->Print(vars, "$context$ \"golang.org/x/net/context\"\n"); in GenerateImports()
80 printer->Print(vars, "$grpc$ \"google.golang.org/grpc\"\n"); in GenerateImports()
82 printer->Print(")\n\n"); in GenerateImports()
[all …]
Dcpp_generator.cc86 printer->Print(vars, "#include $l$$h$$r$\n"); in PrintIncludes()
102 printer->Print(vars, "// Generated by the gRPC protobuf plugin.\n"); in GetHeaderPrologue()
103 printer->Print(vars, in GetHeaderPrologue()
105 printer->Print(vars, "// source: $filename$\n"); in GetHeaderPrologue()
106 printer->Print(vars, "#ifndef GRPC_$filename_identifier$__INCLUDED\n"); in GetHeaderPrologue()
107 printer->Print(vars, "#define GRPC_$filename_identifier$__INCLUDED\n"); in GetHeaderPrologue()
108 printer->Print(vars, "\n"); in GetHeaderPrologue()
109 printer->Print(vars, "#include \"$filename_base$$message_header_ext$\"\n"); in GetHeaderPrologue()
110 printer->Print(vars, file->additional_headers().c_str()); in GetHeaderPrologue()
111 printer->Print(vars, "\n"); in GetHeaderPrologue()
[all …]
/external/protobuf/src/google/protobuf/compiler/java/
Djava_string_field.cc196 printer->Print(variables_, in GenerateInterfaceMembers()
200 printer->Print(variables_, in GenerateInterfaceMembers()
203 printer->Print(variables_, in GenerateInterfaceMembers()
210 printer->Print(variables_, in GenerateMembers()
216 printer->Print(variables_, in GenerateMembers()
223 printer->Print(variables_, in GenerateMembers()
233 printer->Print(variables_, in GenerateMembers()
236 printer->Print(variables_, in GenerateMembers()
241 printer->Print(variables_, in GenerateMembers()
246 printer->Print(variables_, in GenerateMembers()
[all …]
Djava_enum_field_lite.cc145 printer->Print(variables_, in GenerateInterfaceMembers()
150 printer->Print(variables_, in GenerateInterfaceMembers()
154 printer->Print(variables_, in GenerateInterfaceMembers()
160 printer->Print(variables_, in GenerateMembers()
165 printer->Print(variables_, in GenerateMembers()
172 printer->Print(variables_, in GenerateMembers()
178 printer->Print(variables_, in GenerateMembers()
187 printer->Print(variables_, in GenerateMembers()
194 printer->Print(variables_, in GenerateMembers()
203 printer->Print(variables_, in GenerateMembers()
[all …]
Djava_lazy_message_field_lite.cc61 printer->Print(variables_, in GenerateMembers()
67 printer->Print(variables_, in GenerateMembers()
73 printer->Print(variables_, in GenerateMembers()
80 printer->Print(variables_, in GenerateMembers()
91 printer->Print(variables_, in GenerateMembers()
100 printer->Print(variables_, in GenerateMembers()
115 printer->Print(variables_, in GenerateMembers()
129 printer->Print(variables_, in GenerateBuilderMembers()
135 printer->Print(variables_, in GenerateBuilderMembers()
142 printer->Print(variables_, in GenerateBuilderMembers()
[all …]
Djava_message_field_lite.cc138 printer->Print(variables_, in GenerateInterfaceMembers()
142 printer->Print(variables_, in GenerateInterfaceMembers()
148 printer->Print(variables_, in GenerateMembers()
154 printer->Print(variables_, in GenerateMembers()
159 printer->Print(variables_, in GenerateMembers()
165 printer->Print(variables_, in GenerateMembers()
170 printer->Print(variables_, in GenerateMembers()
178 printer->Print(variables_, in GenerateMembers()
189 printer->Print(variables_, in GenerateMembers()
198 printer->Print(variables_, in GenerateMembers()
[all …]
Djava_string_field_lite.cc172 printer->Print(variables_, in GenerateInterfaceMembers()
176 printer->Print(variables_, in GenerateInterfaceMembers()
179 printer->Print(variables_, in GenerateInterfaceMembers()
186 printer->Print(variables_, in GenerateMembers()
192 printer->Print(variables_, in GenerateMembers()
199 printer->Print(variables_, in GenerateMembers()
204 printer->Print(variables_, in GenerateMembers()
211 printer->Print(variables_, in GenerateMembers()
219 printer->Print(variables_, in GenerateMembers()
228 printer->Print(variables_, in GenerateMembers()
[all …]
Djava_enum_field.cc159 printer->Print(variables_, in GenerateInterfaceMembers()
164 printer->Print(variables_, in GenerateInterfaceMembers()
168 printer->Print(variables_, in GenerateInterfaceMembers()
174 printer->Print(variables_, in GenerateMembers()
179 printer->Print(variables_, in GenerateMembers()
186 printer->Print(variables_, in GenerateMembers()
192 printer->Print(variables_, in GenerateMembers()
201 printer->Print(variables_, in GenerateBuilderMembers()
205 printer->Print(variables_, in GenerateBuilderMembers()
212 printer->Print(variables_, in GenerateBuilderMembers()
[all …]
Djava_primitive_field.cc176 printer->Print(variables_, in GenerateInterfaceMembers()
180 printer->Print(variables_, in GenerateInterfaceMembers()
186 printer->Print(variables_, in GenerateMembers()
191 printer->Print(variables_, in GenerateMembers()
198 printer->Print(variables_, in GenerateMembers()
206 printer->Print(variables_, in GenerateBuilderMembers()
211 printer->Print(variables_, in GenerateBuilderMembers()
218 printer->Print(variables_, in GenerateBuilderMembers()
224 printer->Print(variables_, in GenerateBuilderMembers()
234 printer->Print(variables_, in GenerateBuilderMembers()
[all …]
Djava_message_field.cc152 printer->Print(variables_, in GenerateInterfaceMembers()
156 printer->Print(variables_, in GenerateInterfaceMembers()
160 printer->Print(variables_, in GenerateInterfaceMembers()
166 printer->Print(variables_, in GenerateMembers()
172 printer->Print(variables_, in GenerateMembers()
177 printer->Print(variables_, in GenerateMembers()
183 printer->Print(variables_, in GenerateMembers()
190 printer->Print(variables_, in GenerateMembers()
195 printer->Print(variables_, in GenerateMembers()
201 printer->Print(variables_, in GenerateMembers()
[all …]
Djava_primitive_field_lite.cc197 printer->Print(variables_, in GenerateInterfaceMembers()
201 printer->Print(variables_, in GenerateInterfaceMembers()
207 printer->Print(variables_, in GenerateMembers()
212 printer->Print(variables_, in GenerateMembers()
219 printer->Print(variables_, in GenerateMembers()
225 printer->Print(variables_, in GenerateMembers()
233 printer->Print(variables_, in GenerateMembers()
240 printer->Print(variables_, in GenerateMembers()
243 printer->Print(variables_, in GenerateMembers()
246 printer->Print(variables_, in GenerateMembers()
[all …]
Djava_message.cc135 printer->Print(vars, in GenerateStaticVariables()
168 printer->Print(vars, in GenerateStaticVariableInitializers()
173 printer->Print(vars, in GenerateStaticVariableInitializers()
208 printer->Print(vars, in GenerateFieldAccessorTable()
221 printer->Print( in GenerateFieldAccessorTableInitializer()
232 printer->Print( in GenerateFieldAccessorTableInitializer()
240 printer->Print( in GenerateFieldAccessorTableInitializer()
244 printer->Print("});\n"); in GenerateFieldAccessorTableInitializer()
252 printer->Print( in GenerateInterface()
260 printer->Print( in GenerateInterface()
[all …]
Djava_message_lite.cc124 printer->Print( in GenerateInterface()
133 printer->Print( in GenerateInterface()
143 printer->Print("\n"); in GenerateInterface()
148 printer->Print( in GenerateInterface()
160 printer->Print("}\n"); in GenerateInterface()
180 printer->Print(variables, in Generate()
190 printer->Print(variables, in Generate()
228 printer->Print("private int $bit_field_name$;\n", in Generate()
242 printer->Print(vars, in Generate()
246 printer->Print(vars, in Generate()
[all …]
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_enum_field.cc72 printer->Print(variables_, "int $name$_;\n"); in GeneratePrivateMembers()
77 printer->Print(variables_, in GenerateAccessorDeclarations()
87 printer->Print(variables, in GenerateInlineAccessorDefinitions()
94 printer->Print(variables, in GenerateInlineAccessorDefinitions()
97 printer->Print(variables, in GenerateInlineAccessorDefinitions()
106 printer->Print(variables_, "$name$_ = $default$;\n"); in GenerateClearingCode()
111 printer->Print(variables_, "set_$name$(from.$name$());\n"); in GenerateMergingCode()
116 printer->Print(variables_, "std::swap($name$_, other->$name$_);\n"); in GenerateSwappingCode()
121 printer->Print(variables_, "$name$_ = $default$;\n"); in GenerateConstructorCode()
126 printer->Print(variables_, in GenerateMergeFromCodedStream()
[all …]
Dcpp_message_field.cc93 printer->Print(variables_, "$type$* $name$_;\n"); in GeneratePrivateMembers()
98 printer->Print(variables_, in GenerateGetterDeclaration()
108 printer->Print(variables_, in GenerateDependentAccessorDeclarations()
117 printer->Print(variables_, in GenerateAccessorDeclarations()
121 printer->Print(variables_, in GenerateAccessorDeclarations()
125 printer->Print(variables_, in GenerateAccessorDeclarations()
131 printer->Print(variables_, in GenerateAccessorDeclarations()
137 printer->Print(variables_, in GenerateAccessorDeclarations()
147 printer->Print(variables_, in GenerateNonInlineAccessorDefinitions()
150 printer->Print(variables_, in GenerateNonInlineAccessorDefinitions()
[all …]
Dcpp_file.cc113 printer->Print( in GenerateProtoHeader()
120 printer->Print( in GenerateProtoHeader()
131 printer->Print("\n"); in GenerateProtoHeader()
135 printer->Print(kThickSeparator); in GenerateProtoHeader()
136 printer->Print("\n"); in GenerateProtoHeader()
140 printer->Print("\n"); in GenerateProtoHeader()
141 printer->Print(kThickSeparator); in GenerateProtoHeader()
142 printer->Print("\n"); in GenerateProtoHeader()
148 printer->Print("\n"); in GenerateProtoHeader()
149 printer->Print(kThickSeparator); in GenerateProtoHeader()
[all …]
Dcpp_message.cc75 printer->Print("// $def$\n", in PrintFieldComment()
301 printer->Print( in EmitFieldNonDefaultCondition()
307 printer->Print( in EmitFieldNonDefaultCondition()
312 printer->Print( in EmitFieldNonDefaultCondition()
320 printer->Print( in EmitFieldNonDefaultCondition()
482 printer->Print(vars, "$deprecated_attr$void clear_$name$();\n"); in GenerateDependentFieldAccessorDeclarations()
486 printer->Print("\n"); in GenerateDependentFieldAccessorDeclarations()
508 printer->Print( in GenerateFieldAccessorDeclarations()
517 printer->Print(vars, "$deprecated_attr$int $name$_size() const;\n"); in GenerateFieldAccessorDeclarations()
519 printer->Print(vars, "$deprecated_attr$bool has_$name$() const;\n"); in GenerateFieldAccessorDeclarations()
[all …]
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_enum_field.cc102 printer->Print( in PrintCaseLabels()
124 printer->Print(variables_, "$message_type_intdef$\n"); in GenerateMembers()
126 printer->Print(variables_, "public $type$ $name$;\n"); in GenerateMembers()
129 printer->Print(variables_, in GenerateMembers()
136 printer->Print(variables_, in GenerateClearCode()
140 printer->Print(variables_, in GenerateClearCode()
148 printer->Print("int initialPos = input.getPosition();\n"); in GenerateMergingCode()
150 printer->Print(variables_, in GenerateMergingCode()
154 printer->Print(variables_, in GenerateMergingCode()
157 printer->Print(variables_, in GenerateMergingCode()
[all …]
Djavanano_primitive_field.cc251 printer->Print(variables_, in GenerateInitSavedDefaultCode()
261 printer->Print(variables_, in GenerateMembers()
264 printer->Print(variables_, in GenerateMembers()
272 printer->Print(variables_, in GenerateMembers()
277 printer->Print(variables_, in GenerateMembers()
282 printer->Print(variables_, in GenerateMembers()
291 printer->Print(variables_, in GenerateClearCode()
296 printer->Print(variables_, in GenerateClearCode()
301 printer->Print(variables_, in GenerateClearCode()
310 printer->Print(variables_, in GenerateMergingCode()
[all …]
Djavanano_message.cc126 printer->Print( in Generate()
132 printer->Print( in Generate()
138 printer->Print( in Generate()
142 printer->Print( in Generate()
146 printer->Print( in Generate()
149 printer->Print( in Generate()
153 printer->Print(" implements java.lang.Cloneable {\n"); in Generate()
155 printer->Print(" {\n"); in Generate()
160 printer->Print( in Generate()
198 printer->Print(vars, in Generate()
[all …]
/external/google-breakpad/src/testing/gtest/test/
Dgtest-printers_test.cc229 string Print(const T& value) { in Print() function
231 UniversalPrinter<T>::Print(value, &ss); in Print()
241 UniversalPrinter<T&>::Print(value, &ss); in PrintByRef()
248 EXPECT_EQ("-1", Print(kAE1)); in TEST()
249 EXPECT_EQ("1", Print(kAE2)); in TEST()
253 EXPECT_EQ("-2", Print(kEWP1)); in TEST()
254 EXPECT_EQ("42", Print(kEWP2)); in TEST()
258 EXPECT_EQ("kEWS1", Print(kEWS1)); in TEST()
259 EXPECT_EQ("invalid", Print(static_cast<EnumWithStreaming>(0))); in TEST()
263 EXPECT_EQ("kEWPT1", Print(kEWPT1)); in TEST()
[all …]
/external/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_reflection_class.cc71 printer->Print("}\n"); in Generate()
75 printer->Print("#region Enums\n"); in Generate()
80 printer->Print("#endregion\n"); in Generate()
81 printer->Print("\n"); in Generate()
86 printer->Print("#region Messages\n"); in Generate()
91 printer->Print("#endregion\n"); in Generate()
92 printer->Print("\n"); in Generate()
99 printer->Print("}\n"); in Generate()
101 printer->Print("\n"); in Generate()
102 printer->Print("#endregion Designer generated code\n"); in Generate()
[all …]
/external/v8/testing/gtest/test/
Dgtest-printers_test.cc235 string Print(const T& value) { in Print() function
237 UniversalPrinter<T>::Print(value, &ss); in Print()
247 UniversalPrinter<T&>::Print(value, &ss); in PrintByRef()
254 EXPECT_EQ("-1", Print(kAE1)); in TEST()
255 EXPECT_EQ("1", Print(kAE2)); in TEST()
259 EXPECT_EQ("-2", Print(kEWP1)); in TEST()
260 EXPECT_EQ("42", Print(kEWP2)); in TEST()
264 EXPECT_EQ("kEWS1", Print(kEWS1)); in TEST()
265 EXPECT_EQ("invalid", Print(static_cast<EnumWithStreaming>(0))); in TEST()
269 EXPECT_EQ("kEWPT1", Print(kEWPT1)); in TEST()
[all …]
/external/googletest/googletest/test/
Dgtest-printers_test.cc239 std::string Print(const T& value) { in Print() function
241 UniversalPrinter<T>::Print(value, &ss); in Print()
251 UniversalPrinter<T&>::Print(value, &ss); in PrintByRef()
258 EXPECT_EQ("-1", Print(kAE1)); in TEST()
259 EXPECT_EQ("1", Print(kAE2)); in TEST()
263 EXPECT_EQ("-2", Print(kEWP1)); in TEST()
264 EXPECT_EQ("42", Print(kEWP2)); in TEST()
268 EXPECT_EQ("kEWS1", Print(kEWS1)); in TEST()
269 EXPECT_EQ("invalid", Print(static_cast<EnumWithStreaming>(0))); in TEST()
273 EXPECT_EQ("kEWPT1", Print(kEWPT1)); in TEST()
[all …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/
Dgtest-printers_test.cc235 string Print(const T& value) { in Print() function
237 UniversalPrinter<T>::Print(value, &ss); in Print()
247 UniversalPrinter<T&>::Print(value, &ss); in PrintByRef()
254 EXPECT_EQ("-1", Print(kAE1)); in TEST()
255 EXPECT_EQ("1", Print(kAE2)); in TEST()
259 EXPECT_EQ("-2", Print(kEWP1)); in TEST()
260 EXPECT_EQ("42", Print(kEWP2)); in TEST()
264 EXPECT_EQ("kEWS1", Print(kEWS1)); in TEST()
265 EXPECT_EQ("invalid", Print(static_cast<EnumWithStreaming>(0))); in TEST()
269 EXPECT_EQ("kEWPT1", Print(kEWPT1)); in TEST()
[all …]

12345678910>>...31