/external/google-fruit/examples/testing/ |
D | cached_greeter_test_with_normalized_component.cpp | 22 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()
|
D | cached_greeter_test.cpp | 21 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()
|
D | cached_greeter.cpp | 20 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()
|
D | greeter.cpp | 19 class GreeterImpl : public Greeter { 28 fruit::Component<Greeter> getGreeterComponent() { in getGreeterComponent() 30 .bind<Greeter, GreeterImpl>(); in getGreeterComponent()
|
D | main.cpp | 22 fruit::Injector<fruit::Annotated<Cached, Greeter>> injector(getCachedGreeterComponent); in main() 23 Greeter* greeter = injector.get<fruit::Annotated<Cached, Greeter*>>(); in main()
|
D | greeter.h | 23 class Greeter { 28 fruit::Component<Greeter> getGreeterComponent();
|
/external/google-fruit/examples/hello_world/ |
D | main.cpp | 24 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/ |
D | Greeter.sln | 6 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Greeter", "Greeter\Greeter.csproj", "{724DFC8C… 35 StartupItem = Greeter\Greeter.csproj
|
/external/grpc-grpc/examples/cpp/helloworld/ |
D | greeter_async_server.cc | 37 using helloworld::Greeter; 75 CallData(Greeter::AsyncService* service, ServerCompletionQueue* cq) in CallData() 118 Greeter::AsyncService* service_; 158 Greeter::AsyncService service_;
|
D | greeter_client.cc | 36 using helloworld::Greeter; 41 : stub_(Greeter::NewStub(channel)) {} in GreeterClient() 71 std::unique_ptr<Greeter::Stub> stub_;
|
D | greeter_async_client.cc | 35 using helloworld::Greeter; 40 : stub_(Greeter::NewStub(channel)) {} in GreeterClient() 102 std::unique_ptr<Greeter::Stub> stub_;
|
D | greeter_async_client2.cc | 36 using helloworld::Greeter; 41 : stub_(Greeter::NewStub(channel)) {} in GreeterClient() 114 std::unique_ptr<Greeter::Stub> stub_;
|
/external/grpc-grpc/examples/csharp/Helloworld/Greeter/ |
D | Greeter.csproj | 4 <AssemblyTitle>Greeter</AssemblyTitle> 7 <AssemblyName>Greeter</AssemblyName> 8 <PackageId>Greeter</PackageId>
|
/external/grpc-grpc/doc/python/ |
D | server_reflection.md | 22 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/ |
D | cached_greeter.tex | 15 \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…
|
D | greeter.tex | 6 \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}
|
D | cached_greeter_test.tex | 15 \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/ |
D | grpc-helloworld.cc | 32 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/ |
D | ViewController.cs | 61 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/ |
D | server_reflection.md | 17 // 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/ |
D | MainActivity.cs | 52 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/ |
D | command_line_tool.md | 88 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/ |
D | GreeterServer.csproj | 13 <ProjectReference Include="..\Greeter\Greeter.csproj" />
|
/external/grpc-grpc/examples/csharp/Helloworld/GreeterClient/ |
D | GreeterClient.csproj | 13 <ProjectReference Include="..\Greeter\Greeter.csproj" />
|
/external/grpc-grpc/examples/python/helloworld/ |
D | greeter_server.py | 27 class Greeter(helloworld_pb2_grpc.GreeterServicer): class 35 helloworld_pb2_grpc.add_GreeterServicer_to_server(Greeter(), server)
|