Home
last modified time | relevance | path

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

12345678910>>...34

/third_party/grpc/src/compiler/
Dcpp_generator.cc82 printer->Print(vars, "#include $l$$h$$r$\n"); in PrintIncludes()
101 printer->Print(vars, "// Generated by the gRPC C++ plugin.\n"); in GetHeaderPrologue()
102 printer->Print(vars, in GetHeaderPrologue()
104 printer->Print(vars, "// source: $filename$\n"); in GetHeaderPrologue()
107 printer->Print(vars, "// Original file comments:\n"); in GetHeaderPrologue()
110 printer->Print(vars, "#ifndef GRPC_$filename_identifier$__INCLUDED\n"); in GetHeaderPrologue()
111 printer->Print(vars, "#define GRPC_$filename_identifier$__INCLUDED\n"); in GetHeaderPrologue()
112 printer->Print(vars, "\n"); in GetHeaderPrologue()
113 printer->Print(vars, "#include \"$filename_base$$message_header_ext$\"\n"); in GetHeaderPrologue()
114 printer->Print(vars, file->additional_headers().c_str()); in GetHeaderPrologue()
[all …]
Dcsharp_generator.cc75 printer->Print("/// <summary>\n"); in GenerateDocCommentBodyImpl()
91 printer->Print("///\n"); in GenerateDocCommentBodyImpl()
94 printer->Print("///$line$\n", "line", *it); in GenerateDocCommentBodyImpl()
97 printer->Print("/// </summary>\n"); in GenerateDocCommentBodyImpl()
115 printer->Print( in GenerateDocCommentServerMethod()
119 printer->Print( in GenerateDocCommentServerMethod()
124 printer->Print( in GenerateDocCommentServerMethod()
128 printer->Print( in GenerateDocCommentServerMethod()
132 printer->Print( in GenerateDocCommentServerMethod()
136 printer->Print( in GenerateDocCommentServerMethod()
[all …]
Dobjective_c_generator.cc46 printer->Print(vars, in PrintProtoRpcDeclarationAsPragma()
64 printer->Print("/**\n"); in PrintAllComments()
66 printer->Print(" * "); in PrintAllComments()
71 printer->Print("\n"); in PrintAllComments()
74 printer->Print(" *\n"); in PrintAllComments()
75 printer->Print( in PrintAllComments()
80 printer->Print(" */\n"); in PrintAllComments()
88 printer->Print(vars, "- ($return_type$)$method_name$With"); in PrintMethodSignature()
90 printer->Print("RequestsWriter:(GRXWriter *)requestWriter"); in PrintMethodSignature()
92 printer->Print(vars, "Request:($request_class$ *)request"); in PrintMethodSignature()
[all …]
Dpython_generator.cc101 out->Print( in PrintAllComments()
106 out->Print("\"\"\""); in PrintAllComments()
113 out->Print("\n"); in PrintAllComments()
115 out->Print("\"\"\"\n"); in PrintAllComments()
122 out->Print("\n\n"); in PrintBetaServicer()
123 out->Print(service_dict, "class Beta$Service$Servicer(object):\n"); in PrintBetaServicer()
126 out->Print( in PrintBetaServicer()
142 out->Print(method_dict, "def $Method$(self, $ArgName$, context):\n"); in PrintBetaServicer()
147 out->Print("context.code(beta_interfaces.StatusCode.UNIMPLEMENTED)\n"); in PrintBetaServicer()
158 out->Print("\n\n"); in PrintBetaStub()
[all …]
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_string_field.cc193 printer->Print(variables_, in GenerateInterfaceMembers()
197 printer->Print(variables_, in GenerateInterfaceMembers()
200 printer->Print(variables_, in GenerateInterfaceMembers()
207 printer->Print(variables_, "private volatile java.lang.Object $name$_;\n"); in GenerateMembers()
212 printer->Print( in GenerateMembers()
222 printer->Print( in GenerateMembers()
235 printer->Print(variables_, " $name$_ = s;\n"); in GenerateMembers()
237 printer->Print(variables_, in GenerateMembers()
242 printer->Print(variables_, in GenerateMembers()
247 printer->Print(variables_, in GenerateMembers()
[all …]
Djava_doc_comment.cc124 printer->Print(" * <pre>\n"); in WriteDocCommentBodyForLocation()
130 printer->Print(" * $line$\n", "line", lines[i]); in WriteDocCommentBodyForLocation()
132 printer->Print(" *$line$\n", "line", lines[i]); in WriteDocCommentBodyForLocation()
135 printer->Print( in WriteDocCommentBodyForLocation()
167 printer->Print("/**\n"); in WriteMessageDocComment()
169 printer->Print( in WriteMessageDocComment()
182 printer->Print("/**\n"); in WriteFieldDocComment()
184 printer->Print(" * <code>$def$</code>\n", "def", in WriteFieldDocComment()
186 printer->Print(" */\n"); in WriteFieldDocComment()
193 printer->Print("/**\n"); in WriteFieldAccessorDocComment()
[all …]
Djava_message.cc132 printer->Print( in GenerateStaticVariables()
165 printer->Print(vars, in GenerateStaticVariableInitializers()
170 printer->Print( in GenerateStaticVariableInitializers()
207 printer->Print( in GenerateFieldAccessorTable()
221 printer->Print( in GenerateFieldAccessorTableInitializer()
232 printer->Print("\"$field_name$\", ", "field_name", info->capitalized_name); in GenerateFieldAccessorTableInitializer()
239 printer->Print("\"$oneof_name$\", ", "oneof_name", info->capitalized_name); in GenerateFieldAccessorTableInitializer()
241 printer->Print("});\n"); in GenerateFieldAccessorTableInitializer()
251 printer->Print( in GenerateInterface()
262 printer->Print( in GenerateInterface()
[all …]
Djava_primitive_field.cc209 printer->Print(variables_, in GenerateInterfaceMembers()
213 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers()
218 printer->Print(variables_, "private $field_type$ $name$_;\n"); in GenerateMembers()
222 printer->Print( in GenerateMembers()
232 printer->Print(variables_, in GenerateMembers()
242 printer->Print(variables_, "private $field_type$ $name$_ $default_init$;\n"); in GenerateBuilderMembers()
246 printer->Print( in GenerateBuilderMembers()
256 printer->Print(variables_, in GenerateBuilderMembers()
265 printer->Print(variables_, in GenerateBuilderMembers()
278 printer->Print( in GenerateBuilderMembers()
[all …]
Djava_enum_field.cc159 printer->Print(variables_, in GenerateInterfaceMembers()
164 printer->Print(variables_, in GenerateInterfaceMembers()
168 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers()
172 printer->Print(variables_, "private int $name$_;\n"); in GenerateMembers()
176 printer->Print(variables_, in GenerateMembers()
185 printer->Print(variables_, in GenerateMembers()
193 printer->Print(variables_, in GenerateMembers()
205 printer->Print(variables_, "private int $name$_ = $default_number$;\n"); in GenerateBuilderMembers()
208 printer->Print(variables_, in GenerateBuilderMembers()
217 printer->Print(variables_, in GenerateBuilderMembers()
[all …]
Djava_message_field.cc148 printer->Print(variables_, "$deprecation$boolean has$capitalized_name$();\n"); in GenerateInterfaceMembers()
150 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers()
153 printer->Print( in GenerateInterfaceMembers()
160 printer->Print(variables_, "private $type$ $name$_;\n"); in GenerateMembers()
165 printer->Print( in GenerateMembers()
173 printer->Print( in GenerateMembers()
182 printer->Print( in GenerateMembers()
192 printer->Print( in GenerateMembers()
200 printer->Print( in GenerateMembers()
209 printer->Print(variables_, in GenerateMembers()
[all …]
Djava_message_builder.cc91 printer->Print( in Generate()
101 printer->Print( in Generate()
129 printer->Print(vars, in Generate()
133 printer->Print(vars, in Generate()
143 printer->Print(" onChanged();\n"); in Generate()
144 printer->Print( in Generate()
158 printer->Print("private int $bit_field_name$;\n", "bit_field_name", in Generate()
163 printer->Print("\n"); in Generate()
173 printer->Print( in Generate()
187 printer->Print( in Generate()
[all …]
Djava_message_field_lite.cc129 printer->Print(variables_, "$deprecation$boolean has$capitalized_name$();\n"); in GenerateInterfaceMembers()
131 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers()
137 printer->Print(variables_, "private $type$ $name$_;\n"); in GenerateMembers()
142 printer->Print( in GenerateMembers()
150 printer->Print( in GenerateMembers()
159 printer->Print( in GenerateMembers()
167 printer->Print( in GenerateMembers()
178 printer->Print(variables_, in GenerateMembers()
187 printer->Print( in GenerateMembers()
204 printer->Print(variables_, in GenerateMembers()
[all …]
Djava_enum.cc79 printer->Print( in Generate()
103 printer->Print("@java.lang.Deprecated\n"); in Generate()
106 printer->Print(vars, "$name$($number$),\n"); in Generate()
108 printer->Print(vars, "$name$($index$, $number$),\n"); in Generate()
115 printer->Print("${$UNRECOGNIZED$}$(-1),\n", "{", "", "}", ""); in Generate()
117 printer->Print("${$UNRECOGNIZED$}$(-1, -1),\n", "{", "", "}", ""); in Generate()
122 printer->Print( in Generate()
134 printer->Print( in Generate()
149 printer->Print(vars, in Generate()
154 printer->Print("\n"); in Generate()
[all …]
Djava_string_field_lite.cc162 printer->Print(variables_, in GenerateInterfaceMembers()
166 printer->Print(variables_, in GenerateInterfaceMembers()
169 printer->Print(variables_, in GenerateInterfaceMembers()
176 printer->Print(variables_, "private java.lang.String $name$_;\n"); in GenerateMembers()
181 printer->Print( in GenerateMembers()
191 printer->Print( in GenerateMembers()
199 printer->Print( in GenerateMembers()
209 printer->Print(variables_, in GenerateMembers()
217 printer->Print(variables_, in GenerateMembers()
227 printer->Print(variables_, in GenerateMembers()
[all …]
Djava_service.cc68 printer->Print( in Generate()
74 printer->Print("protected $classname$() {}\n\n", "classname", in Generate()
85 printer->Print( in Generate()
103 printer->Print( in Generate()
109 printer->Print("}\n\n"); in Generate()
114 printer->Print( in GenerateGetDescriptorForType()
122 printer->Print("public interface Interface {\n"); in GenerateInterface()
126 printer->Print("}\n\n"); in GenerateInterface()
131 printer->Print( in GenerateNewReflectiveServiceMethod()
141 printer->Print("@java.lang.Override\n"); in GenerateNewReflectiveServiceMethod()
[all …]
Djava_map_field_lite.cc158 printer->Print(variables_, in GenerateInterfaceMembers()
162 printer->Print(variables_, in GenerateInterfaceMembers()
167 printer->Print(variables_, in GenerateInterfaceMembers()
176 printer->Print( in GenerateInterfaceMembers()
182 printer->Print( in GenerateInterfaceMembers()
189 printer->Print( in GenerateInterfaceMembers()
195 printer->Print( in GenerateInterfaceMembers()
205 printer->Print(variables_, in GenerateInterfaceMembers()
210 printer->Print(variables_, in GenerateInterfaceMembers()
217 printer->Print(variables_, in GenerateInterfaceMembers()
[all …]
Djava_enum_field_lite.cc147 printer->Print(variables_, in GenerateInterfaceMembers()
152 printer->Print(variables_, in GenerateInterfaceMembers()
156 printer->Print(variables_, "$deprecation$$type$ get$capitalized_name$();\n"); in GenerateInterfaceMembers()
161 printer->Print(variables_, "private int $name$_;\n"); in GenerateMembers()
165 printer->Print( in GenerateMembers()
175 printer->Print( in GenerateMembers()
184 printer->Print(variables_, in GenerateMembers()
195 printer->Print(variables_, in GenerateMembers()
202 printer->Print(variables_, in GenerateMembers()
208 printer->Print(variables_, in GenerateMembers()
[all …]
Djava_map_field.cc177 printer->Print(variables_, in GenerateInterfaceMembers()
181 printer->Print(variables_, in GenerateInterfaceMembers()
186 printer->Print(variables_, in GenerateInterfaceMembers()
195 printer->Print( in GenerateInterfaceMembers()
201 printer->Print( in GenerateInterfaceMembers()
208 printer->Print( in GenerateInterfaceMembers()
214 printer->Print( in GenerateInterfaceMembers()
224 printer->Print(variables_, in GenerateInterfaceMembers()
229 printer->Print(variables_, in GenerateInterfaceMembers()
236 printer->Print(variables_, in GenerateInterfaceMembers()
[all …]
/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_message.cc104 printer->Print("[global::System.ObsoleteAttribute]\n"); in AddDeprecatedFlag()
110 printer->Print("[global::System.SerializableAttribute]\n"); in AddSerializableAttribute()
123 printer->Print( in Generate()
128 printer->Print(vars, "pb::IExtendableMessage<$class_name$>\n"); in Generate()
131 printer->Print(vars, "pb::IMessage<$class_name$>\n"); in Generate()
133 printer->Print("#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE\n"); in Generate()
134 printer->Print(" , pb::IBufferMessage\n"); in Generate()
135 printer->Print("#endif\n"); in Generate()
136 printer->Print("{\n"); in Generate()
140 printer->Print( in Generate()
[all …]
Dcsharp_primitive_field.cc81 printer->Print( in GenerateMembers()
91 printer->Print( in GenerateMembers()
100 printer->Print(variables_, "$access_level$ $type_name$ $property_name$ {\n"); in GenerateMembers()
105 printer->Print( in GenerateMembers()
109 printer->Print( in GenerateMembers()
117 printer->Print( in GenerateMembers()
124 printer->Print(" set {\n"); in GenerateMembers()
126 printer->Print( in GenerateMembers()
131 printer->Print( in GenerateMembers()
135 printer->Print( in GenerateMembers()
[all …]
Dcsharp_reflection_class.cc72 printer->Print("}\n"); in Generate()
75 printer->Print( in Generate()
88 printer->Print( in Generate()
95 printer->Print("#region Enums\n"); in Generate()
100 printer->Print("#endregion\n"); in Generate()
101 printer->Print("\n"); in Generate()
106 printer->Print("#region Messages\n"); in Generate()
111 printer->Print("#endregion\n"); in Generate()
112 printer->Print("\n"); in Generate()
119 printer->Print("}\n"); in Generate()
[all …]
Dcsharp_message_field.cc67 printer->Print( in GenerateMembers()
72 printer->Print( in GenerateMembers()
81 printer->Print( in GenerateMembers()
85 printer->Print( in GenerateMembers()
90 printer->Print( in GenerateMembers()
94 printer->Print( in GenerateMembers()
103 printer->Print( in GenerateMergingCode()
114 printer->Print( in GenerateParsingCode()
120 printer->Print(variables_, "input.ReadMessage($property_name$);\n"); in GenerateParsingCode()
122 printer->Print(variables_, "input.ReadGroup($property_name$);\n"); in GenerateParsingCode()
[all …]
Dcsharp_wrapper_field.cc66 printer->Print( in GenerateMembers()
70 printer->Print( in GenerateMembers()
76 printer->Print( in GenerateMembers()
85 printer->Print( in GenerateMembers()
89 printer->Print( in GenerateMembers()
94 printer->Print( in GenerateMembers()
98 printer->Print( in GenerateMembers()
107 printer->Print( in GenerateMergingCode()
121 printer->Print( in GenerateParsingCode()
139 printer->Print( in GenerateSerializationCode()
[all …]
/third_party/boringssl/src/third_party/googletest/test/
Dgoogletest-printers-test.cc233 std::string Print(const T& value) { in Print() function
235 UniversalPrinter<T>::Print(value, &ss); in Print()
245 UniversalPrinter<T&>::Print(value, &ss); in PrintByRef()
252 EXPECT_EQ("-1", Print(kAE1)); in TEST()
253 EXPECT_EQ("1", Print(kAE2)); in TEST()
257 EXPECT_EQ("-2", Print(kEWP1)); in TEST()
258 EXPECT_EQ("42", Print(kEWP2)); in TEST()
262 EXPECT_EQ("kEWS1", Print(kEWS1)); in TEST()
263 EXPECT_EQ("invalid", Print(static_cast<EnumWithStreaming>(0))); in TEST()
267 EXPECT_EQ("kEWPT1", Print(kEWPT1)); in TEST()
[all …]
/third_party/googletest/googletest/test/
Dgoogletest-printers-test.cc238 std::string Print(const T& value) { in Print() function
240 UniversalPrinter<T>::Print(value, &ss); in Print()
250 UniversalPrinter<T&>::Print(value, &ss); in PrintByRef()
257 EXPECT_EQ("-1", Print(kAE1)); in TEST()
258 EXPECT_EQ("1", Print(kAE2)); in TEST()
262 EXPECT_EQ("-2", Print(kEWP1)); in TEST()
263 EXPECT_EQ("42", Print(kEWP2)); in TEST()
267 EXPECT_EQ("kEWS1", Print(kEWS1)); in TEST()
268 EXPECT_EQ("invalid", Print(static_cast<EnumWithStreaming>(0))); in TEST()
272 EXPECT_EQ("kEWPT1", Print(kEWPT1)); in TEST()
[all …]

12345678910>>...34