Lines Matching defs:rules
400 XkbRF_RulesPtr rules;
405 if (snprintf(buf, PATH_MAX, "%s/rules/%s", XkbBaseDirectory, rules_name)
413 LogMessage(X_ERROR, "XKB: Couldn't open rules file %s\n", buf);
417 rules = XkbRF_Create();
418 if (!rules) {
419 LogMessage(X_ERROR, "XKB: Couldn't create rules struct\n");
424 if (!XkbRF_LoadRules(file, rules)) {
425 LogMessage(X_ERROR, "XKB: Couldn't parse rules file %s\n", rules_name);
427 XkbRF_Free(rules, TRUE);
432 complete = XkbRF_GetComponents(rules, defs, names);
434 XkbRF_Free(rules, TRUE);
453 return XkbDDXNamesFromRules(dev, rmlvo->rules, &mlvo, kccgst);