Home
last modified time | relevance | path

Searched refs:Greeter (Results 1 – 25 of 66) sorted by relevance

123

/external/google-fruit/examples/testing/
Dcached_greeter_test_with_normalized_component.cpp22 fruit::Component<fruit::Annotated<Cached, Greeter>> getMainComponent() { in getMainComponent()
34 fruit::Injector<fruit::Annotated<Cached, Greeter>> createInjector() { in createInjector()
35 …static fruit::NormalizedComponent<fruit::Annotated<Cached, Greeter>> normalizedComponent(getMainCo… in createInjector()
36 return fruit::Injector<fruit::Annotated<Cached, Greeter>>(normalizedComponent, getEmptyComponent); in createInjector()
40 fruit::Injector<fruit::Annotated<Cached, Greeter>> injector = createInjector(); in TEST()
41 Greeter* greeter = injector.get<fruit::Annotated<Cached, Greeter*>>(); in TEST()
46 fruit::Injector<fruit::Annotated<Cached, Greeter>> injector = createInjector(); in TEST()
47 Greeter* greeter = injector.get<fruit::Annotated<Cached, Greeter*>>(); in TEST()
Dcached_greeter_test.cpp21 fruit::Component<fruit::Annotated<Cached, Greeter>> getMainComponent() { in getMainComponent()
29 fruit::Injector<fruit::Annotated<Cached, Greeter>> createInjector() { in createInjector()
30 return fruit::Injector<fruit::Annotated<Cached, Greeter>>(getMainComponent); in createInjector()
34 fruit::Injector<fruit::Annotated<Cached, Greeter>> injector = createInjector(); in TEST()
35 Greeter* greeter = injector.get<fruit::Annotated<Cached, Greeter*>>(); in TEST()
40 fruit::Injector<fruit::Annotated<Cached, Greeter>> injector = createInjector(); in TEST()
41 Greeter* greeter = injector.get<fruit::Annotated<Cached, Greeter*>>(); in TEST()
Dcached_greeter.cpp20 class CachedGreeterImpl : public Greeter {
22 Greeter* greeter;
26 INJECT(CachedGreeterImpl(Greeter* greeter, KeyValueStorage* keyValueStorage)) in INJECT()
46 fruit::Component<fruit::Annotated<Cached, Greeter>> getCachedGreeterComponent() { in getCachedGreeterComponent()
48 .bind<fruit::Annotated<Cached, Greeter>, CachedGreeterImpl>() in getCachedGreeterComponent()
Dgreeter.cpp19 class GreeterImpl : public Greeter {
28 fruit::Component<Greeter> getGreeterComponent() { in getGreeterComponent()
30 .bind<Greeter, GreeterImpl>(); in getGreeterComponent()
Dmain.cpp22 fruit::Injector<fruit::Annotated<Cached, Greeter>> injector(getCachedGreeterComponent); in main()
23 Greeter* greeter = injector.get<fruit::Annotated<Cached, Greeter*>>(); in main()
Dgreeter.h23 class Greeter {
28 fruit::Component<Greeter> getGreeterComponent();
/external/google-fruit/examples/hello_world/
Dmain.cpp24 class Greeter { class
29 class GreeterImpl : public Greeter {
43 Component<Greeter> getGreeterComponent() { in getGreeterComponent()
44 return fruit::createComponent().bind<Writer, StdoutWriter>().bind<Greeter, GreeterImpl>(); in getGreeterComponent()
49 Injector<Greeter> injector(getGreeterComponent); in main()
50 Greeter* greeter = injector.get<Greeter*>(); in main()
/external/grpc-grpc/examples/csharp/HelloworldLegacyCsproj/
DGreeter.sln6 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Greeter", "Greeter\Greeter.csproj", "{724DFC8C…
35 StartupItem = Greeter\Greeter.csproj
/external/grpc-grpc/examples/cpp/helloworld/
Dgreeter_async_server.cc37 using helloworld::Greeter;
75 CallData(Greeter::AsyncService* service, ServerCompletionQueue* cq) in CallData()
118 Greeter::AsyncService* service_;
158 Greeter::AsyncService service_;
Dgreeter_client.cc36 using helloworld::Greeter;
41 : stub_(Greeter::NewStub(channel)) {} in GreeterClient()
71 std::unique_ptr<Greeter::Stub> stub_;
Dgreeter_async_client.cc35 using helloworld::Greeter;
40 : stub_(Greeter::NewStub(channel)) {} in GreeterClient()
102 std::unique_ptr<Greeter::Stub> stub_;
Dgreeter_async_client2.cc36 using helloworld::Greeter;
41 : stub_(Greeter::NewStub(channel)) {} in GreeterClient()
114 std::unique_ptr<Greeter::Stub> stub_;
/external/grpc-grpc/examples/csharp/Helloworld/Greeter/
DGreeter.csproj4 <AssemblyTitle>Greeter</AssemblyTitle>
7 <AssemblyName>Greeter</AssemblyName>
8 <PackageId>Greeter</PackageId>
/external/grpc-grpc/doc/python/
Dserver_reflection.md22 helloworld_pb2_grpc.add_GreeterServicer_to_server(Greeter(), server)
23 # the reflection service will be aware of "Greeter" and "ServerReflection" services.
25 helloworld_pb2.DESCRIPTOR.services_by_name['Greeter'].full_name,
36 `Greeter` example](https://github.com/grpc/tree/master/examples/python/helloworld) on a
50 helloworld.Greeter
/external/google-fruit/extras/doc/
Dcached_greeter.tex15 \umlassemblyconnector[interface=Greeter]{GreeterComponent}{CachedGreeterImpl}
18 \umlprovidedinterface[interface={Annotated<Cached,Greeter>}, distance=4.3, with port, padding=2.1cm…
21 \umlprovidedinterface[interface={Annotated<Cached,Greeter>}, distance=11.2, with port, padding=0.2c…
Dgreeter.tex6 \newnamedcomponent{0}{0}{bind1}{bind<Greeter, GreeterImpl>}
14 \umlprovidedinterface[interface=Greeter, distance=3, padding=0.5cm]{bind1}
16 \umlprovidedinterface[interface=Greeter, distance=13, with port, padding=0.2cm]{GreeterComponent}
Dcached_greeter_test.tex15 \umlassemblyconnector[interface=Greeter]{GreeterComponent}{CachedGreeterImpl}
18 \umlprovidedinterface[interface={Annotated<Cached,Greeter>}, distance=4.3, with port, padding=2.1cm…
21 \umlprovidedinterface[interface={Annotated<Cached,Greeter>}, distance=11.2, with port, padding=0.2c…
/external/grpc-grpc/examples/android/helloworld/app/src/main/cpp/
Dgrpc-helloworld.cc32 using helloworld::Greeter;
39 class GreeterServiceImpl final : public Greeter::Service {
76 : stub_(Greeter::NewStub(channel)) {} in GreeterClient()
102 std::unique_ptr<Greeter::Stub> stub_;
/external/grpc-grpc/examples/csharp/HelloworldXamarin/iOS/
DViewController.cs61 Services = { Greeter.BindService(new GreeterImpl()) }, in SayHello()
68 var client = new Greeter.GreeterClient(channel); in SayHello()
82 class GreeterImpl : Greeter.GreeterBase
/external/grpc-grpc/doc/csharp/
Dserver_reflection.md17 // the reflection service will be aware of "Greeter" and "ServerReflection" services.
18 var reflectionServiceImpl = new ReflectionServiceImpl(Greeter.Descriptor, ServerReflection.Descript…
23 // the server will serve 2 services, the Greeter and the ServerReflection
42 helloworld.Greeter
/external/grpc-grpc/examples/csharp/HelloworldXamarin/Droid/
DMainActivity.cs52 Services = { Greeter.BindService(new GreeterImpl()) }, in SayHello()
61 var client = new Greeter.GreeterClient(channel); in SayHello()
74 class GreeterImpl : Greeter.GreeterBase
/external/grpc-grpc/doc/
Dcommand_line_tool.md88 helloworld.Greeter
102 $ grpc_cli ls localhost:50051 helloworld.Greeter -l
105 `helloworld.Greeter` is full name of the service.
112 service Greeter {
126 $ grpc_cli ls localhost:50051 helloworld.Greeter.SayHello -l
129 `helloworld.Greeter.SayHello` is full name of the method.
195 $ grpc_cli call localhost:50051 /helloworld.Greeter/SayHello \
/external/grpc-grpc/examples/csharp/Helloworld/GreeterServer/
DGreeterServer.csproj13 <ProjectReference Include="..\Greeter\Greeter.csproj" />
/external/grpc-grpc/examples/csharp/Helloworld/GreeterClient/
DGreeterClient.csproj13 <ProjectReference Include="..\Greeter\Greeter.csproj" />
/external/grpc-grpc/examples/python/helloworld/
Dgreeter_server.py27 class Greeter(helloworld_pb2_grpc.GreeterServicer): class
35 helloworld_pb2_grpc.add_GreeterServicer_to_server(Greeter(), server)

123