Searched refs:kccgst (Results 1 – 7 of 7) sorted by relevance
/external/libxkbcommon/xkbcommon/test/ |
D | rmlvo-to-kccgst.c | 36 struct xkb_component_names kccgst; in main() local 72 if (!xkb_components_from_rules(ctx, &rmlvo, &kccgst)) in main() 75 printf("keycodes: %s\n", kccgst.keycodes); in main() 76 printf("types: %s\n", kccgst.types); in main() 77 printf("compat: %s\n", kccgst.compat); in main() 78 printf("symbols: %s\n", kccgst.symbols); in main() 80 free(kccgst.keycodes); in main() 81 free(kccgst.types); in main() 82 free(kccgst.compat); in main() 83 free(kccgst.symbols); in main()
|
D | rules-file.c | 55 struct xkb_component_names kccgst; in test_rules() local 66 if (!xkb_components_from_rules(ctx, &rmlvo, &kccgst)) { in test_rules() 72 kccgst.keycodes, kccgst.types, kccgst.compat, kccgst.symbols); in test_rules() 74 passed = streq(kccgst.keycodes, data->keycodes) && in test_rules() 75 streq(kccgst.types, data->types) && in test_rules() 76 streq(kccgst.compat, data->compat) && in test_rules() 77 streq(kccgst.symbols, data->symbols); in test_rules() 79 free(kccgst.keycodes); in test_rules() 80 free(kccgst.types); in test_rules() 81 free(kccgst.compat); in test_rules() [all …]
|
D | .gitignore | 14 rmlvo-to-kccgst
|
/external/libxkbcommon/xkbcommon/src/xkbcomp/ |
D | xkbcomp.c | 57 struct xkb_component_names kccgst; in text_v1_keymap_new_from_names() local 66 ok = xkb_components_from_rules(keymap->ctx, rmlvo, &kccgst); in text_v1_keymap_new_from_names() 79 kccgst.keycodes, kccgst.types, kccgst.compat, kccgst.symbols); in text_v1_keymap_new_from_names() 81 file = XkbFileFromComponents(keymap->ctx, &kccgst); in text_v1_keymap_new_from_names() 83 free(kccgst.keycodes); in text_v1_keymap_new_from_names() 84 free(kccgst.types); in text_v1_keymap_new_from_names() 85 free(kccgst.compat); in text_v1_keymap_new_from_names() 86 free(kccgst.symbols); in text_v1_keymap_new_from_names()
|
D | rules.c | 253 darray_char kccgst[_KCCGST_NUM_ENTRIES]; member 322 darray_free(m->kccgst[i]); in matcher_free() 436 enum rules_kccgst kccgst; in matcher_mapping_set_kccgst() local 439 for (kccgst = 0; kccgst < _KCCGST_NUM_ENTRIES; kccgst++) { in matcher_mapping_set_kccgst() 440 kccgst_sval = rules_kccgst_svals[kccgst]; in matcher_mapping_set_kccgst() 442 if (svaleq(rules_kccgst_svals[kccgst], ident)) in matcher_mapping_set_kccgst() 447 if (kccgst >= _KCCGST_NUM_ENTRIES) { in matcher_mapping_set_kccgst() 454 if (m->mapping.defined_kccgst_mask & (1u << kccgst)) { in matcher_mapping_set_kccgst() 461 m->mapping.kccgst_at_pos[m->mapping.num_kccgst] = kccgst; in matcher_mapping_set_kccgst() 462 m->mapping.defined_kccgst_mask |= 1u << kccgst; in matcher_mapping_set_kccgst() [all …]
|
/external/libxkbcommon/xkbcommon/bench/ |
D | rules.c | 41 struct xkb_component_names kccgst; in main() local 51 assert(xkb_components_from_rules(ctx, &rmlvo, &kccgst)); in main() 52 free(kccgst.keycodes); in main() 53 free(kccgst.types); in main() 54 free(kccgst.compat); in main() 55 free(kccgst.symbols); in main()
|
/external/libxkbcommon/xkbcommon/ |
D | Makefile.am | 197 test/rmlvo-to-kccgst \
|