Lines Matching defs:locale
1024 XkbRF_LoadRulesByName(char *base, char *locale, XkbRF_RulesPtr rules)
1032 if (locale) {
1033 if (strlen(base) + strlen(locale) + 2 > PATH_MAX)
1035 snprintf(buf, sizeof(buf), "%s-%s", base, locale);
1044 if ((!file) && (locale)) { /* fallback if locale was specified */
1229 XkbRF_LoadDescriptionsByName(char *base, char *locale, XkbRF_RulesPtr rules)
1237 if (locale) {
1238 if (strlen(base) + strlen(locale) + 6 > PATH_MAX)
1240 snprintf(buf, sizeof(buf), "%s-%s.lst", base, locale);
1249 if ((!file) && (locale)) { /* fallback if locale was specified */
1264 XkbRF_Load(char *base, char *locale, Bool wantDesc, Bool wantRules)
1272 if (wantDesc && (!XkbRF_LoadDescriptionsByName(base, locale, rules))) {
1276 if (wantRules && (!XkbRF_LoadRulesByName(base, locale, rules))) {