Home
last modified time | relevance | path

Searched refs:greeter (Results 1 – 17 of 17) sorted by relevance

/external/flatbuffers/grpc/samples/greeter/
DMakefile7 greeter_generated.h: greeter.fbs
10 server: server.cpp greeter.grpc.fb.cc greeter_generated.h greeter.grpc.fb.h
11 g++ -std=c++11 -O2 $(CXXFLAGS) $(LDFLAGS) -lgpr -lgrpc -lgrpc++ server.cpp greeter.grpc.fb.cc -o $@
13 client: client.cpp greeter.grpc.fb.cc greeter_generated.h greeter.grpc.fb.h
14 g++ -std=c++11 -O2 $(CXXFLAGS) $(LDFLAGS) -lgpr -lgrpc -lgrpc++ client.cpp greeter.grpc.fb.cc -o $@
Dclient.cpp72 GreeterClient greeter(channel); in main() local
76 std::string message = greeter.SayHello(name); in main()
80 greeter.SayManyHellos(name, num_greetings, [](const std::string &message) { in main()
/external/flatbuffers/docs/source/gRPC/
DCppUsage.md14 NOTE: The examples below are also in the `grpc/samples/greeter` directory.
18 @include grpc/samples/greeter/greeter.fbs
21 `greeter.grpc.fb.h` and `greeter.grpc.fb.cc`.
25 @include grpc/samples/greeter/server.cpp
29 @include grpc/samples/greeter/client.cpp
/external/google-fruit/examples/testing/
Dcached_greeter.cpp22 Greeter* greeter; member in CachedGreeterImpl
26 INJECT(CachedGreeterImpl(Greeter* greeter, KeyValueStorage* keyValueStorage)) in INJECT() argument
27 : greeter(greeter), keyValueStorage(keyValueStorage) { in INJECT()
37 greeting = greeter->greet(); in greet()
Dcached_greeter_test.cpp35 Greeter* greeter = injector.get<fruit::Annotated<Cached, Greeter*>>(); in TEST() local
36 ASSERT_EQ(greeter->greet(), "Hello, world!"); in TEST()
41 Greeter* greeter = injector.get<fruit::Annotated<Cached, Greeter*>>(); in TEST() local
42 greeter->greet(); in TEST()
43 ASSERT_EQ(greeter->greet(), "Hello, world!"); in TEST()
Dcached_greeter_test_with_normalized_component.cpp41 Greeter* greeter = injector.get<fruit::Annotated<Cached, Greeter*>>(); in TEST() local
42 ASSERT_EQ(greeter->greet(), "Hello, world!"); in TEST()
47 Greeter* greeter = injector.get<fruit::Annotated<Cached, Greeter*>>(); in TEST() local
48 greeter->greet(); in TEST()
49 ASSERT_EQ(greeter->greet(), "Hello, world!"); in TEST()
DCMakeLists.txt9 greeter.cpp
10 greeter.h
16 add_executable(greeter ${GREETER_SOURCES}) target
17 target_link_libraries(greeter fruit)
Dmain.cpp23 Greeter* greeter = injector.get<fruit::Annotated<Cached, Greeter*>>(); in main() local
24 std::cout << greeter->greet() << std::endl; in main()
DBUILD10 "greeter.h",
11 "greeter.cpp",
/external/grpc-grpc/examples/cpp/helloworld/
Dgreeter_async_client2.cc128 GreeterClient greeter(grpc::CreateChannel( in main() local
132 std::thread thread_ = std::thread(&GreeterClient::AsyncCompleteRpc, &greeter); in main()
136 greeter.SayHello(user); // The actual RPC call! in main()
Dgreeter_client.cc79 GreeterClient greeter(grpc::CreateChannel( in main() local
82 std::string reply = greeter.SayHello(user); in main()
Dgreeter_async_client.cc110 GreeterClient greeter(grpc::CreateChannel( in main() local
113 std::string reply = greeter.SayHello(user); // The actual RPC call! in main()
/external/google-fruit/examples/hello_world/
Dmain.cpp50 Greeter* greeter = injector.get<Greeter*>(); in main() local
52 greeter->greet(); in main()
/external/grpc-grpc/examples/android/helloworld/app/src/main/cpp/
Dgrpc-helloworld.cc122 GreeterClient greeter( in Java_io_grpc_helloworldexample_cpp_HelloworldActivity_sayHello() local
124 std::string reply = greeter.SayHello(message); in Java_io_grpc_helloworldexample_cpp_HelloworldActivity_sayHello()
/external/grpc-grpc/examples/ruby/
Dgrpc-demo.gemspec14 s.executables = `git ls-files -- ruby/greeter*.rb ruby/route_guide/*.rb`.split("\n").map do |f|
/external/google-fruit/extras/doc/
DCMakeLists.txt28 greeter.tex
/external/jline/src/src/test/resources/jline/example/
Denglish.gz