Searched refs:rmlvo (Results 1 – 13 of 13) sorted by relevance
/external/libxkbcommon/xkbcommon/src/xkbcomp/ |
D | xkbcomp.c | 54 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()
|
D | rules.c | 244 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 …]
|
D | rules.h | 29 const struct xkb_rule_names *rmlvo,
|
/external/libxkbcommon/xkbcommon/test/ |
D | rmlvo-to-kccgst.c | 34 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()
|
D | rulescomp.c | 196 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()
|
D | rules-file.c | 52 const struct xkb_rule_names rmlvo = { in test_rules() local 66 if (!xkb_components_from_rules(ctx, &rmlvo, &kccgst)) { in test_rules()
|
D | .gitignore | 14 rmlvo-to-kccgst
|
D | common.c | 326 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/ |
D | context-priv.c | 175 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()
|
D | keymap.c | 123 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()
|
D | context.h | 96 struct xkb_rule_names *rmlvo);
|
/external/libxkbcommon/xkbcommon/bench/ |
D | rules.c | 38 struct xkb_rule_names rmlvo = { in main() local 51 assert(xkb_components_from_rules(ctx, &rmlvo, &kccgst)); in main()
|
/external/libxkbcommon/xkbcommon/ |
D | Makefile.am | 197 test/rmlvo-to-kccgst \
|