HomeSort by relevance Sort by last modified time
    Searched refs:Greeter (Results 1 - 25 of 41) sorted by null

1 2

  /art/test/960-default-smali/src/
A.java 16 class A implements Greeter {
Greeter.java 16 public interface Greeter {
Greeter2.java 16 public interface Greeter2 extends Greeter {
Greeter3.java 16 public interface Greeter3 extends Greeter {
  /external/google-fruit/examples/testing/
greeter.cpp 17 #include "greeter.h"
19 class GreeterImpl : public Greeter {
28 fruit::Component<Greeter> getGreeterComponent() {
30 .bind<Greeter, GreeterImpl>();
greeter.h 23 class Greeter {
28 fruit::Component<Greeter> getGreeterComponent();
cached_greeter.h 21 #include "greeter.h"
23 fruit::Component<fruit::Annotated<Cached, Greeter>> getCachedGreeterComponent();
main.cpp 22 fruit::Injector<fruit::Annotated<Cached, Greeter>> injector(getCachedGreeterComponent);
23 Greeter* greeter = injector.get<fruit::Annotated<Cached, Greeter*>>(); local
24 std::cout << greeter->greet() << std::endl;
cached_greeter.cpp 20 class CachedGreeterImpl : public Greeter {
22 Greeter* greeter; member in class:CachedGreeterImpl
26 INJECT(CachedGreeterImpl(Greeter* greeter, KeyValueStorage* keyValueStorage))
27 : greeter(greeter), keyValueStorage(keyValueStorage) {
37 greeting = greeter->greet();
39 // We also add it in the cache so that later calls don't need to call greeter->greet().
46 fruit::Component<fruit::Annotated<Cached, Greeter>> getCachedGreeterComponent()
    [all...]
cached_greeter_test_with_normalized_component.cpp 22 fruit::Component<fruit::Annotated<Cached, Greeter>> getMainComponent() {
34 fruit::Injector<fruit::Annotated<Cached, Greeter>> createInjector() {
35 static fruit::NormalizedComponent<fruit::Annotated<Cached, Greeter>> normalizedComponent(getMainComponent);
36 return fruit::Injector<fruit::Annotated<Cached, Greeter>>(normalizedComponent, getEmptyComponent);
40 fruit::Injector<fruit::Annotated<Cached, Greeter>> injector = createInjector();
41 Greeter* greeter = injector.get<fruit::Annotated<Cached, Greeter*>>(); local
42 ASSERT_EQ(greeter->greet(), "Hello, world!");
46 fruit::Injector<fruit::Annotated<Cached, Greeter>> injector = createInjector()
47 Greeter* greeter = injector.get<fruit::Annotated<Cached, Greeter*>>(); local
    [all...]
cached_greeter_test.cpp 21 fruit::Component<fruit::Annotated<Cached, Greeter>> getMainComponent() {
29 fruit::Injector<fruit::Annotated<Cached, Greeter>> createInjector() {
30 return fruit::Injector<fruit::Annotated<Cached, Greeter>>(getMainComponent);
34 fruit::Injector<fruit::Annotated<Cached, Greeter>> injector = createInjector();
35 Greeter* greeter = injector.get<fruit::Annotated<Cached, Greeter*>>(); local
36 ASSERT_EQ(greeter->greet(), "Hello, world!");
40 fruit::Injector<fruit::Annotated<Cached, Greeter>> injector = createInjector();
41 Greeter* greeter = injector.get<fruit::Annotated<Cached, Greeter*>>() local
    [all...]
  /external/google-fruit/examples/hello_world/
main.cpp 24 class Greeter {
29 class GreeterImpl : public Greeter {
43 Component<Greeter> getGreeterComponent() {
44 return fruit::createComponent().bind<Writer, StdoutWriter>().bind<Greeter, GreeterImpl>();
49 Injector<Greeter> injector(getGreeterComponent);
50 Greeter* greeter = injector.get<Greeter*>(); local
52 greeter->greet();
  /external/grpc-grpc/examples/python/helloworld/
greeter_server.py 14 """The Python implementation of the GRPC helloworld.Greeter server."""
27 class Greeter(helloworld_pb2_grpc.GreeterServicer):
35 helloworld_pb2_grpc.add_GreeterServicer_to_server(Greeter(), server)
greeter_server_with_reflection.py 14 """The reflection-enabled version of gRPC helloworld.Greeter server."""
28 class Greeter(helloworld_pb2_grpc.GreeterServicer):
36 helloworld_pb2_grpc.add_GreeterServicer_to_server(Greeter(), server)
38 helloworld_pb2.DESCRIPTOR.services_by_name['Greeter'].full_name,
  /external/opencensus-java/examples/src/main/proto/
helloworld.proto 26 service Greeter {
  /external/perfetto/src/ipc/test/
greeter_service.proto 24 service Greeter {
  /external/grpc-grpc/examples/ruby/lib/
helloworld_services_pb.rb 23 module Greeter
31 self.service_name = 'helloworld.Greeter'
  /external/grpc-grpc/examples/cpp/helloworld/
greeter_server.cc 37 using helloworld::Greeter;
40 class GreeterServiceImpl final : public Greeter::Service {
greeter_async_client.cc 35 using helloworld::Greeter;
40 : stub_(Greeter::NewStub(channel)) {}
102 std::unique_ptr<Greeter::Stub> stub_;
110 GreeterClient greeter(grpc::CreateChannel(
113 std::string reply = greeter.SayHello(user); // The actual RPC call!
114 std::cout << "Greeter received: " << reply << std::endl;
greeter_client.cc 36 using helloworld::Greeter;
41 : stub_(Greeter::NewStub(channel)) {}
71 std::unique_ptr<Greeter::Stub> stub_;
79 GreeterClient greeter(grpc::CreateChannel(
82 std::string reply = greeter.SayHello(user);
83 std::cout << "Greeter received: " << reply << std::endl;
greeter_async_client2.cc 36 using helloworld::Greeter;
41 : stub_(Greeter::NewStub(channel)) {}
85 std::cout << "Greeter received: " << call->reply.message() << std::endl;
114 std::unique_ptr<Greeter::Stub> stub_;
128 GreeterClient greeter(grpc::CreateChannel(
132 std::thread thread_ = std::thread(&GreeterClient::AsyncCompleteRpc, &greeter);
136 greeter.SayHello(user); // The actual RPC call!
greeter_async_server.cc 37 using helloworld::Greeter;
75 CallData(Greeter::AsyncService* service, ServerCompletionQueue* cq)
118 Greeter::AsyncService* service_;
158 Greeter::AsyncService service_;
  /external/grpc-grpc/examples/python/interceptors/headers/
greeter_server.py 14 """The Python implementation of the GRPC helloworld.Greeter server."""
28 class Greeter(helloworld_pb2_grpc.GreeterServicer):
41 helloworld_pb2_grpc.add_GreeterServicer_to_server(Greeter(), server)
  /external/grpc-grpc/examples/ruby/
greeter_client.rb 17 # Sample app that connects to a Greeter service.
29 stub = Helloworld::Greeter::Stub.new('localhost:50051', :this_channel_is_insecure)
greeter_server.rb 17 # Sample gRPC server that implements the Greeter::Helloworld service.
28 # GreeterServer is simple server that implements the Helloworld Greeter server.
29 class GreeterServer < Helloworld::Greeter::Service

Completed in 430 milliseconds

1 2