Lines Matching +full:compat +full:- +full:data
27 #include "xkbcomp/xkbcomp-priv.h"
43 const char *compat; member
51 test_rules(struct xkb_context *ctx, struct test_data *data) in test_rules() argument
55 data->rules, data->model, data->layout, data->variant, data->options in test_rules()
59 fprintf(stderr, "\n\nChecking : %s\t%s\t%s\t%s\t%s\n", data->rules, in test_rules()
60 data->model, data->layout, data->variant, data->options); in test_rules()
62 if (data->should_fail) in test_rules()
66 data->keycodes, data->types, data->compat, data->symbols); in test_rules()
70 return data->should_fail; 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()
83 free(kccgst.compat); in test_rules()
104 .compat = "my_compat|some:compat", in main()
115 .compat = "default_compat", .symbols = "default_symbols", in main()
125 .compat = "default_compat", .symbols = "default_symbols", in main()
135 .compat = "default_compat", .symbols = "my_symbols+(bar)", in main()
156 .compat = "default_compat", in main()
162 .rules = "multiple-options", in main()
168 .compat = "my_compat+some:compat+group(bla)", in main()