Home
last modified time | relevance | path

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

/systemd-251/src/locale/
Dtest-keymap-util.c49 c.x11_layout = (char*) "foobar"; in TEST()
53 c.x11_layout = (char*) "pl"; in TEST()
57 c.x11_layout = (char*) "pl,ru"; in TEST()
66 assert_se(free_and_strdup(&c.x11_layout, "foo") >= 0); in TEST()
69 assert_se(c.x11_layout == NULL); in TEST()
75 assert_se(c.x11_layout == NULL); in TEST()
82 assert_se(streq(c.x11_layout, "es")); in TEST()
89 assert_se(streq(c.x11_layout, "es")); in TEST()
96 assert_se(streq(c.x11_layout, "fr")); in TEST()
103 assert_se(streq(c.x11_layout, "ru,us")); in TEST()
[all …]
Dkeymap-util.c57 c->x11_layout = mfree(c->x11_layout); in context_free_x11()
254 p = &c->x11_layout; in x11_read_data()
358 if (isempty(c->x11_layout) && in x11_write_data()
384 if (!isempty(c->x11_layout)) in x11_write_data()
385 fprintf(f, " Option \"XkbLayout\" \"%s\"\n", c->x11_layout); in x11_write_data()
471 !isempty(c->x11_layout) || in vconsole_convert_to_x11()
498 if (!streq_ptr(c->x11_layout, empty_or_dash_to_null(a[1])) || in vconsole_convert_to_x11()
503 … if (free_and_strdup(&c->x11_layout, empty_or_dash_to_null(a[1])) < 0 || in vconsole_convert_to_x11()
518 strempty(c->x11_layout), in vconsole_convert_to_x11()
531 int find_converted_keymap(const char *x11_layout, const char *x11_variant, char **new_keymap) { in find_converted_keymap() argument
[all …]
Dkeymap-util.h17 char *x11_layout; member
30 int find_converted_keymap(const char *x11_layout, const char *x11_variant, char **new_keymap);
Dlocalectl.c41 const char *x11_layout; member
110 printf(" X11 Layout: %s\n", strna(i->x11_layout)); in print_status_info()
124 { "X11Layout", "s", NULL, offsetof(StatusInfo, x11_layout) }, in show_status()
Dlocaled.c251 return sd_bus_message_append_basic(reply, 's', c->x11_layout); in property_get_xkb()
678 if (streq_ptr(layout, c->x11_layout) && in method_set_x11_keyboard()
715 if (free_and_strdup(&c->x11_layout, layout) < 0 || in method_set_x11_keyboard()
728 strempty(c->x11_layout), in method_set_x11_keyboard()