Searched refs:kccgst (Results 1 – 7 of 7) sorted by relevance
/external/libxkbcommon/test/ |
D | rules-file-includes.c | 59 struct xkb_component_names kccgst; in test_rules() local 70 if (!xkb_components_from_rules(ctx, &rmlvo, &kccgst)) { in test_rules() 76 kccgst.keycodes, kccgst.types, kccgst.compat, kccgst.symbols); in test_rules() 78 passed = streq(kccgst.keycodes, data->keycodes) && in test_rules() 79 streq(kccgst.types, data->types) && in test_rules() 80 streq(kccgst.compat, data->compat) && in test_rules() 81 streq(kccgst.symbols, data->symbols); in test_rules() 83 free(kccgst.keycodes); in test_rules() 84 free(kccgst.types); in test_rules() 85 free(kccgst.compat); in test_rules() [all …]
|
D | rules-file.c | 57 struct xkb_component_names kccgst; in test_rules() local 68 if (!xkb_components_from_rules(ctx, &rmlvo, &kccgst)) { in test_rules() 74 kccgst.keycodes, kccgst.types, kccgst.compat, kccgst.symbols); in test_rules() 76 passed = streq(kccgst.keycodes, data->keycodes) && in test_rules() 77 streq(kccgst.types, data->types) && in test_rules() 78 streq(kccgst.compat, data->compat) && in test_rules() 79 streq(kccgst.symbols, data->symbols); in test_rules() 81 free(kccgst.keycodes); in test_rules() 82 free(kccgst.types); in test_rules() 83 free(kccgst.compat); in test_rules() [all …]
|
D | .gitignore | 15 rmlvo-to-kccgst
|
/external/libxkbcommon/src/xkbcomp/ |
D | xkbcomp.c | 59 struct xkb_component_names kccgst; in text_v1_keymap_new_from_names() local 68 ok = xkb_components_from_rules(keymap->ctx, rmlvo, &kccgst); in text_v1_keymap_new_from_names() 81 kccgst.keycodes, kccgst.types, kccgst.compat, kccgst.symbols); in text_v1_keymap_new_from_names() 83 file = XkbFileFromComponents(keymap->ctx, &kccgst); in text_v1_keymap_new_from_names() 85 free(kccgst.keycodes); in text_v1_keymap_new_from_names() 86 free(kccgst.types); in text_v1_keymap_new_from_names() 87 free(kccgst.compat); in text_v1_keymap_new_from_names() 88 free(kccgst.symbols); in text_v1_keymap_new_from_names()
|
D | rules.c | 263 darray_char kccgst[_KCCGST_NUM_ENTRIES]; member 332 darray_free(m->kccgst[i]); in matcher_free() 527 enum rules_kccgst kccgst; in matcher_mapping_set_kccgst() local 530 for (kccgst = 0; kccgst < _KCCGST_NUM_ENTRIES; kccgst++) { in matcher_mapping_set_kccgst() 531 kccgst_sval = rules_kccgst_svals[kccgst]; in matcher_mapping_set_kccgst() 533 if (svaleq(rules_kccgst_svals[kccgst], ident)) in matcher_mapping_set_kccgst() 538 if (kccgst >= _KCCGST_NUM_ENTRIES) { in matcher_mapping_set_kccgst() 545 if (m->mapping.defined_kccgst_mask & (1u << kccgst)) { in matcher_mapping_set_kccgst() 552 m->mapping.kccgst_at_pos[m->mapping.num_kccgst] = kccgst; in matcher_mapping_set_kccgst() 553 m->mapping.defined_kccgst_mask |= 1u << kccgst; in matcher_mapping_set_kccgst() [all …]
|
/external/libxkbcommon/bench/ |
D | rules.c | 43 struct xkb_component_names kccgst; in main() local 55 assert(xkb_components_from_rules(ctx, &rmlvo, &kccgst)); in main() 56 free(kccgst.keycodes); in main() 57 free(kccgst.types); in main() 58 free(kccgst.compat); in main() 59 free(kccgst.symbols); in main()
|
/external/libxkbcommon/tools/ |
D | compile-keymap.c | 213 struct xkb_component_names kccgst; in print_kccgst() local 215 if (!xkb_components_from_rules(ctx, rmlvo, &kccgst)) in print_kccgst() 224 kccgst.keycodes, kccgst.types, kccgst.compat, kccgst.symbols); in print_kccgst() 225 free(kccgst.keycodes); in print_kccgst() 226 free(kccgst.types); in print_kccgst() 227 free(kccgst.compat); in print_kccgst() 228 free(kccgst.symbols); in print_kccgst()
|