• Home
  • Raw
  • Download

Lines Matching refs:method_dict

132       StringMap method_dict;  in PrintBetaServicer()  local
133 method_dict["Method"] = method->name(); in PrintBetaServicer()
134 method_dict["ArgName"] = arg_name; in PrintBetaServicer()
135 out->Print(method_dict, "def $Method$(self, $ArgName$, context):\n"); in PrintBetaServicer()
168 StringMap method_dict; in PrintBetaStub() local
169 method_dict["Method"] = method->name(); in PrintBetaStub()
170 method_dict["ArgName"] = arg_name; in PrintBetaStub()
171 out->Print(method_dict, in PrintBetaStub()
181 out->Print(method_dict, "$Method$.future = None\n"); in PrintBetaStub()
233 StringMap method_dict; in PrintBetaServerFactory() local
234 method_dict["PackageQualifiedServiceName"] = package_qualified_service_name; in PrintBetaServerFactory()
241 method_dict["MethodName"] = name_and_input_module_class_pair->first; in PrintBetaServerFactory()
242 method_dict["InputTypeModuleAndClass"] = in PrintBetaServerFactory()
245 out->Print(method_dict, in PrintBetaServerFactory()
256 method_dict["MethodName"] = name_and_output_module_class_pair->first; in PrintBetaServerFactory()
257 method_dict["OutputTypeModuleAndClass"] = in PrintBetaServerFactory()
260 out->Print(method_dict, in PrintBetaServerFactory()
271 method_dict["Method"] = name_and_implementation_constructor->first; in PrintBetaServerFactory()
272 method_dict["Constructor"] = name_and_implementation_constructor->second; in PrintBetaServerFactory()
276 out->Print(method_dict, in PrintBetaServerFactory()
339 StringMap method_dict; in PrintBetaStubFactory() local
340 method_dict["PackageQualifiedServiceName"] = package_qualified_service_name; in PrintBetaStubFactory()
347 method_dict["MethodName"] = name_and_input_module_class_pair->first; in PrintBetaStubFactory()
348 method_dict["InputTypeModuleAndClass"] = in PrintBetaStubFactory()
351 out->Print(method_dict, in PrintBetaStubFactory()
362 method_dict["MethodName"] = name_and_output_module_class_pair->first; in PrintBetaStubFactory()
363 method_dict["OutputTypeModuleAndClass"] = in PrintBetaStubFactory()
366 out->Print(method_dict, in PrintBetaStubFactory()
376 method_dict["Method"] = name_and_cardinality->first; in PrintBetaStubFactory()
377 method_dict["Cardinality"] = name_and_cardinality->second; in PrintBetaStubFactory()
379 out->Print(method_dict, in PrintBetaStubFactory()
389 out->Print(method_dict, in PrintBetaStubFactory()
437 StringMap method_dict; in PrintStub() local
438 method_dict["Method"] = method->name(); in PrintStub()
439 method_dict["MultiCallableConstructor"] = multi_callable_constructor; in PrintStub()
440 out->Print(method_dict, in PrintStub()
443 method_dict["PackageQualifiedService"] = in PrintStub()
445 method_dict["RequestModuleAndClass"] = request_module_and_class; in PrintStub()
446 method_dict["ResponseModuleAndClass"] = response_module_and_class; in PrintStub()
449 out->Print(method_dict, "'/$PackageQualifiedService$/$Method$',\n"); in PrintStub()
450 out->Print(method_dict, in PrintStub()
454 method_dict, in PrintStub()
478 StringMap method_dict; in PrintServicer() local
479 method_dict["Method"] = method->name(); in PrintServicer()
480 method_dict["ArgName"] = arg_name; in PrintServicer()
482 out->Print(method_dict, "def $Method$(self, $ArgName$, context):\n"); in PrintServicer()
528 StringMap method_dict; in PrintAddServicerToServer() local
529 method_dict["Method"] = method->name(); in PrintAddServicerToServer()
530 method_dict["MethodHandlerConstructor"] = method_handler_constructor; in PrintAddServicerToServer()
531 method_dict["RequestModuleAndClass"] = request_module_and_class; in PrintAddServicerToServer()
532 method_dict["ResponseModuleAndClass"] = response_module_and_class; in PrintAddServicerToServer()
533 out->Print(method_dict, in PrintAddServicerToServer()
538 out->Print(method_dict, "servicer.$Method$,\n"); in PrintAddServicerToServer()
540 method_dict, in PrintAddServicerToServer()
543 method_dict, in PrintAddServicerToServer()
550 StringMap method_dict; in PrintAddServicerToServer() local
551 method_dict["PackageQualifiedServiceName"] = package_qualified_service_name; in PrintAddServicerToServer()
557 out->Print(method_dict, in PrintAddServicerToServer()