/external/libxkbcommon/src/xkbcomp/ |
D | xkbcomp.c | 56 const struct xkb_rule_names *rmlvo) in text_v1_keymap_new_from_names() argument 65 rmlvo->rules, rmlvo->model, rmlvo->layout, rmlvo->variant, in text_v1_keymap_new_from_names() 66 rmlvo->options); in text_v1_keymap_new_from_names() 68 ok = xkb_components_from_rules(keymap->ctx, rmlvo, &kccgst); in text_v1_keymap_new_from_names() 73 rmlvo->rules, rmlvo->model, rmlvo->layout, rmlvo->variant, in text_v1_keymap_new_from_names() 74 rmlvo->options); in text_v1_keymap_new_from_names()
|
D | rules.c | 255 struct rule_names rmlvo; member 304 const struct xkb_rule_names *rmlvo) in matcher_new() argument 311 m->rmlvo.model.sval.start = rmlvo->model; in matcher_new() 312 m->rmlvo.model.sval.len = strlen_safe(rmlvo->model); in matcher_new() 313 m->rmlvo.layouts = split_comma_separated_mlvo(rmlvo->layout); in matcher_new() 314 m->rmlvo.variants = split_comma_separated_mlvo(rmlvo->variant); in matcher_new() 315 m->rmlvo.options = split_comma_separated_mlvo(rmlvo->options); in matcher_new() 326 darray_free(m->rmlvo.layouts); in matcher_free() 327 darray_free(m->rmlvo.variants); in matcher_free() 328 darray_free(m->rmlvo.options); in matcher_free() [all …]
|
D | rules.h | 29 const struct xkb_rule_names *rmlvo,
|
/external/libxkbcommon/src/ |
D | context-priv.c | 162 struct xkb_rule_names *rmlvo) in xkb_context_sanitize_rule_names() argument 164 if (isempty(rmlvo->rules)) in xkb_context_sanitize_rule_names() 165 rmlvo->rules = xkb_context_get_default_rules(ctx); in xkb_context_sanitize_rule_names() 166 if (isempty(rmlvo->model)) in xkb_context_sanitize_rule_names() 167 rmlvo->model = xkb_context_get_default_model(ctx); in xkb_context_sanitize_rule_names() 170 if (isempty(rmlvo->layout)) { in xkb_context_sanitize_rule_names() 171 rmlvo->layout = xkb_context_get_default_layout(ctx); in xkb_context_sanitize_rule_names() 172 rmlvo->variant = xkb_context_get_default_variant(ctx); in xkb_context_sanitize_rule_names() 175 if (rmlvo->options == NULL) in xkb_context_sanitize_rule_names() 176 rmlvo->options = xkb_context_get_default_options(ctx); in xkb_context_sanitize_rule_names()
|
D | keymap.c | 125 struct xkb_rule_names rmlvo; in xkb_keymap_new_from_names() local 145 rmlvo = *rmlvo_in; in xkb_keymap_new_from_names() 147 memset(&rmlvo, 0, sizeof(rmlvo)); in xkb_keymap_new_from_names() 148 xkb_context_sanitize_rule_names(ctx, &rmlvo); in xkb_keymap_new_from_names() 150 if (!ops->keymap_new_from_names(keymap, &rmlvo)) { in xkb_keymap_new_from_names()
|
D | context.h | 105 struct xkb_rule_names *rmlvo);
|
/external/libxkbcommon/tools/ |
D | compile-keymap.c | 200 print_rmlvo(struct xkb_context *ctx, const struct xkb_rule_names *rmlvo) in print_rmlvo() argument 203 rmlvo->rules, rmlvo->model, rmlvo->layout, in print_rmlvo() 204 rmlvo->variant ? rmlvo->variant : "", in print_rmlvo() 205 rmlvo->options ? rmlvo->options : ""); in print_rmlvo() 210 print_kccgst(struct xkb_context *ctx, const struct xkb_rule_names *rmlvo) in print_kccgst() argument 215 if (!xkb_components_from_rules(ctx, rmlvo, &kccgst)) in print_kccgst() 237 print_keymap(struct xkb_context *ctx, const struct xkb_rule_names *rmlvo) in print_keymap() argument 241 keymap = xkb_keymap_new_from_names(ctx, rmlvo, XKB_KEYMAP_COMPILE_NO_FLAGS); in print_keymap()
|
D | interactive-evdev.c | 508 struct xkb_rule_names rmlvo = { in main() local 519 keymap = xkb_keymap_new_from_names(ctx, &rmlvo, 0); in main()
|
/external/libxkbcommon/test/ |
D | xkeyboard-config-test.py.in | 36 def xkbcommontool(rmlvo): argument 38 r = rmlvo.get('r', 'evdev') 39 m = rmlvo.get('m', 'pc105') 40 l = rmlvo.get('l', 'us') 41 v = rmlvo.get('v', None) 42 o = rmlvo.get('o', None) 81 def xkbcomp(rmlvo): argument 83 r = rmlvo.get('r', 'evdev') 84 m = rmlvo.get('m', 'pc105') 85 l = rmlvo.get('l', 'us') [all …]
|
D | tool-option-parsing.py | 178 for rmlvo in rmlvos: 179 with self.subTest(rmlvo=rmlvo): 180 self.xkbcli_compile_keymap.run_command_success(rmlvo) 217 for rmlvo in rmlvos: 218 with self.subTest(rmlvo=rmlvo): 219 args = rmlvo + ['0x1234'] 251 for rmlvo in rmlvos: 252 with self.subTest(rmlvo=rmlvo):
|
D | .gitignore | 15 rmlvo-to-kccgst 16 rmlvo-to-keymap
|
D | rulescomp.c | 198 struct xkb_rule_names rmlvo = { NULL }; in main() local 199 assert(!xkb_keymap_new_from_names(ctx, &rmlvo, -1)); in main() 200 assert(!xkb_keymap_new_from_names(ctx, &rmlvo, 5453)); in main()
|
D | rules-file-includes.c | 56 const struct xkb_rule_names rmlvo = { in test_rules() local 70 if (!xkb_components_from_rules(ctx, &rmlvo, &kccgst)) { in test_rules()
|
D | rules-file.c | 54 const struct xkb_rule_names rmlvo = { in test_rules() local 68 if (!xkb_components_from_rules(ctx, &rmlvo, &kccgst)) { in test_rules()
|
D | common.c | 337 struct xkb_rule_names rmlvo = { in test_compile_rules() local 348 keymap = xkb_keymap_new_from_names(context, &rmlvo, 0); in test_compile_rules()
|
/external/libxkbcommon/bench/ |
D | rules.c | 40 struct xkb_rule_names rmlvo = { in main() local 55 assert(xkb_components_from_rules(ctx, &rmlvo, &kccgst)); in main()
|