Lines Matching refs:new_keymap
531 int find_converted_keymap(const char *x11_layout, const char *x11_variant, char **new_keymap) { in find_converted_keymap() argument
556 *new_keymap = TAKE_PTR(n); in find_converted_keymap()
567 _cleanup_free_ char *new_keymap = NULL; in find_legacy_keymap() local
632 r = free_and_strdup(&new_keymap, a[0]); in find_legacy_keymap()
654 free_and_replace(new_keymap, converted); in find_legacy_keymap()
657 *ret = TAKE_PTR(new_keymap); in find_legacy_keymap()
703 _cleanup_free_ char *new_keymap = NULL; in x11_convert_to_vconsole() local
706 r = find_converted_keymap(c->x11_layout, c->x11_variant, &new_keymap); in x11_convert_to_vconsole()
710 r = find_legacy_keymap(c, &new_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()