Home
last modified time | relevance | path

Searched refs:vc_keymap (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/locale/
Dtest-keymap-util.c79 assert_se(free_and_strdup(&c.vc_keymap, "es") >= 0); in TEST()
86 assert_se(free_and_strdup(&c.vc_keymap, "es-dvorak") >= 0); in TEST()
93 assert_se(free_and_strdup(&c.vc_keymap, "fr-latin9") >= 0); in TEST()
100 assert_se(free_and_strdup(&c.vc_keymap, "ru") >= 0); in TEST()
107 assert_se(free_and_strdup(&c.vc_keymap, "us") >= 0); in TEST()
119 assert_se(free_and_strdup(&c.vc_keymap, "foobar") >= 0); in TEST()
121 assert_se(c.vc_keymap == NULL); in TEST()
126 assert_se(c.vc_keymap == NULL); in TEST()
132 assert_se(streq(c.vc_keymap, "es")); in TEST()
138 assert_se(streq(c.vc_keymap, "es")); in TEST()
[all …]
Dkeymap-util.c64 c->vc_keymap = mfree(c->vc_keymap); in context_free_vconsole()
188 "KEYMAP", &c->vc_keymap, in vconsole_read_data()
326 r = strv_env_assign(&l, "KEYMAP", empty_to_null(c->vc_keymap)); in vconsole_write_data()
469 if (isempty(c->vc_keymap)) { in vconsole_convert_to_x11()
495 if (!streq(c->vc_keymap, a[0])) in vconsole_convert_to_x11()
524 c->vc_keymap); in vconsole_convert_to_x11()
698 !isempty(c->vc_keymap) || in x11_convert_to_vconsole()
721 if (!streq_ptr(c->vc_keymap, new_keymap)) { in x11_convert_to_vconsole()
722 free_and_replace(c->vc_keymap, new_keymap); in x11_convert_to_vconsole()
730 strempty(c->vc_keymap), strempty(c->vc_keymap_toggle)); in x11_convert_to_vconsole()
Dlocaled.c227 return sd_bus_message_append_basic(reply, 's', c->vc_keymap); in property_get_vconsole()
506 if (streq_ptr(keymap, c->vc_keymap) && in method_set_vc_keyboard()
524 if (free_and_strdup(&c->vc_keymap, keymap) < 0 || in method_set_vc_keyboard()
535 strempty(c->vc_keymap), strempty(c->vc_keymap_toggle)); in method_set_vc_keyboard()
Dkeymap-util.h24 char *vc_keymap; member
/systemd-251/src/vconsole/
Dvconsole-setup.c418 *vc_keymap = NULL, *vc_keymap_toggle = NULL, in main() local
439 "KEYMAP", &vc_keymap, in main()
450 "vconsole.keymap", &vc_keymap, in main()
466 keyboard_ok = keyboard_load_and_wait(vc, vc_keymap, vc_keymap_toggle, utf8) == 0; in main()