Home
last modified time | relevance | path

Searched refs:rmlvo (Results 1 – 13 of 13) sorted by relevance

/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dxkbcomp.c54 const struct xkb_rule_names *rmlvo) in text_v1_keymap_new_from_names() argument
63 rmlvo->rules, rmlvo->model, rmlvo->layout, rmlvo->variant, in text_v1_keymap_new_from_names()
64 rmlvo->options); in text_v1_keymap_new_from_names()
66 ok = xkb_components_from_rules(keymap->ctx, rmlvo, &kccgst); in text_v1_keymap_new_from_names()
71 rmlvo->rules, rmlvo->model, rmlvo->layout, rmlvo->variant, in text_v1_keymap_new_from_names()
72 rmlvo->options); in text_v1_keymap_new_from_names()
Drules.c244 struct rule_names rmlvo; member
294 const struct xkb_rule_names *rmlvo) in matcher_new() argument
301 m->rmlvo.model.sval.start = rmlvo->model; in matcher_new()
302 m->rmlvo.model.sval.len = strlen_safe(rmlvo->model); in matcher_new()
303 m->rmlvo.layouts = split_comma_separated_mlvo(rmlvo->layout); in matcher_new()
304 m->rmlvo.variants = split_comma_separated_mlvo(rmlvo->variant); in matcher_new()
305 m->rmlvo.options = split_comma_separated_mlvo(rmlvo->options); in matcher_new()
316 darray_free(m->rmlvo.layouts); in matcher_free()
317 darray_free(m->rmlvo.variants); in matcher_free()
318 darray_free(m->rmlvo.options); in matcher_free()
[all …]
Drules.h29 const struct xkb_rule_names *rmlvo,
/external/libxkbcommon/xkbcommon/test/
Drmlvo-to-kccgst.c34 struct xkb_rule_names rmlvo = { NULL }; in main() local
41 rmlvo.rules = optarg; in main()
44 rmlvo.model = optarg; in main()
47 rmlvo.layout = optarg; in main()
50 rmlvo.variant = optarg; in main()
53 rmlvo.options = optarg; in main()
70 xkb_context_sanitize_rule_names(ctx, &rmlvo); in main()
72 if (!xkb_components_from_rules(ctx, &rmlvo, &kccgst)) in main()
Drulescomp.c196 struct xkb_rule_names rmlvo = { NULL }; in main() local
197 assert(!xkb_keymap_new_from_names(ctx, &rmlvo, -1)); in main()
198 assert(!xkb_keymap_new_from_names(ctx, &rmlvo, 5453)); in main()
Drules-file.c52 const struct xkb_rule_names rmlvo = { in test_rules() local
66 if (!xkb_components_from_rules(ctx, &rmlvo, &kccgst)) { in test_rules()
D.gitignore14 rmlvo-to-kccgst
Dcommon.c326 struct xkb_rule_names rmlvo = { in test_compile_rules() local
337 keymap = xkb_keymap_new_from_names(context, &rmlvo, 0); in test_compile_rules()
/external/libxkbcommon/xkbcommon/src/
Dcontext-priv.c175 struct xkb_rule_names *rmlvo) in xkb_context_sanitize_rule_names() argument
177 if (isempty(rmlvo->rules)) in xkb_context_sanitize_rule_names()
178 rmlvo->rules = xkb_context_get_default_rules(ctx); in xkb_context_sanitize_rule_names()
179 if (isempty(rmlvo->model)) in xkb_context_sanitize_rule_names()
180 rmlvo->model = xkb_context_get_default_model(ctx); in xkb_context_sanitize_rule_names()
183 if (isempty(rmlvo->layout)) { in xkb_context_sanitize_rule_names()
184 rmlvo->layout = xkb_context_get_default_layout(ctx); in xkb_context_sanitize_rule_names()
185 rmlvo->variant = xkb_context_get_default_variant(ctx); in xkb_context_sanitize_rule_names()
188 if (rmlvo->options == NULL) in xkb_context_sanitize_rule_names()
189 rmlvo->options = xkb_context_get_default_options(ctx); in xkb_context_sanitize_rule_names()
Dkeymap.c123 struct xkb_rule_names rmlvo; in xkb_keymap_new_from_names() local
143 rmlvo = *rmlvo_in; in xkb_keymap_new_from_names()
145 memset(&rmlvo, 0, sizeof(rmlvo)); in xkb_keymap_new_from_names()
146 xkb_context_sanitize_rule_names(ctx, &rmlvo); in xkb_keymap_new_from_names()
148 if (!ops->keymap_new_from_names(keymap, &rmlvo)) { in xkb_keymap_new_from_names()
Dcontext.h96 struct xkb_rule_names *rmlvo);
/external/libxkbcommon/xkbcommon/bench/
Drules.c38 struct xkb_rule_names rmlvo = { in main() local
51 assert(xkb_components_from_rules(ctx, &rmlvo, &kccgst)); in main()
/external/libxkbcommon/xkbcommon/
DMakefile.am197 test/rmlvo-to-kccgst \