Home
last modified time | relevance | path

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

12

/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/flatbuffers/tests/FlatBuffers.GRPC.Swift/Sources/client/
Dmain.swift30 func greet(name: String, client greeter: GreeterServiceClient) { in greet()
38 let sayHello = greeter.SayHello(Message<HelloRequest>(builder: &builder)) in greet()
51 let call = greeter.SayManyHellos(Message(builder: &builder)) { message in in greet()
94 let greeter = GreeterServiceClient(connection: connection) in main() variable
97 greet(name: "Hello FlatBuffers!", client: greeter) in main()
/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/dagger2/java/dagger/hilt/android/example/gradle/simple/app/src/main/java/dagger/hilt/android/example/gradle/simple/
DSettingsActivity.java30 @Inject SettingsGreeter greeter; field in SettingsActivity
38 ((TextView) findViewById(R.id.settings_greeting)).setText(greeter.greet()); in onCreate()
DSimpleActivity.java33 @Inject SimpleGreeter greeter; field in SimpleActivity
41 ((TextView) findViewById(R.id.greeting)).setText(greeter.greet()); in onCreate()
/external/google-fruit/extras/bazel_usage_example/
Dmain.cpp50 Greeter* greeter = injector.get<Greeter*>(); in main() local
52 greeter->greet(); 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/mesa3d/src/util/
D00-mesa-defaults.conf493 <application name="ksmserver-logout-greeter" executable="ksmserver-logout-greeter">
496 <application name="ksmserver-switchuser-greeter" executable="ksmserver-switchuser-greeter">
505 <application name="sddm-greeter" executable="sddm-greeter">
/external/dokka/runners/gradle-integration-tests/testData/basic/
DfileTree.txt10 -greeter/
/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/dagger2/java/dagger/hilt/android/example/gradle/simple/app/src/androidTest/java/dagger/hilt/android/example/gradle/simple/
DSettingsActivityEmulatorTest.java56 assertThat(activity.greeter.greet()) in testActivityInject()
DSimpleActivityEmulatorTest.java56 activity -> assertThat(activity.greeter.greet()).isEqualTo("Hello, FakeUser!")); in testActivityInject()
/external/dagger2/java/dagger/hilt/android/example/gradle/simple/app/src/test/java/dagger/hilt/android/example/gradle/simple/
DSimpleActivityTest.java60 activity -> assertThat(activity.greeter.greet()).isEqualTo("Hello, FakeUser!")); in testActivityInject()
DSettingsActivityTest.java61 assertThat(activity.greeter.greet()) in testActivityInject()

12