Lines Matching refs:args
164 static int show_status(sd_bus *bus, char **args, unsigned n) {
195 static int set_locale(sd_bus *bus, char **args, unsigned n) {
201 assert(args);
215 r = sd_bus_message_append_strv(m, args + 1);
232 static int list_locales(sd_bus *bus, char **args, unsigned n) {
236 assert(args);
248 static int set_vconsole_keymap(sd_bus *bus, char **args, unsigned n) {
254 assert(args);
263 map = args[1];
264 toggle_map = n > 2 ? args[2] : "";
318 static int list_vconsole_keymaps(sd_bus *bus, char **args, unsigned n) {
351 static int set_x11_keymap(sd_bus *bus, char **args, unsigned n) {
357 assert(args);
366 layout = args[1];
367 model = n > 2 ? args[2] : "";
368 variant = n > 3 ? args[3] : "";
369 options = n > 4 ? args[4] : "";
387 static int list_x11_keymaps(sd_bus *bus, char **args, unsigned n) {
409 if (streq(args[0], "list-x11-keymap-models"))
411 else if (streq(args[0], "list-x11-keymap-layouts"))
413 else if (streq(args[0], "list-x11-keymap-variants"))
415 else if (streq(args[0], "list-x11-keymap-options"))
464 if (!streq(w, args[1]))
592 int (* const dispatch)(sd_bus *bus, char **args, unsigned n);