/external/flatbuffers/grpc/ |
build_grpc.sh | 6 git clone https://github.com/grpc/grpc.git google/grpc 7 cd google/grpc 18 GRPC_INSTALL_PATH=`pwd`/google/grpc/install 19 PROTOBUF_DOWNLOAD_PATH=`pwd`/google/grpc/third_party/protobuf
|
/external/grpc-grpc/src/compiler/ |
generator_helpers.h | 3 * Copyright 2015 gRPC authors. 32 inline bool StripSuffix(grpc::string* filename, const grpc::string& suffix) { 35 if (filename->compare(suffix_pos, grpc::string::npos, suffix) == 0) { 44 inline bool StripPrefix(grpc::string* name, const grpc::string& prefix) { 54 inline grpc::string StripProto(grpc::string filename) { 61 inline grpc::string StringReplace(grpc::string str, const grpc::string& from [all...] |
python_generator_helpers.h | 3 * Copyright 2015 gRPC authors. 32 using grpc::protobuf::Descriptor; 33 using grpc::protobuf::FileDescriptor; 34 using grpc::protobuf::MethodDescriptor; 35 using grpc::protobuf::ServiceDescriptor; 36 using grpc::protobuf::compiler::GeneratorContext; 37 using grpc::protobuf::io::CodedOutputStream; 38 using grpc::protobuf::io::Printer; 39 using grpc::protobuf::io::StringOutputStream; 40 using grpc::protobuf::io::ZeroCopyOutputStream [all...] |
csharp_plugin.cc | 3 * Copyright 2015 gRPC authors. 19 // Generates C# gRPC service interface out of Protobuf IDL. 27 class CSharpGrpcGenerator : public grpc::protobuf::compiler::CodeGenerator { 32 bool Generate(const grpc::protobuf::FileDescriptor* file, 33 const grpc::string& parameter, 34 grpc::protobuf::compiler::GeneratorContext* context, 35 grpc::string* error) const { 36 std::vector<std::pair<grpc::string, grpc::string> > options; 37 grpc::protobuf::compiler::ParseGeneratorParameter(parameter, &options) [all...] |
node_plugin.cc | 3 * Copyright 2015 gRPC authors. 19 // Generates Node gRPC service interface out of Protobuf IDL. 30 class NodeGrpcGenerator : public grpc::protobuf::compiler::CodeGenerator { 35 bool Generate(const grpc::protobuf::FileDescriptor* file, 36 const grpc::string& parameter, 37 grpc::protobuf::compiler::GeneratorContext* context, 38 grpc::string* error) const { 43 std::vector<grpc::string> parameters_list = 47 std::vector<grpc::string> param = 53 *error = grpc::string("Unknown parameter: ") + *parameter_string [all...] |
php_plugin.cc | 3 * Copyright 2016 gRPC authors. 19 // Generates PHP gRPC service interface out of Protobuf IDL. 31 class PHPGrpcGenerator : public grpc::protobuf::compiler::CodeGenerator { 36 bool Generate(const grpc::protobuf::FileDescriptor* file, 37 const grpc::string& parameter, 38 grpc::protobuf::compiler::GeneratorContext* context, 39 grpc::string* error) const { 44 std::vector<std::pair<grpc::string, grpc::string> > options; 47 grpc::string class_suffix [all...] |
csharp_generator.h | 3 * Copyright 2015 gRPC authors. 28 grpc::string GetServices(const grpc::protobuf::FileDescriptor* file,
|
/external/grpc-grpc/src/cpp/server/load_reporter/ |
util.cc | 3 * Copyright 2018 gRPC authors. 19 #include <grpc/impl/codegen/port_platform.h> 25 #include <grpc/support/log.h> 27 namespace grpc { namespace 31 void AddLoadReportingCost(grpc::ServerContext* ctx, 32 const grpc::string& cost_name, double cost_value) { 34 grpc::string buf; 47 } // namespace grpc
|
/external/grpc-grpc/src/python/grpcio/grpc/ |
_common.py | 1 # Copyright 2016 gRPC authors. 20 import grpc 21 from grpc._cython import cygrpc 28 grpc.ChannelConnectivity.IDLE, 30 grpc.ChannelConnectivity.CONNECTING, 32 grpc.ChannelConnectivity.READY, 34 grpc.ChannelConnectivity.TRANSIENT_FAILURE, 36 grpc.ChannelConnectivity.SHUTDOWN, 40 cygrpc.StatusCode.ok: grpc.StatusCode.OK, 41 cygrpc.StatusCode.cancelled: grpc.StatusCode.CANCELLED [all...] |
/external/grpc-grpc/tools/run_tests/sanity/ |
check_bad_dependencies.sh | 2 # Copyright 2017 gRPC authors. 22 test "$(bazel query 'somepath("//:grpc++_unsecure", "//external:libssl")' 2>/dev/null | wc -l)" -eq 0 || exit 1 23 test "$(bazel query 'somepath("//:grpc++_codegen_proto", "//external:libssl")' 2>/dev/null | wc -l)" -eq 0 || exit 1 28 test "$(bazel query 'deps("//:grpc")' 2>/dev/null | egrep 'src/cpp|include/grpcpp' | wc -l)" -eq 0 || exit 1
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
ClientTransport.java | 2 * Copyright 2016 The gRPC Authors 17 package io.grpc.internal; 19 import io.grpc.CallOptions; 20 import io.grpc.InternalChannelz.SocketStats; 21 import io.grpc.InternalInstrumented; 22 import io.grpc.Metadata; 23 import io.grpc.MethodDescriptor; 44 * <p>This method is called under the {@link io.grpc.Context} of the {@link io.grpc.ClientCall}.
|
/external/grpc-grpc-java/grpclb/src/generated/main/java/io/grpc/lb/v1/ |
LoadBalanceRequestOrBuilder.java | 2 // source: grpc/lb/v1/load_balancer.proto 4 package io.grpc.lb.v1; 7 // @@protoc_insertion_point(interface_extends:grpc.lb.v1.LoadBalanceRequest) 15 * <code>.grpc.lb.v1.InitialLoadBalanceRequest initial_request = 1;</code> 23 * <code>.grpc.lb.v1.InitialLoadBalanceRequest initial_request = 1;</code> 25 io.grpc.lb.v1.InitialLoadBalanceRequest getInitialRequest(); 31 * <code>.grpc.lb.v1.InitialLoadBalanceRequest initial_request = 1;</code> 33 io.grpc.lb.v1.InitialLoadBalanceRequestOrBuilder getInitialRequestOrBuilder(); 41 * <code>.grpc.lb.v1.ClientStats client_stats = 2;</code> 50 * <code>.grpc.lb.v1.ClientStats client_stats = 2;</code [all...] |
LoadBalanceResponseOrBuilder.java | 2 // source: grpc/lb/v1/load_balancer.proto 4 package io.grpc.lb.v1; 7 // @@protoc_insertion_point(interface_extends:grpc.lb.v1.LoadBalanceResponse) 15 * <code>.grpc.lb.v1.InitialLoadBalanceResponse initial_response = 1;</code> 23 * <code>.grpc.lb.v1.InitialLoadBalanceResponse initial_response = 1;</code> 25 io.grpc.lb.v1.InitialLoadBalanceResponse getInitialResponse(); 31 * <code>.grpc.lb.v1.InitialLoadBalanceResponse initial_response = 1;</code> 33 io.grpc.lb.v1.InitialLoadBalanceResponseOrBuilder getInitialResponseOrBuilder(); 41 * <code>.grpc.lb.v1.ServerList server_list = 2;</code> 50 * <code>.grpc.lb.v1.ServerList server_list = 2;</code [all...] |
/external/grpc-grpc-java/protobuf/ |
grpc-protobuf-1.14.0.jar | |
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/channelz/v1/ |
SecurityOrBuilder.java | 2 // source: grpc/channelz/v1/channelz.proto 4 package io.grpc.channelz.v1; 7 // @@protoc_insertion_point(interface_extends:grpc.channelz.v1.Security) 11 * <code>.grpc.channelz.v1.Security.Tls tls = 1;</code> 15 * <code>.grpc.channelz.v1.Security.Tls tls = 1;</code> 17 io.grpc.channelz.v1.Security.Tls getTls(); 19 * <code>.grpc.channelz.v1.Security.Tls tls = 1;</code> 21 io.grpc.channelz.v1.Security.TlsOrBuilder getTlsOrBuilder(); 24 * <code>.grpc.channelz.v1.Security.OtherSecurity other = 2;</code> 28 * <code>.grpc.channelz.v1.Security.OtherSecurity other = 2;</code [all...] |
ChannelOrBuilder.java | 2 // source: grpc/channelz/v1/channelz.proto 4 package io.grpc.channelz.v1; 7 // @@protoc_insertion_point(interface_extends:grpc.channelz.v1.Channel) 15 * <code>.grpc.channelz.v1.ChannelRef ref = 1;</code> 23 * <code>.grpc.channelz.v1.ChannelRef ref = 1;</code> 25 io.grpc.channelz.v1.ChannelRef getRef(); 31 * <code>.grpc.channelz.v1.ChannelRef ref = 1;</code> 33 io.grpc.channelz.v1.ChannelRefOrBuilder getRefOrBuilder(); 40 * <code>.grpc.channelz.v1.ChannelData data = 2;</code> 48 * <code>.grpc.channelz.v1.ChannelData data = 2;</code [all...] |
SubchannelOrBuilder.java | 2 // source: grpc/channelz/v1/channelz.proto 4 package io.grpc.channelz.v1; 7 // @@protoc_insertion_point(interface_extends:grpc.channelz.v1.Subchannel) 15 * <code>.grpc.channelz.v1.SubchannelRef ref = 1;</code> 23 * <code>.grpc.channelz.v1.SubchannelRef ref = 1;</code> 25 io.grpc.channelz.v1.SubchannelRef getRef(); 31 * <code>.grpc.channelz.v1.SubchannelRef ref = 1;</code> 33 io.grpc.channelz.v1.SubchannelRefOrBuilder getRefOrBuilder(); 40 * <code>.grpc.channelz.v1.ChannelData data = 2;</code> 48 * <code>.grpc.channelz.v1.ChannelData data = 2;</code [all...] |
/external/flatbuffers/grpc/samples/greeter/ |
server.cpp | 1 #include "greeter.grpc.fb.h" 4 #include <grpc++/grpc++.h> 11 virtual grpc::Status SayHello( 12 grpc::ServerContext *context, 13 const flatbuffers::grpc::Message<HelloRequest> *request_msg, 14 flatbuffers::grpc::Message<HelloReply> *response_msg) override { 15 // flatbuffers::grpc::MessageBuilder mb_; 23 // `flatbuffers::grpc::MessageBuilder` is a `FlatBufferBuilder` with a 24 // special allocator for efficient gRPC buffer transfer, but otherwis [all...] |
/external/grpc-grpc/test/cpp/util/ |
create_test_channel.h | 3 * Copyright 2015-2016 gRPC authors. 26 namespace grpc { namespace 36 const grpc::string& server, testing::transport_security security_type); 39 const grpc::string& server, const grpc::string& override_hostname, 43 const grpc::string& server, const grpc::string& override_hostname, 48 const grpc::string& server, const grpc::string& override_hostname, 54 const grpc::string& server, const grpc::string& cred_type [all...] |
/external/grpc-grpc-java/benchmarks/src/generated/main/grpc/io/grpc/benchmarks/proto/ |
ReportQpsScenarioServiceGrpc.java | 1 package io.grpc.benchmarks.proto; 3 import static io.grpc.MethodDescriptor.generateFullMethodName; 4 import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall; 5 import static io.grpc.stub.ClientCalls.asyncClientStreamingCall; 6 import static io.grpc.stub.ClientCalls.asyncServerStreamingCall; 7 import static io.grpc.stub.ClientCalls.asyncUnaryCall; 8 import static io.grpc.stub.ClientCalls.blockingServerStreamingCall; 9 import static io.grpc.stub.ClientCalls.blockingUnaryCall; 10 import static io.grpc.stub.ClientCalls.futureUnaryCall; 11 import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall [all...] |
/external/grpc-grpc-java/interop-testing/src/generated/main/grpc/io/grpc/testing/integration/ |
UnimplementedServiceGrpc.java | 1 package io.grpc.testing.integration; 3 import static io.grpc.MethodDescriptor.generateFullMethodName; 4 import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall; 5 import static io.grpc.stub.ClientCalls.asyncClientStreamingCall; 6 import static io.grpc.stub.ClientCalls.asyncServerStreamingCall; 7 import static io.grpc.stub.ClientCalls.asyncUnaryCall; 8 import static io.grpc.stub.ClientCalls.blockingServerStreamingCall; 9 import static io.grpc.stub.ClientCalls.blockingUnaryCall; 10 import static io.grpc.stub.ClientCalls.futureUnaryCall; 11 import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall [all...] |
/external/grpc-grpc/include/grpcpp/ |
health_check_service_interface.h | 3 * Copyright 2016 gRPC authors. 24 namespace grpc { namespace 27 "grpc.health_check_service_interface"; 29 /// The gRPC server uses this interface to expose the health checking service 36 virtual void SetServingStatus(const grpc::string& service_name, 52 } // namespace grpc
|
server_posix.h | 3 * Copyright 2016 gRPC authors. 24 #include <grpc/support/port_platform.h> 27 namespace grpc { namespace 40 } // namespace grpc
|
/external/grpc-grpc/src/core/ext/transport/chttp2/server/ |
chttp2_server.h | 3 * Copyright 2016 gRPC authors. 22 #include <grpc/support/port_platform.h> 24 #include <grpc/impl/codegen/grpc_types.h>
|
/external/grpc-grpc/src/core/lib/iomgr/ |
endpoint_pair_uv.cc | 3 * Copyright 2016 gRPC authors. 19 #include <grpc/support/port_platform.h> 27 #include <grpc/support/log.h>
|