Lines Matching defs:prefix
107 char * prefix,
114 fprintf(file, "static XkbModsRec preserve_%s[%d]= {\n", prefix,
134 char * prefix = NULL;
140 if (!(prefix = strdup(XkbAtomText(dpy, type->name, XkbCFile)))) {
158 fprintf(file, " lnames_%s[%d]= ", prefix, n);
162 free(prefix);
163 prefix = NULL;
175 char * prefix = NULL;
191 if (!(prefix = strdup(XkbAtomText(dpy, type->name, XkbCFile)))) {
200 fprintf(file, "static XkbKTMapEntryRec map_%s[%d]= {\n", prefix,
216 WriteTypePreserve(file, dpy, prefix, xkb, type);
219 fprintf(file, "static Atom lnames_%s[%d];\n", prefix,
223 free(prefix);
224 prefix = NULL;
228 if (!(prefix = strdup(XkbAtomText(dpy, type->name, XkbCFile)))) {
241 fprintf(file, " map_%s,", prefix);
245 fprintf(file, " preserve_%s,\n", prefix);
249 fprintf(file, " None, lnames_%s\n }", prefix);
252 free(prefix);
253 prefix = NULL;