Lines Matching defs:server
43 static void server(sd_bus *b, size_t *result) {
57 if (sd_bus_message_is_method_call(m, "benchmark.server", "Ping"))
59 else if (sd_bus_message_is_method_call(m, "benchmark.server", "Work")) {
68 } else if (sd_bus_message_is_method_call(m, "benchmark.server", "Exit")) {
84 assert_se(sd_bus_message_new_method_call(b, &m, server_name, "/", "benchmark.server", "Work") >= 0);
107 r = sd_bus_call_method(b, server_name, "/", "benchmark.server", "Ping", NULL, NULL, NULL);
159 assert_se(sd_bus_message_new_method_call(b, &x, server_name, "/", "benchmark.server", "Exit") >= 0);
189 r = sd_bus_call_method(b, server_name, "/", "benchmark.server", "Ping", NULL, NULL, NULL);
236 assert_se(sd_bus_message_new_method_call(b, &x, server_name, "/", "benchmark.server", "Exit") >= 0);
360 server(b, &result);