Home
last modified time | relevance | path

Searched refs:ServiceDescriptor (Results 1 – 25 of 833) sorted by relevance

12345678910>>...34

/external/grpc-grpc-java/api/src/test/java/io/grpc/
DServerServiceDefinitionTest.java61 ServiceDescriptor sd = new ServiceDescriptor(serviceName); in noMethods()
71 ServiceDescriptor sd = new ServiceDescriptor(serviceName, method1, method2); in addMethod_twoArg()
91 ServiceDescriptor sd = new ServiceDescriptor(serviceName, method1); in addMethod_duplicateName()
101 ServiceDescriptor sd = new ServiceDescriptor(serviceName); in buildMisaligned_extraMethod()
110 ServiceDescriptor sd = new ServiceDescriptor(serviceName, method1); in buildMisaligned_diffMethodInstance()
119 ServiceDescriptor sd = new ServiceDescriptor(serviceName, method1); in buildMisaligned_missingMethod()
DServiceDescriptorTest.java48 new ServiceDescriptor(null, Collections.<MethodDescriptor<?, ?>>emptyList()); in failsOnNullName()
56 new ServiceDescriptor("name", (Collection<MethodDescriptor<?, ?>>) null); in failsOnNullMethods()
64 new ServiceDescriptor("name", Collections.<MethodDescriptor<?, ?>>singletonList(null)); in failsOnNullMethod()
80 new ServiceDescriptor("name", descriptors); in failsOnNonMatchingNames()
102 new ServiceDescriptor("name", descriptors); in failsOnNonDuplicateNames()
107 ServiceDescriptor descriptor = new ServiceDescriptor("package.service", in toStringTest()
/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/compiler/
Dobjective_c_generator.h32 using ::grpc::protobuf::ServiceDescriptor;
41 string GetProtocol(const ServiceDescriptor* service,
46 string GetV2Protocol(const ServiceDescriptor* service);
50 string GetInterface(const ServiceDescriptor* service,
55 string GetSource(const ServiceDescriptor* service,
Dcsharp_generator.cc32 using grpc::protobuf::ServiceDescriptor;
185 std::string GetServiceClassName(const ServiceDescriptor* service) { in GetServiceClassName()
189 std::string GetClientClassName(const ServiceDescriptor* service) { in GetClientClassName()
193 std::string GetServerClassName(const ServiceDescriptor* service) { in GetServerClassName()
305 const ServiceDescriptor* service) { in GetUsedMessages()
323 void GenerateMarshallerFields(Printer* out, const ServiceDescriptor* service) { in GenerateMarshallerFields()
429 const ServiceDescriptor* service) { in GenerateServiceDescriptorProperty()
445 void GenerateServerClass(Printer* out, const ServiceDescriptor* service) { in GenerateServerClass()
485 void GenerateClientStub(Printer* out, const ServiceDescriptor* service) { in GenerateClientStub()
677 void GenerateBindServiceMethod(Printer* out, const ServiceDescriptor* service) { in GenerateBindServiceMethod()
[all …]
/external/grpc-grpc/src/compiler/
Dobjective_c_generator.h32 using ::grpc::protobuf::ServiceDescriptor;
40 std::string GetProtocol(const ServiceDescriptor* service,
45 std::string GetV2Protocol(const ServiceDescriptor* service);
49 std::string GetInterface(const ServiceDescriptor* service,
54 std::string GetSource(const ServiceDescriptor* service,
Dcsharp_generator.cc32 using grpc::protobuf::ServiceDescriptor;
191 std::string GetServiceClassName(const ServiceDescriptor* service) { in GetServiceClassName()
195 std::string GetClientClassName(const ServiceDescriptor* service) { in GetClientClassName()
199 std::string GetServerClassName(const ServiceDescriptor* service) { in GetServerClassName()
311 const ServiceDescriptor* service) { in GetUsedMessages()
329 void GenerateMarshallerFields(Printer* out, const ServiceDescriptor* service) { in GenerateMarshallerFields()
435 const ServiceDescriptor* service) { in GenerateServiceDescriptorProperty()
451 void GenerateServerClass(Printer* out, const ServiceDescriptor* service) { in GenerateServerClass()
491 void GenerateClientStub(Printer* out, const ServiceDescriptor* service) { in GenerateClientStub()
683 void GenerateBindServiceMethod(Printer* out, const ServiceDescriptor* service) { in GenerateBindServiceMethod()
[all …]
/external/grpc-grpc-java/api/src/main/java/io/grpc/
DServerServiceDefinition.java37 public static Builder builder(ServiceDescriptor serviceDescriptor) { in builder()
41 private final ServiceDescriptor serviceDescriptor;
45 ServiceDescriptor serviceDescriptor, Map<String, ServerMethodDefinition<?, ?>> methods) { in ServerServiceDefinition()
53 public ServiceDescriptor getServiceDescriptor() { in getServiceDescriptor()
79 private final ServiceDescriptor serviceDescriptor;
87 private Builder(ServiceDescriptor serviceDescriptor) { in Builder()
123 ServiceDescriptor serviceDescriptor = this.serviceDescriptor; in build()
130 serviceDescriptor = new ServiceDescriptor(serviceName, methodDescriptors); in build()
DServiceDescriptor.java37 public final class ServiceDescriptor { class
51 public ServiceDescriptor(String name, MethodDescriptor<?, ?>... methods) { in ServiceDescriptor() method in ServiceDescriptor
63 public ServiceDescriptor(String name, Collection<MethodDescriptor<?, ?>> methods) { in ServiceDescriptor() method in ServiceDescriptor
67 private ServiceDescriptor(Builder b) { in ServiceDescriptor() method in ServiceDescriptor
203 public ServiceDescriptor build() { in build()
204 return new ServiceDescriptor(this); in build()
/external/protobuf/src/google/protobuf/compiler/python/
Dgenerator.h54 class ServiceDescriptor; variable
117 void AddServiceToFileDescriptor(const ServiceDescriptor& descriptor) const;
133 void PrintServiceDescriptor(const ServiceDescriptor& descriptor) const;
134 void PrintServiceClass(const ServiceDescriptor& descriptor) const;
135 void PrintServiceStub(const ServiceDescriptor& descriptor) const;
137 const ServiceDescriptor& descriptor) const;
147 const ServiceDescriptor& descriptor) const;
158 void FixOptionsForService(const ServiceDescriptor& descriptor) const;
/external/cronet/tot/third_party/protobuf/src/google/protobuf/compiler/python/
Dgenerator.h54 class ServiceDescriptor; variable
117 void AddServiceToFileDescriptor(const ServiceDescriptor& descriptor) const;
133 void PrintServiceDescriptor(const ServiceDescriptor& descriptor) const;
134 void PrintServiceClass(const ServiceDescriptor& descriptor) const;
135 void PrintServiceStub(const ServiceDescriptor& descriptor) const;
137 const ServiceDescriptor& descriptor) const;
147 const ServiceDescriptor& descriptor) const;
158 void FixOptionsForService(const ServiceDescriptor& descriptor) const;
/external/cronet/stable/third_party/protobuf/src/google/protobuf/compiler/python/
Dgenerator.h54 class ServiceDescriptor; variable
117 void AddServiceToFileDescriptor(const ServiceDescriptor& descriptor) const;
133 void PrintServiceDescriptor(const ServiceDescriptor& descriptor) const;
134 void PrintServiceClass(const ServiceDescriptor& descriptor) const;
135 void PrintServiceStub(const ServiceDescriptor& descriptor) const;
137 const ServiceDescriptor& descriptor) const;
147 const ServiceDescriptor& descriptor) const;
158 void FixOptionsForService(const ServiceDescriptor& descriptor) const;
/external/rust/android-crates-io/crates/protobuf/src/reflect/service/
Dmod.rs17 pub struct ServiceDescriptor { struct
22 impl ServiceDescriptor { impl
23 pub(crate) fn new(file_descriptor: FileDescriptor, index: usize) -> ServiceDescriptor { in new() argument
24 ServiceDescriptor { in new()
51 service_descriptor: ServiceDescriptor,
/external/dokka/core/src/main/kotlin/Utilities/
DServiceLocator.kt10 data class ServiceDescriptor(val name: String, val category: String, val description: String?, val … in <lambda>() class
22 descriptor: ServiceDescriptor in <lambda>()
41 private fun lookupDescriptor(category: String, implementationName: String): ServiceDescriptor { in <lambda>()
51 …return ServiceDescriptor(implementationName, category, properties["description"]?.toString(), clas… in <lambda>()
64 fun allServices(category: String): List<ServiceDescriptor> { in <lambda>()
84 else -> emptyList<ServiceDescriptor>() in <lambda>()
91 inline fun <reified T : Any> ServiceLocator.lookup(desc: ServiceDescriptor): T = lookup(T::class.ja… in lookup()
/external/cronet/tot/third_party/protobuf/src/google/protobuf/compiler/java/
Dgenerator_factory.h42 class ServiceDescriptor; // descriptor.h variable
71 const ServiceDescriptor* descriptor) const = 0;
90 const ServiceDescriptor* descriptor) const override;
/external/cronet/stable/third_party/protobuf/src/google/protobuf/compiler/java/
Dgenerator_factory.h42 class ServiceDescriptor; // descriptor.h variable
71 const ServiceDescriptor* descriptor) const = 0;
90 const ServiceDescriptor* descriptor) const override;
/external/protobuf/src/google/protobuf/compiler/java/
Dgenerator_factory.h42 class ServiceDescriptor; // descriptor.h variable
71 const ServiceDescriptor* descriptor) const = 0;
90 const ServiceDescriptor* descriptor) const override;
/external/perfetto/src/ipc/protoc_plugin/
Dipc_plugin.cc37 using google::protobuf::ServiceDescriptor;
123 void ForEachMethod(const ServiceDescriptor& svc, in ForEachMethod()
149 const ServiceDescriptor& svc,
152 const ServiceDescriptor& svc,
167 const ServiceDescriptor& svc, in GenerateServiceHeader()
212 const ServiceDescriptor& svc, in GenerateServiceCpp()
301 const ServiceDescriptor* svc = file->service(i); in Generate()
/external/sdk-platform-java/gapic-generator-java/src/test/java/com/google/api/generator/gapic/protoparser/
DHttpRuleParserTest.java29 import com.google.protobuf.Descriptors.ServiceDescriptor;
41 ServiceDescriptor testingService = testingFileDescriptor.getServices().get(0); in parseHttpAnnotation_basic()
66 ServiceDescriptor testingService = testingFileDescriptor.getServices().get(0); in parseHttpAnnotation_multipleBindings()
86 ServiceDescriptor testingService = testingFileDescriptor.getServices().get(0); in parseHttpAnnotation_missingFieldFromMessage()
103 ServiceDescriptor serviceDescriptor = fileDescriptor.getServices().get(0); in parseHttpAnnotation_shouldPutAllFieldsIntoQueryParamsIfPathParamAndBodyAreNotConfigured()
143 ServiceDescriptor serviceDescriptor = fileDescriptor.getServices().get(0); in parseHttpAnnotation_shouldExcludeFieldsFromQueryParamsIfPathParamsAreConfigured()
/external/cronet/stable/third_party/protobuf/src/google/protobuf/
Ddescriptor.h93 class ServiceDescriptor; variable
228 inline const Descriptor* Get(const ServiceDescriptor* service) { in Get()
234 void Once(const ServiceDescriptor* service);
1333 class PROTOBUF_EXPORT ServiceDescriptor : private internal::SymbolBase {
1405 ServiceDescriptor() {} in ServiceDescriptor() function
1409 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ServiceDescriptor);
1412 PROTOBUF_INTERNAL_CHECK_CLASS_SIZE(ServiceDescriptor, 48);
1432 const ServiceDescriptor* service() const;
1486 const ServiceDescriptor* service_;
1497 friend class ServiceDescriptor; variable
[all …]
/external/cronet/tot/third_party/protobuf/src/google/protobuf/
Ddescriptor.h93 class ServiceDescriptor; variable
228 inline const Descriptor* Get(const ServiceDescriptor* service) { in Get()
234 void Once(const ServiceDescriptor* service);
1333 class PROTOBUF_EXPORT ServiceDescriptor : private internal::SymbolBase {
1405 ServiceDescriptor() {} in ServiceDescriptor() function
1409 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ServiceDescriptor);
1412 PROTOBUF_INTERNAL_CHECK_CLASS_SIZE(ServiceDescriptor, 48);
1432 const ServiceDescriptor* service() const;
1486 const ServiceDescriptor* service_;
1497 friend class ServiceDescriptor; variable
[all …]
/external/protobuf/src/google/protobuf/
Ddescriptor.h93 class ServiceDescriptor; variable
228 inline const Descriptor* Get(const ServiceDescriptor* service) { in Get()
234 void Once(const ServiceDescriptor* service);
1333 class PROTOBUF_EXPORT ServiceDescriptor : private internal::SymbolBase {
1405 ServiceDescriptor() {} in ServiceDescriptor() function
1409 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ServiceDescriptor);
1412 PROTOBUF_INTERNAL_CHECK_CLASS_SIZE(ServiceDescriptor, 48);
1432 const ServiceDescriptor* service() const;
1486 const ServiceDescriptor* service_;
1497 friend class ServiceDescriptor; variable
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DMutableHandlerRegistryTest.java33 import io.grpc.ServiceDescriptor;
82 new ServiceDescriptor("basic", flowMethod)) in setUp()
91 new ServiceDescriptor("multi", coupleMethod, fewMethod)) in setUp()
171 new ServiceDescriptor("basic", anotherMethod)) in replaceAndLookup()
204 new ServiceDescriptor("basic")).build())); in removeMissingNameConflictFails()
230 new ServiceDescriptor("basic")).build())); in addReturnsPrevious()
/external/sdk-platform-java/gapic-generator-java/src/test/java/com/google/api/generator/gapic/composer/common/
DTestProtoLoader.java37 import com.google.protobuf.Descriptors.ServiceDescriptor;
80 ServiceDescriptor serviceDescriptor = fileDescriptor.getServices().get(0); in parseDeprecatedService()
108 ServiceDescriptor serviceDescriptor = fileDescriptor.getServices().get(0); in parseBookshopService()
136 ServiceDescriptor echoServiceDescriptor = echoFileDescriptor.getServices().get(0); in parseShowcaseEcho()
171 ServiceDescriptor identityService = fileDescriptor.getServices().get(0); in parseShowcaseIdentity()
192 ServiceDescriptor messagingService = fileDescriptor.getServices().get(0); in parseShowcaseMessaging()
213 ServiceDescriptor testingService = testingFileDescriptor.getServices().get(0); in parseShowcaseTesting()
239 ServiceDescriptor testingService = testingFileDescriptor.getServices().get(0); in parseExplicitDynamicRoutingHeaderTesting()
265 ServiceDescriptor serviceDescriptor = serviceFileDescriptor.getServices().get(0); in parsePubSubPublisher()
307 ServiceDescriptor serviceDescriptor = serviceFileDescriptor.getServices().get(0); in parseLogging()
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_containers.h47 class ServiceDescriptor; variable
101 PyObject* NewServiceMethodsSeq(const ServiceDescriptor* descriptor);
102 PyObject* NewServiceMethodsByName(const ServiceDescriptor* descriptor);
/external/cronet/stable/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor_containers.h47 class ServiceDescriptor; variable
101 PyObject* NewServiceMethodsSeq(const ServiceDescriptor* descriptor);
102 PyObject* NewServiceMethodsByName(const ServiceDescriptor* descriptor);

12345678910>>...34